]> git.lyx.org Git - lyx.git/blob - lib/doc/EmbeddedObjects.lyx
1f327bfd4907e372ebe6f55712d39329271a33bc
[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}
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 % define a new reference format
96 \newrefformat{fig}
97  {Figure~float~\ref{#1} printed on page~\pageref{#1}}
98
99 % used for colored tables
100 \@ifundefined{textcolor}
101  {\usepackage{color}}{}
102 \usepackage{colortbl}
103 \definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
104 \definecolor{lightgrey}{gray}{0.8}
105
106 % used for multirows
107 \usepackage{multirow}
108 %\renewcommand{\multirowsetup}{\centering}
109
110 % used for book-style tables
111 \usepackage{booktabs}
112
113 % used to have extra space in table cells,
114 \setlength{\extrarowheight}{2pt}
115
116 % used for customized tables
117 % ---
118 \newcolumntype{M}[1]
119  {>{\centering\hspace{0pt}}m{#1}}
120
121 \newcolumntype{S}[2]
122  {>{\centering\hspace{0pt}}m{(#1+(2\tabcolsep+\arrayrulewidth)*(1-#2))/#2}}
123
124 \newcolumntype{K}[1]
125  {>{\columncolor{#1}\hspace{0pt}}c}
126
127 \newcolumntype{V}{!{\vrule width 1.5pt}}
128
129 \newcolumntype{W}{!{\color{green}\vline}}
130 % ---
131
132 % To be able to enter the characters ° and · directly in LyX
133 \DeclareInputText{176}{\ifmmode^\circ\else\textdegree\fi}
134 \DeclareInputText{183}{\ifmmode\cdot\else\textperiodcentered\fi}
135
136 % insert additional vertical space of
137 % 1.5 mm between footnotes
138 \let\myFoot\footnote
139 \renewcommand{\footnote}[1]{\myFoot{#1\vspace{1.5mm}}}
140
141 % enable algorithm floats to be referenced
142 \newfloat{Xalgorithm}{tbp}{loa}
143 \floatname{Xalgorithm}{Algorithm}
144 \newcommand{\theHalgorithm}{\theHXalgorithm}
145 \renewenvironment{algorithm}[1][tbp]
146  {\begin{Xalgorithm}[#1]}{\end{Xalgorithm}}
147
148 % number algorithm floats within chapters
149 \numberwithin{Xalgorithm}{chapter}
150
151 % redefine the greyed out note
152 \renewenvironment{lyxgreyedout}
153  {\textcolor{blue}\bgroup}{\egroup}
154
155 % ------------------------------------
156 % used to check for needed LaTeX packages
157 \usepackage{ifthen}
158
159 % check for package arydshln
160 % used for tables with dashed lines
161 \newboolean{arydshln}
162 \IfFileExists{arydshln.sty}
163  {\usepackage{arydshln}
164   \setboolean{arydshln}{true}}
165  {\setboolean{arydshln}{false}}
166
167 % check for package marginnote
168 % used for margin notes
169 \newboolean{marginnote}
170 \IfFileExists{marginnote.sty}
171  {\usepackage{marginnote}
172   \let\marginpar\marginnote
173   \setboolean{marginnote}{true}}
174  {\setboolean{marginnote}{false}}
175 \end_preamble
176 \options fleqn,liststotoc,bibtotoc,idxtotoc,BCOR7.5mm,titlepage
177 \language english
178 \inputencoding auto
179 \font_roman default
180 \font_sans default
181 \font_typewriter default
182 \font_default_family default
183 \font_sc false
184 \font_osf false
185 \font_sf_scale 100
186 \font_tt_scale 100
187 \graphics default
188 \paperfontsize 12
189 \spacing single
190 \papersize default
191 \use_geometry false
192 \use_amsmath 2
193 \use_esint 0
194 \cite_engine basic
195 \use_bibtopic false
196 \paperorientation portrait
197 \secnumdepth 3
198 \tocdepth 3
199 \paragraph_separation skip
200 \defskip medskip
201 \quotes_language english
202 \papercolumns 1
203 \papersides 2
204 \paperpagestyle default
205 \bullet 1 1 34 -1
206 \bullet 2 2 35 -1
207 \bullet 3 2 7 -1
208 \tracking_changes false
209 \output_changes true
210 \author "usti" 
211 \author "" 
212 \end_header
213
214 \begin_body
215
216 \begin_layout Title
217 LyX's detailed Figure, Table, Floats, Notes, and Boxes manual
218 \end_layout
219
220 \begin_layout Author
221 by the LyX Team
222 \begin_inset Foot
223 status collapsed
224
225 \begin_layout Standard
226 \noindent
227 If you have comments or error corrections, please send them to the LyX Documenta
228 tion mailing list: 
229 \family typewriter
230
231 \begin_inset ERT
232 status open
233
234 \begin_layout Standard
235
236
237 \backslash
238 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's ExtendedInsets manual}{
239 \end_layout
240
241 \end_inset
242
243 lyx-docs@lists.lyx.org
244 \begin_inset ERT
245 status collapsed
246
247 \begin_layout Standard
248
249 }
250 \end_layout
251
252 \end_inset
253
254
255 \end_layout
256
257 \end_inset
258
259
260 \begin_inset Note Note
261 status collapsed
262
263 \begin_layout Standard
264 original author: Uwe Stöhr
265 \end_layout
266
267 \end_inset
268
269
270 \newline
271
272 \newline
273
274 \family sans
275 Version 1.5.0-
276 \family default
277 1
278 \end_layout
279
280 \begin_layout Standard
281 \begin_inset LatexCommand tableofcontents
282
283 \end_inset
284
285
286 \end_layout
287
288 \begin_layout Standard
289 \begin_inset Note Note
290 status open
291
292 \begin_layout Standard
293 To export all parts of this document to PDF, PS, or DVI the LaTeX-packages
294  
295 \series bold
296 arydshln
297 \series default
298  and 
299 \series bold
300 marginnote
301 \series default
302  must be installed.
303  If they are not installed you can export the document anyway but the sections
304  where the packages are required won't appear in the output.
305 \end_layout
306
307 \begin_layout Standard
308 The latest PDF-version of this document can be found here:
309 \newline
310
311 \series bold
312 http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
313 \end_layout
314
315 \end_inset
316
317
318 \end_layout
319
320 \begin_layout Chapter
321 Figures
322 \begin_inset LatexCommand label
323 name "cha:Figures"
324
325 \end_inset
326
327
328 \begin_inset LatexCommand index
329 name "Figure"
330
331 \end_inset
332
333
334 \end_layout
335
336 \begin_layout Section
337 Graphics Dialog
338 \begin_inset LatexCommand index
339 name "Figure ! Graphics Dialog"
340
341 \end_inset
342
343
344 \end_layout
345
346 \begin_layout Standard
347 To insert an image into your document, place the cursor at the text position
348  you want and click on the toolbar icon 
349 \begin_inset Graphics
350         filename ../images/dialog-show-new-inset_graphics.xpm
351         scale 85
352
353 \end_inset
354
355  or use the menu 
356 \family sans
357 Insert\SpecialChar \menuseparator
358 Graphics
359 \family default
360 .
361  Then a dialog will appear to choose the file to load.
362  The image will appear in the output exactly at the position where it is
363  in the text.
364 \end_layout
365
366 \begin_layout Standard
367 The graphics dialog can be called at any time by right-clicking on an image.
368  This dialog has three tabs:
369 \end_layout
370
371 \begin_layout Description
372
373 \family sans
374 Graphics
375 \family default
376  Here you can choose an image file and adjust its appearance in the output.
377  The available units for the image size are explained in appendix\InsetSpace ~
378
379 \begin_inset LatexCommand ref
380 reference "cha:Units-available-in"
381
382 \end_inset
383
384 .
385 \newline
386 You can rotate images counter-clockwise by setting a rotation angle and
387  a rotation origin.
388  The image will also be rotated inside LyX.
389 \end_layout
390
391 \begin_layout Description
392
393 \family sans
394 Clipping
395 \family default
396  Alternatively to the usage of scaling units it is possible to set image
397  coordinates to adjust the height and width of the image in the output.
398  The coordinates can also be calculated automatically by pressing the button
399  
400 \family sans
401 Get\InsetSpace ~
402 from\InsetSpace ~
403 File
404 \family default
405 .
406  The option 
407 \family sans
408 Clip\InsetSpace ~
409 to\InsetSpace ~
410 bounding\InsetSpace ~
411 box
412 \family default
413  will only print the image region within the given coordinates.
414  Normally you don't need to take care about image coordinates and can ignore
415  this tab.
416 \end_layout
417
418 \begin_layout Description
419
420 \family sans
421 Extra\InsetSpace ~
422 options
423 \family default
424  In this tab you can modify the appearance of the image within LyX and set
425  the image to be a subfigure of a figure float with an own caption.
426  Subfigures are explained in section\InsetSpace ~
427
428 \begin_inset LatexCommand ref
429 reference "sec:Figure-Floats"
430
431 \end_inset
432
433 .
434 \newline
435  LaTeX experts can also specify on this tab additional LaTeX options.
436 \newline
437  The
438  option 
439 \family sans
440 Draft\InsetSpace ~
441 mode
442 \family default
443  makes the image appear in the output only as a frame with the size of the
444  image.
445 \newline
446 The 
447 \family sans
448 Don't\InsetSpace ~
449 unzip\InsetSpace ~
450 on\InsetSpace ~
451 export
452 \family default
453  option only affects zipped EPS-graphics, e.\InsetSpace \thinspace{}
454 g.\InsetSpace ~
455
456 \emph on
457 x.eps.gz
458 \emph default
459 .
460  When the option is used the images will not be unzipped on export, since
461  LaTeX can handle them as they are.
462 \newline
463 Zipped EPS-graphics are useful to save
464  disk space when you choose PostScript as output format, see appendix\InsetSpace ~
465
466 \begin_inset LatexCommand ref
467 reference "sec:PostScript"
468
469 \end_inset
470
471 .
472  To zip EPS-graphics, use the following commands in a UNIX-shell or a Windows
473  console:
474 \newline
475
476 \series bold
477 gzip x.eps
478 \series default
479
480 \newline
481
482 \series bold
483 zgrep %%Bounding x.eps.gz > x.eps.bb
484 \series default
485
486 \newline
487 The second command creates the bounding box file 
488 \begin_inset Quotes eld
489 \end_inset
490
491 x.eps.bb
492 \begin_inset Quotes erd
493 \end_inset
494
495  that is needed by LaTeX for zipped graphics.
496 \end_layout
497
498 \begin_layout Standard
499
500 \newpage
501 This is an example image in EPS format
502 \begin_inset Foot
503 status collapsed
504
505 \begin_layout Standard
506 Image formats are explained in section\InsetSpace ~
507
508 \begin_inset LatexCommand ref
509 reference "sec:Image-Formats"
510
511 \end_inset
512
513 .
514 \end_layout
515
516 \end_inset
517
518  within a separate, horizontally centered paragraph:
519 \end_layout
520
521 \begin_layout Standard
522 \align center
523 \begin_inset Graphics
524         filename mobius.eps
525         display color
526         scale 70
527         rotateOrigin center
528
529 \end_inset
530
531
532 \end_layout
533
534 \begin_layout Standard
535 This is the same image like the one above but in draft mode:
536 \end_layout
537
538 \begin_layout Standard
539 \align center
540 \begin_inset Graphics
541         filename mobius.eps
542         display color
543         scale 70
544         draft
545         rotateOrigin center
546
547 \end_inset
548
549
550 \end_layout
551
552 \begin_layout Section
553 Figure Floats
554 \begin_inset LatexCommand label
555 name "sec:Figure-Floats"
556
557 \end_inset
558
559
560 \begin_inset LatexCommand index
561 name "Floats ! Figure Floats"
562
563 \end_inset
564
565
566 \begin_inset LatexCommand index
567 name "Figure ! Floats"
568
569 \end_inset
570
571
572 \end_layout
573
574 \begin_layout Standard
575 For general explanations about floats, have a look at section\InsetSpace ~
576
577 \begin_inset LatexCommand ref
578 reference "sec:FloatIntroduction"
579
580 \end_inset
581
582 .
583 \end_layout
584
585 \begin_layout Standard
586 The toolbar button 
587 \begin_inset Graphics
588         filename ../images/float-insert_figure.xpm
589         scale 85
590
591 \end_inset
592
593  and the menu 
594 \family sans
595 Insert\SpecialChar \menuseparator
596 Float\SpecialChar \menuseparator
597 Figure 
598 \family default
599 inserts a float with the label 
600 \begin_inset Quotes eld
601 \end_inset
602
603
604 \series bold
605 Figure\InsetSpace ~
606 #:
607 \series default
608
609 \begin_inset Quotes erd
610 \end_inset
611
612 .
613  Set the cursor behind this label, press Enter and insert the image as described
614  above to get the caption printed below the image.
615  This was done for Figure\InsetSpace ~
616
617 \begin_inset LatexCommand ref
618 reference "fig:kill-plat"
619
620 \end_inset
621
622 .
623  If you want the caption to be above the image, set the cursor at the end
624  of the caption, press enter and insert the image.
625  This was done in Figure\InsetSpace ~
626
627 \begin_inset LatexCommand ref
628 reference "fig:escher"
629
630 \end_inset
631
632 .
633  More about the caption placement is described in section\InsetSpace ~
634
635 \begin_inset LatexCommand ref
636 reference "sec:Caption-Placement"
637
638 \end_inset
639
640 .
641 \end_layout
642
643 \begin_layout Standard
644 \begin_inset Float figure
645 wide false
646 sideways false
647 status open
648
649 \begin_layout Standard
650 \align center
651 \begin_inset Graphics
652         filename platypus.eps
653         display color
654         width 50col%
655         rotateOrigin center
656
657 \end_inset
658
659
660 \end_layout
661
662 \begin_layout Standard
663 \begin_inset Caption
664
665 \begin_layout Standard
666 \begin_inset LatexCommand label
667 name "fig:kill-plat"
668
669 \end_inset
670
671 A severely distorted platypus in a float.
672 \end_layout
673
674 \end_inset
675
676
677 \end_layout
678
679 \end_inset
680
681
682 \end_layout
683
684 \begin_layout Standard
685 \begin_inset Float figure
686 wide false
687 sideways false
688 status open
689
690 \begin_layout Standard
691 \begin_inset Caption
692
693 \begin_layout Standard
694 \begin_inset LatexCommand label
695 name "fig:escher"
696
697 \end_inset
698
699 M.C.
700  Escher on acid.
701 \end_layout
702
703 \end_inset
704
705
706 \end_layout
707
708 \begin_layout Standard
709 \align center
710 \begin_inset Graphics
711         filename escher-lsd.eps
712         display color
713         scale 80
714         rotateOrigin center
715
716 \end_inset
717
718
719 \end_layout
720
721 \end_inset
722
723
724 \end_layout
725
726 \begin_layout Standard
727 \begin_inset LatexCommand index
728 name "References ! to Figures"
729
730 \end_inset
731
732 Figure\InsetSpace ~
733
734 \begin_inset LatexCommand ref
735 reference "fig:kill-plat"
736
737 \end_inset
738
739  and 
740 \begin_inset LatexCommand ref
741 reference "fig:escher"
742
743 \end_inset
744
745  are examples of cross-referenced figures.
746  Figures can be cross-referenced in the text by referencing their label.
747  To do this insert a label in the caption using the menu 
748 \family sans
749 Insert\SpecialChar \menuseparator
750 Label
751 \family default
752  or the toolbar button 
753 \begin_inset Graphics
754         filename ../images/label-insert.xpm
755         scale 85
756
757 \end_inset
758
759 .
760  You can now refer to the label using the menu 
761 \family sans
762 Insert\SpecialChar \menuseparator
763 Cross\InsetSpace ~
764 reference
765 \family default
766  or the toolbar button 
767 \begin_inset Graphics
768         filename ../images/dialog-show-new-inset_ref.xpm
769         scale 85
770
771 \end_inset
772
773 .
774  It is important to use references to floats, rather than using vague references
775  like 
776 \begin_inset Quotes eld
777 \end_inset
778
779 the figure above
780 \begin_inset Quotes erd
781 \end_inset
782
783 , because as LaTeX will reposition the floats in the final document, it
784  might not be 
785 \begin_inset Quotes eld
786 \end_inset
787
788 above
789 \begin_inset Quotes erd
790 \end_inset
791
792  at all.
793 \end_layout
794
795 \begin_layout Standard
796 Normally only one image is inserted to a figure float, but sometimes you
797  might want to use two images with separate subcaptions.
798  This can be set in the tab
799 \family sans
800  Extra\InsetSpace ~
801 options
802 \family default
803  of the graphics dialog.
804  Choose there the option 
805 \family sans
806 Subfigure
807 \family default
808  and enter the subcaption for the image in the caption field.
809  Note that only the main caption of the float is added to the List of Figures.
810 \end_layout
811
812 \begin_layout Standard
813 Figure\InsetSpace ~
814
815 \begin_inset LatexCommand ref
816 reference "fig:Two-distorted-images"
817
818 \end_inset
819
820  is an example of a figure float with two images set side by side.
821  You can also set the images one below the other.
822 \end_layout
823
824 \begin_layout Standard
825 \begin_inset Float figure
826 wide false
827 sideways false
828 status open
829
830 \begin_layout Standard
831
832 \hfill
833
834 \begin_inset Graphics
835         filename escher-lsd.eps
836         width 45col%
837         subcaption
838         subcaptionText "Undefinable structure"
839
840 \end_inset
841
842
843 \hfill
844
845 \begin_inset Graphics
846         filename platypus.eps
847         lyxscale 60
848         width 45col%
849         subcaption
850         subcaptionText "Platypus"
851
852 \end_inset
853
854
855 \hfill
856
857 \end_layout
858
859 \begin_layout Standard
860 \begin_inset Caption
861
862 \begin_layout Standard
863 \begin_inset LatexCommand label
864 name "fig:Two-distorted-images"
865
866 \end_inset
867
868 Two distorted images.
869 \end_layout
870
871 \end_inset
872
873
874 \end_layout
875
876 \end_inset
877
878
879 \end_layout
880
881 \begin_layout Section
882 Image Formats
883 \begin_inset LatexCommand label
884 name "sec:Image-Formats"
885
886 \end_inset
887
888
889 \begin_inset LatexCommand index
890 name "Image Formats"
891
892 \end_inset
893
894
895 \begin_inset LatexCommand index
896 name "Figure ! Image Formats"
897
898 \end_inset
899
900
901 \end_layout
902
903 \begin_layout Standard
904 You can insert images in any known file format.
905  But as explained in appendix\InsetSpace ~
906
907 \begin_inset LatexCommand ref
908 reference "cha:Output-File-Formats"
909
910 \end_inset
911
912 , every output document format allows only a few image formats.
913  LyX uses therefore the program 
914 \family typewriter
915 Imagemagick
916 \family default
917  in the background to convert the images to the right format.
918  To increase your work flow by avoiding these conversions in the background,
919  you can use only the image formats that can directly be embedded in the
920  output file format.
921  The output file formats are explained in appendix\InsetSpace ~
922
923 \begin_inset LatexCommand ref
924 reference "cha:Output-File-Formats"
925
926 \end_inset
927
928 .
929 \end_layout
930
931 \begin_layout Standard
932 Similar to fonts there are two types of image formats:
933 \end_layout
934
935 \begin_layout Description
936 Bitmap\InsetSpace ~
937 images consist of pixel values, often in a compressed form.
938  They are therefore not fully scalable and look pixeled in large zooms.
939  Well-known bitmap image formats are 
940 \begin_inset Quotes eld
941 \end_inset
942
943 Graphics Interchange Format
944 \begin_inset Quotes erd
945 \end_inset
946
947  (GIF, file extension 
948 \begin_inset Quotes eld
949 \end_inset
950
951
952 \family typewriter
953 .gif
954 \family default
955
956 \begin_inset Quotes erd
957 \end_inset
958
959 )
960 \begin_inset LatexCommand index
961 name "GIF|see{Image formats}"
962
963 \end_inset
964
965
966 \begin_inset Quotes eld
967 \end_inset
968
969 Portable Network Graphics
970 \begin_inset Quotes erd
971 \end_inset
972
973  (PNG, file extension 
974 \begin_inset Quotes eld
975 \end_inset
976
977
978 \family typewriter
979 .png
980 \family default
981
982 \begin_inset Quotes erd
983 \end_inset
984
985 )
986 \begin_inset LatexCommand index
987 name "PNG|see{Image formats}"
988
989 \end_inset
990
991 , and 
992 \begin_inset Quotes eld
993 \end_inset
994
995 Joint Photographic Experts Group
996 \begin_inset Quotes erd
997 \end_inset
998
999  (JPG, file extension 
1000 \begin_inset Quotes eld
1001 \end_inset
1002
1003
1004 \family typewriter
1005 .jpg
1006 \family default
1007
1008 \begin_inset Quotes erd
1009 \end_inset
1010
1011  or 
1012 \begin_inset Quotes eld
1013 \end_inset
1014
1015
1016 \family typewriter
1017 .jpeg
1018 \family default
1019
1020 \begin_inset Quotes erd
1021 \end_inset
1022
1023 )
1024 \begin_inset LatexCommand index
1025 name "JPG|see{Image formats}"
1026
1027 \end_inset
1028
1029 .
1030 \end_layout
1031
1032 \begin_layout Description
1033 Vector\InsetSpace ~
1034 images consist of vectors and can therefore be scaled to any size
1035  without data loss.
1036  The scaling ability is necessary if you want to create presentations, because
1037  presentations are always scaled by the video projector.
1038  Scaling is also useful for online documents to let the user zoom into diagrams.
1039 \newline
1040 W
1041 ell-known scalable image formats are 
1042 \begin_inset Quotes eld
1043 \end_inset
1044
1045 Scalable Vector Graphics
1046 \begin_inset Quotes erd
1047 \end_inset
1048
1049  (SVG, file extension 
1050 \begin_inset Quotes eld
1051 \end_inset
1052
1053
1054 \family typewriter
1055 .svg
1056 \family default
1057
1058 \begin_inset Quotes erd
1059 \end_inset
1060
1061 )
1062 \begin_inset LatexCommand index
1063 name "SVG|see{Image formats}"
1064
1065 \end_inset
1066
1067
1068 \begin_inset Quotes eld
1069 \end_inset
1070
1071 Encapsulated PostScript
1072 \begin_inset Quotes erd
1073 \end_inset
1074
1075  (EPS, file extension 
1076 \begin_inset Quotes eld
1077 \end_inset
1078
1079
1080 \family typewriter
1081 .eps
1082 \family default
1083
1084 \begin_inset Quotes erd
1085 \end_inset
1086
1087 )
1088 \begin_inset LatexCommand index
1089 name "EPS|see{Image formats}"
1090
1091 \end_inset
1092
1093
1094 \begin_inset Quotes eld
1095 \end_inset
1096
1097 Portable Document Format
1098 \begin_inset Quotes erd
1099 \end_inset
1100
1101  (PDF, file extension 
1102 \begin_inset Quotes eld
1103 \end_inset
1104
1105
1106 \family typewriter
1107 .pdf
1108 \family default
1109
1110 \begin_inset Quotes erd
1111 \end_inset
1112
1113 )
1114 \begin_inset LatexCommand index
1115 name "PDF"
1116
1117 \end_inset
1118
1119 , and 
1120 \begin_inset Quotes eld
1121 \end_inset
1122
1123 Windows Metafile
1124 \begin_inset Quotes erd
1125 \end_inset
1126
1127  (WMF, file extension 
1128 \begin_inset Quotes eld
1129 \end_inset
1130
1131
1132 \family typewriter
1133 .wmf
1134 \family default
1135
1136 \begin_inset Quotes erd
1137 \end_inset
1138
1139 )
1140 \begin_inset LatexCommand index
1141 name "SVG|see{Image formats}"
1142
1143 \end_inset
1144
1145 .
1146  We wrote 
1147 \begin_inset Quotes eld
1148 \end_inset
1149
1150 can be
1151 \begin_inset Quotes erd
1152 \end_inset
1153
1154 , because you can convert any bitmap image to a PDF or EPS-image and the
1155  result will still be a bitmap image.
1156  In this cases only a header with the image properties is added to the original
1157  image
1158 \begin_inset Foot
1159 status open
1160
1161 \begin_layout Standard
1162 In the case of PDF, the original image is additionally compressed.
1163 \end_layout
1164
1165 \end_inset
1166
1167 .
1168  The PDF-files generated by 
1169 \family typewriter
1170 Adobe Photoshop
1171 \family default
1172  are for example bitmap images.
1173 \end_layout
1174
1175 \begin_layout Standard
1176 Normally it is not possible to convert a bitmap image into a scalable one,
1177  only vice versa.
1178  Only the image formats PDF and EPS can directly be embedded to PDF and
1179  PostScript output files, respectively.
1180  SVG and WMF-images are currently recalculated to bitmaps when the output
1181  file is generated because there is currently no adequate WMF/SVG
1182 \begin_inset Formula $\to$
1183 \end_inset
1184
1185 PDF/EPS converter available.
1186 \end_layout
1187
1188 \begin_layout Chapter
1189 Tables
1190 \begin_inset LatexCommand label
1191 name "cha:Tables"
1192
1193 \end_inset
1194
1195
1196 \begin_inset LatexCommand index
1197 name "Table"
1198
1199 \end_inset
1200
1201
1202 \end_layout
1203
1204 \begin_layout Section
1205 Introduction
1206 \begin_inset LatexCommand index
1207 name "Table ! Introduction"
1208
1209 \end_inset
1210
1211
1212 \end_layout
1213
1214 \begin_layout Standard
1215 You can insert a table using either the toolbar button 
1216 \begin_inset Graphics
1217         filename ../images/tabular-insert.xpm
1218         scale 85
1219
1220 \end_inset
1221
1222  or the menu 
1223 \family sans
1224 Insert\SpecialChar \menuseparator
1225 Table
1226 \family default
1227 .
1228  The toolbar button offers you a graphical selection: Move the mouse to
1229  set the column/row number of the table that should be created and then
1230  press a mouse button.
1231  When you use the menu to create a table, a dialog will appear, asking you
1232  for the number of rows and columns.
1233 \newline
1234  The default table has lines around any
1235  cell and the first row appears separated from the rest of the table.
1236  This separation occurs due to a double line: The cells of the first row
1237  have a line below them and the cells of the second row have a line above
1238  them.
1239  Here is an example table:
1240 \end_layout
1241
1242 \begin_layout Standard
1243 \align center
1244 \begin_inset Tabular
1245 <lyxtabular version="3" rows="4" columns="4">
1246 <features>
1247 <column alignment="center" valignment="top" leftline="true" width="0">
1248 <column alignment="center" valignment="top" leftline="true" width="0">
1249 <column alignment="center" valignment="top" leftline="true" width="0">
1250 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
1251 <row topline="true" bottomline="true">
1252 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1253 \begin_inset Text
1254
1255 \begin_layout Standard
1256
1257 \end_layout
1258
1259 \end_inset
1260 </cell>
1261 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1262 \begin_inset Text
1263
1264 \begin_layout Standard
1265
1266 \family roman
1267 \series medium
1268 \shape up
1269 \size normal
1270 \emph off
1271 \bar no
1272 \noun off
1273 \color none
1274 1
1275 \end_layout
1276
1277 \end_inset
1278 </cell>
1279 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1280 \begin_inset Text
1281
1282 \begin_layout Standard
1283 2
1284 \end_layout
1285
1286 \end_inset
1287 </cell>
1288 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1289 \begin_inset Text
1290
1291 \begin_layout Standard
1292 3
1293 \end_layout
1294
1295 \end_inset
1296 </cell>
1297 </row>
1298 <row topline="true">
1299 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1300 \begin_inset Text
1301
1302 \begin_layout Standard
1303
1304 \family roman
1305 \series medium
1306 \shape up
1307 \size normal
1308 \emph off
1309 \bar no
1310 \noun off
1311 \color none
1312 A
1313 \end_layout
1314
1315 \end_inset
1316 </cell>
1317 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1318 \begin_inset Text
1319
1320 \begin_layout Standard
1321
1322 \end_layout
1323
1324 \end_inset
1325 </cell>
1326 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1327 \begin_inset Text
1328
1329 \begin_layout Standard
1330
1331 \end_layout
1332
1333 \end_inset
1334 </cell>
1335 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1336 \begin_inset Text
1337
1338 \begin_layout Standard
1339
1340 \end_layout
1341
1342 \end_inset
1343 </cell>
1344 </row>
1345 <row topline="true">
1346 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1347 \begin_inset Text
1348
1349 \begin_layout Standard
1350
1351 \family roman
1352 \series medium
1353 \shape up
1354 \size normal
1355 \emph off
1356 \bar no
1357 \noun off
1358 \color none
1359 B
1360 \end_layout
1361
1362 \end_inset
1363 </cell>
1364 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1365 \begin_inset Text
1366
1367 \begin_layout Standard
1368
1369 \end_layout
1370
1371 \end_inset
1372 </cell>
1373 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1374 \begin_inset Text
1375
1376 \begin_layout Standard
1377
1378 \end_layout
1379
1380 \end_inset
1381 </cell>
1382 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1383 \begin_inset Text
1384
1385 \begin_layout Standard
1386
1387 \end_layout
1388
1389 \end_inset
1390 </cell>
1391 </row>
1392 <row topline="true" bottomline="true">
1393 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1394 \begin_inset Text
1395
1396 \begin_layout Standard
1397
1398 \family roman
1399 \series medium
1400 \shape up
1401 \size normal
1402 \emph off
1403 \bar no
1404 \noun off
1405 \color none
1406 C
1407 \end_layout
1408
1409 \end_inset
1410 </cell>
1411 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1412 \begin_inset Text
1413
1414 \begin_layout Standard
1415
1416 \end_layout
1417
1418 \end_inset
1419 </cell>
1420 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1421 \begin_inset Text
1422
1423 \begin_layout Standard
1424
1425 \end_layout
1426
1427 \end_inset
1428 </cell>
1429 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1430 \begin_inset Text
1431
1432 \begin_layout Standard
1433
1434 \end_layout
1435
1436 \end_inset
1437 </cell>
1438 </row>
1439 </lyxtabular>
1440
1441 \end_inset
1442
1443
1444 \end_layout
1445
1446 \begin_layout Section
1447 Table Dialog
1448 \begin_inset LatexCommand index
1449 name "Table ! Dialog"
1450
1451 \end_inset
1452
1453
1454 \end_layout
1455
1456 \begin_layout Standard
1457 You can alter a table by clicking on it with the right mouse button, which
1458  brings up the table dialog.
1459  Here you can adjust the settings of that cell and row/column respectively
1460  where the cursor is currently placed.
1461  Most of the dialog options also work on selections.
1462  This means if you select more cells, columns or rows, the action is done
1463  for the whole selection.
1464  Note that there is a difference between selecting the 
1465 \emph on
1466 contents
1467 \emph default
1468  of the cell, and the cell itself.
1469  You can alter tables with the following tabs of the table dialog:
1470 \end_layout
1471
1472 \begin_layout Description
1473
1474 \family sans
1475 Table\InsetSpace ~
1476 Settings
1477 \family default
1478  Here you can set the horizontal alignment for the current row and the width
1479  of the current column.
1480  When you have set a width you can also adjust the vertical alignment of
1481  the current column.
1482  A given width will allow the cell to have line breaks and multiple paragraphs
1483  of text, see section\InsetSpace ~
1484
1485 \begin_inset LatexCommand ref
1486 reference "sub:Multiple-Lines-in"
1487
1488 \end_inset
1489
1490 .
1491  If you set no width, the column is as wide as their widest cell content
1492  is.
1493 \newline
1494 Furthermore, you can mark one or multiple cells of one row as a multicolumn
1495  cell, see section\InsetSpace ~
1496
1497 \begin_inset LatexCommand ref
1498 reference "sub:Multicolumns"
1499
1500 \end_inset
1501
1502 .
1503 \newline
1504 The rotate check boxes rotates the current cell, a selection, or the whole
1505  table counter-clockwise by 90°.
1506  The rotation is not shown within LyX, only in the output.
1507 \newline
1508
1509 \begin_inset Note Greyedout
1510 status open
1511
1512 \begin_layout Standard
1513
1514 \series bold
1515 Note:
1516 \series default
1517  Not all DVI-viewers are able to display rotations.
1518 \end_layout
1519
1520 \end_inset
1521
1522
1523 \newline
1524 It is also possible to enter a LaTeX-argument which is needed for special
1525  table formattings, see section\InsetSpace ~
1526
1527 \begin_inset LatexCommand ref
1528 reference "sub:Multicolumn-Calculations"
1529
1530 \end_inset
1531
1532  and 
1533 \begin_inset LatexCommand ref
1534 reference "sec:Colored-Tables"
1535
1536 \end_inset
1537
1538 .
1539 \end_layout
1540
1541 \begin_layout Description
1542
1543 \family sans
1544 Borders
1545 \family default
1546  In this tab you can add and delete border lines for the current row/column.
1547 \newline
1548 Using
1549  the style option 
1550 \family sans
1551 Formal
1552 \family default
1553  will convert the table to a formal table as described in section\InsetSpace ~
1554
1555 \begin_inset LatexCommand ref
1556 reference "sec:Formal-Tables"
1557
1558 \end_inset
1559
1560 .
1561 \newline
1562 You can also add here space to table rows as decribed in section\InsetSpace ~
1563
1564 \begin_inset LatexCommand ref
1565 reference "sub:Row-Spacing"
1566
1567 \end_inset
1568
1569 .
1570 \end_layout
1571
1572 \begin_layout Description
1573
1574 \family sans
1575 Longtable
1576 \family default
1577  This tab is to make a table a so called 
1578 \begin_inset Quotes eld
1579 \end_inset
1580
1581
1582 \emph on
1583 longtable
1584 \emph default
1585
1586 \begin_inset Quotes erd
1587 \end_inset
1588
1589  that can run over several pages.
1590  Section\InsetSpace ~
1591
1592 \begin_inset LatexCommand ref
1593 reference "sec:Longtables"
1594
1595 \end_inset
1596
1597  and 
1598 \begin_inset LatexCommand ref
1599 reference "sec:Special-Longtable-Issues"
1600
1601 \end_inset
1602
1603  describe the longtable features in detail.
1604 \end_layout
1605
1606 \begin_layout Standard
1607 When the table toolbar is opened, you can move the cursor with the arrow
1608  keys from cell to cell and the property of the current cell will immediately
1609  be displayed in the dialog.
1610 \end_layout
1611
1612 \begin_layout Section
1613 Table Toolbar
1614 \begin_inset LatexCommand index
1615 name "Table ! Toolbar"
1616
1617 \end_inset
1618
1619
1620 \end_layout
1621
1622 \begin_layout Standard
1623 The table toolbar is an alternative to the table dialog to be able to alter
1624  tables faster.
1625  It should normally appear at the bottom of LyX's main window when the cursor
1626  is inside a table.
1627  You can alternatively switch it on to appear always, by right-clicking
1628  in LyX's main menu bar.
1629 \end_layout
1630
1631 \begin_layout Standard
1632 The toolbar has the following icons:
1633 \end_layout
1634
1635 \begin_layout Labeling
1636 \labelwidthstring 00.00.0000
1637 \begin_inset Graphics
1638         filename ../images/tabular-feature_append-row.xpm
1639
1640 \end_inset
1641
1642  adds a row below the current cell or selection
1643 \end_layout
1644
1645 \begin_layout Labeling
1646 \labelwidthstring 00.00.0000
1647 \begin_inset Graphics
1648         filename ../images/tabular-feature_append-column.xpm
1649
1650 \end_inset
1651
1652  adds a column right beside the current cell or selection
1653 \end_layout
1654
1655 \begin_layout Labeling
1656 \labelwidthstring 00.00.0000
1657 \begin_inset Graphics
1658         filename ../images/tabular-feature_delete-row.xpm
1659
1660 \end_inset
1661
1662  deletes the current row or selection
1663 \end_layout
1664
1665 \begin_layout Labeling
1666 \labelwidthstring 00.00.0000
1667 \begin_inset Graphics
1668         filename ../images/tabular-feature_delete-column.xpm
1669
1670 \end_inset
1671
1672  deletes the current column or selection
1673 \end_layout
1674
1675 \begin_layout Labeling
1676 \labelwidthstring 00.00.0000
1677 \begin_inset Graphics
1678         filename ../images/tabular-feature_toggle-line-top.xpm
1679
1680 \end_inset
1681
1682  adds a line at the top of the current cell / row or of a selection
1683 \end_layout
1684
1685 \begin_layout Labeling
1686 \labelwidthstring 00.00.0000
1687 \begin_inset Graphics
1688         filename ../images/tabular-feature_toggle-line-bottom.xpm
1689
1690 \end_inset
1691
1692  adds a line at the bottom of the current cell / row or of a 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-left.xpm
1699
1700 \end_inset
1701
1702  adds a line at the left side 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-right.xpm
1709
1710 \end_inset
1711
1712  adds a line at the right side 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_set-all-lines.xpm
1719
1720 \end_inset
1721
1722  adds lines around the current or selected cells - if the current cell no
1723  multicolumn this also affects the current row and column
1724 \end_layout
1725
1726 \begin_layout Labeling
1727 \labelwidthstring 00.00.0000
1728 \begin_inset Graphics
1729         filename ../images/tabular-feature_unset-all-lines.xpm
1730
1731 \end_inset
1732
1733  deletes all lines of the current or selected cells - if the current cell
1734  no multicolumn this also affects the current row and column
1735 \end_layout
1736
1737 \begin_layout Labeling
1738 \labelwidthstring 00.00.0000
1739 \begin_inset Graphics
1740         filename ../images/tabular-feature_align-left.xpm
1741
1742 \end_inset
1743
1744  left-aligns the content of the current cell / column
1745 \end_layout
1746
1747 \begin_layout Labeling
1748 \labelwidthstring 00.00.0000
1749 \begin_inset Graphics
1750         filename ../images/tabular-feature_align-center.xpm
1751
1752 \end_inset
1753
1754  centers the content of the current cell / column horizontally
1755 \end_layout
1756
1757 \begin_layout Labeling
1758 \labelwidthstring 00.00.0000
1759 \begin_inset Graphics
1760         filename ../images/tabular-feature_align-right.xpm
1761
1762 \end_inset
1763
1764  right-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_valign-top.xpm
1771
1772 \end_inset
1773
1774  aligns the content of the current cell vertically to the top
1775 \end_layout
1776
1777 \begin_layout Labeling
1778 \labelwidthstring 00.00.0000
1779 \begin_inset Graphics
1780         filename ../images/tabular-feature_valign-middle.xpm
1781
1782 \end_inset
1783
1784  centers the content of the current cell vertically
1785 \end_layout
1786
1787 \begin_layout Labeling
1788 \labelwidthstring 00.00.0000
1789 \begin_inset Graphics
1790         filename ../images/tabular-feature_valign-bottom.xpm
1791
1792 \end_inset
1793
1794  aligns the content of the current cell vertically to the bottom
1795 \end_layout
1796
1797 \begin_layout Labeling
1798 \labelwidthstring 00.00.0000
1799 \begin_inset Graphics
1800         filename ../images/tabular-feature_set-rotate-cell.xpm
1801
1802 \end_inset
1803
1804  rotates the current cell or selection counter-clockwise by 90°
1805 \end_layout
1806
1807 \begin_layout Labeling
1808 \labelwidthstring 00.00.0000
1809 \begin_inset Graphics
1810         filename ../images/tabular-feature_set-rotate-tabular.xpm
1811
1812 \end_inset
1813
1814  rotates the whole table counter-clockwise by 90°
1815 \end_layout
1816
1817 \begin_layout Labeling
1818 \labelwidthstring 00.00.0000
1819 \begin_inset Graphics
1820         filename ../images/tabular-feature_multicolumn.xpm
1821
1822 \end_inset
1823
1824  sets the current cell or selection as a multicolumn
1825 \end_layout
1826
1827 \begin_layout Section
1828 Edit Table Menu
1829 \begin_inset LatexCommand index
1830 name "Table ! Edit Menu"
1831
1832 \end_inset
1833
1834
1835 \end_layout
1836
1837 \begin_layout Standard
1838 Additionally to the table dialog and toolbar, the menu 
1839 \family sans
1840 Edit\SpecialChar \menuseparator
1841 Table
1842 \family default
1843  allows you to add and delete border lines for the current row/column and
1844  to set the current selection as multicolumn.
1845  The menu is only available when the cursor is inside a table.
1846 \end_layout
1847
1848 \begin_layout Section
1849 Table Floats
1850 \begin_inset LatexCommand label
1851 name "sec:Table-Floats"
1852
1853 \end_inset
1854
1855
1856 \begin_inset LatexCommand index
1857 name "Floats ! Tables"
1858
1859 \end_inset
1860
1861
1862 \begin_inset LatexCommand index
1863 name "Table ! Floats"
1864
1865 \end_inset
1866
1867
1868 \end_layout
1869
1870 \begin_layout Standard
1871 For general explanations about floats, have a look at section\InsetSpace ~
1872
1873 \begin_inset LatexCommand ref
1874 reference "sec:FloatIntroduction"
1875
1876 \end_inset
1877
1878 .
1879 \end_layout
1880
1881 \begin_layout Standard
1882 \begin_inset Float table
1883 placement h
1884 wide false
1885 sideways false
1886 status open
1887
1888 \begin_layout Standard
1889 \begin_inset Caption
1890
1891 \begin_layout Standard
1892 \begin_inset LatexCommand label
1893 name "tab:a table float"
1894
1895 \end_inset
1896
1897 A table float.
1898 \end_layout
1899
1900 \end_inset
1901
1902
1903 \end_layout
1904
1905 \begin_layout Standard
1906 \align center
1907 \begin_inset Tabular
1908 <lyxtabular version="3" rows="3" columns="3">
1909 <features>
1910 <column alignment="center" valignment="top" leftline="true" width="0pt">
1911 <column alignment="center" valignment="top" leftline="true" width="0pt">
1912 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
1913 <row topline="true" bottomline="true">
1914 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1915 \begin_inset Text
1916
1917 \begin_layout Standard
1918
1919 \family roman
1920 \series medium
1921 \shape up
1922 \size normal
1923 \emph off
1924 \bar no
1925 \noun off
1926 \color none
1927 1
1928 \end_layout
1929
1930 \end_inset
1931 </cell>
1932 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1933 \begin_inset Text
1934
1935 \begin_layout Standard
1936
1937 \family roman
1938 \series medium
1939 \shape up
1940 \size normal
1941 \emph off
1942 \bar no
1943 \noun off
1944 \color none
1945 2
1946 \end_layout
1947
1948 \end_inset
1949 </cell>
1950 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1951 \begin_inset Text
1952
1953 \begin_layout Standard
1954
1955 \family roman
1956 \series medium
1957 \shape up
1958 \size normal
1959 \emph off
1960 \bar no
1961 \noun off
1962 \color none
1963 3
1964 \end_layout
1965
1966 \end_inset
1967 </cell>
1968 </row>
1969 <row topline="true">
1970 <cell alignment="center" valignment="top" topline="true" leftline="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 Joe
1984 \end_layout
1985
1986 \end_inset
1987 </cell>
1988 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1989 \begin_inset Text
1990
1991 \begin_layout Standard
1992
1993 \family roman
1994 \series medium
1995 \shape up
1996 \size normal
1997 \emph off
1998 \bar no
1999 \noun off
2000 \color none
2001 Mary
2002 \end_layout
2003
2004 \end_inset
2005 </cell>
2006 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2007 \begin_inset Text
2008
2009 \begin_layout Standard
2010
2011 \family roman
2012 \series medium
2013 \shape up
2014 \size normal
2015 \emph off
2016 \bar no
2017 \noun off
2018 \color none
2019 Ted
2020 \end_layout
2021
2022 \end_inset
2023 </cell>
2024 </row>
2025 <row topline="true" bottomline="true">
2026 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="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 \begin_inset Formula $\int x^{2}dx$
2040 \end_inset
2041
2042
2043 \end_layout
2044
2045 \end_inset
2046 </cell>
2047 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2048 \begin_inset Text
2049
2050 \begin_layout Standard
2051
2052 \family roman
2053 \series medium
2054 \shape up
2055 \size normal
2056 \emph off
2057 \bar no
2058 \noun off
2059 \color none
2060 \begin_inset Formula $\left[\begin{array}{cc}
2061 a & b\\
2062 c & d\end{array}\right]$
2063 \end_inset
2064
2065
2066 \end_layout
2067
2068 \end_inset
2069 </cell>
2070 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2071 \begin_inset Text
2072
2073 \begin_layout Standard
2074
2075 \family roman
2076 \series medium
2077 \shape up
2078 \size normal
2079 \emph off
2080 \bar no
2081 \noun off
2082 \color none
2083 \begin_inset Formula $1+1=2$
2084 \end_inset
2085
2086
2087 \end_layout
2088
2089 \end_inset
2090 </cell>
2091 </row>
2092 </lyxtabular>
2093
2094 \end_inset
2095
2096
2097 \end_layout
2098
2099 \end_inset
2100
2101
2102 \end_layout
2103
2104 \begin_layout Standard
2105 Table floats can be inserted using the menu 
2106 \family sans
2107 Insert\SpecialChar \menuseparator
2108 Float\SpecialChar \menuseparator
2109 Table
2110 \family default
2111  or the toolbar button 
2112 \begin_inset Graphics
2113         filename ../images/float-insert_table.xpm
2114         scale 85
2115
2116 \end_inset
2117
2118 .
2119 \end_layout
2120
2121 \begin_layout Standard
2122 The float appears as a collapsible box with the label 
2123 \begin_inset Quotes eld
2124 \end_inset
2125
2126
2127 \series bold
2128 Table\InsetSpace ~
2129 #:
2130 \series default
2131
2132 \begin_inset Quotes erd
2133 \end_inset
2134
2135  inside it.
2136  The text following the label is the caption of the table.
2137  To insert a table to the the float set the cursor at the end of the caption
2138  text, press enter and insert the table.
2139  The caption is now printed above the table.
2140 \end_layout
2141
2142 \begin_layout Standard
2143 Table\InsetSpace ~
2144
2145 \begin_inset LatexCommand ref
2146 reference "tab:a table float"
2147
2148 \end_inset
2149
2150  is an example table within a table float.
2151 \end_layout
2152
2153 \begin_layout Standard
2154 Having the caption above the table is the common rule that is unfortunately
2155  not supported in LaTeX's standard classes.
2156  That means if you are using the document classes 
2157 \family sans
2158 article
2159 \family default
2160
2161 \family sans
2162 book
2163 \family default
2164
2165 \family sans
2166 letter
2167 \family default
2168 , or 
2169 \family sans
2170 report
2171 \family default
2172  there will be no space between the caption and the table.
2173  To insert the needed space, add the following option to the load command
2174  of the LaTeX-package 
2175 \series bold
2176 caption
2177 \series default
2178
2179 \begin_inset LatexCommand index
2180 name "LaTeX-packages ! caption"
2181
2182 \end_inset
2183
2184  in your document preamble
2185 \begin_inset Foot
2186 status collapsed
2187
2188 \begin_layout Standard
2189 For more information have a look at section\InsetSpace ~
2190
2191 \begin_inset LatexCommand ref
2192 reference "sec:Caption-Placement"
2193
2194 \end_inset
2195
2196 .
2197 \end_layout
2198
2199 \end_inset
2200
2201 :
2202 \end_layout
2203
2204 \begin_layout Standard
2205
2206 \series bold
2207 tableposition=top
2208 \end_layout
2209
2210 \begin_layout Standard
2211 The package 
2212 \series bold
2213 caption
2214 \series default
2215 , which is described in section\InsetSpace ~
2216
2217 \begin_inset LatexCommand ref
2218 reference "sec:Caption-Formatting"
2219
2220 \end_inset
2221
2222 , is used to adjust the caption format.
2223 \end_layout
2224
2225 \begin_layout Standard
2226 \begin_inset LatexCommand index
2227 name "References ! to Tables"
2228
2229 \end_inset
2230
2231 Tables can be cross-referenced in the text by referencing their label.
2232  To do this insert a label in the caption using the menu 
2233 \family sans
2234 Insert\SpecialChar \menuseparator
2235 Label
2236 \family default
2237  or the toolbar button 
2238 \begin_inset Graphics
2239         filename ../images/label-insert.xpm
2240         scale 85
2241
2242 \end_inset
2243
2244 .
2245  You can now refer to the label using the menu 
2246 \family sans
2247 Insert\SpecialChar \menuseparator
2248 Cross\InsetSpace ~
2249 reference
2250 \family default
2251  or the toolbar button 
2252 \begin_inset Graphics
2253         filename ../images/dialog-show-new-inset_ref.xpm
2254         scale 85
2255
2256 \end_inset
2257
2258 .
2259 \end_layout
2260
2261 \begin_layout Standard
2262
2263 \end_layout
2264
2265 \begin_layout Section
2266 Longtables
2267 \begin_inset LatexCommand label
2268 name "sec:Longtables"
2269
2270 \end_inset
2271
2272
2273 \begin_inset LatexCommand index
2274 name "Longtables"
2275
2276 \end_inset
2277
2278
2279 \begin_inset LatexCommand index
2280 name "Table ! Longtables"
2281
2282 \end_inset
2283
2284
2285 \end_layout
2286
2287 \begin_layout Standard
2288 If the table is too long to fit on one page, you can use the option 
2289 \family sans
2290 Use\InsetSpace ~
2291 long\InsetSpace ~
2292 table
2293 \family default
2294  in the tab 
2295 \family sans
2296 Longtable
2297 \family default
2298  of the table dialog to split the table automatically over more pages.
2299  Doing this enables some check boxes and you can now define:
2300 \end_layout
2301
2302 \begin_layout Description
2303
2304 \family sans
2305 Header
2306 \family default
2307 : The current row and all rows above, that don't have any special options
2308  defined, are defined to be the header rows of all pages of the longtable;
2309  except for the first page, if 
2310 \family sans
2311 First\InsetSpace ~
2312 header
2313 \family default
2314  is defined.
2315  This therefore called the main header.
2316 \end_layout
2317
2318 \begin_layout Description
2319
2320 \family sans
2321 First\InsetSpace ~
2322 header
2323 \family default
2324 : The current row and all rows above, that don't have any special options
2325  defined, are defined to be the header rows of the first page of the longtable.
2326 \end_layout
2327
2328 \begin_layout Description
2329
2330 \family sans
2331 Footer
2332 \family default
2333 : The current row and all rows below, that don't have any special options
2334  defined, are defined to be the footer rows of all pages of the longtable;
2335  except for the last page, if 
2336 \family sans
2337 Last\InsetSpace ~
2338 footer
2339 \family default
2340  is defined.
2341 \end_layout
2342
2343 \begin_layout Description
2344
2345 \family sans
2346 Last\InsetSpace ~
2347 footer
2348 \family default
2349 : The current row and all rows below, that don't have any special options
2350  defined, are defined to be the footer rows of the last page of the longtable.
2351 \end_layout
2352
2353 \begin_layout Standard
2354 You can also specify a row where the table is splitted.
2355  If you set more than one option in the same table row, you should be aware
2356  of the fact that only the first one is used in the given table row.
2357  The others will then be defined as 
2358 \emph on
2359 empty
2360 \emph default
2361 .
2362  In this context, first means first in this order: 
2363 \family sans
2364 Footer, Last\InsetSpace ~
2365 footer,
2366 \family default
2367  
2368 \family sans
2369 Header,
2370 \family default
2371  
2372 \family sans
2373 First\InsetSpace ~
2374 header.
2375
2376 \family default
2377 \emph on
2378  
2379 \emph default
2380 See the following longtable to see how it works:
2381 \end_layout
2382
2383 \begin_layout Standard
2384 \align center
2385 \begin_inset Tabular
2386 <lyxtabular version="3" rows="69" columns="3">
2387 <features islongtable="true">
2388 <column alignment="left" valignment="top" leftline="true" width="0cm">
2389 <column alignment="left" valignment="top" width="0pt">
2390 <column alignment="right" valignment="top" leftline="true" rightline="true" width="0pt">
2391 <row topline="true" bottomline="true" endfirsthead="true">
2392 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2393 \begin_inset Text
2394
2395 \begin_layout Standard
2396
2397 \series bold
2398 Example Phone List (ignore the names)
2399 \end_layout
2400
2401 \end_inset
2402 </cell>
2403 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2404 \begin_inset Text
2405
2406 \begin_layout Standard
2407
2408 \end_layout
2409
2410 \end_inset
2411 </cell>
2412 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2413 \begin_inset Text
2414
2415 \begin_layout Standard
2416
2417 \end_layout
2418
2419 \end_inset
2420 </cell>
2421 </row>
2422 <row topline="true" bottomline="true" endfirsthead="true">
2423 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2424 \begin_inset Text
2425
2426 \begin_layout Standard
2427
2428 \series bold
2429 NAME
2430 \end_layout
2431
2432 \end_inset
2433 </cell>
2434 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2435 \begin_inset Text
2436
2437 \begin_layout Standard
2438
2439 \end_layout
2440
2441 \end_inset
2442 </cell>
2443 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2444 \begin_inset Text
2445
2446 \begin_layout Standard
2447
2448 \series bold
2449 TEL.
2450 \end_layout
2451
2452 \end_inset
2453 </cell>
2454 </row>
2455 <row topline="true" bottomline="true" endhead="true">
2456 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2457 \begin_inset Text
2458
2459 \begin_layout Standard
2460
2461 \series bold
2462 Example Phone List
2463 \end_layout
2464
2465 \end_inset
2466 </cell>
2467 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2468 \begin_inset Text
2469
2470 \begin_layout Standard
2471
2472 \end_layout
2473
2474 \end_inset
2475 </cell>
2476 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2477 \begin_inset Text
2478
2479 \begin_layout Standard
2480
2481 \end_layout
2482
2483 \end_inset
2484 </cell>
2485 </row>
2486 <row topline="true" bottomline="true" endhead="true">
2487 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2488 \begin_inset Text
2489
2490 \begin_layout Standard
2491
2492 \series bold
2493 NAME
2494 \end_layout
2495
2496 \end_inset
2497 </cell>
2498 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2499 \begin_inset Text
2500
2501 \begin_layout Standard
2502
2503 \end_layout
2504
2505 \end_inset
2506 </cell>
2507 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2508 \begin_inset Text
2509
2510 \begin_layout Standard
2511
2512 \series bold
2513 TEL.
2514 \end_layout
2515
2516 \end_inset
2517 </cell>
2518 </row>
2519 <row topline="true" bottomline="true" endfoot="true">
2520 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
2521 \begin_inset Text
2522
2523 \begin_layout Standard
2524  continued on next page
2525 \end_layout
2526
2527 \end_inset
2528 </cell>
2529 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2530 \begin_inset Text
2531
2532 \begin_layout Standard
2533
2534 \end_layout
2535
2536 \end_inset
2537 </cell>
2538 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2539 \begin_inset Text
2540
2541 \begin_layout Standard
2542
2543 \end_layout
2544
2545 \end_inset
2546 </cell>
2547 </row>
2548 <row>
2549 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2550 \begin_inset Text
2551
2552 \begin_layout Standard
2553
2554 \series bold
2555 Annovi
2556 \end_layout
2557
2558 \end_inset
2559 </cell>
2560 <cell alignment="center" valignment="top" topline="true" usebox="none">
2561 \begin_inset Text
2562
2563 \begin_layout Standard
2564 Silvia
2565 \end_layout
2566
2567 \end_inset
2568 </cell>
2569 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2570 \begin_inset Text
2571
2572 \begin_layout Standard
2573 111
2574 \end_layout
2575
2576 \end_inset
2577 </cell>
2578 </row>
2579 <row>
2580 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2581 \begin_inset Text
2582
2583 \begin_layout Standard
2584
2585 \series bold
2586 Bertoli
2587 \end_layout
2588
2589 \end_inset
2590 </cell>
2591 <cell alignment="center" valignment="top" topline="true" usebox="none">
2592 \begin_inset Text
2593
2594 \begin_layout Standard
2595 Stefano
2596 \end_layout
2597
2598 \end_inset
2599 </cell>
2600 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2601 \begin_inset Text
2602
2603 \begin_layout Standard
2604 111
2605 \end_layout
2606
2607 \end_inset
2608 </cell>
2609 </row>
2610 <row>
2611 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2612 \begin_inset Text
2613
2614 \begin_layout Standard
2615
2616 \series bold
2617 Bozzi
2618 \end_layout
2619
2620 \end_inset
2621 </cell>
2622 <cell alignment="center" valignment="top" topline="true" usebox="none">
2623 \begin_inset Text
2624
2625 \begin_layout Standard
2626 Walter
2627 \end_layout
2628
2629 \end_inset
2630 </cell>
2631 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2632 \begin_inset Text
2633
2634 \begin_layout Standard
2635 111
2636 \end_layout
2637
2638 \end_inset
2639 </cell>
2640 </row>
2641 <row>
2642 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2643 \begin_inset Text
2644
2645 \begin_layout Standard
2646
2647 \series bold
2648 Cachia
2649 \end_layout
2650
2651 \end_inset
2652 </cell>
2653 <cell alignment="center" valignment="top" topline="true" usebox="none">
2654 \begin_inset Text
2655
2656 \begin_layout Standard
2657 Maria
2658 \end_layout
2659
2660 \end_inset
2661 </cell>
2662 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2663 \begin_inset Text
2664
2665 \begin_layout Standard
2666 111
2667 \end_layout
2668
2669 \end_inset
2670 </cell>
2671 </row>
2672 <row>
2673 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2674 \begin_inset Text
2675
2676 \begin_layout Standard
2677
2678 \series bold
2679 Cachia
2680 \end_layout
2681
2682 \end_inset
2683 </cell>
2684 <cell alignment="center" valignment="top" topline="true" usebox="none">
2685 \begin_inset Text
2686
2687 \begin_layout Standard
2688 Maurizio
2689 \end_layout
2690
2691 \end_inset
2692 </cell>
2693 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2694 \begin_inset Text
2695
2696 \begin_layout Standard
2697 111
2698 \end_layout
2699
2700 \end_inset
2701 </cell>
2702 </row>
2703 <row>
2704 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2705 \begin_inset Text
2706
2707 \begin_layout Standard
2708
2709 \series bold
2710 Cinquemani
2711 \end_layout
2712
2713 \end_inset
2714 </cell>
2715 <cell alignment="center" valignment="top" topline="true" usebox="none">
2716 \begin_inset Text
2717
2718 \begin_layout Standard
2719 Giusi
2720 \end_layout
2721
2722 \end_inset
2723 </cell>
2724 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2725 \begin_inset Text
2726
2727 \begin_layout Standard
2728 111
2729 \end_layout
2730
2731 \end_inset
2732 </cell>
2733 </row>
2734 <row>
2735 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2736 \begin_inset Text
2737
2738 \begin_layout Standard
2739
2740 \series bold
2741 Colin
2742 \end_layout
2743
2744 \end_inset
2745 </cell>
2746 <cell alignment="center" valignment="top" topline="true" usebox="none">
2747 \begin_inset Text
2748
2749 \begin_layout Standard
2750 Bernard
2751 \end_layout
2752
2753 \end_inset
2754 </cell>
2755 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2756 \begin_inset Text
2757
2758 \begin_layout Standard
2759 111
2760 \end_layout
2761
2762 \end_inset
2763 </cell>
2764 </row>
2765 <row>
2766 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2767 \begin_inset Text
2768
2769 \begin_layout Standard
2770
2771 \series bold
2772 Concli
2773 \end_layout
2774
2775 \end_inset
2776 </cell>
2777 <cell alignment="center" valignment="top" topline="true" usebox="none">
2778 \begin_inset Text
2779
2780 \begin_layout Standard
2781 Gianfranco
2782 \end_layout
2783
2784 \end_inset
2785 </cell>
2786 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2787 \begin_inset Text
2788
2789 \begin_layout Standard
2790 111
2791 \end_layout
2792
2793 \end_inset
2794 </cell>
2795 </row>
2796 <row>
2797 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2798 \begin_inset Text
2799
2800 \begin_layout Standard
2801
2802 \series bold
2803 Dal Bosco
2804 \end_layout
2805
2806 \end_inset
2807 </cell>
2808 <cell alignment="center" valignment="top" topline="true" usebox="none">
2809 \begin_inset Text
2810
2811 \begin_layout Standard
2812 Carolina
2813 \end_layout
2814
2815 \end_inset
2816 </cell>
2817 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2818 \begin_inset Text
2819
2820 \begin_layout Standard
2821 111
2822 \end_layout
2823
2824 \end_inset
2825 </cell>
2826 </row>
2827 <row>
2828 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2829 \begin_inset Text
2830
2831 \begin_layout Standard
2832
2833 \series bold
2834 Dalpiaz
2835 \end_layout
2836
2837 \end_inset
2838 </cell>
2839 <cell alignment="center" valignment="top" topline="true" usebox="none">
2840 \begin_inset Text
2841
2842 \begin_layout Standard
2843 Annamaria
2844 \end_layout
2845
2846 \end_inset
2847 </cell>
2848 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2849 \begin_inset Text
2850
2851 \begin_layout Standard
2852 111
2853 \end_layout
2854
2855 \end_inset
2856 </cell>
2857 </row>
2858 <row>
2859 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2860 \begin_inset Text
2861
2862 \begin_layout Standard
2863
2864 \series bold
2865 Feliciello
2866 \end_layout
2867
2868 \end_inset
2869 </cell>
2870 <cell alignment="center" valignment="top" topline="true" usebox="none">
2871 \begin_inset Text
2872
2873 \begin_layout Standard
2874 Domenico
2875 \end_layout
2876
2877 \end_inset
2878 </cell>
2879 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2880 \begin_inset Text
2881
2882 \begin_layout Standard
2883 111
2884 \end_layout
2885
2886 \end_inset
2887 </cell>
2888 </row>
2889 <row>
2890 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2891 \begin_inset Text
2892
2893 \begin_layout Standard
2894
2895 \series bold
2896 Focarelli
2897 \end_layout
2898
2899 \end_inset
2900 </cell>
2901 <cell alignment="center" valignment="top" topline="true" usebox="none">
2902 \begin_inset Text
2903
2904 \begin_layout Standard
2905 Paola
2906 \end_layout
2907
2908 \end_inset
2909 </cell>
2910 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2911 \begin_inset Text
2912
2913 \begin_layout Standard
2914 111
2915 \end_layout
2916
2917 \end_inset
2918 </cell>
2919 </row>
2920 <row>
2921 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2922 \begin_inset Text
2923
2924 \begin_layout Standard
2925
2926 \series bold
2927 Galletti
2928 \end_layout
2929
2930 \end_inset
2931 </cell>
2932 <cell alignment="center" valignment="top" topline="true" usebox="none">
2933 \begin_inset Text
2934
2935 \begin_layout Standard
2936 Oreste
2937 \end_layout
2938
2939 \end_inset
2940 </cell>
2941 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2942 \begin_inset Text
2943
2944 \begin_layout Standard
2945 111
2946 \end_layout
2947
2948 \end_inset
2949 </cell>
2950 </row>
2951 <row>
2952 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2953 \begin_inset Text
2954
2955 \begin_layout Standard
2956
2957 \series bold
2958 Gasparini
2959 \end_layout
2960
2961 \end_inset
2962 </cell>
2963 <cell alignment="center" valignment="top" topline="true" usebox="none">
2964 \begin_inset Text
2965
2966 \begin_layout Standard
2967 Franca
2968 \end_layout
2969
2970 \end_inset
2971 </cell>
2972 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2973 \begin_inset Text
2974
2975 \begin_layout Standard
2976 111
2977 \end_layout
2978
2979 \end_inset
2980 </cell>
2981 </row>
2982 <row>
2983 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2984 \begin_inset Text
2985
2986 \begin_layout Standard
2987
2988 \series bold
2989 Rizzardi
2990 \end_layout
2991
2992 \end_inset
2993 </cell>
2994 <cell alignment="center" valignment="top" topline="true" usebox="none">
2995 \begin_inset Text
2996
2997 \begin_layout Standard
2998 Paola
2999 \end_layout
3000
3001 \end_inset
3002 </cell>
3003 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3004 \begin_inset Text
3005
3006 \begin_layout Standard
3007 111
3008 \end_layout
3009
3010 \end_inset
3011 </cell>
3012 </row>
3013 <row>
3014 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3015 \begin_inset Text
3016
3017 \begin_layout Standard
3018
3019 \series bold
3020 Lassini
3021 \end_layout
3022
3023 \end_inset
3024 </cell>
3025 <cell alignment="center" valignment="top" topline="true" usebox="none">
3026 \begin_inset Text
3027
3028 \begin_layout Standard
3029 Giancarlo
3030 \end_layout
3031
3032 \end_inset
3033 </cell>
3034 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3035 \begin_inset Text
3036
3037 \begin_layout Standard
3038 111
3039 \end_layout
3040
3041 \end_inset
3042 </cell>
3043 </row>
3044 <row>
3045 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3046 \begin_inset Text
3047
3048 \begin_layout Standard
3049
3050 \series bold
3051 Malfatti
3052 \end_layout
3053
3054 \end_inset
3055 </cell>
3056 <cell alignment="center" valignment="top" topline="true" usebox="none">
3057 \begin_inset Text
3058
3059 \begin_layout Standard
3060 Luciano
3061 \end_layout
3062
3063 \end_inset
3064 </cell>
3065 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3066 \begin_inset Text
3067
3068 \begin_layout Standard
3069 111
3070 \end_layout
3071
3072 \end_inset
3073 </cell>
3074 </row>
3075 <row>
3076 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3077 \begin_inset Text
3078
3079 \begin_layout Standard
3080
3081 \series bold
3082 Malfatti
3083 \end_layout
3084
3085 \end_inset
3086 </cell>
3087 <cell alignment="center" valignment="top" topline="true" usebox="none">
3088 \begin_inset Text
3089
3090 \begin_layout Standard
3091 Valeriano
3092 \end_layout
3093
3094 \end_inset
3095 </cell>
3096 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3097 \begin_inset Text
3098
3099 \begin_layout Standard
3100 111
3101 \end_layout
3102
3103 \end_inset
3104 </cell>
3105 </row>
3106 <row>
3107 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3108 \begin_inset Text
3109
3110 \begin_layout Standard
3111
3112 \series bold
3113 Meneguzzo
3114 \end_layout
3115
3116 \end_inset
3117 </cell>
3118 <cell alignment="center" valignment="top" topline="true" usebox="none">
3119 \begin_inset Text
3120
3121 \begin_layout Standard
3122 Roberto
3123 \end_layout
3124
3125 \end_inset
3126 </cell>
3127 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3128 \begin_inset Text
3129
3130 \begin_layout Standard
3131 111
3132 \end_layout
3133
3134 \end_inset
3135 </cell>
3136 </row>
3137 <row>
3138 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3139 \begin_inset Text
3140
3141 \begin_layout Standard
3142
3143 \series bold
3144 Mezzadra
3145 \end_layout
3146
3147 \end_inset
3148 </cell>
3149 <cell alignment="center" valignment="top" topline="true" usebox="none">
3150 \begin_inset Text
3151
3152 \begin_layout Standard
3153 Roberto
3154 \end_layout
3155
3156 \end_inset
3157 </cell>
3158 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3159 \begin_inset Text
3160
3161 \begin_layout Standard
3162 111
3163 \end_layout
3164
3165 \end_inset
3166 </cell>
3167 </row>
3168 <row>
3169 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3170 \begin_inset Text
3171
3172 \begin_layout Standard
3173
3174 \series bold
3175 Pirpamer
3176 \end_layout
3177
3178 \end_inset
3179 </cell>
3180 <cell alignment="center" valignment="top" topline="true" usebox="none">
3181 \begin_inset Text
3182
3183 \begin_layout Standard
3184 Erich
3185 \end_layout
3186
3187 \end_inset
3188 </cell>
3189 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3190 \begin_inset Text
3191
3192 \begin_layout Standard
3193 111
3194 \end_layout
3195
3196 \end_inset
3197 </cell>
3198 </row>
3199 <row>
3200 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3201 \begin_inset Text
3202
3203 \begin_layout Standard
3204
3205 \series bold
3206 Pochiesa
3207 \end_layout
3208
3209 \end_inset
3210 </cell>
3211 <cell alignment="center" valignment="top" topline="true" usebox="none">
3212 \begin_inset Text
3213
3214 \begin_layout Standard
3215 Paolo
3216 \end_layout
3217
3218 \end_inset
3219 </cell>
3220 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3221 \begin_inset Text
3222
3223 \begin_layout Standard
3224 111, 222
3225 \end_layout
3226
3227 \end_inset
3228 </cell>
3229 </row>
3230 <row>
3231 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3232 \begin_inset Text
3233
3234 \begin_layout Standard
3235
3236 \series bold
3237 Radina
3238 \end_layout
3239
3240 \end_inset
3241 </cell>
3242 <cell alignment="center" valignment="top" topline="true" usebox="none">
3243 \begin_inset Text
3244
3245 \begin_layout Standard
3246 Claudio
3247 \end_layout
3248
3249 \end_inset
3250 </cell>
3251 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3252 \begin_inset Text
3253
3254 \begin_layout Standard
3255 111
3256 \end_layout
3257
3258 \end_inset
3259 </cell>
3260 </row>
3261 <row>
3262 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3263 \begin_inset Text
3264
3265 \begin_layout Standard
3266
3267 \series bold
3268 Stuffer
3269 \end_layout
3270
3271 \end_inset
3272 </cell>
3273 <cell alignment="center" valignment="top" topline="true" usebox="none">
3274 \begin_inset Text
3275
3276 \begin_layout Standard
3277 Oskar
3278 \end_layout
3279
3280 \end_inset
3281 </cell>
3282 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3283 \begin_inset Text
3284
3285 \begin_layout Standard
3286 111
3287 \end_layout
3288
3289 \end_inset
3290 </cell>
3291 </row>
3292 <row>
3293 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3294 \begin_inset Text
3295
3296 \begin_layout Standard
3297
3298 \series bold
3299 Tacchelli
3300 \end_layout
3301
3302 \end_inset
3303 </cell>
3304 <cell alignment="center" valignment="top" topline="true" usebox="none">
3305 \begin_inset Text
3306
3307 \begin_layout Standard
3308 Ugo
3309 \end_layout
3310
3311 \end_inset
3312 </cell>
3313 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3314 \begin_inset Text
3315
3316 \begin_layout Standard
3317 111
3318 \end_layout
3319
3320 \end_inset
3321 </cell>
3322 </row>
3323 <row>
3324 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3325 \begin_inset Text
3326
3327 \begin_layout Standard
3328
3329 \series bold
3330 Tezzele
3331 \end_layout
3332
3333 \end_inset
3334 </cell>
3335 <cell alignment="center" valignment="top" topline="true" usebox="none">
3336 \begin_inset Text
3337
3338 \begin_layout Standard
3339 Margit
3340 \end_layout
3341
3342 \end_inset
3343 </cell>
3344 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3345 \begin_inset Text
3346
3347 \begin_layout Standard
3348 111
3349 \end_layout
3350
3351 \end_inset
3352 </cell>
3353 </row>
3354 <row>
3355 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3356 \begin_inset Text
3357
3358 \begin_layout Standard
3359
3360 \series bold
3361 Unterkalmsteiner
3362 \end_layout
3363
3364 \end_inset
3365 </cell>
3366 <cell alignment="center" valignment="top" topline="true" usebox="none">
3367 \begin_inset Text
3368
3369 \begin_layout Standard
3370 Frieda
3371 \end_layout
3372
3373 \end_inset
3374 </cell>
3375 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3376 \begin_inset Text
3377
3378 \begin_layout Standard
3379 111
3380 \end_layout
3381
3382 \end_inset
3383 </cell>
3384 </row>
3385 <row>
3386 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3387 \begin_inset Text
3388
3389 \begin_layout Standard
3390
3391 \series bold
3392 Vieider
3393 \end_layout
3394
3395 \end_inset
3396 </cell>
3397 <cell alignment="center" valignment="top" topline="true" usebox="none">
3398 \begin_inset Text
3399
3400 \begin_layout Standard
3401 Hilde
3402 \end_layout
3403
3404 \end_inset
3405 </cell>
3406 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3407 \begin_inset Text
3408
3409 \begin_layout Standard
3410 111
3411 \end_layout
3412
3413 \end_inset
3414 </cell>
3415 </row>
3416 <row>
3417 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3418 \begin_inset Text
3419
3420 \begin_layout Standard
3421
3422 \series bold
3423 Vigna
3424 \end_layout
3425
3426 \end_inset
3427 </cell>
3428 <cell alignment="center" valignment="top" topline="true" usebox="none">
3429 \begin_inset Text
3430
3431 \begin_layout Standard
3432 Jürgen
3433 \end_layout
3434
3435 \end_inset
3436 </cell>
3437 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3438 \begin_inset Text
3439
3440 \begin_layout Standard
3441 111
3442 \end_layout
3443
3444 \end_inset
3445 </cell>
3446 </row>
3447 <row>
3448 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3449 \begin_inset Text
3450
3451 \begin_layout Standard
3452
3453 \series bold
3454 Weber
3455 \end_layout
3456
3457 \end_inset
3458 </cell>
3459 <cell alignment="center" valignment="top" topline="true" usebox="none">
3460 \begin_inset Text
3461
3462 \begin_layout Standard
3463 Maurizio
3464 \end_layout
3465
3466 \end_inset
3467 </cell>
3468 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3469 \begin_inset Text
3470
3471 \begin_layout Standard
3472 111
3473 \end_layout
3474
3475 \end_inset
3476 </cell>
3477 </row>
3478 <row bottomline="true">
3479 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3480 \begin_inset Text
3481
3482 \begin_layout Standard
3483
3484 \series bold
3485 Winkler
3486 \end_layout
3487
3488 \end_inset
3489 </cell>
3490 <cell alignment="center" valignment="top" topline="true" usebox="none">
3491 \begin_inset Text
3492
3493 \begin_layout Standard
3494 Franz
3495 \end_layout
3496
3497 \end_inset
3498 </cell>
3499 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3500 \begin_inset Text
3501
3502 \begin_layout Standard
3503 111
3504 \end_layout
3505
3506 \end_inset
3507 </cell>
3508 </row>
3509 <row bottomline="true">
3510 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3511 \begin_inset Text
3512
3513 \begin_layout Standard
3514  
3515 \end_layout
3516
3517 \end_inset
3518 </cell>
3519 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
3520 \begin_inset Text
3521
3522 \begin_layout Standard
3523
3524 \end_layout
3525
3526 \end_inset
3527 </cell>
3528 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3529 \begin_inset Text
3530
3531 \begin_layout Standard
3532
3533 \end_layout
3534
3535 \end_inset
3536 </cell>
3537 </row>
3538 <row>
3539 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3540 \begin_inset Text
3541
3542 \begin_layout Standard
3543
3544 \series bold
3545 Annovi
3546 \end_layout
3547
3548 \end_inset
3549 </cell>
3550 <cell alignment="center" valignment="top" topline="true" usebox="none">
3551 \begin_inset Text
3552
3553 \begin_layout Standard
3554 Silvia
3555 \end_layout
3556
3557 \end_inset
3558 </cell>
3559 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3560 \begin_inset Text
3561
3562 \begin_layout Standard
3563 555
3564 \end_layout
3565
3566 \end_inset
3567 </cell>
3568 </row>
3569 <row>
3570 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3571 \begin_inset Text
3572
3573 \begin_layout Standard
3574
3575 \series bold
3576 Bertoli
3577 \end_layout
3578
3579 \end_inset
3580 </cell>
3581 <cell alignment="center" valignment="top" topline="true" usebox="none">
3582 \begin_inset Text
3583
3584 \begin_layout Standard
3585 Stefano
3586 \end_layout
3587
3588 \end_inset
3589 </cell>
3590 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3591 \begin_inset Text
3592
3593 \begin_layout Standard
3594 555
3595 \end_layout
3596
3597 \end_inset
3598 </cell>
3599 </row>
3600 <row>
3601 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3602 \begin_inset Text
3603
3604 \begin_layout Standard
3605
3606 \series bold
3607 Bozzi
3608 \end_layout
3609
3610 \end_inset
3611 </cell>
3612 <cell alignment="center" valignment="top" topline="true" usebox="none">
3613 \begin_inset Text
3614
3615 \begin_layout Standard
3616 Walter
3617 \end_layout
3618
3619 \end_inset
3620 </cell>
3621 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3622 \begin_inset Text
3623
3624 \begin_layout Standard
3625 555
3626 \end_layout
3627
3628 \end_inset
3629 </cell>
3630 </row>
3631 <row>
3632 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3633 \begin_inset Text
3634
3635 \begin_layout Standard
3636
3637 \series bold
3638 Cachia
3639 \end_layout
3640
3641 \end_inset
3642 </cell>
3643 <cell alignment="center" valignment="top" topline="true" usebox="none">
3644 \begin_inset Text
3645
3646 \begin_layout Standard
3647 Maria
3648 \end_layout
3649
3650 \end_inset
3651 </cell>
3652 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3653 \begin_inset Text
3654
3655 \begin_layout Standard
3656 555
3657 \end_layout
3658
3659 \end_inset
3660 </cell>
3661 </row>
3662 <row>
3663 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3664 \begin_inset Text
3665
3666 \begin_layout Standard
3667
3668 \series bold
3669 Cachia
3670 \end_layout
3671
3672 \end_inset
3673 </cell>
3674 <cell alignment="center" valignment="top" topline="true" usebox="none">
3675 \begin_inset Text
3676
3677 \begin_layout Standard
3678 Maurizio
3679 \end_layout
3680
3681 \end_inset
3682 </cell>
3683 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3684 \begin_inset Text
3685
3686 \begin_layout Standard
3687 555
3688 \end_layout
3689
3690 \end_inset
3691 </cell>
3692 </row>
3693 <row>
3694 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3695 \begin_inset Text
3696
3697 \begin_layout Standard
3698
3699 \series bold
3700 Cinquemani
3701 \end_layout
3702
3703 \end_inset
3704 </cell>
3705 <cell alignment="center" valignment="top" topline="true" usebox="none">
3706 \begin_inset Text
3707
3708 \begin_layout Standard
3709 Giusi
3710 \end_layout
3711
3712 \end_inset
3713 </cell>
3714 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3715 \begin_inset Text
3716
3717 \begin_layout Standard
3718 555
3719 \end_layout
3720
3721 \end_inset
3722 </cell>
3723 </row>
3724 <row>
3725 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3726 \begin_inset Text
3727
3728 \begin_layout Standard
3729
3730 \series bold
3731 Colin
3732 \end_layout
3733
3734 \end_inset
3735 </cell>
3736 <cell alignment="center" valignment="top" topline="true" usebox="none">
3737 \begin_inset Text
3738
3739 \begin_layout Standard
3740 Bernard
3741 \end_layout
3742
3743 \end_inset
3744 </cell>
3745 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3746 \begin_inset Text
3747
3748 \begin_layout Standard
3749 555
3750 \end_layout
3751
3752 \end_inset
3753 </cell>
3754 </row>
3755 <row>
3756 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3757 \begin_inset Text
3758
3759 \begin_layout Standard
3760
3761 \series bold
3762 Concli
3763 \end_layout
3764
3765 \end_inset
3766 </cell>
3767 <cell alignment="center" valignment="top" topline="true" usebox="none">
3768 \begin_inset Text
3769
3770 \begin_layout Standard
3771 Gianfranco
3772 \end_layout
3773
3774 \end_inset
3775 </cell>
3776 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3777 \begin_inset Text
3778
3779 \begin_layout Standard
3780 555
3781 \end_layout
3782
3783 \end_inset
3784 </cell>
3785 </row>
3786 <row>
3787 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3788 \begin_inset Text
3789
3790 \begin_layout Standard
3791
3792 \series bold
3793 Dal Bosco
3794 \end_layout
3795
3796 \end_inset
3797 </cell>
3798 <cell alignment="center" valignment="top" topline="true" usebox="none">
3799 \begin_inset Text
3800
3801 \begin_layout Standard
3802 Carolina
3803 \end_layout
3804
3805 \end_inset
3806 </cell>
3807 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3808 \begin_inset Text
3809
3810 \begin_layout Standard
3811 555
3812 \end_layout
3813
3814 \end_inset
3815 </cell>
3816 </row>
3817 <row>
3818 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3819 \begin_inset Text
3820
3821 \begin_layout Standard
3822
3823 \series bold
3824 Dalpiaz
3825 \end_layout
3826
3827 \end_inset
3828 </cell>
3829 <cell alignment="center" valignment="top" topline="true" usebox="none">
3830 \begin_inset Text
3831
3832 \begin_layout Standard
3833 Annamaria
3834 \end_layout
3835
3836 \end_inset
3837 </cell>
3838 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3839 \begin_inset Text
3840
3841 \begin_layout Standard
3842 555
3843 \end_layout
3844
3845 \end_inset
3846 </cell>
3847 </row>
3848 <row>
3849 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3850 \begin_inset Text
3851
3852 \begin_layout Standard
3853
3854 \series bold
3855 Feliciello
3856 \end_layout
3857
3858 \end_inset
3859 </cell>
3860 <cell alignment="center" valignment="top" topline="true" usebox="none">
3861 \begin_inset Text
3862
3863 \begin_layout Standard
3864 Domenico
3865 \end_layout
3866
3867 \end_inset
3868 </cell>
3869 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3870 \begin_inset Text
3871
3872 \begin_layout Standard
3873 555
3874 \end_layout
3875
3876 \end_inset
3877 </cell>
3878 </row>
3879 <row>
3880 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3881 \begin_inset Text
3882
3883 \begin_layout Standard
3884
3885 \series bold
3886 Focarelli
3887 \end_layout
3888
3889 \end_inset
3890 </cell>
3891 <cell alignment="center" valignment="top" topline="true" usebox="none">
3892 \begin_inset Text
3893
3894 \begin_layout Standard
3895 Paola
3896 \end_layout
3897
3898 \end_inset
3899 </cell>
3900 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3901 \begin_inset Text
3902
3903 \begin_layout Standard
3904 555
3905 \end_layout
3906
3907 \end_inset
3908 </cell>
3909 </row>
3910 <row>
3911 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3912 \begin_inset Text
3913
3914 \begin_layout Standard
3915
3916 \series bold
3917 Galletti
3918 \end_layout
3919
3920 \end_inset
3921 </cell>
3922 <cell alignment="center" valignment="top" topline="true" usebox="none">
3923 \begin_inset Text
3924
3925 \begin_layout Standard
3926 Oreste
3927 \end_layout
3928
3929 \end_inset
3930 </cell>
3931 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3932 \begin_inset Text
3933
3934 \begin_layout Standard
3935 555
3936 \end_layout
3937
3938 \end_inset
3939 </cell>
3940 </row>
3941 <row>
3942 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3943 \begin_inset Text
3944
3945 \begin_layout Standard
3946
3947 \series bold
3948 Gasparini
3949 \end_layout
3950
3951 \end_inset
3952 </cell>
3953 <cell alignment="center" valignment="top" topline="true" usebox="none">
3954 \begin_inset Text
3955
3956 \begin_layout Standard
3957 Franca
3958 \end_layout
3959
3960 \end_inset
3961 </cell>
3962 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3963 \begin_inset Text
3964
3965 \begin_layout Standard
3966 555
3967 \end_layout
3968
3969 \end_inset
3970 </cell>
3971 </row>
3972 <row>
3973 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3974 \begin_inset Text
3975
3976 \begin_layout Standard
3977
3978 \series bold
3979 Rizzardi
3980 \end_layout
3981
3982 \end_inset
3983 </cell>
3984 <cell alignment="center" valignment="top" topline="true" usebox="none">
3985 \begin_inset Text
3986
3987 \begin_layout Standard
3988 Paola
3989 \end_layout
3990
3991 \end_inset
3992 </cell>
3993 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3994 \begin_inset Text
3995
3996 \begin_layout Standard
3997 555
3998 \end_layout
3999
4000 \end_inset
4001 </cell>
4002 </row>
4003 <row>
4004 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4005 \begin_inset Text
4006
4007 \begin_layout Standard
4008
4009 \series bold
4010 Lassini
4011 \end_layout
4012
4013 \end_inset
4014 </cell>
4015 <cell alignment="center" valignment="top" topline="true" usebox="none">
4016 \begin_inset Text
4017
4018 \begin_layout Standard
4019 Giancarlo
4020 \end_layout
4021
4022 \end_inset
4023 </cell>
4024 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4025 \begin_inset Text
4026
4027 \begin_layout Standard
4028 555
4029 \end_layout
4030
4031 \end_inset
4032 </cell>
4033 </row>
4034 <row>
4035 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4036 \begin_inset Text
4037
4038 \begin_layout Standard
4039
4040 \series bold
4041 Malfatti
4042 \end_layout
4043
4044 \end_inset
4045 </cell>
4046 <cell alignment="center" valignment="top" topline="true" usebox="none">
4047 \begin_inset Text
4048
4049 \begin_layout Standard
4050 Luciano
4051 \end_layout
4052
4053 \end_inset
4054 </cell>
4055 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4056 \begin_inset Text
4057
4058 \begin_layout Standard
4059 555
4060 \end_layout
4061
4062 \end_inset
4063 </cell>
4064 </row>
4065 <row>
4066 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4067 \begin_inset Text
4068
4069 \begin_layout Standard
4070
4071 \series bold
4072 Malfatti
4073 \end_layout
4074
4075 \end_inset
4076 </cell>
4077 <cell alignment="center" valignment="top" topline="true" usebox="none">
4078 \begin_inset Text
4079
4080 \begin_layout Standard
4081 Valeriano
4082 \end_layout
4083
4084 \end_inset
4085 </cell>
4086 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4087 \begin_inset Text
4088
4089 \begin_layout Standard
4090 555
4091 \end_layout
4092
4093 \end_inset
4094 </cell>
4095 </row>
4096 <row>
4097 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4098 \begin_inset Text
4099
4100 \begin_layout Standard
4101
4102 \series bold
4103 Meneguzzo
4104 \end_layout
4105
4106 \end_inset
4107 </cell>
4108 <cell alignment="center" valignment="top" topline="true" usebox="none">
4109 \begin_inset Text
4110
4111 \begin_layout Standard
4112 Roberto
4113 \end_layout
4114
4115 \end_inset
4116 </cell>
4117 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4118 \begin_inset Text
4119
4120 \begin_layout Standard
4121 555
4122 \end_layout
4123
4124 \end_inset
4125 </cell>
4126 </row>
4127 <row>
4128 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4129 \begin_inset Text
4130
4131 \begin_layout Standard
4132
4133 \series bold
4134 Mezzadra
4135 \end_layout
4136
4137 \end_inset
4138 </cell>
4139 <cell alignment="center" valignment="top" topline="true" usebox="none">
4140 \begin_inset Text
4141
4142 \begin_layout Standard
4143 Roberto
4144 \end_layout
4145
4146 \end_inset
4147 </cell>
4148 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4149 \begin_inset Text
4150
4151 \begin_layout Standard
4152 555
4153 \end_layout
4154
4155 \end_inset
4156 </cell>
4157 </row>
4158 <row>
4159 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4160 \begin_inset Text
4161
4162 \begin_layout Standard
4163
4164 \series bold
4165 Pirpamer
4166 \end_layout
4167
4168 \end_inset
4169 </cell>
4170 <cell alignment="center" valignment="top" topline="true" usebox="none">
4171 \begin_inset Text
4172
4173 \begin_layout Standard
4174 Erich
4175 \end_layout
4176
4177 \end_inset
4178 </cell>
4179 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4180 \begin_inset Text
4181
4182 \begin_layout Standard
4183 555
4184 \end_layout
4185
4186 \end_inset
4187 </cell>
4188 </row>
4189 <row>
4190 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4191 \begin_inset Text
4192
4193 \begin_layout Standard
4194
4195 \series bold
4196 Pochiesa
4197 \end_layout
4198
4199 \end_inset
4200 </cell>
4201 <cell alignment="center" valignment="top" topline="true" usebox="none">
4202 \begin_inset Text
4203
4204 \begin_layout Standard
4205 Paolo
4206 \end_layout
4207
4208 \end_inset
4209 </cell>
4210 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4211 \begin_inset Text
4212
4213 \begin_layout Standard
4214 555, 222
4215 \end_layout
4216
4217 \end_inset
4218 </cell>
4219 </row>
4220 <row>
4221 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4222 \begin_inset Text
4223
4224 \begin_layout Standard
4225
4226 \series bold
4227 Radina
4228 \end_layout
4229
4230 \end_inset
4231 </cell>
4232 <cell alignment="center" valignment="top" topline="true" usebox="none">
4233 \begin_inset Text
4234
4235 \begin_layout Standard
4236 Claudio
4237 \end_layout
4238
4239 \end_inset
4240 </cell>
4241 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4242 \begin_inset Text
4243
4244 \begin_layout Standard
4245 555
4246 \end_layout
4247
4248 \end_inset
4249 </cell>
4250 </row>
4251 <row>
4252 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4253 \begin_inset Text
4254
4255 \begin_layout Standard
4256
4257 \series bold
4258 Stuffer
4259 \end_layout
4260
4261 \end_inset
4262 </cell>
4263 <cell alignment="center" valignment="top" topline="true" usebox="none">
4264 \begin_inset Text
4265
4266 \begin_layout Standard
4267 Oskar
4268 \end_layout
4269
4270 \end_inset
4271 </cell>
4272 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4273 \begin_inset Text
4274
4275 \begin_layout Standard
4276 555
4277 \end_layout
4278
4279 \end_inset
4280 </cell>
4281 </row>
4282 <row>
4283 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4284 \begin_inset Text
4285
4286 \begin_layout Standard
4287
4288 \series bold
4289 Tacchelli
4290 \end_layout
4291
4292 \end_inset
4293 </cell>
4294 <cell alignment="center" valignment="top" topline="true" usebox="none">
4295 \begin_inset Text
4296
4297 \begin_layout Standard
4298 Ugo
4299 \end_layout
4300
4301 \end_inset
4302 </cell>
4303 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4304 \begin_inset Text
4305
4306 \begin_layout Standard
4307 555
4308 \end_layout
4309
4310 \end_inset
4311 </cell>
4312 </row>
4313 <row>
4314 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4315 \begin_inset Text
4316
4317 \begin_layout Standard
4318
4319 \series bold
4320 Tezzele
4321 \end_layout
4322
4323 \end_inset
4324 </cell>
4325 <cell alignment="center" valignment="top" topline="true" usebox="none">
4326 \begin_inset Text
4327
4328 \begin_layout Standard
4329 Margit
4330 \end_layout
4331
4332 \end_inset
4333 </cell>
4334 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4335 \begin_inset Text
4336
4337 \begin_layout Standard
4338 555
4339 \end_layout
4340
4341 \end_inset
4342 </cell>
4343 </row>
4344 <row>
4345 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4346 \begin_inset Text
4347
4348 \begin_layout Standard
4349
4350 \series bold
4351 Unterkalmsteiner
4352 \end_layout
4353
4354 \end_inset
4355 </cell>
4356 <cell alignment="center" valignment="top" topline="true" usebox="none">
4357 \begin_inset Text
4358
4359 \begin_layout Standard
4360 Frieda
4361 \end_layout
4362
4363 \end_inset
4364 </cell>
4365 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4366 \begin_inset Text
4367
4368 \begin_layout Standard
4369 555
4370 \end_layout
4371
4372 \end_inset
4373 </cell>
4374 </row>
4375 <row>
4376 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4377 \begin_inset Text
4378
4379 \begin_layout Standard
4380
4381 \series bold
4382 Vieider
4383 \end_layout
4384
4385 \end_inset
4386 </cell>
4387 <cell alignment="center" valignment="top" topline="true" usebox="none">
4388 \begin_inset Text
4389
4390 \begin_layout Standard
4391 Hilde
4392 \end_layout
4393
4394 \end_inset
4395 </cell>
4396 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4397 \begin_inset Text
4398
4399 \begin_layout Standard
4400 555
4401 \end_layout
4402
4403 \end_inset
4404 </cell>
4405 </row>
4406 <row>
4407 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4408 \begin_inset Text
4409
4410 \begin_layout Standard
4411
4412 \series bold
4413 Vigna
4414 \end_layout
4415
4416 \end_inset
4417 </cell>
4418 <cell alignment="center" valignment="top" topline="true" usebox="none">
4419 \begin_inset Text
4420
4421 \begin_layout Standard
4422 Jürgen
4423 \end_layout
4424
4425 \end_inset
4426 </cell>
4427 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4428 \begin_inset Text
4429
4430 \begin_layout Standard
4431 999
4432 \end_layout
4433
4434 \end_inset
4435 </cell>
4436 </row>
4437 <row>
4438 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4439 \begin_inset Text
4440
4441 \begin_layout Standard
4442
4443 \series bold
4444 Weber
4445 \end_layout
4446
4447 \end_inset
4448 </cell>
4449 <cell alignment="center" valignment="top" topline="true" usebox="none">
4450 \begin_inset Text
4451
4452 \begin_layout Standard
4453 Maurizio
4454 \end_layout
4455
4456 \end_inset
4457 </cell>
4458 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4459 \begin_inset Text
4460
4461 \begin_layout Standard
4462 555
4463 \end_layout
4464
4465 \end_inset
4466 </cell>
4467 </row>
4468 <row bottomline="true">
4469 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4470 \begin_inset Text
4471
4472 \begin_layout Standard
4473
4474 \series bold
4475 Winkler
4476 \end_layout
4477
4478 \end_inset
4479 </cell>
4480 <cell alignment="center" valignment="top" topline="true" usebox="none">
4481 \begin_inset Text
4482
4483 \begin_layout Standard
4484 Franz
4485 \end_layout
4486
4487 \end_inset
4488 </cell>
4489 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4490 \begin_inset Text
4491
4492 \begin_layout Standard
4493 555
4494 \end_layout
4495
4496 \end_inset
4497 </cell>
4498 </row>
4499 <row bottomline="true" endlastfoot="true">
4500 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
4501 \begin_inset Text
4502
4503 \begin_layout Standard
4504 end
4505 \end_layout
4506
4507 \end_inset
4508 </cell>
4509 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4510 \begin_inset Text
4511
4512 \begin_layout Standard
4513
4514 \end_layout
4515
4516 \end_inset
4517 </cell>
4518 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4519 \begin_inset Text
4520
4521 \begin_layout Standard
4522
4523 \end_layout
4524
4525 \end_inset
4526 </cell>
4527 </row>
4528 </lyxtabular>
4529
4530 \end_inset
4531
4532
4533 \begin_inset ERT
4534 status collapsed
4535
4536 \begin_layout Standard
4537
4538
4539 \backslash
4540 addtocounter{table}{-1}
4541 \end_layout
4542
4543 \end_inset
4544
4545
4546 \begin_inset Note Note
4547 status collapsed
4548
4549 \begin_layout Standard
4550 See greyed-out note in section 2.6.2 for an explanation of this command.
4551 \end_layout
4552
4553 \end_inset
4554
4555
4556 \end_layout
4557
4558 \begin_layout Subsection
4559 Footnotes in Longtables
4560 \begin_inset LatexCommand label
4561 name "sub:Footnotes-in-Longtables"
4562
4563 \end_inset
4564
4565
4566 \begin_inset LatexCommand index
4567 name "Longtables ! Footnotes"
4568
4569 \end_inset
4570
4571
4572 \end_layout
4573
4574 \begin_layout Standard
4575 Footnotes can be inserted to every longtable cell.
4576  They appear at the bottom of the page where the table cell with the footnote
4577  appears.
4578  Table\InsetSpace ~
4579
4580 \begin_inset LatexCommand ref
4581 reference "tab:DiffCaptions"
4582
4583 \end_inset
4584
4585  has for example a footnote.
4586 \end_layout
4587
4588 \begin_layout Subsection
4589 Longtable Captions
4590 \begin_inset LatexCommand index
4591 name "Longtables ! Captions"
4592
4593 \end_inset
4594
4595
4596 \end_layout
4597
4598 \begin_layout Standard
4599 A longtable cannot be put into a table float because floats can only be
4600  on one page but the caption environment of floats can also be used for
4601  longtables.
4602 \end_layout
4603
4604 \begin_layout Standard
4605 As LyX does not yet fully support captions in longtables, a hack is needed
4606  to create them:
4607 \end_layout
4608
4609 \begin_layout Enumerate
4610 Create a longtable
4611 \family sans
4612 .
4613 \end_layout
4614
4615 \begin_layout Enumerate
4616 Mark the first row an disable its upper line.
4617 \end_layout
4618
4619 \begin_layout Enumerate
4620 Insert a caption via the menu 
4621 \family sans
4622 Insert\SpecialChar \menuseparator
4623 Caption
4624 \family default
4625 \series bold
4626  
4627 \series default
4628 into the first table cell.
4629 \newline
4630 You can also add a short title for the caption.
4631 \end_layout
4632
4633 \begin_layout Enumerate
4634 Insert a 
4635 \begin_inset Quotes eld
4636 \end_inset
4637
4638
4639 \series bold
4640
4641 \backslash
4642
4643 \backslash
4644 %
4645 \series default
4646
4647 \begin_inset Quotes erd
4648 \end_inset
4649
4650  as ERT behind the caption.
4651 \end_layout
4652
4653 \begin_layout Standard
4654 A short title that will appear in the LOT instead of the full title.
4655  The 
4656 \series bold
4657
4658 \backslash
4659
4660 \backslash
4661 %
4662 \series default
4663  behind the caption omits the vertical lines between the following cells
4664  in the row.
4665  The first table row is now only a dummy row for the caption, the actual
4666  table starts with the second row.
4667 \end_layout
4668
4669 \begin_layout Standard
4670 Here is a short longtable to see how it works:
4671 \end_layout
4672
4673 \begin_layout Standard
4674 \begin_inset Tabular
4675 <lyxtabular version="3" rows="6" columns="5">
4676 <features islongtable="true">
4677 <column alignment="center" valignment="top" leftline="true" width="0">
4678 <column alignment="center" valignment="top" leftline="true" width="0">
4679 <column alignment="center" valignment="top" leftline="true" width="0">
4680 <column alignment="center" valignment="top" leftline="true" width="0">
4681 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
4682 <row>
4683 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4684 \begin_inset Text
4685
4686 \begin_layout Standard
4687 \begin_inset Caption
4688
4689 \begin_layout Standard
4690 Longtable with caption
4691 \begin_inset OptArg
4692 status open
4693
4694 \begin_layout Standard
4695 Longtable
4696 \end_layout
4697
4698 \end_inset
4699
4700
4701 \end_layout
4702
4703 \end_inset
4704
4705
4706 \begin_inset ERT
4707 status collapsed
4708
4709 \begin_layout Standard
4710
4711
4712 \backslash
4713
4714 \backslash
4715 %
4716 \end_layout
4717
4718 \end_inset
4719
4720
4721 \end_layout
4722
4723 \end_inset
4724 </cell>
4725 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4726 \begin_inset Text
4727
4728 \begin_layout Standard
4729
4730 \end_layout
4731
4732 \end_inset
4733 </cell>
4734 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4735 \begin_inset Text
4736
4737 \begin_layout Standard
4738
4739 \end_layout
4740
4741 \end_inset
4742 </cell>
4743 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4744 \begin_inset Text
4745
4746 \begin_layout Standard
4747
4748 \end_layout
4749
4750 \end_inset
4751 </cell>
4752 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4753 \begin_inset Text
4754
4755 \begin_layout Standard
4756
4757 \end_layout
4758
4759 \end_inset
4760 </cell>
4761 </row>
4762 <row topline="true">
4763 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4764 \begin_inset Text
4765
4766 \begin_layout Standard
4767 1
4768 \end_layout
4769
4770 \end_inset
4771 </cell>
4772 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4773 \begin_inset Text
4774
4775 \begin_layout Standard
4776 2
4777 \end_layout
4778
4779 \end_inset
4780 </cell>
4781 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4782 \begin_inset Text
4783
4784 \begin_layout Standard
4785 3
4786 \end_layout
4787
4788 \end_inset
4789 </cell>
4790 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4791 \begin_inset Text
4792
4793 \begin_layout Standard
4794 4
4795 \end_layout
4796
4797 \end_inset
4798 </cell>
4799 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4800 \begin_inset Text
4801
4802 \begin_layout Standard
4803 5
4804 \end_layout
4805
4806 \end_inset
4807 </cell>
4808 </row>
4809 <row topline="true">
4810 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4811 \begin_inset Text
4812
4813 \begin_layout Standard
4814 asd
4815 \end_layout
4816
4817 \end_inset
4818 </cell>
4819 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4820 \begin_inset Text
4821
4822 \begin_layout Standard
4823 s
4824 \end_layout
4825
4826 \end_inset
4827 </cell>
4828 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4829 \begin_inset Text
4830
4831 \begin_layout Standard
4832 s
4833 \end_layout
4834
4835 \end_inset
4836 </cell>
4837 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4838 \begin_inset Text
4839
4840 \begin_layout Standard
4841 s
4842 \end_layout
4843
4844 \end_inset
4845 </cell>
4846 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4847 \begin_inset Text
4848
4849 \begin_layout Standard
4850 asd
4851 \end_layout
4852
4853 \end_inset
4854 </cell>
4855 </row>
4856 <row topline="true">
4857 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4858 \begin_inset Text
4859
4860 \begin_layout Standard
4861 asd
4862 \end_layout
4863
4864 \end_inset
4865 </cell>
4866 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4867 \begin_inset Text
4868
4869 \begin_layout Standard
4870 s
4871 \end_layout
4872
4873 \end_inset
4874 </cell>
4875 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4876 \begin_inset Text
4877
4878 \begin_layout Standard
4879 s
4880 \end_layout
4881
4882 \end_inset
4883 </cell>
4884 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4885 \begin_inset Text
4886
4887 \begin_layout Standard
4888 s
4889 \end_layout
4890
4891 \end_inset
4892 </cell>
4893 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4894 \begin_inset Text
4895
4896 \begin_layout Standard
4897 asd
4898 \end_layout
4899
4900 \end_inset
4901 </cell>
4902 </row>
4903 <row topline="true">
4904 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4905 \begin_inset Text
4906
4907 \begin_layout Standard
4908 asd
4909 \end_layout
4910
4911 \end_inset
4912 </cell>
4913 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4914 \begin_inset Text
4915
4916 \begin_layout Standard
4917 s
4918 \end_layout
4919
4920 \end_inset
4921 </cell>
4922 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4923 \begin_inset Text
4924
4925 \begin_layout Standard
4926 s
4927 \end_layout
4928
4929 \end_inset
4930 </cell>
4931 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4932 \begin_inset Text
4933
4934 \begin_layout Standard
4935 s
4936 \end_layout
4937
4938 \end_inset
4939 </cell>
4940 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4941 \begin_inset Text
4942
4943 \begin_layout Standard
4944 asd
4945 \end_layout
4946
4947 \end_inset
4948 </cell>
4949 </row>
4950 <row topline="true" bottomline="true">
4951 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4952 \begin_inset Text
4953
4954 \begin_layout Standard
4955 asd
4956 \end_layout
4957
4958 \end_inset
4959 </cell>
4960 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4961 \begin_inset Text
4962
4963 \begin_layout Standard
4964 asd
4965 \end_layout
4966
4967 \end_inset
4968 </cell>
4969 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4970 \begin_inset Text
4971
4972 \begin_layout Standard
4973 asd
4974 \end_layout
4975
4976 \end_inset
4977 </cell>
4978 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4979 \begin_inset Text
4980
4981 \begin_layout Standard
4982 asd
4983 \end_layout
4984
4985 \end_inset
4986 </cell>
4987 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4988 \begin_inset Text
4989
4990 \begin_layout Standard
4991 asd
4992 \end_layout
4993
4994 \end_inset
4995 </cell>
4996 </row>
4997 </lyxtabular>
4998
4999 \end_inset
5000
5001
5002 \end_layout
5003
5004 \begin_layout Standard
5005 \begin_inset VSpace medskip
5006 \end_inset
5007
5008
5009 \begin_inset Note Greyedout
5010 status open
5011
5012 \begin_layout Standard
5013
5014 \series bold
5015 Note:
5016 \series default
5017  The table number is increased for every longtable, also if you didn't set
5018  a caption for it.
5019  For this reason you could have the case that e.g.
5020  Table\InsetSpace ~
5021 2.4 follows on Table\InsetSpace ~
5022 2.1 in the list of tables if there are two longtables
5023  without captions.
5024  To avoid this you can add the following command in ERT behind every longtable
5025  without a caption:
5026 \end_layout
5027
5028 \begin_layout Standard
5029
5030 \series bold
5031
5032 \backslash
5033 addtocounter{table}{-1}
5034 \end_layout
5035
5036 \end_inset
5037
5038
5039 \end_layout
5040
5041 \begin_layout Standard
5042 \begin_inset Note Greyedout
5043 status open
5044
5045 \begin_layout Standard
5046
5047 \series bold
5048 Note:
5049 \series default
5050  If you are using the LaTeX-package 
5051 \series bold
5052 hyperref
5053 \series default
5054
5055 \begin_inset LatexCommand index
5056 name "LaTeX-packages ! hyperref"
5057
5058 \end_inset
5059
5060  to link cross-references, the link to a longtable caption will always point
5061  to the beginning of the document.
5062 \end_layout
5063
5064 \end_inset
5065
5066
5067 \end_layout
5068
5069 \begin_layout Subsubsection
5070 References to Longtables
5071 \begin_inset LatexCommand index
5072 name "Longtables ! References"
5073
5074 \end_inset
5075
5076
5077 \end_layout
5078
5079 \begin_layout Standard
5080 \begin_inset Tabular
5081 <lyxtabular version="3" rows="6" columns="5">
5082 <features islongtable="true">
5083 <column alignment="center" valignment="top" leftline="true" width="0">
5084 <column alignment="center" valignment="top" leftline="true" width="0">
5085 <column alignment="center" valignment="top" leftline="true" width="0">
5086 <column alignment="center" valignment="top" leftline="true" width="0">
5087 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5088 <row>
5089 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5090 \begin_inset Text
5091
5092 \begin_layout Standard
5093 \begin_inset Caption
5094
5095 \begin_layout Standard
5096 Referenced longtable
5097 \begin_inset LatexCommand label
5098 name "tab:RefExample"
5099
5100 \end_inset
5101
5102
5103 \end_layout
5104
5105 \end_inset
5106
5107
5108 \begin_inset ERT
5109 status collapsed
5110
5111 \begin_layout Standard
5112
5113
5114 \backslash
5115
5116 \backslash
5117 %
5118 \end_layout
5119
5120 \end_inset
5121
5122
5123 \end_layout
5124
5125 \end_inset
5126 </cell>
5127 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5128 \begin_inset Text
5129
5130 \begin_layout Standard
5131
5132 \end_layout
5133
5134 \end_inset
5135 </cell>
5136 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5137 \begin_inset Text
5138
5139 \begin_layout Standard
5140
5141 \end_layout
5142
5143 \end_inset
5144 </cell>
5145 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5146 \begin_inset Text
5147
5148 \begin_layout Standard
5149
5150 \end_layout
5151
5152 \end_inset
5153 </cell>
5154 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5155 \begin_inset Text
5156
5157 \begin_layout Standard
5158
5159 \end_layout
5160
5161 \end_inset
5162 </cell>
5163 </row>
5164 <row topline="true">
5165 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5166 \begin_inset Text
5167
5168 \begin_layout Standard
5169 1
5170 \end_layout
5171
5172 \end_inset
5173 </cell>
5174 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5175 \begin_inset Text
5176
5177 \begin_layout Standard
5178 2
5179 \end_layout
5180
5181 \end_inset
5182 </cell>
5183 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5184 \begin_inset Text
5185
5186 \begin_layout Standard
5187 3
5188 \end_layout
5189
5190 \end_inset
5191 </cell>
5192 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5193 \begin_inset Text
5194
5195 \begin_layout Standard
5196 4
5197 \end_layout
5198
5199 \end_inset
5200 </cell>
5201 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5202 \begin_inset Text
5203
5204 \begin_layout Standard
5205 5
5206 \end_layout
5207
5208 \end_inset
5209 </cell>
5210 </row>
5211 <row topline="true">
5212 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5213 \begin_inset Text
5214
5215 \begin_layout Standard
5216 asd
5217 \end_layout
5218
5219 \end_inset
5220 </cell>
5221 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5222 \begin_inset Text
5223
5224 \begin_layout Standard
5225 s
5226 \end_layout
5227
5228 \end_inset
5229 </cell>
5230 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5231 \begin_inset Text
5232
5233 \begin_layout Standard
5234 s
5235 \end_layout
5236
5237 \end_inset
5238 </cell>
5239 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5240 \begin_inset Text
5241
5242 \begin_layout Standard
5243 s
5244 \end_layout
5245
5246 \end_inset
5247 </cell>
5248 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5249 \begin_inset Text
5250
5251 \begin_layout Standard
5252 asd
5253 \end_layout
5254
5255 \end_inset
5256 </cell>
5257 </row>
5258 <row topline="true">
5259 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5260 \begin_inset Text
5261
5262 \begin_layout Standard
5263 asd
5264 \end_layout
5265
5266 \end_inset
5267 </cell>
5268 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5269 \begin_inset Text
5270
5271 \begin_layout Standard
5272 s
5273 \end_layout
5274
5275 \end_inset
5276 </cell>
5277 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5278 \begin_inset Text
5279
5280 \begin_layout Standard
5281 s
5282 \end_layout
5283
5284 \end_inset
5285 </cell>
5286 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5287 \begin_inset Text
5288
5289 \begin_layout Standard
5290 s
5291 \end_layout
5292
5293 \end_inset
5294 </cell>
5295 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5296 \begin_inset Text
5297
5298 \begin_layout Standard
5299 asd
5300 \end_layout
5301
5302 \end_inset
5303 </cell>
5304 </row>
5305 <row topline="true">
5306 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5307 \begin_inset Text
5308
5309 \begin_layout Standard
5310 asd
5311 \end_layout
5312
5313 \end_inset
5314 </cell>
5315 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5316 \begin_inset Text
5317
5318 \begin_layout Standard
5319 s
5320 \end_layout
5321
5322 \end_inset
5323 </cell>
5324 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5325 \begin_inset Text
5326
5327 \begin_layout Standard
5328 s
5329 \end_layout
5330
5331 \end_inset
5332 </cell>
5333 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5334 \begin_inset Text
5335
5336 \begin_layout Standard
5337 s
5338 \end_layout
5339
5340 \end_inset
5341 </cell>
5342 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5343 \begin_inset Text
5344
5345 \begin_layout Standard
5346 asd
5347 \end_layout
5348
5349 \end_inset
5350 </cell>
5351 </row>
5352 <row topline="true" bottomline="true">
5353 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5354 \begin_inset Text
5355
5356 \begin_layout Standard
5357 asd
5358 \end_layout
5359
5360 \end_inset
5361 </cell>
5362 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5363 \begin_inset Text
5364
5365 \begin_layout Standard
5366 sad
5367 \end_layout
5368
5369 \end_inset
5370 </cell>
5371 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5372 \begin_inset Text
5373
5374 \begin_layout Standard
5375 asd
5376 \end_layout
5377
5378 \end_inset
5379 </cell>
5380 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5381 \begin_inset Text
5382
5383 \begin_layout Standard
5384 asd
5385 \end_layout
5386
5387 \end_inset
5388 </cell>
5389 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5390 \begin_inset Text
5391
5392 \begin_layout Standard
5393 asd
5394 \end_layout
5395
5396 \end_inset
5397 </cell>
5398 </row>
5399 </lyxtabular>
5400
5401 \end_inset
5402
5403
5404 \end_layout
5405
5406 \begin_layout Standard
5407 To reference a longtable, insert a label into the caption.
5408  Note that you have to add the label prefix 
5409 \begin_inset Quotes eld
5410 \end_inset
5411
5412
5413 \emph on
5414 tab:
5415 \emph default
5416
5417 \begin_inset Quotes eld
5418 \end_inset
5419
5420  manually in the label field.
5421 \end_layout
5422
5423 \begin_layout Standard
5424 This is a reference to Table\InsetSpace ~
5425
5426 \begin_inset LatexCommand ref
5427 reference "tab:RefExample"
5428
5429 \end_inset
5430
5431 .
5432 \end_layout
5433
5434 \begin_layout Standard
5435 The caption layout can be set together with all other caption of your document
5436  using the LaTeX-package 
5437 \series bold
5438 caption
5439 \series default
5440
5441 \begin_inset LatexCommand index
5442 name "LaTeX-packages ! caption"
5443
5444 \end_inset
5445
5446 , see section\InsetSpace ~
5447
5448 \begin_inset LatexCommand ref
5449 reference "sec:Caption-Formatting"
5450
5451 \end_inset
5452
5453 .
5454 \end_layout
5455
5456 \begin_layout Subsubsection
5457 Caption Width
5458 \begin_inset LatexCommand index
5459 name "Longtables ! Caption Width"
5460
5461 \end_inset
5462
5463
5464 \end_layout
5465
5466 \begin_layout Standard
5467 The maximal width of of caption lines is defined by the length 
5468 \series bold
5469
5470 \backslash
5471 LTcapwidth
5472 \series default
5473 .
5474  Its default value is 4\InsetSpace \thinspace{}
5475 in.
5476  To change it add the following command to your document preamble or as
5477  ERT into your document before the longtable that should be affected
5478 \end_layout
5479
5480 \begin_layout Standard
5481
5482 \series bold
5483
5484 \backslash
5485 setlength{
5486 \backslash
5487 LTcapwidth}{width}
5488 \end_layout
5489
5490 \begin_layout Standard
5491 where the width could have one of the units listed in appendix\InsetSpace ~
5492
5493 \begin_inset LatexCommand ref
5494 reference "cha:Units-available-in"
5495
5496 \end_inset
5497
5498 .
5499 \end_layout
5500
5501 \begin_layout Standard
5502 The following tables show the difference:
5503 \end_layout
5504
5505 \begin_layout Standard
5506 \begin_inset Tabular
5507 <lyxtabular version="3" rows="6" columns="5">
5508 <features islongtable="true">
5509 <column alignment="center" valignment="top" leftline="true" width="0">
5510 <column alignment="center" valignment="top" leftline="true" width="0">
5511 <column alignment="center" valignment="top" leftline="true" width="0">
5512 <column alignment="center" valignment="top" leftline="true" width="0">
5513 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5514 <row>
5515 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5516 \begin_inset Text
5517
5518 \begin_layout Standard
5519 \begin_inset Caption
5520
5521 \begin_layout Standard
5522 long full title with default width long full title with default width long
5523  full title with default width
5524 \begin_inset OptArg
5525 status collapsed
5526
5527 \begin_layout Standard
5528 caption with default width
5529 \end_layout
5530
5531 \end_inset
5532
5533
5534 \end_layout
5535
5536 \end_inset
5537
5538
5539 \begin_inset ERT
5540 status collapsed
5541
5542 \begin_layout Standard
5543
5544
5545 \backslash
5546
5547 \backslash
5548 %
5549 \end_layout
5550
5551 \end_inset
5552
5553
5554 \end_layout
5555
5556 \end_inset
5557 </cell>
5558 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5559 \begin_inset Text
5560
5561 \begin_layout Standard
5562
5563 \end_layout
5564
5565 \end_inset
5566 </cell>
5567 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5568 \begin_inset Text
5569
5570 \begin_layout Standard
5571
5572 \end_layout
5573
5574 \end_inset
5575 </cell>
5576 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5577 \begin_inset Text
5578
5579 \begin_layout Standard
5580
5581 \end_layout
5582
5583 \end_inset
5584 </cell>
5585 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5586 \begin_inset Text
5587
5588 \begin_layout Standard
5589
5590 \end_layout
5591
5592 \end_inset
5593 </cell>
5594 </row>
5595 <row topline="true">
5596 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5597 \begin_inset Text
5598
5599 \begin_layout Standard
5600 1
5601 \end_layout
5602
5603 \end_inset
5604 </cell>
5605 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5606 \begin_inset Text
5607
5608 \begin_layout Standard
5609 2
5610 \end_layout
5611
5612 \end_inset
5613 </cell>
5614 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5615 \begin_inset Text
5616
5617 \begin_layout Standard
5618 3
5619 \end_layout
5620
5621 \end_inset
5622 </cell>
5623 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5624 \begin_inset Text
5625
5626 \begin_layout Standard
5627 4
5628 \end_layout
5629
5630 \end_inset
5631 </cell>
5632 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5633 \begin_inset Text
5634
5635 \begin_layout Standard
5636 5
5637 \end_layout
5638
5639 \end_inset
5640 </cell>
5641 </row>
5642 <row topline="true">
5643 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5644 \begin_inset Text
5645
5646 \begin_layout Standard
5647 asd
5648 \end_layout
5649
5650 \end_inset
5651 </cell>
5652 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5653 \begin_inset Text
5654
5655 \begin_layout Standard
5656 s
5657 \end_layout
5658
5659 \end_inset
5660 </cell>
5661 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5662 \begin_inset Text
5663
5664 \begin_layout Standard
5665 s
5666 \end_layout
5667
5668 \end_inset
5669 </cell>
5670 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5671 \begin_inset Text
5672
5673 \begin_layout Standard
5674 s
5675 \end_layout
5676
5677 \end_inset
5678 </cell>
5679 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5680 \begin_inset Text
5681
5682 \begin_layout Standard
5683 asd
5684 \end_layout
5685
5686 \end_inset
5687 </cell>
5688 </row>
5689 <row topline="true">
5690 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5691 \begin_inset Text
5692
5693 \begin_layout Standard
5694 asd
5695 \end_layout
5696
5697 \end_inset
5698 </cell>
5699 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5700 \begin_inset Text
5701
5702 \begin_layout Standard
5703 s
5704 \end_layout
5705
5706 \end_inset
5707 </cell>
5708 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5709 \begin_inset Text
5710
5711 \begin_layout Standard
5712 s
5713 \end_layout
5714
5715 \end_inset
5716 </cell>
5717 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5718 \begin_inset Text
5719
5720 \begin_layout Standard
5721 s
5722 \end_layout
5723
5724 \end_inset
5725 </cell>
5726 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5727 \begin_inset Text
5728
5729 \begin_layout Standard
5730 asd
5731 \end_layout
5732
5733 \end_inset
5734 </cell>
5735 </row>
5736 <row topline="true">
5737 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5738 \begin_inset Text
5739
5740 \begin_layout Standard
5741 asd
5742 \end_layout
5743
5744 \end_inset
5745 </cell>
5746 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5747 \begin_inset Text
5748
5749 \begin_layout Standard
5750 s
5751 \end_layout
5752
5753 \end_inset
5754 </cell>
5755 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5756 \begin_inset Text
5757
5758 \begin_layout Standard
5759 s
5760 \end_layout
5761
5762 \end_inset
5763 </cell>
5764 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5765 \begin_inset Text
5766
5767 \begin_layout Standard
5768 s
5769 \end_layout
5770
5771 \end_inset
5772 </cell>
5773 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5774 \begin_inset Text
5775
5776 \begin_layout Standard
5777 asd
5778 \end_layout
5779
5780 \end_inset
5781 </cell>
5782 </row>
5783 <row topline="true" bottomline="true">
5784 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5785 \begin_inset Text
5786
5787 \begin_layout Standard
5788 asd
5789 \end_layout
5790
5791 \end_inset
5792 </cell>
5793 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5794 \begin_inset Text
5795
5796 \begin_layout Standard
5797 sad
5798 \end_layout
5799
5800 \end_inset
5801 </cell>
5802 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5803 \begin_inset Text
5804
5805 \begin_layout Standard
5806 asd
5807 \end_layout
5808
5809 \end_inset
5810 </cell>
5811 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5812 \begin_inset Text
5813
5814 \begin_layout Standard
5815 asd
5816 \end_layout
5817
5818 \end_inset
5819 </cell>
5820 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5821 \begin_inset Text
5822
5823 \begin_layout Standard
5824 asd
5825 \end_layout
5826
5827 \end_inset
5828 </cell>
5829 </row>
5830 </lyxtabular>
5831
5832 \end_inset
5833
5834
5835 \end_layout
5836
5837 \begin_layout Standard
5838 \begin_inset ERT
5839 status collapsed
5840
5841 \begin_layout Standard
5842
5843
5844 \backslash
5845 setlength{
5846 \backslash
5847 LTcapwidth}{5cm}
5848 \end_layout
5849
5850 \end_inset
5851
5852
5853 \begin_inset Tabular
5854 <lyxtabular version="3" rows="6" columns="5">
5855 <features islongtable="true">
5856 <column alignment="center" valignment="top" leftline="true" width="0">
5857 <column alignment="center" valignment="top" leftline="true" width="0">
5858 <column alignment="center" valignment="top" leftline="true" width="0">
5859 <column alignment="center" valignment="top" leftline="true" width="0">
5860 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5861 <row>
5862 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5863 \begin_inset Text
5864
5865 \begin_layout Standard
5866 \begin_inset Caption
5867
5868 \begin_layout Standard
5869 long full title with width set to 5\InsetSpace \thinspace{}
5870 cm long full title with width set to
5871  5\InsetSpace \thinspace{}
5872 cm long full title with width set to 5\InsetSpace \thinspace{}
5873 cm
5874 \begin_inset OptArg
5875 status collapsed
5876
5877 \begin_layout Standard
5878 caption with width\InsetSpace \thinspace{}
5879 =\InsetSpace \thinspace{}
5880 5\InsetSpace \thinspace{}
5881 cm
5882 \end_layout
5883
5884 \end_inset
5885
5886
5887 \end_layout
5888
5889 \end_inset
5890
5891
5892 \begin_inset ERT
5893 status collapsed
5894
5895 \begin_layout Standard
5896
5897
5898 \backslash
5899
5900 \backslash
5901 %
5902 \end_layout
5903
5904 \end_inset
5905
5906
5907 \end_layout
5908
5909 \end_inset
5910 </cell>
5911 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5912 \begin_inset Text
5913
5914 \begin_layout Standard
5915
5916 \end_layout
5917
5918 \end_inset
5919 </cell>
5920 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5921 \begin_inset Text
5922
5923 \begin_layout Standard
5924
5925 \end_layout
5926
5927 \end_inset
5928 </cell>
5929 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5930 \begin_inset Text
5931
5932 \begin_layout Standard
5933
5934 \end_layout
5935
5936 \end_inset
5937 </cell>
5938 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5939 \begin_inset Text
5940
5941 \begin_layout Standard
5942
5943 \end_layout
5944
5945 \end_inset
5946 </cell>
5947 </row>
5948 <row topline="true">
5949 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5950 \begin_inset Text
5951
5952 \begin_layout Standard
5953 1
5954 \end_layout
5955
5956 \end_inset
5957 </cell>
5958 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5959 \begin_inset Text
5960
5961 \begin_layout Standard
5962 2
5963 \end_layout
5964
5965 \end_inset
5966 </cell>
5967 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5968 \begin_inset Text
5969
5970 \begin_layout Standard
5971 3
5972 \end_layout
5973
5974 \end_inset
5975 </cell>
5976 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5977 \begin_inset Text
5978
5979 \begin_layout Standard
5980 4
5981 \end_layout
5982
5983 \end_inset
5984 </cell>
5985 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5986 \begin_inset Text
5987
5988 \begin_layout Standard
5989 5
5990 \end_layout
5991
5992 \end_inset
5993 </cell>
5994 </row>
5995 <row topline="true">
5996 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5997 \begin_inset Text
5998
5999 \begin_layout Standard
6000 asd
6001 \end_layout
6002
6003 \end_inset
6004 </cell>
6005 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6006 \begin_inset Text
6007
6008 \begin_layout Standard
6009 s
6010 \end_layout
6011
6012 \end_inset
6013 </cell>
6014 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6015 \begin_inset Text
6016
6017 \begin_layout Standard
6018 s
6019 \end_layout
6020
6021 \end_inset
6022 </cell>
6023 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6024 \begin_inset Text
6025
6026 \begin_layout Standard
6027 s
6028 \end_layout
6029
6030 \end_inset
6031 </cell>
6032 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6033 \begin_inset Text
6034
6035 \begin_layout Standard
6036 asd
6037 \end_layout
6038
6039 \end_inset
6040 </cell>
6041 </row>
6042 <row topline="true">
6043 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6044 \begin_inset Text
6045
6046 \begin_layout Standard
6047 asd
6048 \end_layout
6049
6050 \end_inset
6051 </cell>
6052 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6053 \begin_inset Text
6054
6055 \begin_layout Standard
6056 s
6057 \end_layout
6058
6059 \end_inset
6060 </cell>
6061 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6062 \begin_inset Text
6063
6064 \begin_layout Standard
6065 s
6066 \end_layout
6067
6068 \end_inset
6069 </cell>
6070 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6071 \begin_inset Text
6072
6073 \begin_layout Standard
6074 s
6075 \end_layout
6076
6077 \end_inset
6078 </cell>
6079 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6080 \begin_inset Text
6081
6082 \begin_layout Standard
6083 asd
6084 \end_layout
6085
6086 \end_inset
6087 </cell>
6088 </row>
6089 <row topline="true">
6090 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6091 \begin_inset Text
6092
6093 \begin_layout Standard
6094 asd
6095 \end_layout
6096
6097 \end_inset
6098 </cell>
6099 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6100 \begin_inset Text
6101
6102 \begin_layout Standard
6103 s
6104 \end_layout
6105
6106 \end_inset
6107 </cell>
6108 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6109 \begin_inset Text
6110
6111 \begin_layout Standard
6112 s
6113 \end_layout
6114
6115 \end_inset
6116 </cell>
6117 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6118 \begin_inset Text
6119
6120 \begin_layout Standard
6121 s
6122 \end_layout
6123
6124 \end_inset
6125 </cell>
6126 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6127 \begin_inset Text
6128
6129 \begin_layout Standard
6130 asd
6131 \end_layout
6132
6133 \end_inset
6134 </cell>
6135 </row>
6136 <row topline="true" bottomline="true">
6137 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6138 \begin_inset Text
6139
6140 \begin_layout Standard
6141 asd
6142 \end_layout
6143
6144 \end_inset
6145 </cell>
6146 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6147 \begin_inset Text
6148
6149 \begin_layout Standard
6150 sad
6151 \end_layout
6152
6153 \end_inset
6154 </cell>
6155 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6156 \begin_inset Text
6157
6158 \begin_layout Standard
6159 asd
6160 \end_layout
6161
6162 \end_inset
6163 </cell>
6164 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6165 \begin_inset Text
6166
6167 \begin_layout Standard
6168 asd
6169 \end_layout
6170
6171 \end_inset
6172 </cell>
6173 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6174 \begin_inset Text
6175
6176 \begin_layout Standard
6177 asd
6178 \end_layout
6179
6180 \end_inset
6181 </cell>
6182 </row>
6183 </lyxtabular>
6184
6185 \end_inset
6186
6187
6188 \begin_inset ERT
6189 status collapsed
6190
6191 \begin_layout Standard
6192
6193
6194 \backslash
6195 setlength{
6196 \backslash
6197 LTcapwidth}{4in}
6198 \end_layout
6199
6200 \end_inset
6201
6202
6203 \end_layout
6204
6205 \begin_layout Standard
6206
6207 \end_layout
6208
6209 \begin_layout Subsubsection
6210 Different Captions for Table Pages
6211 \begin_inset LatexCommand index
6212 name "Longtables ! Different Captions for Pages"
6213
6214 \end_inset
6215
6216
6217 \end_layout
6218
6219 \begin_layout Standard
6220 When the other captions should differ from the one of the first table page,
6221  insert a caption with a non-empty short title in a dummy caption row marked
6222  as first header.
6223  The caption used for the other table pages is inserted as caption without
6224  a short title in a dummy caption row that is marked as main header.
6225  When this caption shouldn't include the table number, use the command
6226 \end_layout
6227
6228 \begin_layout Standard
6229
6230 \series bold
6231
6232 \backslash
6233 caption*{caption text}
6234 \end_layout
6235
6236 \begin_layout Standard
6237 instead of LyX's caption box.
6238  The label to reference the table is inserted into the caption of the first
6239  header.
6240  Table\InsetSpace ~
6241
6242 \begin_inset LatexCommand ref
6243 reference "tab:DiffCaptions"
6244
6245 \end_inset
6246
6247  is an example for a longtable with different heading where the second caption
6248  doesn't include the table number.
6249 \end_layout
6250
6251 \begin_layout Standard
6252 \align center
6253 \begin_inset Tabular
6254 <lyxtabular version="3" rows="60" columns="3">
6255 <features islongtable="true">
6256 <column alignment="left" valignment="top" leftline="true" width="0cm">
6257 <column alignment="left" valignment="top" rightline="true" width="0pt">
6258 <column alignment="right" valignment="top" rightline="true" width="0pt">
6259 <row endfirsthead="true">
6260 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6261 \begin_inset Text
6262
6263 \begin_layout Standard
6264 \begin_inset Caption
6265
6266 \begin_layout Standard
6267 Example Phone List
6268 \begin_inset LatexCommand label
6269 name "tab:DiffCaptions"
6270
6271 \end_inset
6272
6273
6274 \begin_inset OptArg
6275 status collapsed
6276
6277 \begin_layout Standard
6278 Example Phone List
6279 \end_layout
6280
6281 \end_inset
6282
6283
6284 \end_layout
6285
6286 \end_inset
6287
6288
6289 \begin_inset ERT
6290 status collapsed
6291
6292 \begin_layout Standard
6293
6294
6295 \backslash
6296
6297 \backslash
6298 %
6299 \end_layout
6300
6301 \end_inset
6302
6303
6304 \end_layout
6305
6306 \end_inset
6307 </cell>
6308 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6309 \begin_inset Text
6310
6311 \begin_layout Standard
6312
6313 \end_layout
6314
6315 \end_inset
6316 </cell>
6317 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6318 \begin_inset Text
6319
6320 \begin_layout Standard
6321
6322 \end_layout
6323
6324 \end_inset
6325 </cell>
6326 </row>
6327 <row topline="true" bottomline="true" endfirsthead="true">
6328 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6329 \begin_inset Text
6330
6331 \begin_layout Standard
6332
6333 \series bold
6334 Example Phone List (ignore the names)
6335 \end_layout
6336
6337 \end_inset
6338 </cell>
6339 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6340 \begin_inset Text
6341
6342 \begin_layout Standard
6343
6344 \end_layout
6345
6346 \end_inset
6347 </cell>
6348 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6349 \begin_inset Text
6350
6351 \begin_layout Standard
6352
6353 \end_layout
6354
6355 \end_inset
6356 </cell>
6357 </row>
6358 <row topline="true" bottomline="true" endfirsthead="true">
6359 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6360 \begin_inset Text
6361
6362 \begin_layout Standard
6363
6364 \series bold
6365 NAME
6366 \end_layout
6367
6368 \end_inset
6369 </cell>
6370 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6371 \begin_inset Text
6372
6373 \begin_layout Standard
6374
6375 \end_layout
6376
6377 \end_inset
6378 </cell>
6379 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6380 \begin_inset Text
6381
6382 \begin_layout Standard
6383
6384 \series bold
6385 TEL.
6386 \end_layout
6387
6388 \end_inset
6389 </cell>
6390 </row>
6391 <row bottomline="true" endhead="true">
6392 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6393 \begin_inset Text
6394
6395 \begin_layout Standard
6396 \begin_inset ERT
6397 status collapsed
6398
6399 \begin_layout Standard
6400
6401
6402 \backslash
6403 caption*{Continued Example Phone List}
6404 \backslash
6405
6406 \backslash
6407 %
6408 \end_layout
6409
6410 \end_inset
6411
6412
6413 \end_layout
6414
6415 \end_inset
6416 </cell>
6417 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6418 \begin_inset Text
6419
6420 \begin_layout Standard
6421
6422 \end_layout
6423
6424 \end_inset
6425 </cell>
6426 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6427 \begin_inset Text
6428
6429 \begin_layout Standard
6430
6431 \end_layout
6432
6433 \end_inset
6434 </cell>
6435 </row>
6436 <row topline="true" bottomline="true" endhead="true">
6437 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6438 \begin_inset Text
6439
6440 \begin_layout Standard
6441
6442 \series bold
6443 Example Phone List
6444 \end_layout
6445
6446 \end_inset
6447 </cell>
6448 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6449 \begin_inset Text
6450
6451 \begin_layout Standard
6452
6453 \end_layout
6454
6455 \end_inset
6456 </cell>
6457 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6458 \begin_inset Text
6459
6460 \begin_layout Standard
6461
6462 \end_layout
6463
6464 \end_inset
6465 </cell>
6466 </row>
6467 <row topline="true" bottomline="true" endhead="true">
6468 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6469 \begin_inset Text
6470
6471 \begin_layout Standard
6472
6473 \series bold
6474 NAME
6475 \end_layout
6476
6477 \end_inset
6478 </cell>
6479 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6480 \begin_inset Text
6481
6482 \begin_layout Standard
6483
6484 \end_layout
6485
6486 \end_inset
6487 </cell>
6488 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6489 \begin_inset Text
6490
6491 \begin_layout Standard
6492
6493 \series bold
6494 TEL.
6495 \end_layout
6496
6497 \end_inset
6498 </cell>
6499 </row>
6500 <row topline="true" bottomline="true" endfoot="true">
6501 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
6502 \begin_inset Text
6503
6504 \begin_layout Standard
6505 continued on next page
6506 \end_layout
6507
6508 \end_inset
6509 </cell>
6510 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6511 \begin_inset Text
6512
6513 \begin_layout Standard
6514
6515 \end_layout
6516
6517 \end_inset
6518 </cell>
6519 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6520 \begin_inset Text
6521
6522 \begin_layout Standard
6523
6524 \end_layout
6525
6526 \end_inset
6527 </cell>
6528 </row>
6529 <row>
6530 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6531 \begin_inset Text
6532
6533 \begin_layout Standard
6534
6535 \series bold
6536 Annovi
6537 \end_layout
6538
6539 \end_inset
6540 </cell>
6541 <cell alignment="center" valignment="top" topline="true" usebox="none">
6542 \begin_inset Text
6543
6544 \begin_layout Standard
6545 Silvia
6546 \end_layout
6547
6548 \end_inset
6549 </cell>
6550 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6551 \begin_inset Text
6552
6553 \begin_layout Standard
6554 111
6555 \end_layout
6556
6557 \end_inset
6558 </cell>
6559 </row>
6560 <row>
6561 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6562 \begin_inset Text
6563
6564 \begin_layout Standard
6565
6566 \series bold
6567 Bertoli
6568 \end_layout
6569
6570 \end_inset
6571 </cell>
6572 <cell alignment="center" valignment="top" topline="true" usebox="none">
6573 \begin_inset Text
6574
6575 \begin_layout Standard
6576 Stefano
6577 \end_layout
6578
6579 \end_inset
6580 </cell>
6581 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6582 \begin_inset Text
6583
6584 \begin_layout Standard
6585 111
6586 \end_layout
6587
6588 \end_inset
6589 </cell>
6590 </row>
6591 <row>
6592 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6593 \begin_inset Text
6594
6595 \begin_layout Standard
6596
6597 \series bold
6598 Bozzi
6599 \end_layout
6600
6601 \end_inset
6602 </cell>
6603 <cell alignment="center" valignment="top" topline="true" usebox="none">
6604 \begin_inset Text
6605
6606 \begin_layout Standard
6607 Walter
6608 \end_layout
6609
6610 \end_inset
6611 </cell>
6612 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6613 \begin_inset Text
6614
6615 \begin_layout Standard
6616 111
6617 \end_layout
6618
6619 \end_inset
6620 </cell>
6621 </row>
6622 <row>
6623 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6624 \begin_inset Text
6625
6626 \begin_layout Standard
6627
6628 \series bold
6629 Cachia
6630 \end_layout
6631
6632 \end_inset
6633 </cell>
6634 <cell alignment="center" valignment="top" topline="true" usebox="none">
6635 \begin_inset Text
6636
6637 \begin_layout Standard
6638 Maria
6639 \end_layout
6640
6641 \end_inset
6642 </cell>
6643 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6644 \begin_inset Text
6645
6646 \begin_layout Standard
6647 111
6648 \end_layout
6649
6650 \end_inset
6651 </cell>
6652 </row>
6653 <row>
6654 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6655 \begin_inset Text
6656
6657 \begin_layout Standard
6658
6659 \series bold
6660 Cachia
6661 \end_layout
6662
6663 \end_inset
6664 </cell>
6665 <cell alignment="center" valignment="top" topline="true" usebox="none">
6666 \begin_inset Text
6667
6668 \begin_layout Standard
6669 Maurizio
6670 \end_layout
6671
6672 \end_inset
6673 </cell>
6674 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6675 \begin_inset Text
6676
6677 \begin_layout Standard
6678 111
6679 \end_layout
6680
6681 \end_inset
6682 </cell>
6683 </row>
6684 <row>
6685 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6686 \begin_inset Text
6687
6688 \begin_layout Standard
6689
6690 \series bold
6691 Cinquemani
6692 \end_layout
6693
6694 \end_inset
6695 </cell>
6696 <cell alignment="center" valignment="top" topline="true" usebox="none">
6697 \begin_inset Text
6698
6699 \begin_layout Standard
6700 Giusi
6701 \end_layout
6702
6703 \end_inset
6704 </cell>
6705 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6706 \begin_inset Text
6707
6708 \begin_layout Standard
6709 111
6710 \end_layout
6711
6712 \end_inset
6713 </cell>
6714 </row>
6715 <row>
6716 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6717 \begin_inset Text
6718
6719 \begin_layout Standard
6720
6721 \series bold
6722 Colin
6723 \end_layout
6724
6725 \end_inset
6726 </cell>
6727 <cell alignment="center" valignment="top" topline="true" usebox="none">
6728 \begin_inset Text
6729
6730 \begin_layout Standard
6731 Bernard
6732 \end_layout
6733
6734 \end_inset
6735 </cell>
6736 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6737 \begin_inset Text
6738
6739 \begin_layout Standard
6740 111
6741 \end_layout
6742
6743 \end_inset
6744 </cell>
6745 </row>
6746 <row>
6747 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6748 \begin_inset Text
6749
6750 \begin_layout Standard
6751
6752 \series bold
6753 Concli
6754 \end_layout
6755
6756 \end_inset
6757 </cell>
6758 <cell alignment="center" valignment="top" topline="true" usebox="none">
6759 \begin_inset Text
6760
6761 \begin_layout Standard
6762 Gianfranco
6763 \end_layout
6764
6765 \end_inset
6766 </cell>
6767 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6768 \begin_inset Text
6769
6770 \begin_layout Standard
6771 111
6772 \end_layout
6773
6774 \end_inset
6775 </cell>
6776 </row>
6777 <row>
6778 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6779 \begin_inset Text
6780
6781 \begin_layout Standard
6782
6783 \series bold
6784 Dal Bosco
6785 \end_layout
6786
6787 \end_inset
6788 </cell>
6789 <cell alignment="center" valignment="top" topline="true" usebox="none">
6790 \begin_inset Text
6791
6792 \begin_layout Standard
6793 Carolina
6794 \end_layout
6795
6796 \end_inset
6797 </cell>
6798 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6799 \begin_inset Text
6800
6801 \begin_layout Standard
6802 111
6803 \end_layout
6804
6805 \end_inset
6806 </cell>
6807 </row>
6808 <row>
6809 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6810 \begin_inset Text
6811
6812 \begin_layout Standard
6813
6814 \series bold
6815 Dalpiaz
6816 \end_layout
6817
6818 \end_inset
6819 </cell>
6820 <cell alignment="center" valignment="top" topline="true" usebox="none">
6821 \begin_inset Text
6822
6823 \begin_layout Standard
6824 Annamaria
6825 \end_layout
6826
6827 \end_inset
6828 </cell>
6829 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6830 \begin_inset Text
6831
6832 \begin_layout Standard
6833 111
6834 \end_layout
6835
6836 \end_inset
6837 </cell>
6838 </row>
6839 <row>
6840 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6841 \begin_inset Text
6842
6843 \begin_layout Standard
6844
6845 \series bold
6846 Feliciello
6847 \end_layout
6848
6849 \end_inset
6850 </cell>
6851 <cell alignment="center" valignment="top" topline="true" usebox="none">
6852 \begin_inset Text
6853
6854 \begin_layout Standard
6855 Domenico
6856 \end_layout
6857
6858 \end_inset
6859 </cell>
6860 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6861 \begin_inset Text
6862
6863 \begin_layout Standard
6864 111
6865 \end_layout
6866
6867 \end_inset
6868 </cell>
6869 </row>
6870 <row>
6871 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6872 \begin_inset Text
6873
6874 \begin_layout Standard
6875
6876 \series bold
6877 Focarelli
6878 \end_layout
6879
6880 \end_inset
6881 </cell>
6882 <cell alignment="center" valignment="top" topline="true" usebox="none">
6883 \begin_inset Text
6884
6885 \begin_layout Standard
6886 Paola
6887 \end_layout
6888
6889 \end_inset
6890 </cell>
6891 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6892 \begin_inset Text
6893
6894 \begin_layout Standard
6895 111
6896 \end_layout
6897
6898 \end_inset
6899 </cell>
6900 </row>
6901 <row>
6902 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6903 \begin_inset Text
6904
6905 \begin_layout Standard
6906
6907 \series bold
6908 Galletti
6909 \end_layout
6910
6911 \end_inset
6912 </cell>
6913 <cell alignment="center" valignment="top" topline="true" usebox="none">
6914 \begin_inset Text
6915
6916 \begin_layout Standard
6917 Oreste
6918 \end_layout
6919
6920 \end_inset
6921 </cell>
6922 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6923 \begin_inset Text
6924
6925 \begin_layout Standard
6926 111
6927 \end_layout
6928
6929 \end_inset
6930 </cell>
6931 </row>
6932 <row>
6933 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6934 \begin_inset Text
6935
6936 \begin_layout Standard
6937
6938 \series bold
6939 Gasparini
6940 \end_layout
6941
6942 \end_inset
6943 </cell>
6944 <cell alignment="center" valignment="top" topline="true" usebox="none">
6945 \begin_inset Text
6946
6947 \begin_layout Standard
6948 Franca
6949 \end_layout
6950
6951 \end_inset
6952 </cell>
6953 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6954 \begin_inset Text
6955
6956 \begin_layout Standard
6957 111
6958 \end_layout
6959
6960 \end_inset
6961 </cell>
6962 </row>
6963 <row>
6964 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6965 \begin_inset Text
6966
6967 \begin_layout Standard
6968
6969 \series bold
6970 Rizzardi
6971 \series default
6972
6973 \begin_inset Foot
6974 status collapsed
6975
6976 \begin_layout Standard
6977 Example footnote
6978 \end_layout
6979
6980 \end_inset
6981
6982
6983 \end_layout
6984
6985 \end_inset
6986 </cell>
6987 <cell alignment="center" valignment="top" topline="true" usebox="none">
6988 \begin_inset Text
6989
6990 \begin_layout Standard
6991 Paola
6992 \end_layout
6993
6994 \end_inset
6995 </cell>
6996 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6997 \begin_inset Text
6998
6999 \begin_layout Standard
7000 111
7001 \end_layout
7002
7003 \end_inset
7004 </cell>
7005 </row>
7006 <row>
7007 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7008 \begin_inset Text
7009
7010 \begin_layout Standard
7011
7012 \series bold
7013 Lassini
7014 \end_layout
7015
7016 \end_inset
7017 </cell>
7018 <cell alignment="center" valignment="top" topline="true" usebox="none">
7019 \begin_inset Text
7020
7021 \begin_layout Standard
7022 Giancarlo
7023 \end_layout
7024
7025 \end_inset
7026 </cell>
7027 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7028 \begin_inset Text
7029
7030 \begin_layout Standard
7031 111
7032 \end_layout
7033
7034 \end_inset
7035 </cell>
7036 </row>
7037 <row>
7038 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7039 \begin_inset Text
7040
7041 \begin_layout Standard
7042
7043 \series bold
7044 Malfatti
7045 \end_layout
7046
7047 \end_inset
7048 </cell>
7049 <cell alignment="center" valignment="top" topline="true" usebox="none">
7050 \begin_inset Text
7051
7052 \begin_layout Standard
7053 Luciano
7054 \end_layout
7055
7056 \end_inset
7057 </cell>
7058 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7059 \begin_inset Text
7060
7061 \begin_layout Standard
7062 111
7063 \end_layout
7064
7065 \end_inset
7066 </cell>
7067 </row>
7068 <row>
7069 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7070 \begin_inset Text
7071
7072 \begin_layout Standard
7073
7074 \series bold
7075 Malfatti
7076 \end_layout
7077
7078 \end_inset
7079 </cell>
7080 <cell alignment="center" valignment="top" topline="true" usebox="none">
7081 \begin_inset Text
7082
7083 \begin_layout Standard
7084 Valeriano
7085 \end_layout
7086
7087 \end_inset
7088 </cell>
7089 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7090 \begin_inset Text
7091
7092 \begin_layout Standard
7093 111
7094 \end_layout
7095
7096 \end_inset
7097 </cell>
7098 </row>
7099 <row>
7100 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7101 \begin_inset Text
7102
7103 \begin_layout Standard
7104
7105 \series bold
7106 Meneguzzo
7107 \end_layout
7108
7109 \end_inset
7110 </cell>
7111 <cell alignment="center" valignment="top" topline="true" usebox="none">
7112 \begin_inset Text
7113
7114 \begin_layout Standard
7115 Roberto
7116 \end_layout
7117
7118 \end_inset
7119 </cell>
7120 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7121 \begin_inset Text
7122
7123 \begin_layout Standard
7124 111
7125 \end_layout
7126
7127 \end_inset
7128 </cell>
7129 </row>
7130 <row>
7131 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7132 \begin_inset Text
7133
7134 \begin_layout Standard
7135
7136 \series bold
7137 Mezzadra
7138 \end_layout
7139
7140 \end_inset
7141 </cell>
7142 <cell alignment="center" valignment="top" topline="true" usebox="none">
7143 \begin_inset Text
7144
7145 \begin_layout Standard
7146 Roberto
7147 \end_layout
7148
7149 \end_inset
7150 </cell>
7151 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7152 \begin_inset Text
7153
7154 \begin_layout Standard
7155 111
7156 \end_layout
7157
7158 \end_inset
7159 </cell>
7160 </row>
7161 <row>
7162 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7163 \begin_inset Text
7164
7165 \begin_layout Standard
7166
7167 \series bold
7168 Pirpamer
7169 \end_layout
7170
7171 \end_inset
7172 </cell>
7173 <cell alignment="center" valignment="top" topline="true" usebox="none">
7174 \begin_inset Text
7175
7176 \begin_layout Standard
7177 Erich
7178 \end_layout
7179
7180 \end_inset
7181 </cell>
7182 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7183 \begin_inset Text
7184
7185 \begin_layout Standard
7186 111
7187 \end_layout
7188
7189 \end_inset
7190 </cell>
7191 </row>
7192 <row>
7193 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7194 \begin_inset Text
7195
7196 \begin_layout Standard
7197
7198 \series bold
7199 Pochiesa
7200 \end_layout
7201
7202 \end_inset
7203 </cell>
7204 <cell alignment="center" valignment="top" topline="true" usebox="none">
7205 \begin_inset Text
7206
7207 \begin_layout Standard
7208 Paolo
7209 \end_layout
7210
7211 \end_inset
7212 </cell>
7213 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7214 \begin_inset Text
7215
7216 \begin_layout Standard
7217 111, 222
7218 \end_layout
7219
7220 \end_inset
7221 </cell>
7222 </row>
7223 <row>
7224 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7225 \begin_inset Text
7226
7227 \begin_layout Standard
7228
7229 \series bold
7230 Radina
7231 \end_layout
7232
7233 \end_inset
7234 </cell>
7235 <cell alignment="center" valignment="top" topline="true" usebox="none">
7236 \begin_inset Text
7237
7238 \begin_layout Standard
7239 Claudio
7240 \end_layout
7241
7242 \end_inset
7243 </cell>
7244 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7245 \begin_inset Text
7246
7247 \begin_layout Standard
7248 111
7249 \end_layout
7250
7251 \end_inset
7252 </cell>
7253 </row>
7254 <row>
7255 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7256 \begin_inset Text
7257
7258 \begin_layout Standard
7259
7260 \series bold
7261 Stuffer
7262 \end_layout
7263
7264 \end_inset
7265 </cell>
7266 <cell alignment="center" valignment="top" topline="true" usebox="none">
7267 \begin_inset Text
7268
7269 \begin_layout Standard
7270 Oskar
7271 \end_layout
7272
7273 \end_inset
7274 </cell>
7275 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7276 \begin_inset Text
7277
7278 \begin_layout Standard
7279 111
7280 \end_layout
7281
7282 \end_inset
7283 </cell>
7284 </row>
7285 <row>
7286 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7287 \begin_inset Text
7288
7289 \begin_layout Standard
7290
7291 \series bold
7292 Tacchelli
7293 \end_layout
7294
7295 \end_inset
7296 </cell>
7297 <cell alignment="center" valignment="top" topline="true" usebox="none">
7298 \begin_inset Text
7299
7300 \begin_layout Standard
7301 Ugo
7302 \end_layout
7303
7304 \end_inset
7305 </cell>
7306 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7307 \begin_inset Text
7308
7309 \begin_layout Standard
7310 111
7311 \end_layout
7312
7313 \end_inset
7314 </cell>
7315 </row>
7316 <row>
7317 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7318 \begin_inset Text
7319
7320 \begin_layout Standard
7321
7322 \series bold
7323 Tezzele
7324 \end_layout
7325
7326 \end_inset
7327 </cell>
7328 <cell alignment="center" valignment="top" topline="true" usebox="none">
7329 \begin_inset Text
7330
7331 \begin_layout Standard
7332 Margit
7333 \end_layout
7334
7335 \end_inset
7336 </cell>
7337 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7338 \begin_inset Text
7339
7340 \begin_layout Standard
7341 111
7342 \end_layout
7343
7344 \end_inset
7345 </cell>
7346 </row>
7347 <row>
7348 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7349 \begin_inset Text
7350
7351 \begin_layout Standard
7352
7353 \series bold
7354 Unterkalmsteiner
7355 \end_layout
7356
7357 \end_inset
7358 </cell>
7359 <cell alignment="center" valignment="top" topline="true" usebox="none">
7360 \begin_inset Text
7361
7362 \begin_layout Standard
7363 Frieda
7364 \end_layout
7365
7366 \end_inset
7367 </cell>
7368 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7369 \begin_inset Text
7370
7371 \begin_layout Standard
7372 111
7373 \end_layout
7374
7375 \end_inset
7376 </cell>
7377 </row>
7378 <row>
7379 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7380 \begin_inset Text
7381
7382 \begin_layout Standard
7383
7384 \series bold
7385 Vieider
7386 \end_layout
7387
7388 \end_inset
7389 </cell>
7390 <cell alignment="center" valignment="top" topline="true" usebox="none">
7391 \begin_inset Text
7392
7393 \begin_layout Standard
7394 Hilde
7395 \end_layout
7396
7397 \end_inset
7398 </cell>
7399 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7400 \begin_inset Text
7401
7402 \begin_layout Standard
7403 111
7404 \end_layout
7405
7406 \end_inset
7407 </cell>
7408 </row>
7409 <row>
7410 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7411 \begin_inset Text
7412
7413 \begin_layout Standard
7414
7415 \series bold
7416 Vigna
7417 \end_layout
7418
7419 \end_inset
7420 </cell>
7421 <cell alignment="center" valignment="top" topline="true" usebox="none">
7422 \begin_inset Text
7423
7424 \begin_layout Standard
7425 Jürgen
7426 \end_layout
7427
7428 \end_inset
7429 </cell>
7430 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7431 \begin_inset Text
7432
7433 \begin_layout Standard
7434 111
7435 \end_layout
7436
7437 \end_inset
7438 </cell>
7439 </row>
7440 <row>
7441 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7442 \begin_inset Text
7443
7444 \begin_layout Standard
7445
7446 \series bold
7447 Weber
7448 \end_layout
7449
7450 \end_inset
7451 </cell>
7452 <cell alignment="center" valignment="top" topline="true" usebox="none">
7453 \begin_inset Text
7454
7455 \begin_layout Standard
7456 Maurizio
7457 \end_layout
7458
7459 \end_inset
7460 </cell>
7461 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7462 \begin_inset Text
7463
7464 \begin_layout Standard
7465 111
7466 \end_layout
7467
7468 \end_inset
7469 </cell>
7470 </row>
7471 <row bottomline="true">
7472 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7473 \begin_inset Text
7474
7475 \begin_layout Standard
7476
7477 \series bold
7478 Winkler
7479 \end_layout
7480
7481 \end_inset
7482 </cell>
7483 <cell alignment="center" valignment="top" topline="true" usebox="none">
7484 \begin_inset Text
7485
7486 \begin_layout Standard
7487 Franz
7488 \end_layout
7489
7490 \end_inset
7491 </cell>
7492 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7493 \begin_inset Text
7494
7495 \begin_layout Standard
7496 111
7497 \end_layout
7498
7499 \end_inset
7500 </cell>
7501 </row>
7502 <row bottomline="true">
7503 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7504 \begin_inset Text
7505
7506 \begin_layout Standard
7507  
7508 \end_layout
7509
7510 \end_inset
7511 </cell>
7512 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
7513 \begin_inset Text
7514
7515 \begin_layout Standard
7516
7517 \end_layout
7518
7519 \end_inset
7520 </cell>
7521 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7522 \begin_inset Text
7523
7524 \begin_layout Standard
7525
7526 \end_layout
7527
7528 \end_inset
7529 </cell>
7530 </row>
7531 <row>
7532 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7533 \begin_inset Text
7534
7535 \begin_layout Standard
7536
7537 \series bold
7538 Annovi
7539 \end_layout
7540
7541 \end_inset
7542 </cell>
7543 <cell alignment="center" valignment="top" topline="true" usebox="none">
7544 \begin_inset Text
7545
7546 \begin_layout Standard
7547 Silvia
7548 \end_layout
7549
7550 \end_inset
7551 </cell>
7552 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7553 \begin_inset Text
7554
7555 \begin_layout Standard
7556 555
7557 \end_layout
7558
7559 \end_inset
7560 </cell>
7561 </row>
7562 <row>
7563 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7564 \begin_inset Text
7565
7566 \begin_layout Standard
7567
7568 \series bold
7569 Bertoli
7570 \end_layout
7571
7572 \end_inset
7573 </cell>
7574 <cell alignment="center" valignment="top" topline="true" usebox="none">
7575 \begin_inset Text
7576
7577 \begin_layout Standard
7578 Stefano
7579 \end_layout
7580
7581 \end_inset
7582 </cell>
7583 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7584 \begin_inset Text
7585
7586 \begin_layout Standard
7587 555
7588 \end_layout
7589
7590 \end_inset
7591 </cell>
7592 </row>
7593 <row>
7594 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7595 \begin_inset Text
7596
7597 \begin_layout Standard
7598
7599 \series bold
7600 Bozzi
7601 \end_layout
7602
7603 \end_inset
7604 </cell>
7605 <cell alignment="center" valignment="top" topline="true" usebox="none">
7606 \begin_inset Text
7607
7608 \begin_layout Standard
7609 Walter
7610 \end_layout
7611
7612 \end_inset
7613 </cell>
7614 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7615 \begin_inset Text
7616
7617 \begin_layout Standard
7618 555
7619 \end_layout
7620
7621 \end_inset
7622 </cell>
7623 </row>
7624 <row>
7625 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7626 \begin_inset Text
7627
7628 \begin_layout Standard
7629
7630 \series bold
7631 Cachia
7632 \end_layout
7633
7634 \end_inset
7635 </cell>
7636 <cell alignment="center" valignment="top" topline="true" usebox="none">
7637 \begin_inset Text
7638
7639 \begin_layout Standard
7640 Maria
7641 \end_layout
7642
7643 \end_inset
7644 </cell>
7645 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7646 \begin_inset Text
7647
7648 \begin_layout Standard
7649 555
7650 \end_layout
7651
7652 \end_inset
7653 </cell>
7654 </row>
7655 <row>
7656 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7657 \begin_inset Text
7658
7659 \begin_layout Standard
7660
7661 \series bold
7662 Cachia
7663 \end_layout
7664
7665 \end_inset
7666 </cell>
7667 <cell alignment="center" valignment="top" topline="true" usebox="none">
7668 \begin_inset Text
7669
7670 \begin_layout Standard
7671 Maurizio
7672 \end_layout
7673
7674 \end_inset
7675 </cell>
7676 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7677 \begin_inset Text
7678
7679 \begin_layout Standard
7680 555
7681 \end_layout
7682
7683 \end_inset
7684 </cell>
7685 </row>
7686 <row>
7687 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7688 \begin_inset Text
7689
7690 \begin_layout Standard
7691
7692 \series bold
7693 Cinquemani
7694 \end_layout
7695
7696 \end_inset
7697 </cell>
7698 <cell alignment="center" valignment="top" topline="true" usebox="none">
7699 \begin_inset Text
7700
7701 \begin_layout Standard
7702 Giusi
7703 \end_layout
7704
7705 \end_inset
7706 </cell>
7707 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7708 \begin_inset Text
7709
7710 \begin_layout Standard
7711 555
7712 \end_layout
7713
7714 \end_inset
7715 </cell>
7716 </row>
7717 <row>
7718 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7719 \begin_inset Text
7720
7721 \begin_layout Standard
7722
7723 \series bold
7724 Colin
7725 \end_layout
7726
7727 \end_inset
7728 </cell>
7729 <cell alignment="center" valignment="top" topline="true" usebox="none">
7730 \begin_inset Text
7731
7732 \begin_layout Standard
7733 Bernard
7734 \end_layout
7735
7736 \end_inset
7737 </cell>
7738 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7739 \begin_inset Text
7740
7741 \begin_layout Standard
7742 555
7743 \end_layout
7744
7745 \end_inset
7746 </cell>
7747 </row>
7748 <row>
7749 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7750 \begin_inset Text
7751
7752 \begin_layout Standard
7753
7754 \series bold
7755 Concli
7756 \end_layout
7757
7758 \end_inset
7759 </cell>
7760 <cell alignment="center" valignment="top" topline="true" usebox="none">
7761 \begin_inset Text
7762
7763 \begin_layout Standard
7764 Gianfranco
7765 \end_layout
7766
7767 \end_inset
7768 </cell>
7769 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7770 \begin_inset Text
7771
7772 \begin_layout Standard
7773 555
7774 \end_layout
7775
7776 \end_inset
7777 </cell>
7778 </row>
7779 <row>
7780 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7781 \begin_inset Text
7782
7783 \begin_layout Standard
7784
7785 \series bold
7786 Dal Bosco
7787 \end_layout
7788
7789 \end_inset
7790 </cell>
7791 <cell alignment="center" valignment="top" topline="true" usebox="none">
7792 \begin_inset Text
7793
7794 \begin_layout Standard
7795 Carolina
7796 \end_layout
7797
7798 \end_inset
7799 </cell>
7800 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7801 \begin_inset Text
7802
7803 \begin_layout Standard
7804 555
7805 \end_layout
7806
7807 \end_inset
7808 </cell>
7809 </row>
7810 <row>
7811 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7812 \begin_inset Text
7813
7814 \begin_layout Standard
7815
7816 \series bold
7817 Dalpiaz
7818 \end_layout
7819
7820 \end_inset
7821 </cell>
7822 <cell alignment="center" valignment="top" topline="true" usebox="none">
7823 \begin_inset Text
7824
7825 \begin_layout Standard
7826 Annamaria
7827 \end_layout
7828
7829 \end_inset
7830 </cell>
7831 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7832 \begin_inset Text
7833
7834 \begin_layout Standard
7835 555
7836 \end_layout
7837
7838 \end_inset
7839 </cell>
7840 </row>
7841 <row>
7842 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7843 \begin_inset Text
7844
7845 \begin_layout Standard
7846
7847 \series bold
7848 Feliciello
7849 \end_layout
7850
7851 \end_inset
7852 </cell>
7853 <cell alignment="center" valignment="top" topline="true" usebox="none">
7854 \begin_inset Text
7855
7856 \begin_layout Standard
7857 Domenico
7858 \end_layout
7859
7860 \end_inset
7861 </cell>
7862 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7863 \begin_inset Text
7864
7865 \begin_layout Standard
7866 555
7867 \end_layout
7868
7869 \end_inset
7870 </cell>
7871 </row>
7872 <row>
7873 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7874 \begin_inset Text
7875
7876 \begin_layout Standard
7877
7878 \series bold
7879 Focarelli
7880 \end_layout
7881
7882 \end_inset
7883 </cell>
7884 <cell alignment="center" valignment="top" topline="true" usebox="none">
7885 \begin_inset Text
7886
7887 \begin_layout Standard
7888 Paola
7889 \end_layout
7890
7891 \end_inset
7892 </cell>
7893 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7894 \begin_inset Text
7895
7896 \begin_layout Standard
7897 555
7898 \end_layout
7899
7900 \end_inset
7901 </cell>
7902 </row>
7903 <row>
7904 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7905 \begin_inset Text
7906
7907 \begin_layout Standard
7908
7909 \series bold
7910 Galletti
7911 \end_layout
7912
7913 \end_inset
7914 </cell>
7915 <cell alignment="center" valignment="top" topline="true" usebox="none">
7916 \begin_inset Text
7917
7918 \begin_layout Standard
7919 Oreste
7920 \end_layout
7921
7922 \end_inset
7923 </cell>
7924 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7925 \begin_inset Text
7926
7927 \begin_layout Standard
7928 555
7929 \end_layout
7930
7931 \end_inset
7932 </cell>
7933 </row>
7934 <row>
7935 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7936 \begin_inset Text
7937
7938 \begin_layout Standard
7939
7940 \series bold
7941 Gasparini
7942 \end_layout
7943
7944 \end_inset
7945 </cell>
7946 <cell alignment="center" valignment="top" topline="true" usebox="none">
7947 \begin_inset Text
7948
7949 \begin_layout Standard
7950 Franca
7951 \end_layout
7952
7953 \end_inset
7954 </cell>
7955 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7956 \begin_inset Text
7957
7958 \begin_layout Standard
7959 555
7960 \end_layout
7961
7962 \end_inset
7963 </cell>
7964 </row>
7965 <row>
7966 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7967 \begin_inset Text
7968
7969 \begin_layout Standard
7970
7971 \series bold
7972 Rizzardi
7973 \end_layout
7974
7975 \end_inset
7976 </cell>
7977 <cell alignment="center" valignment="top" topline="true" usebox="none">
7978 \begin_inset Text
7979
7980 \begin_layout Standard
7981 Paola
7982 \end_layout
7983
7984 \end_inset
7985 </cell>
7986 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7987 \begin_inset Text
7988
7989 \begin_layout Standard
7990 555
7991 \end_layout
7992
7993 \end_inset
7994 </cell>
7995 </row>
7996 <row>
7997 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7998 \begin_inset Text
7999
8000 \begin_layout Standard
8001
8002 \series bold
8003 Lassini
8004 \end_layout
8005
8006 \end_inset
8007 </cell>
8008 <cell alignment="center" valignment="top" topline="true" usebox="none">
8009 \begin_inset Text
8010
8011 \begin_layout Standard
8012 Giancarlo
8013 \end_layout
8014
8015 \end_inset
8016 </cell>
8017 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8018 \begin_inset Text
8019
8020 \begin_layout Standard
8021 555
8022 \end_layout
8023
8024 \end_inset
8025 </cell>
8026 </row>
8027 <row>
8028 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8029 \begin_inset Text
8030
8031 \begin_layout Standard
8032
8033 \series bold
8034 Malfatti
8035 \end_layout
8036
8037 \end_inset
8038 </cell>
8039 <cell alignment="center" valignment="top" topline="true" usebox="none">
8040 \begin_inset Text
8041
8042 \begin_layout Standard
8043 Luciano
8044 \end_layout
8045
8046 \end_inset
8047 </cell>
8048 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8049 \begin_inset Text
8050
8051 \begin_layout Standard
8052 555
8053 \end_layout
8054
8055 \end_inset
8056 </cell>
8057 </row>
8058 <row>
8059 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8060 \begin_inset Text
8061
8062 \begin_layout Standard
8063
8064 \series bold
8065 Malfatti
8066 \end_layout
8067
8068 \end_inset
8069 </cell>
8070 <cell alignment="center" valignment="top" topline="true" usebox="none">
8071 \begin_inset Text
8072
8073 \begin_layout Standard
8074 Valeriano
8075 \end_layout
8076
8077 \end_inset
8078 </cell>
8079 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8080 \begin_inset Text
8081
8082 \begin_layout Standard
8083 555
8084 \end_layout
8085
8086 \end_inset
8087 </cell>
8088 </row>
8089 <row>
8090 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8091 \begin_inset Text
8092
8093 \begin_layout Standard
8094
8095 \series bold
8096 Meneguzzo
8097 \end_layout
8098
8099 \end_inset
8100 </cell>
8101 <cell alignment="center" valignment="top" topline="true" usebox="none">
8102 \begin_inset Text
8103
8104 \begin_layout Standard
8105 Roberto
8106 \end_layout
8107
8108 \end_inset
8109 </cell>
8110 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8111 \begin_inset Text
8112
8113 \begin_layout Standard
8114 555
8115 \end_layout
8116
8117 \end_inset
8118 </cell>
8119 </row>
8120 <row bottomline="true">
8121 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8122 \begin_inset Text
8123
8124 \begin_layout Standard
8125
8126 \series bold
8127 Mezzadra
8128 \end_layout
8129
8130 \end_inset
8131 </cell>
8132 <cell alignment="center" valignment="top" topline="true" usebox="none">
8133 \begin_inset Text
8134
8135 \begin_layout Standard
8136 Roberto
8137 \end_layout
8138
8139 \end_inset
8140 </cell>
8141 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8142 \begin_inset Text
8143
8144 \begin_layout Standard
8145 555
8146 \end_layout
8147
8148 \end_inset
8149 </cell>
8150 </row>
8151 <row bottomline="true" endlastfoot="true">
8152 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
8153 \begin_inset Text
8154
8155 \begin_layout Standard
8156
8157 \end_layout
8158
8159 \end_inset
8160 </cell>
8161 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8162 \begin_inset Text
8163
8164 \begin_layout Standard
8165
8166 \end_layout
8167
8168 \end_inset
8169 </cell>
8170 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8171 \begin_inset Text
8172
8173 \begin_layout Standard
8174
8175 \end_layout
8176
8177 \end_inset
8178 </cell>
8179 </row>
8180 </lyxtabular>
8181
8182 \end_inset
8183
8184
8185 \end_layout
8186
8187 \begin_layout Section
8188 Special Longtable Issues
8189 \begin_inset LatexCommand label
8190 name "sec:Special-Longtable-Issues"
8191
8192 \end_inset
8193
8194
8195 \end_layout
8196
8197 \begin_layout Subsection
8198 Longtable Calculation
8199 \begin_inset LatexCommand index
8200 name "Longtables ! Calculation"
8201
8202 \end_inset
8203
8204
8205 \end_layout
8206
8207 \begin_layout Standard
8208 LaTeX calculates the height of table pages and their page breaks using so
8209  called chunks.
8210  Chunks are pieces of the tables that are at once in LaTeX's memory.
8211  The default value is historically set to only 20 table rows.
8212  If you are using longtables with many pages this may slow down the creation
8213  of your document.
8214  You can safely increase the chunk size to values of 100-1000 by adding
8215  this command line to your document preamble:
8216 \end_layout
8217
8218 \begin_layout Standard
8219
8220 \series bold
8221
8222 \backslash
8223 setcounter{LTchunksize}{100}
8224 \end_layout
8225
8226 \begin_layout Subsection
8227 Floats and Longtables
8228 \begin_inset LatexCommand index
8229 name "Longtables ! Floats"
8230
8231 \end_inset
8232
8233
8234 \end_layout
8235
8236 \begin_layout Standard
8237 There might be problems when a float appears on the same page where a longtable
8238  starts.
8239  To avoid such situation, add the command 
8240 \series bold
8241
8242 \backslash
8243 clearpage
8244 \series default
8245  as ERT before your longtable.
8246 \end_layout
8247
8248 \begin_layout Subsection
8249 Forced Page Breaks
8250 \begin_inset LatexCommand index
8251 name "Longtables ! Forced Page Breaks"
8252
8253 \end_inset
8254
8255
8256 \end_layout
8257
8258 \begin_layout Standard
8259 By default tables are only broken between rows.
8260  If you have a cell with multiples lines and want to have a page break within
8261  the cell, insert the new line command 
8262 \begin_inset Quotes eld
8263 \end_inset
8264
8265
8266 \series bold
8267
8268 \backslash
8269
8270 \backslash
8271
8272 \series default
8273
8274 \begin_inset Quotes erd
8275 \end_inset
8276
8277  as ERT at this point of the cell where it should be broken.
8278  Before the 
8279 \series bold
8280
8281 \backslash
8282
8283 \backslash
8284
8285 \series default
8286  command you have to insert in ERT so many 
8287 \begin_inset Quotes eld
8288 \end_inset
8289
8290
8291 \series bold
8292 &
8293 \series default
8294
8295 \begin_inset Quotes erd
8296 \end_inset
8297
8298  characters like the number of the following table columns.
8299  The 
8300 \series bold
8301 &
8302 \series default
8303  is the character to separate table cells.
8304  Write in ERT after each 
8305 \series bold
8306 &
8307 \series default
8308  the content of the corresponding following cell and delete the content
8309  of these cells.
8310 \newline
8311 Behind the the 
8312 \series bold
8313
8314 \backslash
8315
8316 \backslash
8317
8318 \series default
8319  command, insert so many 
8320 \series bold
8321 &
8322 \series default
8323  characters like the number of table columns before the current column.
8324  In Table\InsetSpace ~
8325
8326 \begin_inset LatexCommand ref
8327 reference "tab:ForcedPagebreak"
8328
8329 \end_inset
8330
8331  the cell that should be broken is in the second column followed by another
8332  column.
8333  Therefore the following command was inserted in the cell as ERT behind
8334  
8335 \begin_inset Quotes eld
8336 \end_inset
8337
8338
8339 \emph on
8340 Castelchiodato,
8341 \emph default
8342
8343 \begin_inset Quotes erd
8344 \end_inset
8345
8346 :
8347 \end_layout
8348
8349 \begin_layout Standard
8350
8351 \series bold
8352 & 111
8353 \backslash
8354
8355 \backslash
8356
8357 \newline
8358 &
8359 \end_layout
8360
8361 \begin_layout Standard
8362 The 
8363 \begin_inset Quotes eld
8364 \end_inset
8365
8366 111
8367 \begin_inset Quotes erd
8368 \end_inset
8369
8370  in the third columns of the row was deleted.
8371  If your footer row of the longtable has for a certain reason no upper line
8372  but you would have a horizontal line where the cell is broken, use this
8373  command instead:
8374 \end_layout
8375
8376 \begin_layout Standard
8377
8378 \series bold
8379 & 111
8380 \backslash
8381
8382 \backslash
8383
8384 \newline
8385
8386 \backslash
8387 hline &
8388 \end_layout
8389
8390 \begin_layout Standard
8391 When the cell to be broken is in the last column, the command
8392 \end_layout
8393
8394 \begin_layout Standard
8395
8396 \series bold
8397
8398 \backslash
8399 setlength{
8400 \backslash
8401 parf\SpecialChar \textcompwordmark{}
8402 illskip}{0pt}
8403 \end_layout
8404
8405 \begin_layout Standard
8406 must be inserted as ERT at the beginning of the cell.
8407  This assures that the part of the cell that will be displayed on the new
8408  page appears with the full width.
8409  
8410 \end_layout
8411
8412 \begin_layout Standard
8413 \align center
8414 \begin_inset Tabular
8415 <lyxtabular version="3" rows="39" columns="3">
8416 <features islongtable="true">
8417 <column alignment="left" valignment="top" leftline="true" width="0cm">
8418 <column alignment="left" valignment="top" rightline="true" width="3cm">
8419 <column alignment="right" valignment="top" rightline="true" width="0pt">
8420 <row endfirsthead="true">
8421 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8422 \begin_inset Text
8423
8424 \begin_layout Standard
8425 \begin_inset Caption
8426
8427 \begin_layout Standard
8428 Table with forced page break in table cell
8429 \begin_inset LatexCommand label
8430 name "tab:ForcedPagebreak"
8431
8432 \end_inset
8433
8434
8435 \begin_inset OptArg
8436 status collapsed
8437
8438 \begin_layout Standard
8439 Table with forced page break in table cell
8440 \end_layout
8441
8442 \end_inset
8443
8444
8445 \end_layout
8446
8447 \end_inset
8448
8449
8450 \begin_inset ERT
8451 status collapsed
8452
8453 \begin_layout Standard
8454
8455
8456 \backslash
8457
8458 \backslash
8459 %
8460 \end_layout
8461
8462 \end_inset
8463
8464
8465 \end_layout
8466
8467 \end_inset
8468 </cell>
8469 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8470 \begin_inset Text
8471
8472 \begin_layout Standard
8473
8474 \end_layout
8475
8476 \end_inset
8477 </cell>
8478 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8479 \begin_inset Text
8480
8481 \begin_layout Standard
8482
8483 \end_layout
8484
8485 \end_inset
8486 </cell>
8487 </row>
8488 <row topline="true" bottomline="true" endfirsthead="true">
8489 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8490 \begin_inset Text
8491
8492 \begin_layout Standard
8493
8494 \series bold
8495 Example Phone List (ignore the names)
8496 \end_layout
8497
8498 \end_inset
8499 </cell>
8500 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8501 \begin_inset Text
8502
8503 \begin_layout Standard
8504
8505 \end_layout
8506
8507 \end_inset
8508 </cell>
8509 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8510 \begin_inset Text
8511
8512 \begin_layout Standard
8513
8514 \end_layout
8515
8516 \end_inset
8517 </cell>
8518 </row>
8519 <row topline="true" bottomline="true" endfirsthead="true">
8520 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8521 \begin_inset Text
8522
8523 \begin_layout Standard
8524
8525 \series bold
8526 NAME
8527 \end_layout
8528
8529 \end_inset
8530 </cell>
8531 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8532 \begin_inset Text
8533
8534 \begin_layout Standard
8535
8536 \end_layout
8537
8538 \end_inset
8539 </cell>
8540 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8541 \begin_inset Text
8542
8543 \begin_layout Standard
8544
8545 \series bold
8546 TEL.
8547 \end_layout
8548
8549 \end_inset
8550 </cell>
8551 </row>
8552 <row bottomline="true" endhead="true">
8553 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8554 \begin_inset Text
8555
8556 \begin_layout Standard
8557 \begin_inset ERT
8558 status collapsed
8559
8560 \begin_layout Standard
8561
8562
8563 \backslash
8564 caption*{Continued table with forced page break in table cell}
8565 \backslash
8566
8567 \backslash
8568 %
8569 \end_layout
8570
8571 \end_inset
8572
8573
8574 \end_layout
8575
8576 \end_inset
8577 </cell>
8578 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8579 \begin_inset Text
8580
8581 \begin_layout Standard
8582
8583 \end_layout
8584
8585 \end_inset
8586 </cell>
8587 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8588 \begin_inset Text
8589
8590 \begin_layout Standard
8591
8592 \end_layout
8593
8594 \end_inset
8595 </cell>
8596 </row>
8597 <row topline="true" bottomline="true" endhead="true">
8598 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8599 \begin_inset Text
8600
8601 \begin_layout Standard
8602
8603 \series bold
8604  Example Phone List
8605 \end_layout
8606
8607 \end_inset
8608 </cell>
8609 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8610 \begin_inset Text
8611
8612 \begin_layout Standard
8613
8614 \end_layout
8615
8616 \end_inset
8617 </cell>
8618 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8619 \begin_inset Text
8620
8621 \begin_layout Standard
8622
8623 \end_layout
8624
8625 \end_inset
8626 </cell>
8627 </row>
8628 <row topline="true" bottomline="true" endhead="true">
8629 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8630 \begin_inset Text
8631
8632 \begin_layout Standard
8633
8634 \series bold
8635 NAME
8636 \end_layout
8637
8638 \end_inset
8639 </cell>
8640 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8641 \begin_inset Text
8642
8643 \begin_layout Standard
8644
8645 \end_layout
8646
8647 \end_inset
8648 </cell>
8649 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8650 \begin_inset Text
8651
8652 \begin_layout Standard
8653
8654 \series bold
8655 TEL.
8656 \end_layout
8657
8658 \end_inset
8659 </cell>
8660 </row>
8661 <row topline="true" bottomline="true" endfoot="true">
8662 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
8663 \begin_inset Text
8664
8665 \begin_layout Standard
8666 continued on next page
8667 \end_layout
8668
8669 \end_inset
8670 </cell>
8671 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8672 \begin_inset Text
8673
8674 \begin_layout Standard
8675
8676 \end_layout
8677
8678 \end_inset
8679 </cell>
8680 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8681 \begin_inset Text
8682
8683 \begin_layout Standard
8684
8685 \end_layout
8686
8687 \end_inset
8688 </cell>
8689 </row>
8690 <row>
8691 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8692 \begin_inset Text
8693
8694 \begin_layout Standard
8695
8696 \series bold
8697 Annovi
8698 \end_layout
8699
8700 \end_inset
8701 </cell>
8702 <cell alignment="center" valignment="top" topline="true" usebox="none">
8703 \begin_inset Text
8704
8705 \begin_layout Standard
8706 Silvia
8707 \end_layout
8708
8709 \end_inset
8710 </cell>
8711 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8712 \begin_inset Text
8713
8714 \begin_layout Standard
8715 111
8716 \end_layout
8717
8718 \end_inset
8719 </cell>
8720 </row>
8721 <row>
8722 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8723 \begin_inset Text
8724
8725 \begin_layout Standard
8726
8727 \series bold
8728 Bertoli
8729 \end_layout
8730
8731 \end_inset
8732 </cell>
8733 <cell alignment="center" valignment="top" topline="true" usebox="none">
8734 \begin_inset Text
8735
8736 \begin_layout Standard
8737 Stefano
8738 \end_layout
8739
8740 \end_inset
8741 </cell>
8742 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8743 \begin_inset Text
8744
8745 \begin_layout Standard
8746 111
8747 \end_layout
8748
8749 \end_inset
8750 </cell>
8751 </row>
8752 <row>
8753 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8754 \begin_inset Text
8755
8756 \begin_layout Standard
8757
8758 \series bold
8759 Bozzi
8760 \end_layout
8761
8762 \end_inset
8763 </cell>
8764 <cell alignment="center" valignment="top" topline="true" usebox="none">
8765 \begin_inset Text
8766
8767 \begin_layout Standard
8768 Walter
8769 \end_layout
8770
8771 \end_inset
8772 </cell>
8773 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8774 \begin_inset Text
8775
8776 \begin_layout Standard
8777 111
8778 \end_layout
8779
8780 \end_inset
8781 </cell>
8782 </row>
8783 <row>
8784 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8785 \begin_inset Text
8786
8787 \begin_layout Standard
8788
8789 \series bold
8790 Cachia
8791 \end_layout
8792
8793 \end_inset
8794 </cell>
8795 <cell alignment="center" valignment="top" topline="true" usebox="none">
8796 \begin_inset Text
8797
8798 \begin_layout Standard
8799 Maria
8800 \end_layout
8801
8802 \end_inset
8803 </cell>
8804 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8805 \begin_inset Text
8806
8807 \begin_layout Standard
8808 111
8809 \end_layout
8810
8811 \end_inset
8812 </cell>
8813 </row>
8814 <row>
8815 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8816 \begin_inset Text
8817
8818 \begin_layout Standard
8819
8820 \series bold
8821 Cachia
8822 \end_layout
8823
8824 \end_inset
8825 </cell>
8826 <cell alignment="center" valignment="top" topline="true" usebox="none">
8827 \begin_inset Text
8828
8829 \begin_layout Standard
8830 Maurizio
8831 \end_layout
8832
8833 \end_inset
8834 </cell>
8835 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8836 \begin_inset Text
8837
8838 \begin_layout Standard
8839 111
8840 \end_layout
8841
8842 \end_inset
8843 </cell>
8844 </row>
8845 <row>
8846 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8847 \begin_inset Text
8848
8849 \begin_layout Standard
8850
8851 \series bold
8852 Cinquemani
8853 \end_layout
8854
8855 \end_inset
8856 </cell>
8857 <cell alignment="center" valignment="top" topline="true" usebox="none">
8858 \begin_inset Text
8859
8860 \begin_layout Standard
8861 Giusi
8862 \end_layout
8863
8864 \end_inset
8865 </cell>
8866 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8867 \begin_inset Text
8868
8869 \begin_layout Standard
8870 111
8871 \end_layout
8872
8873 \end_inset
8874 </cell>
8875 </row>
8876 <row>
8877 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8878 \begin_inset Text
8879
8880 \begin_layout Standard
8881
8882 \series bold
8883 Colin
8884 \end_layout
8885
8886 \end_inset
8887 </cell>
8888 <cell alignment="center" valignment="top" topline="true" usebox="none">
8889 \begin_inset Text
8890
8891 \begin_layout Standard
8892 Bernard
8893 \end_layout
8894
8895 \end_inset
8896 </cell>
8897 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8898 \begin_inset Text
8899
8900 \begin_layout Standard
8901 111
8902 \end_layout
8903
8904 \end_inset
8905 </cell>
8906 </row>
8907 <row>
8908 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8909 \begin_inset Text
8910
8911 \begin_layout Standard
8912
8913 \series bold
8914 Concli
8915 \end_layout
8916
8917 \end_inset
8918 </cell>
8919 <cell alignment="center" valignment="top" topline="true" usebox="none">
8920 \begin_inset Text
8921
8922 \begin_layout Standard
8923 Gianfranco
8924 \end_layout
8925
8926 \end_inset
8927 </cell>
8928 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8929 \begin_inset Text
8930
8931 \begin_layout Standard
8932 111
8933 \end_layout
8934
8935 \end_inset
8936 </cell>
8937 </row>
8938 <row>
8939 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8940 \begin_inset Text
8941
8942 \begin_layout Standard
8943
8944 \series bold
8945 Dal Bosco
8946 \end_layout
8947
8948 \end_inset
8949 </cell>
8950 <cell alignment="center" valignment="top" topline="true" usebox="none">
8951 \begin_inset Text
8952
8953 \begin_layout Standard
8954 Carolina
8955 \end_layout
8956
8957 \end_inset
8958 </cell>
8959 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8960 \begin_inset Text
8961
8962 \begin_layout Standard
8963 111
8964 \end_layout
8965
8966 \end_inset
8967 </cell>
8968 </row>
8969 <row>
8970 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8971 \begin_inset Text
8972
8973 \begin_layout Standard
8974
8975 \series bold
8976 Dalpiaz
8977 \end_layout
8978
8979 \end_inset
8980 </cell>
8981 <cell alignment="center" valignment="top" topline="true" usebox="none">
8982 \begin_inset Text
8983
8984 \begin_layout Standard
8985 Annamaria
8986 \end_layout
8987
8988 \end_inset
8989 </cell>
8990 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8991 \begin_inset Text
8992
8993 \begin_layout Standard
8994 111
8995 \end_layout
8996
8997 \end_inset
8998 </cell>
8999 </row>
9000 <row>
9001 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9002 \begin_inset Text
9003
9004 \begin_layout Standard
9005
9006 \series bold
9007 Feliciello
9008 \end_layout
9009
9010 \end_inset
9011 </cell>
9012 <cell alignment="center" valignment="top" topline="true" usebox="none">
9013 \begin_inset Text
9014
9015 \begin_layout Standard
9016 Domenico
9017 \end_layout
9018
9019 \end_inset
9020 </cell>
9021 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9022 \begin_inset Text
9023
9024 \begin_layout Standard
9025 111
9026 \end_layout
9027
9028 \end_inset
9029 </cell>
9030 </row>
9031 <row>
9032 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9033 \begin_inset Text
9034
9035 \begin_layout Standard
9036
9037 \series bold
9038 Focarelli
9039 \end_layout
9040
9041 \end_inset
9042 </cell>
9043 <cell alignment="center" valignment="top" topline="true" usebox="none">
9044 \begin_inset Text
9045
9046 \begin_layout Standard
9047 Paola
9048 \end_layout
9049
9050 \end_inset
9051 </cell>
9052 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9053 \begin_inset Text
9054
9055 \begin_layout Standard
9056 111
9057 \end_layout
9058
9059 \end_inset
9060 </cell>
9061 </row>
9062 <row>
9063 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9064 \begin_inset Text
9065
9066 \begin_layout Standard
9067
9068 \series bold
9069 Galletti
9070 \end_layout
9071
9072 \end_inset
9073 </cell>
9074 <cell alignment="center" valignment="top" topline="true" usebox="none">
9075 \begin_inset Text
9076
9077 \begin_layout Standard
9078 Oreste
9079 \end_layout
9080
9081 \end_inset
9082 </cell>
9083 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9084 \begin_inset Text
9085
9086 \begin_layout Standard
9087 111
9088 \end_layout
9089
9090 \end_inset
9091 </cell>
9092 </row>
9093 <row>
9094 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9095 \begin_inset Text
9096
9097 \begin_layout Standard
9098
9099 \series bold
9100 Gasparini
9101 \end_layout
9102
9103 \end_inset
9104 </cell>
9105 <cell alignment="center" valignment="top" topline="true" usebox="none">
9106 \begin_inset Text
9107
9108 \begin_layout Standard
9109 Franca
9110 \end_layout
9111
9112 \end_inset
9113 </cell>
9114 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9115 \begin_inset Text
9116
9117 \begin_layout Standard
9118 111
9119 \end_layout
9120
9121 \end_inset
9122 </cell>
9123 </row>
9124 <row>
9125 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9126 \begin_inset Text
9127
9128 \begin_layout Standard
9129
9130 \series bold
9131 Lassini
9132 \end_layout
9133
9134 \end_inset
9135 </cell>
9136 <cell alignment="center" valignment="top" topline="true" usebox="none">
9137 \begin_inset Text
9138
9139 \begin_layout Standard
9140 Giancarlo
9141 \end_layout
9142
9143 \end_inset
9144 </cell>
9145 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9146 \begin_inset Text
9147
9148 \begin_layout Standard
9149 111
9150 \end_layout
9151
9152 \end_inset
9153 </cell>
9154 </row>
9155 <row>
9156 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9157 \begin_inset Text
9158
9159 \begin_layout Standard
9160
9161 \series bold
9162 Malfatti
9163 \end_layout
9164
9165 \end_inset
9166 </cell>
9167 <cell alignment="center" valignment="top" topline="true" usebox="none">
9168 \begin_inset Text
9169
9170 \begin_layout Standard
9171 Luciano
9172 \end_layout
9173
9174 \end_inset
9175 </cell>
9176 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9177 \begin_inset Text
9178
9179 \begin_layout Standard
9180 111
9181 \end_layout
9182
9183 \end_inset
9184 </cell>
9185 </row>
9186 <row>
9187 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9188 \begin_inset Text
9189
9190 \begin_layout Standard
9191
9192 \series bold
9193 Malfatti
9194 \end_layout
9195
9196 \end_inset
9197 </cell>
9198 <cell alignment="center" valignment="top" topline="true" usebox="none">
9199 \begin_inset Text
9200
9201 \begin_layout Standard
9202 Valeriano
9203 \end_layout
9204
9205 \end_inset
9206 </cell>
9207 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9208 \begin_inset Text
9209
9210 \begin_layout Standard
9211 111
9212 \end_layout
9213
9214 \end_inset
9215 </cell>
9216 </row>
9217 <row>
9218 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9219 \begin_inset Text
9220
9221 \begin_layout Standard
9222
9223 \series bold
9224 Meneguzzo
9225 \end_layout
9226
9227 \end_inset
9228 </cell>
9229 <cell alignment="center" valignment="top" topline="true" usebox="none">
9230 \begin_inset Text
9231
9232 \begin_layout Standard
9233 Roberto
9234 \end_layout
9235
9236 \end_inset
9237 </cell>
9238 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9239 \begin_inset Text
9240
9241 \begin_layout Standard
9242 111
9243 \end_layout
9244
9245 \end_inset
9246 </cell>
9247 </row>
9248 <row>
9249 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9250 \begin_inset Text
9251
9252 \begin_layout Standard
9253
9254 \series bold
9255 Mezzadra
9256 \end_layout
9257
9258 \end_inset
9259 </cell>
9260 <cell alignment="center" valignment="top" topline="true" usebox="none">
9261 \begin_inset Text
9262
9263 \begin_layout Standard
9264 Roberto
9265 \end_layout
9266
9267 \end_inset
9268 </cell>
9269 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9270 \begin_inset Text
9271
9272 \begin_layout Standard
9273 111
9274 \end_layout
9275
9276 \end_inset
9277 </cell>
9278 </row>
9279 <row>
9280 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9281 \begin_inset Text
9282
9283 \begin_layout Standard
9284
9285 \series bold
9286 Pirpamer
9287 \end_layout
9288
9289 \end_inset
9290 </cell>
9291 <cell alignment="center" valignment="top" topline="true" usebox="none">
9292 \begin_inset Text
9293
9294 \begin_layout Standard
9295 Erich
9296 \end_layout
9297
9298 \end_inset
9299 </cell>
9300 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9301 \begin_inset Text
9302
9303 \begin_layout Standard
9304 111
9305 \end_layout
9306
9307 \end_inset
9308 </cell>
9309 </row>
9310 <row>
9311 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9312 \begin_inset Text
9313
9314 \begin_layout Standard
9315
9316 \series bold
9317 Pochiesa
9318 \end_layout
9319
9320 \end_inset
9321 </cell>
9322 <cell alignment="center" valignment="top" topline="true" usebox="none">
9323 \begin_inset Text
9324
9325 \begin_layout Standard
9326 Paolo
9327 \end_layout
9328
9329 \end_inset
9330 </cell>
9331 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9332 \begin_inset Text
9333
9334 \begin_layout Standard
9335 111, 222
9336 \end_layout
9337
9338 \end_inset
9339 </cell>
9340 </row>
9341 <row>
9342 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9343 \begin_inset Text
9344
9345 \begin_layout Standard
9346
9347 \series bold
9348 Radina
9349 \end_layout
9350
9351 \end_inset
9352 </cell>
9353 <cell alignment="center" valignment="top" topline="true" usebox="none">
9354 \begin_inset Text
9355
9356 \begin_layout Standard
9357 Claudio
9358 \end_layout
9359
9360 \end_inset
9361 </cell>
9362 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9363 \begin_inset Text
9364
9365 \begin_layout Standard
9366 111
9367 \end_layout
9368
9369 \end_inset
9370 </cell>
9371 </row>
9372 <row>
9373 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9374 \begin_inset Text
9375
9376 \begin_layout Standard
9377
9378 \series bold
9379 Rizzardi
9380 \end_layout
9381
9382 \end_inset
9383 </cell>
9384 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9385 \begin_inset Text
9386
9387 \begin_layout Standard
9388 Paolo, 11.
9389  Fürst von Montecompatri, 11.
9390  Fürst von Sulmona und Vivaro, 10.
9391  Fürst von Rossano, 5.
9392  Herzog von Canemorte, 11.
9393  Herzog von Palombara, 5.
9394  Herzog von Castelchiodato,
9395 \begin_inset ERT
9396 status collapsed
9397
9398 \begin_layout Standard
9399
9400 & 111
9401 \backslash
9402
9403 \backslash
9404
9405 \end_layout
9406
9407 \begin_layout Standard
9408
9409 &
9410 \end_layout
9411
9412 \end_inset
9413
9414  11.
9415  Herzog von Poggionativo, 11.
9416  Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
9417  Graf von Valinfreda, 11.
9418  Baron von Cropalati, 11.
9419  Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
9420 \end_layout
9421
9422 \end_inset
9423 </cell>
9424 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9425 \begin_inset Text
9426
9427 \begin_layout Standard
9428
9429 \end_layout
9430
9431 \end_inset
9432 </cell>
9433 </row>
9434 <row>
9435 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9436 \begin_inset Text
9437
9438 \begin_layout Standard
9439
9440 \series bold
9441 Stuffer
9442 \end_layout
9443
9444 \end_inset
9445 </cell>
9446 <cell alignment="center" valignment="top" topline="true" usebox="none">
9447 \begin_inset Text
9448
9449 \begin_layout Standard
9450 Oskar
9451 \end_layout
9452
9453 \end_inset
9454 </cell>
9455 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9456 \begin_inset Text
9457
9458 \begin_layout Standard
9459 111
9460 \end_layout
9461
9462 \end_inset
9463 </cell>
9464 </row>
9465 <row>
9466 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9467 \begin_inset Text
9468
9469 \begin_layout Standard
9470
9471 \series bold
9472 Tacchelli
9473 \end_layout
9474
9475 \end_inset
9476 </cell>
9477 <cell alignment="center" valignment="top" topline="true" usebox="none">
9478 \begin_inset Text
9479
9480 \begin_layout Standard
9481 Ugo
9482 \end_layout
9483
9484 \end_inset
9485 </cell>
9486 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9487 \begin_inset Text
9488
9489 \begin_layout Standard
9490 111
9491 \end_layout
9492
9493 \end_inset
9494 </cell>
9495 </row>
9496 <row>
9497 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9498 \begin_inset Text
9499
9500 \begin_layout Standard
9501
9502 \series bold
9503 Tezzele
9504 \end_layout
9505
9506 \end_inset
9507 </cell>
9508 <cell alignment="center" valignment="top" topline="true" usebox="none">
9509 \begin_inset Text
9510
9511 \begin_layout Standard
9512 Margit
9513 \end_layout
9514
9515 \end_inset
9516 </cell>
9517 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9518 \begin_inset Text
9519
9520 \begin_layout Standard
9521 111
9522 \end_layout
9523
9524 \end_inset
9525 </cell>
9526 </row>
9527 <row>
9528 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9529 \begin_inset Text
9530
9531 \begin_layout Standard
9532
9533 \series bold
9534 Unterkalmsteiner
9535 \end_layout
9536
9537 \end_inset
9538 </cell>
9539 <cell alignment="center" valignment="top" topline="true" usebox="none">
9540 \begin_inset Text
9541
9542 \begin_layout Standard
9543 Frieda
9544 \end_layout
9545
9546 \end_inset
9547 </cell>
9548 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9549 \begin_inset Text
9550
9551 \begin_layout Standard
9552 111
9553 \end_layout
9554
9555 \end_inset
9556 </cell>
9557 </row>
9558 <row>
9559 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9560 \begin_inset Text
9561
9562 \begin_layout Standard
9563
9564 \series bold
9565 Vieider
9566 \end_layout
9567
9568 \end_inset
9569 </cell>
9570 <cell alignment="center" valignment="top" topline="true" usebox="none">
9571 \begin_inset Text
9572
9573 \begin_layout Standard
9574 Hilde
9575 \end_layout
9576
9577 \end_inset
9578 </cell>
9579 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9580 \begin_inset Text
9581
9582 \begin_layout Standard
9583 111
9584 \end_layout
9585
9586 \end_inset
9587 </cell>
9588 </row>
9589 <row>
9590 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9591 \begin_inset Text
9592
9593 \begin_layout Standard
9594
9595 \series bold
9596 Vigna
9597 \end_layout
9598
9599 \end_inset
9600 </cell>
9601 <cell alignment="center" valignment="top" topline="true" usebox="none">
9602 \begin_inset Text
9603
9604 \begin_layout Standard
9605 Jürgen
9606 \end_layout
9607
9608 \end_inset
9609 </cell>
9610 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9611 \begin_inset Text
9612
9613 \begin_layout Standard
9614 111
9615 \end_layout
9616
9617 \end_inset
9618 </cell>
9619 </row>
9620 <row>
9621 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9622 \begin_inset Text
9623
9624 \begin_layout Standard
9625
9626 \series bold
9627 Weber
9628 \end_layout
9629
9630 \end_inset
9631 </cell>
9632 <cell alignment="center" valignment="top" topline="true" usebox="none">
9633 \begin_inset Text
9634
9635 \begin_layout Standard
9636 Maurizio
9637 \end_layout
9638
9639 \end_inset
9640 </cell>
9641 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9642 \begin_inset Text
9643
9644 \begin_layout Standard
9645 111
9646 \end_layout
9647
9648 \end_inset
9649 </cell>
9650 </row>
9651 <row bottomline="true">
9652 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9653 \begin_inset Text
9654
9655 \begin_layout Standard
9656
9657 \series bold
9658 Winkler
9659 \end_layout
9660
9661 \end_inset
9662 </cell>
9663 <cell alignment="center" valignment="top" topline="true" usebox="none">
9664 \begin_inset Text
9665
9666 \begin_layout Standard
9667 Franz
9668 \end_layout
9669
9670 \end_inset
9671 </cell>
9672 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9673 \begin_inset Text
9674
9675 \begin_layout Standard
9676 111
9677 \end_layout
9678
9679 \end_inset
9680 </cell>
9681 </row>
9682 <row endlastfoot="true">
9683 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
9684 \begin_inset Text
9685
9686 \begin_layout Standard
9687
9688 \end_layout
9689
9690 \end_inset
9691 </cell>
9692 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9693 \begin_inset Text
9694
9695 \begin_layout Standard
9696
9697 \end_layout
9698
9699 \end_inset
9700 </cell>
9701 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9702 \begin_inset Text
9703
9704 \begin_layout Standard
9705
9706 \end_layout
9707
9708 \end_inset
9709 </cell>
9710 </row>
9711 </lyxtabular>
9712
9713 \end_inset
9714
9715
9716 \end_layout
9717
9718 \begin_layout Section
9719 Multiple Lines Columns and Rows
9720 \end_layout
9721
9722 \begin_layout Subsection
9723 Multiple Lines in Table Cells
9724 \begin_inset LatexCommand label
9725 name "sub:Multiple-Lines-in"
9726
9727 \end_inset
9728
9729
9730 \begin_inset LatexCommand index
9731 name "Multiple Lines in Table Cells"
9732
9733 \end_inset
9734
9735
9736 \begin_inset LatexCommand index
9737 name "Table ! Linebreaks"
9738
9739 \end_inset
9740
9741
9742 \end_layout
9743
9744 \begin_layout Standard
9745 \align center
9746 \begin_inset Float table
9747 placement H
9748 wide false
9749 sideways false
9750 status collapsed
9751
9752 \begin_layout Standard
9753 \begin_inset Caption
9754
9755 \begin_layout Standard
9756 \begin_inset LatexCommand label
9757 name "tab:Table-with-multiple"
9758
9759 \end_inset
9760
9761 Table with multiple lines in cells
9762 \end_layout
9763
9764 \end_inset
9765
9766
9767 \end_layout
9768
9769 \begin_layout Standard
9770 \align center
9771 \begin_inset Tabular
9772 <lyxtabular version="3" rows="3" columns="3">
9773 <features>
9774 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
9775 <column alignment="center" valignment="middle" leftline="true" width="0.5cm">
9776 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0.5cm">
9777 <row topline="true">
9778 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9779 \begin_inset Text
9780
9781 \begin_layout Standard
9782 multiple
9783 \begin_inset ERT
9784 status collapsed
9785
9786 \begin_layout Standard
9787
9788
9789 \backslash
9790 linebreak 
9791 \end_layout
9792
9793 \end_inset
9794
9795  lines
9796 \end_layout
9797
9798 \end_inset
9799 </cell>
9800 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9801 \begin_inset Text
9802
9803 \begin_layout Standard
9804 b
9805 \end_layout
9806
9807 \end_inset
9808 </cell>
9809 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9810 \begin_inset Text
9811
9812 \begin_layout Standard
9813 c
9814 \end_layout
9815
9816 \end_inset
9817 </cell>
9818 </row>
9819 <row topline="true">
9820 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9821 \begin_inset Text
9822
9823 \begin_layout Standard
9824 d
9825 \end_layout
9826
9827 \end_inset
9828 </cell>
9829 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9830 \begin_inset Text
9831
9832 \begin_layout Standard
9833 e
9834 \end_layout
9835
9836 \end_inset
9837 </cell>
9838 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9839 \begin_inset Text
9840
9841 \begin_layout Standard
9842 f
9843 \end_layout
9844
9845 \end_inset
9846 </cell>
9847 </row>
9848 <row topline="true" bottomline="true">
9849 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9850 \begin_inset Text
9851
9852 \begin_layout Standard
9853 g
9854 \end_layout
9855
9856 \end_inset
9857 </cell>
9858 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9859 \begin_inset Text
9860
9861 \begin_layout Standard
9862 h
9863 \end_layout
9864
9865 \end_inset
9866 </cell>
9867 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9868 \begin_inset Text
9869
9870 \begin_layout Standard
9871 i
9872 \end_layout
9873
9874 \end_inset
9875 </cell>
9876 </row>
9877 </lyxtabular>
9878
9879 \end_inset
9880
9881
9882 \end_layout
9883
9884 \end_inset
9885
9886
9887 \end_layout
9888
9889 \begin_layout Standard
9890 Adjusting a fixed width for a column, enables to enter text as a paragraph
9891  with multiple lines and hyphenations.
9892 \end_layout
9893
9894 \begin_layout Standard
9895 To produce Table\InsetSpace ~
9896
9897 \begin_inset LatexCommand ref
9898 reference "tab:Table-with-multiple"
9899
9900 \end_inset
9901
9902 , create a 3×3 table, mark the first cell and right-click on it.
9903  In the appearing table dialog we set a cell width of 2.5\InsetSpace \thinspace{}
9904 cm and choose centered
9905  for the vertical and horizontal alignment.
9906  As our text is smaller than than 2.5\InsetSpace \thinspace{}
9907 cm, only one line will appear.
9908  To get two lines, we add a line break with the command
9909 \end_layout
9910
9911 \begin_layout Standard
9912
9913 \series bold
9914
9915 \backslash
9916 linebreak
9917 \end_layout
9918
9919 \begin_layout Standard
9920 in ERT.
9921  If the text is wider than the set cell width it will automatically be broken
9922  to several lines.
9923 \end_layout
9924
9925 \begin_layout Standard
9926 To center the text inside the two other cells of the first row vertically,
9927  right-click in the second cell, adjust a fixed width of 0.5\InsetSpace \thinspace{}
9928 cm and choose
9929  centered alignments.
9930  Then do the same for the third cell of the row.
9931 \end_layout
9932
9933 \begin_layout Standard
9934 If you have a long word in a cell with a fixed width, it cannot be hyphenated
9935  by LaTeX if it is the first entry.
9936  Therefore you need to insert something, to make the word not being the
9937  first entry: Add the command
9938 \end_layout
9939
9940 \begin_layout Standard
9941
9942 \series bold
9943
9944 \backslash
9945 hspace{0pt}
9946 \end_layout
9947
9948 \begin_layout Standard
9949 in ERT before the word.
9950  As the space is zero, it doesn't change the output.
9951  Table\InsetSpace ~
9952
9953 \begin_inset LatexCommand ref
9954 reference "tab:Table-with-and"
9955
9956 \end_inset
9957
9958  shows the effect.
9959 \end_layout
9960
9961 \begin_layout Standard
9962 \begin_inset Float table
9963 wide false
9964 sideways false
9965 status open
9966
9967 \begin_layout Standard
9968 \begin_inset Caption
9969
9970 \begin_layout Standard
9971 \begin_inset LatexCommand label
9972 name "tab:Table-with-and"
9973
9974 \end_inset
9975
9976 Table with and without hyphenation
9977 \end_layout
9978
9979 \end_inset
9980
9981
9982 \end_layout
9983
9984 \begin_layout Standard
9985
9986 \hfill
9987
9988 \begin_inset Tabular
9989 <lyxtabular version="3" rows="3" columns="3">
9990 <features>
9991 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
9992 <column alignment="center" valignment="middle" leftline="true" width="0.5cm">
9993 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0.5cm">
9994 <row topline="true">
9995 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9996 \begin_inset Text
9997
9998 \begin_layout Standard
9999 verylongtablecellword
10000 \end_layout
10001
10002 \end_inset
10003 </cell>
10004 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10005 \begin_inset Text
10006
10007 \begin_layout Standard
10008 b
10009 \end_layout
10010
10011 \end_inset
10012 </cell>
10013 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10014 \begin_inset Text
10015
10016 \begin_layout Standard
10017 c
10018 \end_layout
10019
10020 \end_inset
10021 </cell>
10022 </row>
10023 <row topline="true">
10024 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10025 \begin_inset Text
10026
10027 \begin_layout Standard
10028 d
10029 \end_layout
10030
10031 \end_inset
10032 </cell>
10033 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10034 \begin_inset Text
10035
10036 \begin_layout Standard
10037 e
10038 \end_layout
10039
10040 \end_inset
10041 </cell>
10042 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10043 \begin_inset Text
10044
10045 \begin_layout Standard
10046 f
10047 \end_layout
10048
10049 \end_inset
10050 </cell>
10051 </row>
10052 <row topline="true" bottomline="true">
10053 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10054 \begin_inset Text
10055
10056 \begin_layout Standard
10057 g
10058 \end_layout
10059
10060 \end_inset
10061 </cell>
10062 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10063 \begin_inset Text
10064
10065 \begin_layout Standard
10066 h
10067 \end_layout
10068
10069 \end_inset
10070 </cell>
10071 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10072 \begin_inset Text
10073
10074 \begin_layout Standard
10075 i
10076 \end_layout
10077
10078 \end_inset
10079 </cell>
10080 </row>
10081 </lyxtabular>
10082
10083 \end_inset
10084
10085
10086 \hfill
10087
10088 \begin_inset Tabular
10089 <lyxtabular version="3" rows="3" columns="3">
10090 <features>
10091 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10092 <column alignment="center" valignment="middle" leftline="true" width="0.5cm">
10093 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0.5cm">
10094 <row topline="true">
10095 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10096 \begin_inset Text
10097
10098 \begin_layout Standard
10099 \begin_inset ERT
10100 status collapsed
10101
10102 \begin_layout Standard
10103
10104
10105 \backslash
10106 hspace{0pt}
10107 \end_layout
10108
10109 \end_inset
10110
10111 verylongtablecellword
10112 \end_layout
10113
10114 \end_inset
10115 </cell>
10116 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10117 \begin_inset Text
10118
10119 \begin_layout Standard
10120 b
10121 \end_layout
10122
10123 \end_inset
10124 </cell>
10125 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10126 \begin_inset Text
10127
10128 \begin_layout Standard
10129 c
10130 \end_layout
10131
10132 \end_inset
10133 </cell>
10134 </row>
10135 <row topline="true">
10136 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10137 \begin_inset Text
10138
10139 \begin_layout Standard
10140 d
10141 \end_layout
10142
10143 \end_inset
10144 </cell>
10145 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10146 \begin_inset Text
10147
10148 \begin_layout Standard
10149 e
10150 \end_layout
10151
10152 \end_inset
10153 </cell>
10154 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10155 \begin_inset Text
10156
10157 \begin_layout Standard
10158 f
10159 \end_layout
10160
10161 \end_inset
10162 </cell>
10163 </row>
10164 <row topline="true" bottomline="true">
10165 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10166 \begin_inset Text
10167
10168 \begin_layout Standard
10169 g
10170 \end_layout
10171
10172 \end_inset
10173 </cell>
10174 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10175 \begin_inset Text
10176
10177 \begin_layout Standard
10178 h
10179 \end_layout
10180
10181 \end_inset
10182 </cell>
10183 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10184 \begin_inset Text
10185
10186 \begin_layout Standard
10187 i
10188 \end_layout
10189
10190 \end_inset
10191 </cell>
10192 </row>
10193 </lyxtabular>
10194
10195 \end_inset
10196
10197
10198 \hfill
10199
10200 \end_layout
10201
10202 \end_inset
10203
10204
10205 \end_layout
10206
10207 \begin_layout Standard
10208
10209 \newpage
10210
10211 \end_layout
10212
10213 \begin_layout Subsection
10214 Multicolumns
10215 \begin_inset LatexCommand label
10216 name "sub:Multicolumns"
10217
10218 \end_inset
10219
10220
10221 \begin_inset LatexCommand index
10222 name "Multicolumns"
10223
10224 \end_inset
10225
10226
10227 \begin_inset LatexCommand index
10228 name "Table ! Multicolumns"
10229
10230 \end_inset
10231
10232
10233 \end_layout
10234
10235 \begin_layout Subsubsection
10236 Multicolumn Basics
10237 \end_layout
10238
10239 \begin_layout Standard
10240 To span a cell over multiple columns, mark as much cells within a line that
10241  should be one spanned cell and use either the table-toolbar button 
10242 \begin_inset Graphics
10243         filename ../images/tabular-feature_multicolumn.xpm
10244         scale 85
10245
10246 \end_inset
10247
10248 , or the menu 
10249 \family sans
10250 Edit\SpecialChar \menuseparator
10251 Table\SpecialChar \menuseparator
10252 Multicolumn
10253 \family default
10254 , or right click on the marked cells and choose multicolumn in the appearing
10255  table dialog under the tab 
10256 \family sans
10257 Table Settings
10258 \family default
10259 .
10260 \end_layout
10261
10262 \begin_layout Standard
10263 Multicolumns have there own cell settings.
10264  That means changing cell borders, cell alignment, and the width only affects
10265  the multicolumn.
10266  Here is an example table with a multicolumn cell in the first row and one
10267  in the last row without the upper border:
10268 \end_layout
10269
10270 \begin_layout Standard
10271 \align center
10272 \begin_inset Tabular
10273 <lyxtabular version="3" rows="3" columns="4">
10274 <features firstHeadTopDL="true" firstHeadBottomDL="true">
10275 <column alignment="center" valignment="top" leftline="true" width="0pt">
10276 <column alignment="center" valignment="middle" leftline="true" width="0">
10277 <column alignment="center" valignment="top" leftline="true" width="0in">
10278 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
10279 <row topline="true" bottomline="true">
10280 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10281 \begin_inset Text
10282
10283 \begin_layout Standard
10284 abc
10285 \end_layout
10286
10287 \end_inset
10288 </cell>
10289 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
10290 \begin_inset Text
10291
10292 \begin_layout Standard
10293 def
10294 \lang ngerman
10295  
10296 \lang english
10297 ghi
10298 \end_layout
10299
10300 \end_inset
10301 </cell>
10302 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10303 \begin_inset Text
10304
10305 \begin_layout Standard
10306
10307 \end_layout
10308
10309 \end_inset
10310 </cell>
10311 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10312 \begin_inset Text
10313
10314 \begin_layout Standard
10315 jkl
10316 \end_layout
10317
10318 \end_inset
10319 </cell>
10320 </row>
10321 <row topline="true">
10322 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10323 \begin_inset Text
10324
10325 \begin_layout Standard
10326
10327 \family roman
10328 \series medium
10329 \shape up
10330 \size normal
10331 \emph off
10332 \bar no
10333 \noun off
10334 \color none
10335 A
10336 \end_layout
10337
10338 \end_inset
10339 </cell>
10340 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10341 \begin_inset Text
10342
10343 \begin_layout Standard
10344 B
10345 \end_layout
10346
10347 \end_inset
10348 </cell>
10349 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10350 \begin_inset Text
10351
10352 \begin_layout Standard
10353 C
10354 \end_layout
10355
10356 \end_inset
10357 </cell>
10358 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10359 \begin_inset Text
10360
10361 \begin_layout Standard
10362 D
10363 \end_layout
10364
10365 \end_inset
10366 </cell>
10367 </row>
10368 <row topline="true" bottomline="true">
10369 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10370 \begin_inset Text
10371
10372 \begin_layout Standard
10373 1
10374 \end_layout
10375
10376 \end_inset
10377 </cell>
10378 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10379 \begin_inset Text
10380
10381 \begin_layout Standard
10382 2
10383 \end_layout
10384
10385 \end_inset
10386 </cell>
10387 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10388 \begin_inset Text
10389
10390 \begin_layout Standard
10391 3
10392 \end_layout
10393
10394 \end_inset
10395 </cell>
10396 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10397 \begin_inset Text
10398
10399 \begin_layout Standard
10400 4
10401 \end_layout
10402
10403 \end_inset
10404 </cell>
10405 </row>
10406 </lyxtabular>
10407
10408 \end_inset
10409
10410
10411 \end_layout
10412
10413 \begin_layout Subsubsection
10414 Multicolumn Calculations
10415 \begin_inset LatexCommand label
10416 name "sub:Multicolumn-Calculations"
10417
10418 \end_inset
10419
10420
10421 \begin_inset LatexCommand index
10422 name "Multicolumns ! Calculations"
10423
10424 \end_inset
10425
10426
10427 \end_layout
10428
10429 \begin_layout Standard
10430 LyX supports multicolumns directly, but we have to take notice of the cell
10431  width of the columns spanned by the multicolumn cell.
10432 \end_layout
10433
10434 \begin_layout Standard
10435 \begin_inset Float table
10436 wide false
10437 sideways false
10438 status open
10439
10440 \begin_layout Standard
10441 \begin_inset Caption
10442
10443 \begin_layout Standard
10444 \begin_inset LatexCommand label
10445 name "tab:Table-with-centered"
10446
10447 \end_inset
10448
10449 Table with centered multicolumn text above two columns that have exactly
10450  half the width of the multicolumn cell
10451 \begin_inset OptArg
10452 status collapsed
10453
10454 \begin_layout Standard
10455 Perfect multicolumn table
10456 \end_layout
10457
10458 \end_inset
10459
10460
10461 \end_layout
10462
10463 \end_inset
10464
10465
10466 \end_layout
10467
10468 \begin_layout Standard
10469 \align center
10470 \begin_inset Tabular
10471 <lyxtabular version="3" rows="3" columns="3">
10472 <features>
10473 <column alignment="center" valignment="middle" leftline="true" width="0" special="|>{\centering}m{1.25cm-6.2pt}">
10474 <column alignment="center" valignment="middle" leftline="true" width="0">
10475 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
10476 <row topline="true">
10477 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special="|>{\centering}m{2.5cm}|">
10478 \begin_inset Text
10479
10480 \begin_layout Standard
10481 multiple lines multicolumn
10482 \end_layout
10483
10484 \end_inset
10485 </cell>
10486 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10487 \begin_inset Text
10488
10489 \begin_layout Standard
10490
10491 \end_layout
10492
10493 \end_inset
10494 </cell>
10495 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10496 \begin_inset Text
10497
10498 \begin_layout Standard
10499 c
10500 \end_layout
10501
10502 \end_inset
10503 </cell>
10504 </row>
10505 <row topline="true">
10506 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10507 \begin_inset Text
10508
10509 \begin_layout Standard
10510 d
10511 \end_layout
10512
10513 \end_inset
10514 </cell>
10515 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10516 \begin_inset Text
10517
10518 \begin_layout Standard
10519 e
10520 \end_layout
10521
10522 \end_inset
10523 </cell>
10524 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10525 \begin_inset Text
10526
10527 \begin_layout Standard
10528 f
10529 \end_layout
10530
10531 \end_inset
10532 </cell>
10533 </row>
10534 <row topline="true" bottomline="true">
10535 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10536 \begin_inset Text
10537
10538 \begin_layout Standard
10539 g
10540 \end_layout
10541
10542 \end_inset
10543 </cell>
10544 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10545 \begin_inset Text
10546
10547 \begin_layout Standard
10548 h
10549 \end_layout
10550
10551 \end_inset
10552 </cell>
10553 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10554 \begin_inset Text
10555
10556 \begin_layout Standard
10557 i
10558 \end_layout
10559
10560 \end_inset
10561 </cell>
10562 </row>
10563 </lyxtabular>
10564
10565 \end_inset
10566
10567
10568 \end_layout
10569
10570 \end_inset
10571
10572
10573 \end_layout
10574
10575 \begin_layout Standard
10576 To create for example Table\InsetSpace ~
10577
10578 \begin_inset LatexCommand ref
10579 reference "tab:Table-with-centered"
10580
10581 \end_inset
10582
10583 , mark the first two cells in the first row a 3×3 table and right-click
10584  on them.
10585  Now choose for this cell 
10586 \emph on
10587 multicolumn
10588 \emph default
10589
10590 \emph on
10591 centered alignment
10592 \emph default
10593  and a width of 2.5\InsetSpace \thinspace{}
10594 cm in the table dialog.
10595  The spanned columns should have exactly half the width of the multicolumn
10596  cell, so that you would adjust a width of 1.25\InsetSpace \thinspace{}
10597 cm for the first column.
10598  The second column has then automatically a width of 1.25\InsetSpace \thinspace{}
10599 cm (multicolumn
10600  width - width of first column).
10601  This was done for Table\InsetSpace ~
10602
10603 \begin_inset LatexCommand ref
10604 reference "tab:Table-without-half"
10605
10606 \end_inset
10607
10608 .
10609 \end_layout
10610
10611 \begin_layout Standard
10612 \begin_inset Float table
10613 wide false
10614 sideways false
10615 status open
10616
10617 \begin_layout Standard
10618 \begin_inset Caption
10619
10620 \begin_layout Standard
10621 \begin_inset LatexCommand label
10622 name "tab:Table-without-half"
10623
10624 \end_inset
10625
10626 Table where the spanned table columns have not exactly half the width of
10627  the multicolumn cell
10628 \begin_inset OptArg
10629 status collapsed
10630
10631 \begin_layout Standard
10632 Imperfect multicolumn table
10633 \end_layout
10634
10635 \end_inset
10636
10637
10638 \end_layout
10639
10640 \end_inset
10641
10642
10643 \end_layout
10644
10645 \begin_layout Standard
10646 \align center
10647 \begin_inset Tabular
10648 <lyxtabular version="3" rows="3" columns="3">
10649 <features>
10650 <column alignment="center" valignment="top" leftline="true" width="1.25cm">
10651 <column alignment="center" valignment="top" leftline="true" width="0">
10652 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
10653 <row topline="true" bottomline="true">
10654 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
10655 \begin_inset Text
10656
10657 \begin_layout Standard
10658 multiple lines multicolumn
10659 \end_layout
10660
10661 \end_inset
10662 </cell>
10663 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10664 \begin_inset Text
10665
10666 \begin_layout Standard
10667
10668 \end_layout
10669
10670 \end_inset
10671 </cell>
10672 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10673 \begin_inset Text
10674
10675 \begin_layout Standard
10676 c
10677 \end_layout
10678
10679 \end_inset
10680 </cell>
10681 </row>
10682 <row topline="true">
10683 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10684 \begin_inset Text
10685
10686 \begin_layout Standard
10687 d
10688 \end_layout
10689
10690 \end_inset
10691 </cell>
10692 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10693 \begin_inset Text
10694
10695 \begin_layout Standard
10696 e
10697 \end_layout
10698
10699 \end_inset
10700 </cell>
10701 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10702 \begin_inset Text
10703
10704 \begin_layout Standard
10705 f
10706 \end_layout
10707
10708 \end_inset
10709 </cell>
10710 </row>
10711 <row topline="true" bottomline="true">
10712 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10713 \begin_inset Text
10714
10715 \begin_layout Standard
10716 g
10717 \end_layout
10718
10719 \end_inset
10720 </cell>
10721 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10722 \begin_inset Text
10723
10724 \begin_layout Standard
10725 h
10726 \end_layout
10727
10728 \end_inset
10729 </cell>
10730 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10731 \begin_inset Text
10732
10733 \begin_layout Standard
10734 i
10735 \end_layout
10736
10737 \end_inset
10738 </cell>
10739 </row>
10740 </lyxtabular>
10741
10742 \end_inset
10743
10744
10745 \end_layout
10746
10747 \end_inset
10748
10749
10750 \end_layout
10751
10752 \begin_layout Standard
10753 You can see that the first column has not the half width of the multicolumn
10754  cell, it is a bit bigger.
10755  The reason is that the given width of a cell 
10756 \begin_inset Formula $W_{g}$
10757 \end_inset
10758
10759  is not its total width 
10760 \begin_inset Formula $W_{\mathrm{tot}}$
10761 \end_inset
10762
10763  because a cell is always a bit larger than its given width.
10764  Appendix\InsetSpace ~
10765
10766 \begin_inset LatexCommand eqref
10767 reference "cha:Explanation-of-Equation"
10768
10769 \end_inset
10770
10771  explains it in detail.
10772 \end_layout
10773
10774 \begin_layout Standard
10775 The needed given width 
10776 \begin_inset Formula $W_{g\, n}$
10777 \end_inset
10778
10779  when 
10780 \emph on
10781 n
10782 \emph default
10783  columns are spanned columns can be calculated, so that each column has
10784  a total width of 
10785 \begin_inset Formula $W_{\mathrm{tot\, multicolumn}}/n$
10786 \end_inset
10787
10788 :
10789 \begin_inset Formula \begin{equation}
10790 W_{g\, n}=(W_{g\,\mathrm{multicolumn}}+(1-n)·(12.4\,\mathrm{pt}))/n\label{eq:Wgn}\end{equation}
10791
10792 \end_inset
10793
10794
10795 \end_layout
10796
10797 \begin_layout Standard
10798 In our case we have 
10799 \begin_inset Formula $n=2$
10800 \end_inset
10801
10802
10803 \begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$
10804 \end_inset
10805
10806 cm and the default values for the lengths, so that equation 
10807 \begin_inset LatexCommand ref
10808 reference "eq:Wgn"
10809
10810 \end_inset
10811
10812  becomes
10813 \begin_inset Formula \begin{equation}
10814 W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}\end{equation}
10815
10816 \end_inset
10817
10818
10819 \end_layout
10820
10821 \begin_layout Standard
10822 To enable calculations in LaTeX, the LaTeX-package 
10823 \series bold
10824 calc
10825 \series default
10826  must be loaded with the document preamble line
10827 \begin_inset LatexCommand index
10828 name "LaTeX-packages ! calc"
10829
10830 \end_inset
10831
10832
10833 \end_layout
10834
10835 \begin_layout Standard
10836
10837 \series bold
10838
10839 \backslash
10840 usepackage{calc}
10841 \end_layout
10842
10843 \begin_layout Standard
10844 LyX does not allow to calculate lengths in the width-field of the table
10845  dialog.
10846  Therefore you have to format the column by inserting a LaTeX-argument in
10847  the dialog.
10848  Here is an overview about the arguments:
10849 \end_layout
10850
10851 \begin_layout Itemize
10852
10853 \series bold
10854 p{width}
10855 \series default
10856  creates cell with a fixed width, its text is vertically top-aligned
10857 \end_layout
10858
10859 \begin_layout Itemize
10860
10861 \series bold
10862 m{width}
10863 \series default
10864  creates cell with a fixed width, its text is vertically centered
10865 \end_layout
10866
10867 \begin_layout Itemize
10868
10869 \series bold
10870 b{width}
10871 \series default
10872  creates cell with a fixed width, its text is vertically bottom-aligned
10873 \end_layout
10874
10875 \begin_layout Standard
10876 By entering a LaTeX-argument, all cell properties set in the table dialog
10877  are overwritten.
10878  
10879 \begin_inset Note Greyedout
10880 status open
10881
10882 \begin_layout Standard
10883
10884 \series bold
10885 Note:
10886 \series default
10887  Due to a bug, LyX shows the overwritten properties anyway.
10888 \end_layout
10889
10890 \end_inset
10891
10892  As the text should be horizontally centered, the command 
10893 \series bold
10894
10895 \backslash
10896 centering
10897 \series default
10898  is added.
10899  You can now enter the following LaTeX-argument for the first spanned column:
10900 \end_layout
10901
10902 \begin_layout Standard
10903
10904 \series bold
10905 |>{
10906 \backslash
10907 centering}m{1.25cm-6.2pt}
10908 \end_layout
10909
10910 \begin_layout Standard
10911 The bar 
10912 \begin_inset Quotes eld
10913 \end_inset
10914
10915
10916 \series bold
10917 |
10918 \series default
10919
10920 \begin_inset Quotes erd
10921 \end_inset
10922
10923  at the beginning draws the border line and the command 
10924 \series bold
10925 >{ }
10926 \series default
10927  means, that the commands inside the braces are applied before the cell
10928  is created.
10929 \end_layout
10930
10931 \begin_layout Standard
10932 Although we have chosen centered alignment for the text of the multicolumn
10933  cell, it is still left aligned.
10934  This is because LyX only applies the alignment to single columns.
10935  So we have to use for the multicolumn the LaTeX-argument
10936 \end_layout
10937
10938 \begin_layout Standard
10939
10940 \series bold
10941 |>{
10942 \backslash
10943 centering}m{2.5cm}|
10944 \end_layout
10945
10946 \begin_layout Subsection
10947 Multirows
10948 \begin_inset LatexCommand index
10949 name "Multirows"
10950
10951 \end_inset
10952
10953
10954 \begin_inset LatexCommand index
10955 name "Table ! Multirows"
10956
10957 \end_inset
10958
10959
10960 \begin_inset LatexCommand index
10961 name "LaTeX-packages ! multirow"
10962
10963 \end_inset
10964
10965
10966 \end_layout
10967
10968 \begin_layout Standard
10969 In contrary to multicolumns multirows are not yet supported by LyX so a
10970  bit of ERT needs to be used.
10971  To use multirows load the LaTeX-package 
10972 \series bold
10973 multirow
10974 \series default
10975  in your document preamble with the command
10976 \end_layout
10977
10978 \begin_layout Standard
10979
10980 \series bold
10981
10982 \backslash
10983 usepackage{multirow}
10984 \end_layout
10985
10986 \begin_layout Standard
10987 Multirows are created with the command
10988 \end_layout
10989
10990 \begin_layout Standard
10991
10992 \series bold
10993
10994 \backslash
10995 multirow{number of rows}{cell width}{cell entry}
10996 \end_layout
10997
10998 \begin_layout Standard
10999 To create the following table:
11000 \end_layout
11001
11002 \begin_layout Standard
11003 \align center
11004 \begin_inset ERT
11005 status collapsed
11006
11007 \begin_layout Standard
11008
11009
11010 \backslash
11011 renewcommand{
11012 \backslash
11013 multirowsetup}{
11014 \backslash
11015 centering}
11016 \end_layout
11017
11018 \end_inset
11019
11020
11021 \begin_inset Tabular
11022 <lyxtabular version="3" rows="3" columns="3">
11023 <features>
11024 <column alignment="center" valignment="top" leftline="true" width="0">
11025 <column alignment="center" valignment="top" leftline="true" width="0">
11026 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
11027 <row topline="true">
11028 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11029 \begin_inset Text
11030
11031 \begin_layout Standard
11032 a
11033 \end_layout
11034
11035 \end_inset
11036 </cell>
11037 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11038 \begin_inset Text
11039
11040 \begin_layout Standard
11041 b
11042 \end_layout
11043
11044 \end_inset
11045 </cell>
11046 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11047 \begin_inset Text
11048
11049 \begin_layout Standard
11050 c
11051 \end_layout
11052
11053 \end_inset
11054 </cell>
11055 </row>
11056 <row topline="true">
11057 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11058 \begin_inset Text
11059
11060 \begin_layout Standard
11061 \begin_inset ERT
11062 status collapsed
11063
11064 \begin_layout Standard
11065
11066
11067 \backslash
11068 multirow{2}{2.5cm}{
11069 \end_layout
11070
11071 \end_inset
11072
11073 multirow entry
11074 \begin_inset ERT
11075 status collapsed
11076
11077 \begin_layout Standard
11078
11079 }
11080 \end_layout
11081
11082 \end_inset
11083
11084
11085 \end_layout
11086
11087 \end_inset
11088 </cell>
11089 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11090 \begin_inset Text
11091
11092 \begin_layout Standard
11093 e
11094 \end_layout
11095
11096 \end_inset
11097 </cell>
11098 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11099 \begin_inset Text
11100
11101 \begin_layout Standard
11102 f
11103 \end_layout
11104
11105 \end_inset
11106 </cell>
11107 </row>
11108 <row topline="true" bottomline="true">
11109 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11110 \begin_inset Text
11111
11112 \begin_layout Standard
11113
11114 \end_layout
11115
11116 \end_inset
11117 </cell>
11118 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11119 \begin_inset Text
11120
11121 \begin_layout Standard
11122 h
11123 \end_layout
11124
11125 \end_inset
11126 </cell>
11127 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11128 \begin_inset Text
11129
11130 \begin_layout Standard
11131 i
11132 \end_layout
11133
11134 \end_inset
11135 </cell>
11136 </row>
11137 </lyxtabular>
11138
11139 \end_inset
11140
11141
11142 \begin_inset ERT
11143 status collapsed
11144
11145 \begin_layout Standard
11146
11147
11148 \backslash
11149 renewcommand{
11150 \backslash
11151 multirowsetup}{
11152 \backslash
11153 raggedright}
11154 \end_layout
11155
11156 \end_inset
11157
11158
11159 \end_layout
11160
11161 \begin_layout Standard
11162 create a 3×3 table.
11163  To get rid of the line above the last cell in the first column, the cell
11164  is marked as multicolumn and the upper border is unset.
11165  The multirow is now created in the second row of the first column by inserting
11166  there the command
11167 \end_layout
11168
11169 \begin_layout Standard
11170
11171 \series bold
11172
11173 \backslash
11174 multirow{2}{2.5cm}{
11175 \end_layout
11176
11177 \begin_layout Standard
11178 as ERT.
11179  According to the command parameters the multirow spans now two rows and
11180  has a width of 2.5\InsetSpace \thinspace{}
11181 cm.
11182  The content of the multirow cell follows outside the ERT box and the command
11183  is finished with a right brace 
11184 \series bold
11185 }
11186 \series default
11187  in another ERT-box behind the text.
11188 \end_layout
11189
11190 \begin_layout Standard
11191
11192 \series bold
11193
11194 \backslash
11195 multirow
11196 \series default
11197  left-aligns its content by default.
11198  To override the default, renew the command 
11199 \series bold
11200
11201 \backslash
11202 multirowsetup
11203 \series default
11204  with the command
11205 \end_layout
11206
11207 \begin_layout Standard
11208
11209 \series bold
11210
11211 \backslash
11212 renewcommand{
11213 \backslash
11214 multirowsetup}{
11215 \backslash
11216 centering}
11217 \end_layout
11218
11219 \begin_layout Standard
11220 in ERT in the document preamble.
11221  Then all entries of multirow cells in the document are centered.
11222  If centering is only needed for several tables, you can renew the command
11223  in an ERT box just before the table instead of the preamble.
11224  If the text should be right-aligned, replace 
11225 \series bold
11226
11227 \backslash
11228 centering
11229 \series default
11230  by 
11231 \series bold
11232
11233 \backslash
11234 raggedleft
11235 \series default
11236 .
11237  To return to left-alignment 
11238 \series bold
11239
11240 \backslash
11241 raggedright
11242 \series default
11243  is used.
11244 \end_layout
11245
11246 \begin_layout Section
11247 Formal Tables
11248 \begin_inset LatexCommand label
11249 name "sec:Formal-Tables"
11250
11251 \end_inset
11252
11253
11254 \begin_inset LatexCommand index
11255 name "Table ! Formal"
11256
11257 \end_inset
11258
11259
11260 \end_layout
11261
11262 \begin_layout Standard
11263 Tables are often typeset in books similar to Table\InsetSpace ~
11264
11265 \begin_inset LatexCommand ref
11266 reference "tab:Example-booktabs-table"
11267
11268 \end_inset
11269
11270 .
11271  This kind of tables is called 
11272 \begin_inset Quotes eld
11273 \end_inset
11274
11275
11276 \emph on
11277 formal
11278 \emph default
11279
11280 \begin_inset Quotes erd
11281 \end_inset
11282
11283 .
11284  To make a table a formal table use the option 
11285 \family sans
11286 Formal
11287 \family default
11288  in the 
11289 \family sans
11290 Borders
11291 \family default
11292  tab of the table dialog.
11293 \end_layout
11294
11295 \begin_layout Standard
11296 \begin_inset Float table
11297 placement h
11298 wide false
11299 sideways false
11300 status open
11301
11302 \begin_layout Standard
11303 \begin_inset Caption
11304
11305 \begin_layout Standard
11306 \begin_inset LatexCommand label
11307 name "tab:Example-booktabs-table"
11308
11309 \end_inset
11310
11311 Example booktabs-table
11312 \end_layout
11313
11314 \end_inset
11315
11316
11317 \end_layout
11318
11319 \begin_layout Standard
11320 \align center
11321 \begin_inset Tabular
11322 <lyxtabular version="3" rows="8" columns="4">
11323 <features booktabs="true">
11324 <column alignment="center" valignment="top" rightline="true" width="0">
11325 <column alignment="center" valignment="top" width="0">
11326 <column alignment="center" valignment="top" width="0">
11327 <column alignment="center" valignment="top" width="0">
11328 <row topline="true">
11329 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11330 \begin_inset Text
11331
11332 \begin_layout Standard
11333 System
11334 \end_layout
11335
11336 \end_inset
11337 </cell>
11338 <cell alignment="center" valignment="top" topline="true" usebox="none">
11339 \begin_inset Text
11340
11341 \begin_layout Standard
11342 Medipix
11343 \begin_inset Formula $\,$
11344 \end_inset
11345
11346 1
11347 \end_layout
11348
11349 \end_inset
11350 </cell>
11351 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
11352 \begin_inset Text
11353
11354 \begin_layout Standard
11355 Medipix
11356 \begin_inset Formula $\,$
11357 \end_inset
11358
11359 2
11360 \end_layout
11361
11362 \end_inset
11363 </cell>
11364 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11365 \begin_inset Text
11366
11367 \begin_layout Standard
11368
11369 \end_layout
11370
11371 \end_inset
11372 </cell>
11373 </row>
11374 <row>
11375 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11376 \begin_inset Text
11377
11378 \begin_layout Standard
11379 \begin_inset ERT
11380 status collapsed
11381
11382 \begin_layout Standard
11383
11384
11385 \backslash
11386 cmidrule(r){2-2}
11387 \end_layout
11388
11389 \end_inset
11390
11391
11392 \begin_inset ERT
11393 status collapsed
11394
11395 \begin_layout Standard
11396
11397
11398 \backslash
11399 cmidrule(l){3-4}
11400 \end_layout
11401
11402 \end_inset
11403
11404 Detector thickness [µm]
11405 \end_layout
11406
11407 \end_inset
11408 </cell>
11409 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11410 \begin_inset Text
11411
11412 \begin_layout Standard
11413 300
11414 \end_layout
11415
11416 \end_inset
11417 </cell>
11418 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11419 \begin_inset Text
11420
11421 \begin_layout Standard
11422 300
11423 \end_layout
11424
11425 \end_inset
11426 </cell>
11427 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11428 \begin_inset Text
11429
11430 \begin_layout Standard
11431 700
11432 \end_layout
11433
11434 \end_inset
11435 </cell>
11436 </row>
11437 <row topline="true">
11438 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11439 \begin_inset Text
11440
11441 \begin_layout Standard
11442 Edge angle [°]
11443 \end_layout
11444
11445 \end_inset
11446 </cell>
11447 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11448 \begin_inset Text
11449
11450 \begin_layout Standard
11451 3.55
11452 \end_layout
11453
11454 \end_inset
11455 </cell>
11456 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11457 \begin_inset Text
11458
11459 \begin_layout Standard
11460 2.71
11461 \end_layout
11462
11463 \end_inset
11464 </cell>
11465 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11466 \begin_inset Text
11467
11468 \begin_layout Standard
11469 7.99
11470 \end_layout
11471
11472 \end_inset
11473 </cell>
11474 </row>
11475 <row topspace="default">
11476 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11477 \begin_inset Text
11478
11479 \begin_layout Standard
11480 Spatial resolution [µm]
11481 \end_layout
11482
11483 \end_inset
11484 </cell>
11485 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11486 \begin_inset Text
11487
11488 \begin_layout Standard
11489 4.26
11490 \end_layout
11491
11492 \end_inset
11493 </cell>
11494 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11495 \begin_inset Text
11496
11497 \begin_layout Standard
11498 10.17
11499 \end_layout
11500
11501 \end_inset
11502 </cell>
11503 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11504 \begin_inset Text
11505
11506 \begin_layout Standard
11507 10.56
11508 \end_layout
11509
11510 \end_inset
11511 </cell>
11512 </row>
11513 <row topspace="default">
11514 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11515 \begin_inset Text
11516
11517 \begin_layout Standard
11518 MTF at 
11519 \begin_inset Formula $f_{\mathrm{max}}$
11520 \end_inset
11521
11522
11523 \end_layout
11524
11525 \end_inset
11526 </cell>
11527 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11528 \begin_inset Text
11529
11530 \begin_layout Standard
11531 0.53
11532 \end_layout
11533
11534 \end_inset
11535 </cell>
11536 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11537 \begin_inset Text
11538
11539 \begin_layout Standard
11540 0.37
11541 \end_layout
11542
11543 \end_inset
11544 </cell>
11545 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11546 \begin_inset Text
11547
11548 \begin_layout Standard
11549 0.39
11550 \end_layout
11551
11552 \end_inset
11553 </cell>
11554 </row>
11555 <row topspace="default">
11556 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11557 \begin_inset Text
11558
11559 \begin_layout Standard
11560 \begin_inset ERT
11561 status collapsed
11562
11563 \begin_layout Standard
11564
11565
11566 \backslash
11567 cmidrule(l{10pt}){1-1}
11568 \end_layout
11569
11570 \end_inset
11571
11572 LSF-spatial resolution
11573 \end_layout
11574
11575 \end_inset
11576 </cell>
11577 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11578 \begin_inset Text
11579
11580 \begin_layout Standard
11581
11582 \end_layout
11583
11584 \end_inset
11585 </cell>
11586 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11587 \begin_inset Text
11588
11589 \begin_layout Standard
11590
11591 \end_layout
11592
11593 \end_inset
11594 </cell>
11595 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11596 \begin_inset Text
11597
11598 \begin_layout Standard
11599
11600 \end_layout
11601
11602 \end_inset
11603 </cell>
11604 </row>
11605 <row>
11606 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11607 \begin_inset Text
11608
11609 \begin_layout Standard
11610 in µm
11611 \end_layout
11612
11613 \end_inset
11614 </cell>
11615 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11616 \begin_inset Text
11617
11618 \begin_layout Standard
11619 129.7
11620 \end_layout
11621
11622 \end_inset
11623 </cell>
11624 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11625 \begin_inset Text
11626
11627 \begin_layout Standard
11628 52.75
11629 \end_layout
11630
11631 \end_inset
11632 </cell>
11633 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11634 \begin_inset Text
11635
11636 \begin_layout Standard
11637 50.78
11638 \end_layout
11639
11640 \end_inset
11641 </cell>
11642 </row>
11643 <row bottomline="true">
11644 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11645 \begin_inset Text
11646
11647 \begin_layout Standard
11648 in % of pixel size
11649 \end_layout
11650
11651 \end_inset
11652 </cell>
11653 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11654 \begin_inset Text
11655
11656 \begin_layout Standard
11657 76.3
11658 \end_layout
11659
11660 \end_inset
11661 </cell>
11662 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11663 \begin_inset Text
11664
11665 \begin_layout Standard
11666 95.9
11667 \end_layout
11668
11669 \end_inset
11670 </cell>
11671 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11672 \begin_inset Text
11673
11674 \begin_layout Standard
11675 92.3
11676 \end_layout
11677
11678 \end_inset
11679 </cell>
11680 </row>
11681 </lyxtabular>
11682
11683 \end_inset
11684
11685
11686 \end_layout
11687
11688 \end_inset
11689
11690
11691 \end_layout
11692
11693 \begin_layout Standard
11694 Spaces to table rows can be added using the 
11695 \family sans
11696 Borders
11697 \family default
11698  tab of the table dialog as described in section\InsetSpace ~
11699
11700 \begin_inset LatexCommand ref
11701 reference "sub:Row-Spacing"
11702
11703 \end_inset
11704
11705 .
11706 \end_layout
11707
11708 \begin_layout Standard
11709 In contrary to normal tables, formal tables have no vertical table lines.
11710  The horizontal table lines can be set like for normal tables but they appear
11711  with different width in the output:
11712 \newline
11713 The first and the last table line have
11714  a default width of 0.08\InsetSpace \thinspace{}
11715 em while the other lines have a default width of
11716  0.05\InsetSpace \thinspace{}
11717 em.
11718 \end_layout
11719
11720 \begin_layout Standard
11721 The default widths can be changed with the following preamble lines
11722 \end_layout
11723
11724 \begin_layout Standard
11725
11726 \series bold
11727
11728 \backslash
11729 let
11730 \backslash
11731 mytoprule
11732 \backslash
11733 toprule
11734 \newline
11735
11736 \backslash
11737 renewcommand{
11738 \backslash
11739 toprule}{
11740 \backslash
11741 mytoprule[width]}
11742 \end_layout
11743
11744 \begin_layout Standard
11745 This example is for the first line, the so called toprule.
11746  If you want to change the width for the last line, replace 
11747 \series bold
11748 toprule
11749 \series default
11750  by 
11751 \series bold
11752 bottomrule
11753 \series default
11754 .
11755  To change the width for the other lines replace 
11756 \series bold
11757 toprule
11758 \series default
11759  by 
11760 \series bold
11761 midrule
11762 \series default
11763 .
11764  You can use all units listed in appendix\InsetSpace ~
11765
11766 \begin_inset LatexCommand ref
11767 reference "cha:Units-available-in"
11768
11769 \end_inset
11770
11771  to set the width.
11772 \end_layout
11773
11774 \begin_layout Standard
11775 Lines that don't span over all table columns can be created by setting a
11776  table line for multicolumn cells.
11777  LyX will then internally use the command 
11778 \series bold
11779
11780 \backslash
11781 cmidrule
11782 \series default
11783  to create this line.
11784  Its full scheme is
11785 \end_layout
11786
11787 \begin_layout Standard
11788
11789 \series bold
11790
11791 \backslash
11792 cmidrule[width](trim){startcol-endcol}
11793 \end_layout
11794
11795 \begin_layout Standard
11796 The options of 
11797 \series bold
11798
11799 \backslash
11800 cmidrule
11801 \series default
11802  are are currently not supported by LyX so you have to use ERT to be able
11803  to use them.
11804  
11805 \series bold
11806
11807 \backslash
11808 cmidrule
11809 \series default
11810 s can manually be created by inserting the command as ERT as first cell
11811  entry of the first cell of a row.
11812  The line is then drawn in the output above the current row.
11813 \end_layout
11814
11815 \begin_layout Standard
11816 The default for the width is 0.03\InsetSpace \thinspace{}
11817 em.
11818  Startcol is the number of the column where the line starts and endcol the
11819  column number where the line ends.
11820  The endcol always needs to be specified, also when the line should span
11821  only one column.
11822  The optional parameter trim could be either 
11823 \emph on
11824 l{trimwidth}
11825 \emph default
11826 , or 
11827 \emph on
11828 r{trimwidth}
11829 \emph default
11830  where the trimwidth is also optional.
11831  Using for example the parameter 
11832 \emph on
11833 l{2pt}
11834 \emph default
11835  means that the line is trimmed from its left end by 2\InsetSpace \thinspace{}
11836 pt.
11837  If you don't specify the trimwidth the lines are trimmed by the default
11838  of 0.5\InsetSpace \thinspace{}
11839 em.
11840 \end_layout
11841
11842 \begin_layout Standard
11843 \begin_inset VSpace bigskip
11844 \end_inset
11845
11846 Table\InsetSpace ~
11847
11848 \begin_inset LatexCommand ref
11849 reference "tab:Example-booktabs-table"
11850
11851 \end_inset
11852
11853  was created using the commands
11854 \end_layout
11855
11856 \begin_layout Standard
11857
11858 \series bold
11859
11860 \backslash
11861 cmidrule(r){2-2}
11862 \backslash
11863 cmidrule(l){3-4}
11864 \end_layout
11865
11866 \begin_layout Standard
11867 at the beginning of the in the second row and
11868 \end_layout
11869
11870 \begin_layout Standard
11871
11872 \series bold
11873
11874 \backslash
11875 cmidrule(l{10pt}){1-1}
11876 \end_layout
11877
11878 \begin_layout Standard
11879 in the sixth row.
11880 \end_layout
11881
11882 \begin_layout Standard
11883
11884 \end_layout
11885
11886 \begin_layout Standard
11887 \begin_inset VSpace bigskip
11888 \end_inset
11889
11890
11891 \end_layout
11892
11893 \begin_layout Standard
11894 You might want to have overlapping 
11895 \series bold
11896
11897 \backslash
11898 cmidrule
11899 \series default
11900 s like in Table\InsetSpace ~
11901
11902 \begin_inset LatexCommand ref
11903 reference "tab:Special-booktabs-table"
11904
11905 \end_inset
11906
11907 .
11908  This can be achieved with the ERT command
11909 \end_layout
11910
11911 \begin_layout Standard
11912
11913 \series bold
11914
11915 \backslash
11916 morecmidrules
11917 \end_layout
11918
11919 \begin_layout Standard
11920 The command that was used for the second row of Table\InsetSpace ~
11921
11922 \begin_inset LatexCommand ref
11923 reference "tab:Special-booktabs-table"
11924
11925 \end_inset
11926
11927  is
11928 \end_layout
11929
11930 \begin_layout Standard
11931
11932 \series bold
11933
11934 \backslash
11935 cmidrule(r){2-2}
11936 \backslash
11937 cmidrule(l){3-4}
11938 \backslash
11939 morecmidrules
11940 \backslash
11941 cmidrule{2-4}
11942 \end_layout
11943
11944 \begin_layout Standard
11945 The command for the sixth row is
11946 \end_layout
11947
11948 \begin_layout Standard
11949
11950 \series bold
11951
11952 \backslash
11953 midrule
11954 \backslash
11955 morecmidrules
11956 \backslash
11957 cmidrule{3-4}
11958 \end_layout
11959
11960 \begin_layout Standard
11961 \begin_inset VSpace bigskip
11962 \end_inset
11963
11964
11965 \end_layout
11966
11967 \begin_layout Standard
11968 If you are anyway not satisfied with the border line spacing, you can use
11969  the following command to produce lines that span over all table columns
11970 \series bold
11971 :
11972 \end_layout
11973
11974 \begin_layout Standard
11975
11976 \series bold
11977
11978 \backslash
11979 specialrule{width}{space above}{space below}
11980 \end_layout
11981
11982 \begin_layout Standard
11983 For more informations about these specialties, we refer to the manual of
11984  the LaTeX-package 
11985 \series bold
11986 booktabs
11987 \series default
11988  
11989 \begin_inset LatexCommand cite
11990 key "booktabs"
11991
11992 \end_inset
11993
11994 .
11995 \begin_inset LatexCommand index
11996 name "LaTeX-packages ! booktabs"
11997
11998 \end_inset
11999
12000
12001 \end_layout
12002
12003 \begin_layout Standard
12004 \begin_inset Float table
12005 placement h
12006 wide false
12007 sideways false
12008 status open
12009
12010 \begin_layout Standard
12011 \begin_inset Caption
12012
12013 \begin_layout Standard
12014 \begin_inset LatexCommand label
12015 name "tab:Special-booktabs-table"
12016
12017 \end_inset
12018
12019 Special booktabs-table
12020 \end_layout
12021
12022 \end_inset
12023
12024
12025 \end_layout
12026
12027 \begin_layout Standard
12028 \align center
12029 \begin_inset Tabular
12030 <lyxtabular version="3" rows="8" columns="4">
12031 <features booktabs="true">
12032 <column alignment="center" valignment="top" width="0">
12033 <column alignment="center" valignment="top" width="0">
12034 <column alignment="center" valignment="top" width="0">
12035 <column alignment="center" valignment="top" width="0">
12036 <row topline="true">
12037 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12038 \begin_inset Text
12039
12040 \begin_layout Standard
12041 System
12042 \end_layout
12043
12044 \end_inset
12045 </cell>
12046 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12047 \begin_inset Text
12048
12049 \begin_layout Standard
12050 Medipix\InsetSpace \thinspace{}
12051 1
12052 \end_layout
12053
12054 \end_inset
12055 </cell>
12056 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
12057 \begin_inset Text
12058
12059 \begin_layout Standard
12060 Medipix\InsetSpace \thinspace{}
12061 2
12062 \end_layout
12063
12064 \end_inset
12065 </cell>
12066 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12067 \begin_inset Text
12068
12069 \begin_layout Standard
12070
12071 \end_layout
12072
12073 \end_inset
12074 </cell>
12075 </row>
12076 <row>
12077 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12078 \begin_inset Text
12079
12080 \begin_layout Standard
12081 \begin_inset ERT
12082 status collapsed
12083
12084 \begin_layout Standard
12085
12086
12087 \backslash
12088 cmidrule(r){2-2}
12089 \end_layout
12090
12091 \end_inset
12092
12093
12094 \begin_inset ERT
12095 status collapsed
12096
12097 \begin_layout Standard
12098
12099
12100 \backslash
12101 cmidrule(l){3-4}
12102 \end_layout
12103
12104 \end_inset
12105
12106
12107 \begin_inset ERT
12108 status collapsed
12109
12110 \begin_layout Standard
12111
12112
12113 \backslash
12114 morecmidrules 
12115 \end_layout
12116
12117 \end_inset
12118
12119
12120 \begin_inset ERT
12121 status collapsed
12122
12123 \begin_layout Standard
12124
12125
12126 \backslash
12127 cmidrule{2-4}
12128 \end_layout
12129
12130 \end_inset
12131
12132 Detector thickness [µm]
12133 \end_layout
12134
12135 \end_inset
12136 </cell>
12137 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12138 \begin_inset Text
12139
12140 \begin_layout Standard
12141 300
12142 \end_layout
12143
12144 \end_inset
12145 </cell>
12146 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12147 \begin_inset Text
12148
12149 \begin_layout Standard
12150 300
12151 \end_layout
12152
12153 \end_inset
12154 </cell>
12155 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12156 \begin_inset Text
12157
12158 \begin_layout Standard
12159 700
12160 \end_layout
12161
12162 \end_inset
12163 </cell>
12164 </row>
12165 <row topline="true">
12166 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12167 \begin_inset Text
12168
12169 \begin_layout Standard
12170 Edge angle [°]
12171 \end_layout
12172
12173 \end_inset
12174 </cell>
12175 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12176 \begin_inset Text
12177
12178 \begin_layout Standard
12179 3.55
12180 \end_layout
12181
12182 \end_inset
12183 </cell>
12184 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12185 \begin_inset Text
12186
12187 \begin_layout Standard
12188 2.71
12189 \end_layout
12190
12191 \end_inset
12192 </cell>
12193 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12194 \begin_inset Text
12195
12196 \begin_layout Standard
12197 7.99
12198 \end_layout
12199
12200 \end_inset
12201 </cell>
12202 </row>
12203 <row topspace="default">
12204 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12205 \begin_inset Text
12206
12207 \begin_layout Standard
12208 Spatial resolution [µm]
12209 \end_layout
12210
12211 \end_inset
12212 </cell>
12213 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12214 \begin_inset Text
12215
12216 \begin_layout Standard
12217 4.26
12218 \end_layout
12219
12220 \end_inset
12221 </cell>
12222 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12223 \begin_inset Text
12224
12225 \begin_layout Standard
12226 10.17
12227 \end_layout
12228
12229 \end_inset
12230 </cell>
12231 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12232 \begin_inset Text
12233
12234 \begin_layout Standard
12235 10.56
12236 \end_layout
12237
12238 \end_inset
12239 </cell>
12240 </row>
12241 <row topspace="default">
12242 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12243 \begin_inset Text
12244
12245 \begin_layout Standard
12246 MTF at 
12247 \begin_inset Formula $f_{\mathrm{max}}$
12248 \end_inset
12249
12250
12251 \end_layout
12252
12253 \end_inset
12254 </cell>
12255 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12256 \begin_inset Text
12257
12258 \begin_layout Standard
12259 0.53
12260 \end_layout
12261
12262 \end_inset
12263 </cell>
12264 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12265 \begin_inset Text
12266
12267 \begin_layout Standard
12268 0.37
12269 \end_layout
12270
12271 \end_inset
12272 </cell>
12273 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12274 \begin_inset Text
12275
12276 \begin_layout Standard
12277 0.39
12278 \end_layout
12279
12280 \end_inset
12281 </cell>
12282 </row>
12283 <row topline="true">
12284 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12285 \begin_inset Text
12286
12287 \begin_layout Standard
12288 \begin_inset ERT
12289 status collapsed
12290
12291 \begin_layout Standard
12292
12293
12294 \backslash
12295 morecmidrules 
12296 \end_layout
12297
12298 \end_inset
12299
12300
12301 \begin_inset ERT
12302 status collapsed
12303
12304 \begin_layout Standard
12305
12306
12307 \backslash
12308 cmidrule{3-4}
12309 \end_layout
12310
12311 \end_inset
12312
12313 LSF-spatial resolution
12314 \end_layout
12315
12316 \end_inset
12317 </cell>
12318 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12319 \begin_inset Text
12320
12321 \begin_layout Standard
12322
12323 \end_layout
12324
12325 \end_inset
12326 </cell>
12327 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12328 \begin_inset Text
12329
12330 \begin_layout Standard
12331
12332 \end_layout
12333
12334 \end_inset
12335 </cell>
12336 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12337 \begin_inset Text
12338
12339 \begin_layout Standard
12340
12341 \end_layout
12342
12343 \end_inset
12344 </cell>
12345 </row>
12346 <row>
12347 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12348 \begin_inset Text
12349
12350 \begin_layout Standard
12351 in µm
12352 \end_layout
12353
12354 \end_inset
12355 </cell>
12356 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12357 \begin_inset Text
12358
12359 \begin_layout Standard
12360 129.7
12361 \end_layout
12362
12363 \end_inset
12364 </cell>
12365 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12366 \begin_inset Text
12367
12368 \begin_layout Standard
12369 52.75
12370 \end_layout
12371
12372 \end_inset
12373 </cell>
12374 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12375 \begin_inset Text
12376
12377 \begin_layout Standard
12378 50.78
12379 \end_layout
12380
12381 \end_inset
12382 </cell>
12383 </row>
12384 <row bottomline="true">
12385 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12386 \begin_inset Text
12387
12388 \begin_layout Standard
12389 in % of pixel size
12390 \end_layout
12391
12392 \end_inset
12393 </cell>
12394 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12395 \begin_inset Text
12396
12397 \begin_layout Standard
12398 76.3
12399 \end_layout
12400
12401 \end_inset
12402 </cell>
12403 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12404 \begin_inset Text
12405
12406 \begin_layout Standard
12407 95.9
12408 \end_layout
12409
12410 \end_inset
12411 </cell>
12412 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12413 \begin_inset Text
12414
12415 \begin_layout Standard
12416 92.3
12417 \end_layout
12418
12419 \end_inset
12420 </cell>
12421 </row>
12422 </lyxtabular>
12423
12424 \end_inset
12425
12426
12427 \end_layout
12428
12429 \end_inset
12430
12431
12432 \end_layout
12433
12434 \begin_layout Section
12435 Vertical Table Alignment
12436 \begin_inset LatexCommand index
12437 name "Table ! Alignment"
12438
12439 \end_inset
12440
12441
12442 \end_layout
12443
12444 \begin_layout Standard
12445 To align tables vertically in a text line the table must be inside a box.
12446  The box can then be vertically aligned as described in section\InsetSpace ~
12447
12448 \begin_inset LatexCommand ref
12449 reference "sec:Box-Dialog"
12450
12451 \end_inset
12452
12453 .
12454 \end_layout
12455
12456 \begin_layout Standard
12457 In the following example the tables are inside a minipage
12458 \begin_inset Foot
12459 status collapsed
12460
12461 \begin_layout Standard
12462 Minipages are described in section\InsetSpace ~
12463
12464 \begin_inset LatexCommand ref
12465 reference "sec:Minipages"
12466
12467 \end_inset
12468
12469 .
12470 \end_layout
12471
12472 \end_inset
12473
12474  box that has a width of 15\InsetSpace \thinspace{}
12475 col%:
12476 \end_layout
12477
12478 \begin_layout Itemize
12479 test 
12480 \begin_inset Box Frameless
12481 position "t"
12482 hor_pos "c"
12483 has_inner_box 1
12484 inner_pos "c"
12485 use_parbox 0
12486 width "15col%"
12487 special "none"
12488 height "1in"
12489 height_special "totalheight"
12490 status collapsed
12491
12492 \begin_layout Standard
12493 \begin_inset Tabular
12494 <lyxtabular version="3" rows="3" columns="3">
12495 <features>
12496 <column alignment="center" valignment="top" leftline="true" width="0">
12497 <column alignment="center" valignment="top" leftline="true" width="0">
12498 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12499 <row topline="true">
12500 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12501 \begin_inset Text
12502
12503 \begin_layout Standard
12504 a
12505 \end_layout
12506
12507 \end_inset
12508 </cell>
12509 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12510 \begin_inset Text
12511
12512 \begin_layout Standard
12513 d
12514 \end_layout
12515
12516 \end_inset
12517 </cell>
12518 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12519 \begin_inset Text
12520
12521 \begin_layout Standard
12522 g
12523 \end_layout
12524
12525 \end_inset
12526 </cell>
12527 </row>
12528 <row topline="true">
12529 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12530 \begin_inset Text
12531
12532 \begin_layout Standard
12533 b
12534 \end_layout
12535
12536 \end_inset
12537 </cell>
12538 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12539 \begin_inset Text
12540
12541 \begin_layout Standard
12542 e
12543 \end_layout
12544
12545 \end_inset
12546 </cell>
12547 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12548 \begin_inset Text
12549
12550 \begin_layout Standard
12551 h
12552 \end_layout
12553
12554 \end_inset
12555 </cell>
12556 </row>
12557 <row topline="true" bottomline="true">
12558 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12559 \begin_inset Text
12560
12561 \begin_layout Standard
12562 c
12563 \end_layout
12564
12565 \end_inset
12566 </cell>
12567 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12568 \begin_inset Text
12569
12570 \begin_layout Standard
12571 f
12572 \end_layout
12573
12574 \end_inset
12575 </cell>
12576 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12577 \begin_inset Text
12578
12579 \begin_layout Standard
12580 i
12581 \end_layout
12582
12583 \end_inset
12584 </cell>
12585 </row>
12586 </lyxtabular>
12587
12588 \end_inset
12589
12590
12591 \end_layout
12592
12593 \end_inset
12594
12595  test 
12596 \begin_inset ERT
12597 status collapsed
12598
12599 \begin_layout Standard
12600
12601
12602 \backslash
12603 raisebox{0.85
12604 \backslash
12605 baselineskip}{
12606 \end_layout
12607
12608 \end_inset
12609
12610
12611 \begin_inset Box Frameless
12612 position "t"
12613 hor_pos "c"
12614 has_inner_box 1
12615 inner_pos "c"
12616 use_parbox 0
12617 width "15col%"
12618 special "none"
12619 height "1in"
12620 height_special "totalheight"
12621 status collapsed
12622
12623 \begin_layout Standard
12624 \begin_inset Tabular
12625 <lyxtabular version="3" rows="3" columns="3">
12626 <features>
12627 <column alignment="center" valignment="top" leftline="true" width="0">
12628 <column alignment="center" valignment="top" leftline="true" width="0">
12629 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12630 <row topline="true">
12631 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12632 \begin_inset Text
12633
12634 \begin_layout Standard
12635 a
12636 \end_layout
12637
12638 \end_inset
12639 </cell>
12640 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12641 \begin_inset Text
12642
12643 \begin_layout Standard
12644 d
12645 \end_layout
12646
12647 \end_inset
12648 </cell>
12649 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12650 \begin_inset Text
12651
12652 \begin_layout Standard
12653 g
12654 \end_layout
12655
12656 \end_inset
12657 </cell>
12658 </row>
12659 <row topline="true">
12660 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12661 \begin_inset Text
12662
12663 \begin_layout Standard
12664 b
12665 \end_layout
12666
12667 \end_inset
12668 </cell>
12669 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12670 \begin_inset Text
12671
12672 \begin_layout Standard
12673 e
12674 \end_layout
12675
12676 \end_inset
12677 </cell>
12678 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12679 \begin_inset Text
12680
12681 \begin_layout Standard
12682 h
12683 \end_layout
12684
12685 \end_inset
12686 </cell>
12687 </row>
12688 <row topline="true" bottomline="true">
12689 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12690 \begin_inset Text
12691
12692 \begin_layout Standard
12693 c
12694 \end_layout
12695
12696 \end_inset
12697 </cell>
12698 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12699 \begin_inset Text
12700
12701 \begin_layout Standard
12702 f
12703 \end_layout
12704
12705 \end_inset
12706 </cell>
12707 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12708 \begin_inset Text
12709
12710 \begin_layout Standard
12711 i
12712 \end_layout
12713
12714 \end_inset
12715 </cell>
12716 </row>
12717 </lyxtabular>
12718
12719 \end_inset
12720
12721
12722 \end_layout
12723
12724 \end_inset
12725
12726
12727 \begin_inset ERT
12728 status collapsed
12729
12730 \begin_layout Standard
12731
12732 }
12733 \end_layout
12734
12735 \end_inset
12736
12737
12738 \end_layout
12739
12740 \begin_layout Itemize
12741 test 
12742 \begin_inset Box Frameless
12743 position "c"
12744 hor_pos "c"
12745 has_inner_box 1
12746 inner_pos "c"
12747 use_parbox 0
12748 width "15col%"
12749 special "none"
12750 height "1in"
12751 height_special "totalheight"
12752 status collapsed
12753
12754 \begin_layout Standard
12755 \begin_inset Tabular
12756 <lyxtabular version="3" rows="3" columns="3">
12757 <features>
12758 <column alignment="center" valignment="top" leftline="true" width="0">
12759 <column alignment="center" valignment="top" leftline="true" width="0">
12760 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12761 <row topline="true">
12762 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12763 \begin_inset Text
12764
12765 \begin_layout Standard
12766 a
12767 \end_layout
12768
12769 \end_inset
12770 </cell>
12771 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12772 \begin_inset Text
12773
12774 \begin_layout Standard
12775 d
12776 \end_layout
12777
12778 \end_inset
12779 </cell>
12780 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12781 \begin_inset Text
12782
12783 \begin_layout Standard
12784 g
12785 \end_layout
12786
12787 \end_inset
12788 </cell>
12789 </row>
12790 <row topline="true">
12791 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12792 \begin_inset Text
12793
12794 \begin_layout Standard
12795 b
12796 \end_layout
12797
12798 \end_inset
12799 </cell>
12800 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12801 \begin_inset Text
12802
12803 \begin_layout Standard
12804 e
12805 \end_layout
12806
12807 \end_inset
12808 </cell>
12809 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12810 \begin_inset Text
12811
12812 \begin_layout Standard
12813 h
12814 \end_layout
12815
12816 \end_inset
12817 </cell>
12818 </row>
12819 <row topline="true" bottomline="true">
12820 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12821 \begin_inset Text
12822
12823 \begin_layout Standard
12824 c
12825 \end_layout
12826
12827 \end_inset
12828 </cell>
12829 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12830 \begin_inset Text
12831
12832 \begin_layout Standard
12833 f
12834 \end_layout
12835
12836 \end_inset
12837 </cell>
12838 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12839 \begin_inset Text
12840
12841 \begin_layout Standard
12842 i
12843 \end_layout
12844
12845 \end_inset
12846 </cell>
12847 </row>
12848 </lyxtabular>
12849
12850 \end_inset
12851
12852
12853 \end_layout
12854
12855 \end_inset
12856
12857
12858 \end_layout
12859
12860 \begin_layout Itemize
12861 test 
12862 \begin_inset Box Frameless
12863 position "b"
12864 hor_pos "c"
12865 has_inner_box 1
12866 inner_pos "c"
12867 use_parbox 0
12868 width "15col%"
12869 special "none"
12870 height "1in"
12871 height_special "totalheight"
12872 status collapsed
12873
12874 \begin_layout Standard
12875 \begin_inset Tabular
12876 <lyxtabular version="3" rows="3" columns="3">
12877 <features>
12878 <column alignment="center" valignment="top" leftline="true" width="0">
12879 <column alignment="center" valignment="top" leftline="true" width="0">
12880 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12881 <row topline="true">
12882 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12883 \begin_inset Text
12884
12885 \begin_layout Standard
12886 a
12887 \end_layout
12888
12889 \end_inset
12890 </cell>
12891 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12892 \begin_inset Text
12893
12894 \begin_layout Standard
12895 d
12896 \end_layout
12897
12898 \end_inset
12899 </cell>
12900 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12901 \begin_inset Text
12902
12903 \begin_layout Standard
12904 g
12905 \end_layout
12906
12907 \end_inset
12908 </cell>
12909 </row>
12910 <row topline="true">
12911 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12912 \begin_inset Text
12913
12914 \begin_layout Standard
12915 b
12916 \end_layout
12917
12918 \end_inset
12919 </cell>
12920 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12921 \begin_inset Text
12922
12923 \begin_layout Standard
12924 e
12925 \end_layout
12926
12927 \end_inset
12928 </cell>
12929 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12930 \begin_inset Text
12931
12932 \begin_layout Standard
12933 h
12934 \end_layout
12935
12936 \end_inset
12937 </cell>
12938 </row>
12939 <row topline="true" bottomline="true">
12940 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12941 \begin_inset Text
12942
12943 \begin_layout Standard
12944 c
12945 \end_layout
12946
12947 \end_inset
12948 </cell>
12949 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12950 \begin_inset Text
12951
12952 \begin_layout Standard
12953 f
12954 \end_layout
12955
12956 \end_inset
12957 </cell>
12958 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12959 \begin_inset Text
12960
12961 \begin_layout Standard
12962 i
12963 \end_layout
12964
12965 \end_inset
12966 </cell>
12967 </row>
12968 </lyxtabular>
12969
12970 \end_inset
12971
12972
12973 \end_layout
12974
12975 \end_inset
12976
12977  test 
12978 \begin_inset ERT
12979 status collapsed
12980
12981 \begin_layout Standard
12982
12983
12984 \backslash
12985 raisebox{-0.32
12986 \backslash
12987 baselineskip}{
12988 \end_layout
12989
12990 \end_inset
12991
12992
12993 \begin_inset Box Frameless
12994 position "b"
12995 hor_pos "c"
12996 has_inner_box 1
12997 inner_pos "c"
12998 use_parbox 0
12999 width "15col%"
13000 special "none"
13001 height "1in"
13002 height_special "totalheight"
13003 status collapsed
13004
13005 \begin_layout Standard
13006 \begin_inset Tabular
13007 <lyxtabular version="3" rows="3" columns="3">
13008 <features>
13009 <column alignment="center" valignment="top" leftline="true" width="0">
13010 <column alignment="center" valignment="top" leftline="true" width="0">
13011 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13012 <row topline="true">
13013 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13014 \begin_inset Text
13015
13016 \begin_layout Standard
13017 a
13018 \end_layout
13019
13020 \end_inset
13021 </cell>
13022 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13023 \begin_inset Text
13024
13025 \begin_layout Standard
13026 d
13027 \end_layout
13028
13029 \end_inset
13030 </cell>
13031 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13032 \begin_inset Text
13033
13034 \begin_layout Standard
13035 g
13036 \end_layout
13037
13038 \end_inset
13039 </cell>
13040 </row>
13041 <row topline="true">
13042 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13043 \begin_inset Text
13044
13045 \begin_layout Standard
13046 b
13047 \end_layout
13048
13049 \end_inset
13050 </cell>
13051 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13052 \begin_inset Text
13053
13054 \begin_layout Standard
13055 e
13056 \end_layout
13057
13058 \end_inset
13059 </cell>
13060 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13061 \begin_inset Text
13062
13063 \begin_layout Standard
13064 h
13065 \end_layout
13066
13067 \end_inset
13068 </cell>
13069 </row>
13070 <row topline="true" bottomline="true">
13071 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13072 \begin_inset Text
13073
13074 \begin_layout Standard
13075 c
13076 \end_layout
13077
13078 \end_inset
13079 </cell>
13080 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13081 \begin_inset Text
13082
13083 \begin_layout Standard
13084 f
13085 \end_layout
13086
13087 \end_inset
13088 </cell>
13089 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13090 \begin_inset Text
13091
13092 \begin_layout Standard
13093 i
13094 \end_layout
13095
13096 \end_inset
13097 </cell>
13098 </row>
13099 </lyxtabular>
13100
13101 \end_inset
13102
13103
13104 \end_layout
13105
13106 \end_inset
13107
13108
13109 \begin_inset ERT
13110 status collapsed
13111
13112 \begin_layout Standard
13113
13114 }
13115 \end_layout
13116
13117 \end_inset
13118
13119
13120 \end_layout
13121
13122 \begin_layout Standard
13123 As you can see, the content of the first and last table row is not correctly
13124  aligned with the text line where the table is in.
13125  To get this alignment, the minipage box must be set into a raisebox
13126 \begin_inset Foot
13127 status collapsed
13128
13129 \begin_layout Standard
13130 Raiseboxes are described in section\InsetSpace ~
13131
13132 \begin_inset LatexCommand ref
13133 reference "sub:Vertical-Alignment"
13134
13135 \end_inset
13136
13137 .
13138 \end_layout
13139
13140 \end_inset
13141
13142 .
13143  In the example above the second table in the first item is aligned using
13144  the ERT-command
13145 \end_layout
13146
13147 \begin_layout Standard
13148
13149 \series bold
13150
13151 \backslash
13152 raisebox{0.85
13153 \backslash
13154 baselineskip}{
13155 \end_layout
13156
13157 \begin_layout Standard
13158 before the box.
13159  Behind the box the closing brace 
13160 \series bold
13161 }
13162 \series default
13163  is inserted as ERT.
13164  For the second table in the last item the command
13165 \end_layout
13166
13167 \begin_layout Standard
13168
13169 \series bold
13170
13171 \backslash
13172 raisebox{-0.32
13173 \backslash
13174 baselineskip}{
13175 \end_layout
13176
13177 \begin_layout Standard
13178 is used.
13179 \end_layout
13180
13181 \begin_layout Standard
13182 \begin_inset Note Greyedout
13183 status open
13184
13185 \begin_layout Standard
13186
13187 \series bold
13188 Note: 
13189 \series default
13190 The alignment of the table row content to the surrounding text line is not
13191  exact.
13192  The needed factor of the 
13193 \series bold
13194
13195 \backslash
13196 raisebox
13197 \series default
13198  command for this alignment depends on the document font, the font size,
13199  and the table line thickness.
13200 \end_layout
13201
13202 \end_inset
13203
13204
13205 \end_layout
13206
13207 \begin_layout Section
13208 Colored Tables
13209 \begin_inset LatexCommand label
13210 name "sec:Colored-Tables"
13211
13212 \end_inset
13213
13214
13215 \begin_inset LatexCommand index
13216 name "Table ! Color"
13217
13218 \end_inset
13219
13220
13221 \end_layout
13222
13223 \begin_layout Subsection
13224 Colored Cells
13225 \begin_inset LatexCommand index
13226 name "Table Color ! for Cells"
13227
13228 \end_inset
13229
13230
13231 \begin_inset LatexCommand index
13232 name "Color ! for Table Cells"
13233
13234 \end_inset
13235
13236
13237 \end_layout
13238
13239 \begin_layout Standard
13240 \begin_inset Float table
13241 placement h
13242 wide false
13243 sideways false
13244 status open
13245
13246 \begin_layout Standard
13247 \begin_inset Caption
13248
13249 \begin_layout Standard
13250 \begin_inset LatexCommand label
13251 name "tab:Table-colored-without"
13252
13253 \end_inset
13254
13255 Table colored without using the package 
13256 \series bold
13257 colortbl
13258 \series default
13259
13260 \begin_inset OptArg
13261 status collapsed
13262
13263 \begin_layout Standard
13264 Table without colortbl
13265 \end_layout
13266
13267 \end_inset
13268
13269
13270 \end_layout
13271
13272 \end_inset
13273
13274
13275 \end_layout
13276
13277 \begin_layout Standard
13278 \align center
13279 \begin_inset Tabular
13280 <lyxtabular version="3" rows="3" columns="3">
13281 <features>
13282 <column alignment="center" valignment="top" leftline="true" width="0">
13283 <column alignment="center" valignment="top" leftline="true" width="0">
13284 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13285 <row topline="true">
13286 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13287 \begin_inset Text
13288
13289 \begin_layout Standard
13290
13291 \color green
13292 a
13293 \end_layout
13294
13295 \end_inset
13296 </cell>
13297 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13298 \begin_inset Text
13299
13300 \begin_layout Standard
13301
13302 \color red
13303 b
13304 \end_layout
13305
13306 \end_inset
13307 </cell>
13308 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13309 \begin_inset Text
13310
13311 \begin_layout Standard
13312
13313 \color red
13314 c
13315 \end_layout
13316
13317 \end_inset
13318 </cell>
13319 </row>
13320 <row topline="true">
13321 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13322 \begin_inset Text
13323
13324 \begin_layout Standard
13325
13326 \color green
13327 d
13328 \end_layout
13329
13330 \end_inset
13331 </cell>
13332 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13333 \begin_inset Text
13334
13335 \begin_layout Standard
13336
13337 \color blue
13338 e
13339 \end_layout
13340
13341 \end_inset
13342 </cell>
13343 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13344 \begin_inset Text
13345
13346 \begin_layout Standard
13347
13348 \color blue
13349 f
13350 \end_layout
13351
13352 \end_inset
13353 </cell>
13354 </row>
13355 <row topline="true" bottomline="true">
13356 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13357 \begin_inset Text
13358
13359 \begin_layout Standard
13360
13361 \color green
13362 g
13363 \end_layout
13364
13365 \end_inset
13366 </cell>
13367 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13368 \begin_inset Text
13369
13370 \begin_layout Standard
13371
13372 \color blue
13373 h
13374 \end_layout
13375
13376 \end_inset
13377 </cell>
13378 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13379 \begin_inset Text
13380
13381 \begin_layout Standard
13382
13383 \color blue
13384 i
13385 \end_layout
13386
13387 \end_inset
13388 </cell>
13389 </row>
13390 </lyxtabular>
13391
13392 \end_inset
13393
13394
13395 \end_layout
13396
13397 \end_inset
13398
13399
13400 \end_layout
13401
13402 \begin_layout Standard
13403 If you only need colored text, mark the cells and choose a color in the
13404  menu 
13405 \family sans
13406 Edit\SpecialChar \menuseparator
13407 Text\InsetSpace ~
13408 Style
13409 \family default
13410 .
13411  This was used to create Table\InsetSpace ~
13412
13413 \begin_inset LatexCommand ref
13414 reference "tab:Table-colored-without"
13415
13416 \end_inset
13417
13418 .
13419  In any other case you have to use the LaTeX-package 
13420 \series bold
13421 colortbl
13422 \series default
13423 .
13424 \begin_inset LatexCommand index
13425 name "LaTeX-packages ! colortbl"
13426
13427 \end_inset
13428
13429
13430 \end_layout
13431
13432 \begin_layout Standard
13433 To create colored tables, 
13434 \series bold
13435 colortbl
13436 \series default
13437  must be loaded in the preamble with the line
13438 \end_layout
13439
13440 \begin_layout Standard
13441
13442 \series bold
13443
13444 \backslash
13445 usepackage{colortbl}
13446 \end_layout
13447
13448 \begin_layout Standard
13449 The color of a column is adjusted with the command
13450 \end_layout
13451
13452 \begin_layout Standard
13453
13454 \series bold
13455
13456 \backslash
13457 columncolor{name of color}
13458 \end_layout
13459
13460 \begin_layout Standard
13461 inside the command 
13462 \series bold
13463 >{ }
13464 \series default
13465 .
13466  More about the command 
13467 \series bold
13468 >{}
13469 \series default
13470  is described in section\InsetSpace ~
13471
13472 \begin_inset LatexCommand ref
13473 reference "sub:Multicolumn-Calculations"
13474
13475 \end_inset
13476
13477 .
13478 \end_layout
13479
13480 \begin_layout Standard
13481 The following color names are predefined:
13482 \end_layout
13483
13484 \begin_layout Standard
13485
13486 \family sans
13487 red
13488 \family default
13489
13490 \family sans
13491 green
13492 \family default
13493
13494 \family sans
13495 yellow
13496 \family default
13497
13498 \family sans
13499 blue
13500 \family default
13501
13502 \family sans
13503 cyan
13504 \family default
13505
13506 \family sans
13507 magenta
13508 \family default
13509
13510 \family sans
13511 black
13512 \family default
13513  and 
13514 \family sans
13515 white
13516 \end_layout
13517
13518 \begin_layout Standard
13519 \begin_inset VSpace medskip
13520 \end_inset
13521
13522
13523 \end_layout
13524
13525 \begin_layout Standard
13526 You can also define your own color with the command
13527 \end_layout
13528
13529 \begin_layout Standard
13530
13531 \series bold
13532
13533 \backslash
13534 def\SpecialChar \textcompwordmark{}
13535 inecolor{color name}{color model}{color values}
13536 \end_layout
13537
13538 \begin_layout Standard
13539 The color model can be
13540 \end_layout
13541
13542 \begin_layout Labeling
13543 \labelwidthstring 00.00.0000
13544 cmyk: cyan, magenta, yellow, black
13545 \end_layout
13546
13547 \begin_layout Labeling
13548 \labelwidthstring 00.00.0000
13549 rgb: red, green blue
13550 \end_layout
13551
13552 \begin_layout Labeling
13553 \labelwidthstring 00.00.0000
13554 gray gray
13555 \end_layout
13556
13557 \begin_layout Standard
13558 and the color values are comma separated numbers between 0 and 1 describing
13559  the factor for the corresponding color of the color model.
13560 \end_layout
13561
13562 \begin_layout Standard
13563 You can e.\InsetSpace \thinspace{}
13564 g.\InsetSpace ~
13565 define the color "
13566 \emph on
13567 darkgreen
13568 \emph default
13569 " in the preamble with
13570 \end_layout
13571
13572 \begin_layout Standard
13573
13574 \series bold
13575
13576 \backslash
13577 def\SpecialChar \textcompwordmark{}
13578 inecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
13579 \end_layout
13580
13581 \begin_layout Standard
13582 and the color "
13583 \emph on
13584 lightgray
13585 \emph default
13586 " with
13587 \end_layout
13588
13589 \begin_layout Standard
13590
13591 \series bold
13592
13593 \backslash
13594 def\SpecialChar \textcompwordmark{}
13595 inecolor{lightgray}{gray}{0.8}
13596 \end_layout
13597
13598 \begin_layout Standard
13599 \begin_inset VSpace medskip
13600 \end_inset
13601
13602
13603 \end_layout
13604
13605 \begin_layout Standard
13606 Lines are colored with the command
13607 \end_layout
13608
13609 \begin_layout Standard
13610
13611 \series bold
13612
13613 \backslash
13614 rowcolor{name of color}
13615 \end_layout
13616
13617 \begin_layout Standard
13618 and cells are colored with the command
13619 \end_layout
13620
13621 \begin_layout Standard
13622
13623 \series bold
13624
13625 \backslash
13626 cellcolor{name of color}
13627 \end_layout
13628
13629 \begin_layout Standard
13630 Both commands are inserted at the beginning of a cell as ERT.
13631 \end_layout
13632
13633 \begin_layout Standard
13634 To color characters in the table, mark the cells and use the LyX menu 
13635 \family sans
13636 Edit\SpecialChar \menuseparator
13637 Text\InsetSpace ~
13638 Style
13639 \family default
13640 .
13641  If a cell contains ERT mark only the characters, otherwise the colored
13642  ERT will cause LaTeX-errors.
13643 \end_layout
13644
13645 \begin_layout Standard
13646 \begin_inset VSpace bigskip
13647 \end_inset
13648
13649
13650 \end_layout
13651
13652 \begin_layout Standard
13653 To create Table\InsetSpace ~
13654
13655 \begin_inset LatexCommand ref
13656 reference "tab:Table-colored-using"
13657
13658 \end_inset
13659
13660  do the following: The color of the first column should be 
13661 \emph on
13662 darkgreen
13663 \emph default
13664 .
13665  So insert
13666 \end_layout
13667
13668 \begin_layout Standard
13669
13670 \series bold
13671 >{
13672 \backslash
13673 columncolor{darkgreen}
13674 \backslash
13675 centering}c
13676 \end_layout
13677
13678 \begin_layout Standard
13679 as LaTeX-argument for this column.
13680  The first row should be blue, therefore the ERT command
13681 \end_layout
13682
13683 \begin_layout Standard
13684
13685 \series bold
13686
13687 \backslash
13688 rowcolow{cyan}
13689 \end_layout
13690
13691 \begin_layout Standard
13692 is inserted to the first cell of this row.
13693  Note that this overwrites the column color for the first cell.
13694  The last cell of the last row is colored magenta by inserting the ERT command
13695 \end_layout
13696
13697 \begin_layout Standard
13698
13699 \series bold
13700
13701 \backslash
13702 cellcolor{magenta}
13703 \end_layout
13704
13705 \begin_layout Standard
13706 The characters could now be colored using the menu 
13707 \family sans
13708 Edit\SpecialChar \menuseparator
13709 Text\InsetSpace ~
13710 Style
13711 \family default
13712 .
13713 \end_layout
13714
13715 \begin_layout Standard
13716 \begin_inset Float table
13717 placement h
13718 wide false
13719 sideways false
13720 status open
13721
13722 \begin_layout Standard
13723 \begin_inset Caption
13724
13725 \begin_layout Standard
13726 \begin_inset LatexCommand label
13727 name "tab:Table-colored-using"
13728
13729 \end_inset
13730
13731 Table colored using the package 
13732 \series bold
13733 colortbl
13734 \series default
13735
13736 \begin_inset OptArg
13737 status collapsed
13738
13739 \begin_layout Standard
13740 Table with colortbl
13741 \end_layout
13742
13743 \end_inset
13744
13745
13746 \end_layout
13747
13748 \end_inset
13749
13750
13751 \end_layout
13752
13753 \begin_layout Standard
13754 \align center
13755 \begin_inset Tabular
13756 <lyxtabular version="3" rows="3" columns="3">
13757 <features>
13758 <column alignment="center" valignment="top" leftline="true" width="0" special=">{\columncolor{darkgreen}\centering}c">
13759 <column alignment="center" valignment="top" width="0">
13760 <column alignment="center" valignment="top" width="0">
13761 <row>
13762 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13763 \begin_inset Text
13764
13765 \begin_layout Standard
13766 \begin_inset ERT
13767 status collapsed
13768
13769 \begin_layout Standard
13770
13771
13772 \backslash
13773 rowcolor{cyan}
13774 \end_layout
13775
13776 \end_inset
13777
13778
13779 \color magenta
13780 a
13781 \end_layout
13782
13783 \end_inset
13784 </cell>
13785 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13786 \begin_inset Text
13787
13788 \begin_layout Standard
13789
13790 \color red
13791 b
13792 \end_layout
13793
13794 \end_inset
13795 </cell>
13796 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13797 \begin_inset Text
13798
13799 \begin_layout Standard
13800
13801 \color red
13802 c
13803 \end_layout
13804
13805 \end_inset
13806 </cell>
13807 </row>
13808 <row>
13809 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13810 \begin_inset Text
13811
13812 \begin_layout Standard
13813
13814 \color yellow
13815 d
13816 \end_layout
13817
13818 \end_inset
13819 </cell>
13820 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13821 \begin_inset Text
13822
13823 \begin_layout Standard
13824
13825 \color blue
13826 e
13827 \end_layout
13828
13829 \end_inset
13830 </cell>
13831 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13832 \begin_inset Text
13833
13834 \begin_layout Standard
13835
13836 \color blue
13837 f
13838 \end_layout
13839
13840 \end_inset
13841 </cell>
13842 </row>
13843 <row>
13844 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13845 \begin_inset Text
13846
13847 \begin_layout Standard
13848
13849 \color yellow
13850 g
13851 \end_layout
13852
13853 \end_inset
13854 </cell>
13855 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13856 \begin_inset Text
13857
13858 \begin_layout Standard
13859
13860 \color blue
13861 h
13862 \end_layout
13863
13864 \end_inset
13865 </cell>
13866 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13867 \begin_inset Text
13868
13869 \begin_layout Standard
13870 \begin_inset ERT
13871 status collapsed
13872
13873 \begin_layout Standard
13874
13875
13876 \backslash
13877 cellcolor{magenta}
13878 \end_layout
13879
13880 \end_inset
13881
13882
13883 \color green
13884 i
13885 \end_layout
13886
13887 \end_inset
13888 </cell>
13889 </row>
13890 </lyxtabular>
13891
13892 \end_inset
13893
13894
13895 \end_layout
13896
13897 \end_inset
13898
13899
13900 \end_layout
13901
13902 \begin_layout Subsection
13903 Colored Lines
13904 \begin_inset LatexCommand index
13905 name "Table Color ! for Lines"
13906
13907 \end_inset
13908
13909
13910 \begin_inset LatexCommand index
13911 name "Color ! for Table Lines"
13912
13913 \end_inset
13914
13915
13916 \end_layout
13917
13918 \begin_layout Standard
13919 As described in section\InsetSpace ~
13920
13921 \begin_inset LatexCommand ref
13922 reference "sub:Line-Thickness"
13923
13924 \end_inset
13925
13926 , the line thickness for all lines in a table can be adjusted with the length
13927  
13928 \series bold
13929
13930 \backslash
13931 arrayrulewidth
13932 \series default
13933 .
13934  It is set to 1.5\InsetSpace \thinspace{}
13935 pt for all tables of this section.
13936 \begin_inset ERT
13937 status collapsed
13938
13939 \begin_layout Standard
13940
13941
13942 \backslash
13943 setlength{
13944 \backslash
13945 arrayrulewidth}{1.5pt}
13946 \end_layout
13947
13948 \end_inset
13949
13950
13951 \end_layout
13952
13953 \begin_layout Standard
13954 To color vertical lines for example with green, create the following column
13955  format in the document preamble, according to the description in section\InsetSpace ~
13956
13957 \begin_inset LatexCommand ref
13958 reference "sub:Customized-Format"
13959
13960 \end_inset
13961
13962 :
13963 \end_layout
13964
13965 \begin_layout Standard
13966
13967 \series bold
13968
13969 \backslash
13970 newcolumntype{W}{!{
13971 \backslash
13972 color{green}
13973 \backslash
13974 vline}}
13975 \end_layout
13976
13977 \begin_layout Standard
13978 For Table\InsetSpace ~
13979
13980 \begin_inset LatexCommand ref
13981 reference "tab:Table-with-vertical-colored"
13982
13983 \end_inset
13984
13985  the LaTeX-argument
13986 \end_layout
13987
13988 \begin_layout Standard
13989
13990 \series bold
13991 WcW
13992 \end_layout
13993
13994 \begin_layout Standard
13995 was used for the last column and
13996 \end_layout
13997
13998 \begin_layout Standard
13999
14000 \series bold
14001 Wc
14002 \end_layout
14003
14004 \begin_layout Standard
14005 for the other columns.
14006 \end_layout
14007
14008 \begin_layout Standard
14009 If you want to have several colors, define more column formats.
14010 \end_layout
14011
14012 \begin_layout Standard
14013 \begin_inset Float table
14014 wide false
14015 sideways false
14016 status open
14017
14018 \begin_layout Standard
14019 \begin_inset Caption
14020
14021 \begin_layout Standard
14022 \begin_inset LatexCommand label
14023 name "tab:Table-with-vertical-colored"
14024
14025 \end_inset
14026
14027 Table with colored vertical lines
14028 \end_layout
14029
14030 \end_inset
14031
14032
14033 \end_layout
14034
14035 \begin_layout Standard
14036 \align center
14037 \begin_inset Tabular
14038 <lyxtabular version="3" rows="3" columns="3">
14039 <features>
14040 <column alignment="center" valignment="top" leftline="true" width="0" special="Wc">
14041 <column alignment="center" valignment="top" width="0" special="Wc">
14042 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0" special="WcW">
14043 <row topline="true">
14044 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14045 \begin_inset Text
14046
14047 \begin_layout Standard
14048 sd
14049 \end_layout
14050
14051 \end_inset
14052 </cell>
14053 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14054 \begin_inset Text
14055
14056 \begin_layout Standard
14057
14058 \end_layout
14059
14060 \end_inset
14061 </cell>
14062 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14063 \begin_inset Text
14064
14065 \begin_layout Standard
14066
14067 \end_layout
14068
14069 \end_inset
14070 </cell>
14071 </row>
14072 <row topline="true">
14073 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14074 \begin_inset Text
14075
14076 \begin_layout Standard
14077
14078 \end_layout
14079
14080 \end_inset
14081 </cell>
14082 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14083 \begin_inset Text
14084
14085 \begin_layout Standard
14086 sd
14087 \end_layout
14088
14089 \end_inset
14090 </cell>
14091 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14092 \begin_inset Text
14093
14094 \begin_layout Standard
14095
14096 \end_layout
14097
14098 \end_inset
14099 </cell>
14100 </row>
14101 <row topline="true" bottomline="true">
14102 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14103 \begin_inset Text
14104
14105 \begin_layout Standard
14106
14107 \end_layout
14108
14109 \end_inset
14110 </cell>
14111 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14112 \begin_inset Text
14113
14114 \begin_layout Standard
14115
14116 \end_layout
14117
14118 \end_inset
14119 </cell>
14120 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14121 \begin_inset Text
14122
14123 \begin_layout Standard
14124 sd
14125 \end_layout
14126
14127 \end_inset
14128 </cell>
14129 </row>
14130 </lyxtabular>
14131
14132 \end_inset
14133
14134
14135 \end_layout
14136
14137 \end_inset
14138
14139
14140 \end_layout
14141
14142 \begin_layout Standard
14143 \begin_inset VSpace bigskip
14144 \end_inset
14145
14146 To color horizontal lines for example with red, like in Table\InsetSpace ~
14147
14148 \begin_inset LatexCommand ref
14149 reference "tab:Table-with-horizontal-colored"
14150
14151 \end_inset
14152
14153 , insert these commands in ERT before the table or table float:
14154 \end_layout
14155
14156 \begin_layout Standard
14157
14158 \series bold
14159
14160 \backslash
14161 let
14162 \backslash
14163 myHlineC
14164 \backslash
14165 hline
14166 \newline
14167
14168 \backslash
14169 renewcommand{
14170 \backslash
14171 hline}{
14172 \backslash
14173 arrayrulecolor{red}
14174 \backslash
14175 myHlineC
14176 \backslash
14177 arrayrulecolor{black}}
14178 \end_layout
14179
14180 \begin_layout Standard
14181 \begin_inset ERT
14182 status collapsed
14183
14184 \begin_layout Standard
14185
14186
14187 \backslash
14188 let
14189 \backslash
14190 myHlineC
14191 \backslash
14192 hline
14193 \end_layout
14194
14195 \begin_layout Standard
14196
14197
14198 \backslash
14199 renewcommand{
14200 \backslash
14201 hline}{
14202 \backslash
14203 arrayrulecolor{red}
14204 \backslash
14205 myHlineC
14206 \backslash
14207 arrayrulecolor{black}}
14208 \end_layout
14209
14210 \end_inset
14211
14212
14213 \begin_inset Float table
14214 wide false
14215 sideways false
14216 status open
14217
14218 \begin_layout Standard
14219 \begin_inset Caption
14220
14221 \begin_layout Standard
14222 \begin_inset LatexCommand label
14223 name "tab:Table-with-horizontal-colored"
14224
14225 \end_inset
14226
14227 Table with colored horizontal lines
14228 \end_layout
14229
14230 \end_inset
14231
14232
14233 \end_layout
14234
14235 \begin_layout Standard
14236 \align center
14237 \begin_inset Tabular
14238 <lyxtabular version="3" rows="3" columns="3">
14239 <features>
14240 <column alignment="center" valignment="top" leftline="true" width="0">
14241 <column alignment="center" valignment="top" leftline="true" width="0">
14242 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14243 <row topline="true">
14244 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14245 \begin_inset Text
14246
14247 \begin_layout Standard
14248 sd
14249 \end_layout
14250
14251 \end_inset
14252 </cell>
14253 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14254 \begin_inset Text
14255
14256 \begin_layout Standard
14257
14258 \end_layout
14259
14260 \end_inset
14261 </cell>
14262 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14263 \begin_inset Text
14264
14265 \begin_layout Standard
14266
14267 \end_layout
14268
14269 \end_inset
14270 </cell>
14271 </row>
14272 <row topline="true">
14273 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14274 \begin_inset Text
14275
14276 \begin_layout Standard
14277
14278 \end_layout
14279
14280 \end_inset
14281 </cell>
14282 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14283 \begin_inset Text
14284
14285 \begin_layout Standard
14286 sd
14287 \end_layout
14288
14289 \end_inset
14290 </cell>
14291 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14292 \begin_inset Text
14293
14294 \begin_layout Standard
14295
14296 \end_layout
14297
14298 \end_inset
14299 </cell>
14300 </row>
14301 <row topline="true" bottomline="true">
14302 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14303 \begin_inset Text
14304
14305 \begin_layout Standard
14306
14307 \end_layout
14308
14309 \end_inset
14310 </cell>
14311 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14312 \begin_inset Text
14313
14314 \begin_layout Standard
14315
14316 \end_layout
14317
14318 \end_inset
14319 </cell>
14320 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14321 \begin_inset Text
14322
14323 \begin_layout Standard
14324 sd
14325 \end_layout
14326
14327 \end_inset
14328 </cell>
14329 </row>
14330 </lyxtabular>
14331
14332 \end_inset
14333
14334
14335 \end_layout
14336
14337 \end_inset
14338
14339
14340 \end_layout
14341
14342 \begin_layout Standard
14343 \begin_inset ERT
14344 status collapsed
14345
14346 \begin_layout Standard
14347
14348
14349 \backslash
14350 pagebreak 
14351 \end_layout
14352
14353 \end_inset
14354
14355
14356 \end_layout
14357
14358 \begin_layout Standard
14359 To return to the default line color black, insert this command in ERT behind
14360  the table or table float:
14361 \end_layout
14362
14363 \begin_layout Standard
14364
14365 \series bold
14366
14367 \backslash
14368 renewcommand{
14369 \backslash
14370 hline}{
14371 \backslash
14372 myHlineC}
14373 \end_layout
14374
14375 \begin_layout Standard
14376 Table\InsetSpace ~
14377
14378 \begin_inset LatexCommand ref
14379 reference "tab:Table-with-colored"
14380
14381 \end_inset
14382
14383  is an example with colored vertical and horizontal lines.
14384 \end_layout
14385
14386 \begin_layout Standard
14387 \begin_inset Float table
14388 wide false
14389 sideways false
14390 status open
14391
14392 \begin_layout Standard
14393 \begin_inset Caption
14394
14395 \begin_layout Standard
14396 \begin_inset LatexCommand label
14397 name "tab:Table-with-colored"
14398
14399 \end_inset
14400
14401 Table with colored lines
14402 \end_layout
14403
14404 \end_inset
14405
14406
14407 \end_layout
14408
14409 \begin_layout Standard
14410 \align center
14411 \begin_inset Tabular
14412 <lyxtabular version="3" rows="3" columns="3">
14413 <features>
14414 <column alignment="center" valignment="top" leftline="true" width="0" special="Wc">
14415 <column alignment="center" valignment="top" width="0" special="Wc">
14416 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0" special="WcW">
14417 <row topline="true">
14418 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14419 \begin_inset Text
14420
14421 \begin_layout Standard
14422 sd
14423 \end_layout
14424
14425 \end_inset
14426 </cell>
14427 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14428 \begin_inset Text
14429
14430 \begin_layout Standard
14431
14432 \end_layout
14433
14434 \end_inset
14435 </cell>
14436 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14437 \begin_inset Text
14438
14439 \begin_layout Standard
14440
14441 \end_layout
14442
14443 \end_inset
14444 </cell>
14445 </row>
14446 <row topline="true">
14447 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14448 \begin_inset Text
14449
14450 \begin_layout Standard
14451
14452 \end_layout
14453
14454 \end_inset
14455 </cell>
14456 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14457 \begin_inset Text
14458
14459 \begin_layout Standard
14460 sd
14461 \end_layout
14462
14463 \end_inset
14464 </cell>
14465 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14466 \begin_inset Text
14467
14468 \begin_layout Standard
14469
14470 \end_layout
14471
14472 \end_inset
14473 </cell>
14474 </row>
14475 <row topline="true" bottomline="true" topspace="default">
14476 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14477 \begin_inset Text
14478
14479 \begin_layout Standard
14480
14481 \end_layout
14482
14483 \end_inset
14484 </cell>
14485 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14486 \begin_inset Text
14487
14488 \begin_layout Standard
14489
14490 \end_layout
14491
14492 \end_inset
14493 </cell>
14494 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14495 \begin_inset Text
14496
14497 \begin_layout Standard
14498 sd
14499 \end_layout
14500
14501 \end_inset
14502 </cell>
14503 </row>
14504 </lyxtabular>
14505
14506 \end_inset
14507
14508
14509 \end_layout
14510
14511 \end_inset
14512
14513
14514 \end_layout
14515
14516 \begin_layout Standard
14517 \begin_inset ERT
14518 status collapsed
14519
14520 \begin_layout Standard
14521
14522
14523 \backslash
14524 renewcommand{
14525 \backslash
14526 hline}{
14527 \backslash
14528 myHlineC}
14529 \end_layout
14530
14531 \end_inset
14532
14533
14534 \end_layout
14535
14536 \begin_layout Standard
14537 \begin_inset ERT
14538 status collapsed
14539
14540 \begin_layout Standard
14541
14542
14543 \backslash
14544 setlength{
14545 \backslash
14546 arrayrulewidth}{0.4pt}
14547 \end_layout
14548
14549 \end_inset
14550
14551
14552 \end_layout
14553
14554 \begin_layout Section
14555 Table Customization
14556 \begin_inset LatexCommand index
14557 name "Table Customization"
14558
14559 \end_inset
14560
14561
14562 \begin_inset LatexCommand index
14563 name "Table ! Customization"
14564
14565 \end_inset
14566
14567
14568 \end_layout
14569
14570 \begin_layout Subsection
14571 Row Spacing
14572 \begin_inset LatexCommand label
14573 name "sub:Row-Spacing"
14574
14575 \end_inset
14576
14577
14578 \begin_inset LatexCommand index
14579 name "Table Customization ! Row Spacing"
14580
14581 \end_inset
14582
14583
14584 \end_layout
14585
14586 \begin_layout Standard
14587 You can add vertical space to table rows in the 
14588 \family sans
14589 Borders
14590 \family default
14591  tab of the table dialog.
14592  You find there three possibilities:
14593 \end_layout
14594
14595 \begin_layout Description
14596 Top\InsetSpace ~
14597 of\InsetSpace ~
14598 row will add space above the characters of the table row.
14599  If the table is a formal table
14600 \begin_inset Foot
14601 status collapsed
14602
14603 \begin_layout Standard
14604 Formal tables are explained in section\InsetSpace ~
14605
14606 \begin_inset LatexCommand ref
14607 reference "sec:Formal-Tables"
14608
14609 \end_inset
14610
14611 .
14612 \end_layout
14613
14614 \end_inset
14615
14616  LyX will insert as default 0.5\InsetSpace \thinspace{}
14617 em space.
14618  For normal tables the inserted space will unfortunately destroy the vertical
14619  table lines as in the following table: 
14620 \begin_inset Tabular
14621 <lyxtabular version="3" rows="3" columns="1">
14622 <features>
14623 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14624 <row topline="true">
14625 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14626 \begin_inset Text
14627
14628 \begin_layout Standard
14629 A
14630 \end_layout
14631
14632 \end_inset
14633 </cell>
14634 </row>
14635 <row topline="true" topspace="3mm">
14636 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14637 \begin_inset Text
14638
14639 \begin_layout Standard
14640 3\InsetSpace \thinspace{}
14641 mm space top of row
14642 \end_layout
14643
14644 \end_inset
14645 </cell>
14646 </row>
14647 <row topline="true" bottomline="true">
14648 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14649 \begin_inset Text
14650
14651 \begin_layout Standard
14652 C
14653 \end_layout
14654
14655 \end_inset
14656 </cell>
14657 </row>
14658 </lyxtabular>
14659
14660 \end_inset
14661
14662
14663 \newline
14664 So inserting space to the top of row for normal tables is only useful when
14665  you don't have vertical lines.
14666 \end_layout
14667
14668 \begin_layout Description
14669 Bottom\InsetSpace ~
14670 of\InsetSpace ~
14671 row will add space below the characters of the table row.
14672  If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
14673 em space, for
14674  normal tables the default size is 2\InsetSpace \thinspace{}
14675 pt.
14676 \end_layout
14677
14678 \begin_layout Description
14679 Between\InsetSpace ~
14680 rows only has an effect when you have selected the whole table row
14681  before.
14682  The space is added between the current and the following row.
14683  If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
14684 em space.
14685  For normal tables the inserted space will unfortunately destroy the vertical
14686  table lines as in the following table: 
14687 \begin_inset Tabular
14688 <lyxtabular version="3" rows="3" columns="1">
14689 <features>
14690 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14691 <row topline="true">
14692 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14693 \begin_inset Text
14694
14695 \begin_layout Standard
14696 A
14697 \end_layout
14698
14699 \end_inset
14700 </cell>
14701 </row>
14702 <row topline="true" interlinespace="3mm">
14703 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14704 \begin_inset Text
14705
14706 \begin_layout Standard
14707 \begin_inset Formula $\downarrow$
14708 \end_inset
14709
14710  3\InsetSpace \thinspace{}
14711 mm space between row 
14712 \begin_inset Formula $\downarrow$
14713 \end_inset
14714
14715
14716 \end_layout
14717
14718 \end_inset
14719 </cell>
14720 </row>
14721 <row topline="true" bottomline="true">
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 $\uparrow$
14727 \end_inset
14728
14729  3\InsetSpace \thinspace{}
14730 mm space between row 
14731 \begin_inset Formula $\uparrow$
14732 \end_inset
14733
14734
14735 \end_layout
14736
14737 \end_inset
14738 </cell>
14739 </row>
14740 </lyxtabular>
14741
14742 \end_inset
14743
14744
14745 \newline
14746 So inserting space to the top of row for normal tables is only useful when
14747  you don't have vertical lines.
14748 \end_layout
14749
14750 \begin_layout Standard
14751 When you want to add extra height to all cells of all tables, you can do
14752  this with the following preamble line:
14753 \end_layout
14754
14755 \begin_layout Standard
14756
14757 \series bold
14758
14759 \backslash
14760 setlength{
14761 \backslash
14762 extrarowheight}{height}
14763 \end_layout
14764
14765 \begin_layout Standard
14766 But this has the disadvantage that the cell texts are no longer exactly
14767  vertically centered.
14768 \end_layout
14769
14770 \begin_layout Subsection
14771 Special Cell Alignment
14772 \begin_inset LatexCommand index
14773 name "Table Customization ! Special Cell Alignment"
14774
14775 \end_inset
14776
14777
14778 \end_layout
14779
14780 \begin_layout Standard
14781 Sometimes it looks better when the cell entries of a column are aligned
14782  with a special character, e.\InsetSpace \thinspace{}
14783 g.\InsetSpace ~
14784 with the decimal separator as in Table\InsetSpace ~
14785
14786 \begin_inset LatexCommand ref
14787 reference "tab:Table-cells-of"
14788
14789 \end_inset
14790
14791 .
14792 \end_layout
14793
14794 \begin_layout Standard
14795 \begin_inset Float table
14796 placement h
14797 wide false
14798 sideways false
14799 status open
14800
14801 \begin_layout Standard
14802 \begin_inset Caption
14803
14804 \begin_layout Standard
14805 \begin_inset LatexCommand label
14806 name "tab:Table-cells-of"
14807
14808 \end_inset
14809
14810 Table cells of a column aligned with the decimal separator.
14811 \end_layout
14812
14813 \end_inset
14814
14815
14816 \end_layout
14817
14818 \begin_layout Standard
14819 \align center
14820 \begin_inset Tabular
14821 <lyxtabular version="3" rows="4" columns="2">
14822 <features>
14823 <column alignment="right" valignment="top" width="0">
14824 <column alignment="left" valignment="top" width="0" special="@{}l">
14825 <row bottomline="true">
14826 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
14827 \begin_inset Text
14828
14829 \begin_layout Standard
14830 heading
14831 \end_layout
14832
14833 \end_inset
14834 </cell>
14835 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14836 \begin_inset Text
14837
14838 \begin_layout Standard
14839
14840 \end_layout
14841
14842 \end_inset
14843 </cell>
14844 </row>
14845 <row>
14846 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14847 \begin_inset Text
14848
14849 \begin_layout Standard
14850 12.
14851 \end_layout
14852
14853 \end_inset
14854 </cell>
14855 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14856 \begin_inset Text
14857
14858 \begin_layout Standard
14859 6
14860 \end_layout
14861
14862 \end_inset
14863 </cell>
14864 </row>
14865 <row>
14866 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14867 \begin_inset Text
14868
14869 \begin_layout Standard
14870 0.
14871 \end_layout
14872
14873 \end_inset
14874 </cell>
14875 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14876 \begin_inset Text
14877
14878 \begin_layout Standard
14879 68
14880 \end_layout
14881
14882 \end_inset
14883 </cell>
14884 </row>
14885 <row>
14886 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14887 \begin_inset Text
14888
14889 \begin_layout Standard
14890 -123.
14891 \end_layout
14892
14893 \end_inset
14894 </cell>
14895 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14896 \begin_inset Text
14897
14898 \begin_layout Standard
14899 0
14900 \end_layout
14901
14902 \end_inset
14903 </cell>
14904 </row>
14905 </lyxtabular>
14906
14907 \end_inset
14908
14909
14910 \end_layout
14911
14912 \end_inset
14913
14914
14915 \end_layout
14916
14917 \begin_layout Standard
14918 This table was created with a 4×2 table.
14919  The heading is a centered multicolumn.
14920  The first column is right-aligned and contains the digits before the decimal
14921  point and the decimal point.
14922  The second column is left aligned and contains the digits after the decimal
14923  point.
14924  To omit the space that is normally between two table columns, use the following
14925  LaTeX-argument for the second column:
14926 \end_layout
14927
14928 \begin_layout Standard
14929
14930 \series bold
14931 @{}l
14932 \end_layout
14933
14934 \begin_layout Standard
14935 If you need a vertical line right beside the second column, use this LaTeX-argum
14936 ent instead: 
14937 \series bold
14938 @{}l|
14939 \end_layout
14940
14941 \begin_layout Standard
14942 Table\InsetSpace ~
14943
14944 \begin_inset LatexCommand ref
14945 reference "tab:Several-table-cell"
14946
14947 \end_inset
14948
14949  shows some example alignments.
14950  For the alignment with the relation sign, you must add the second smallest
14951  math-space at the beginning of the last column to get the correct space
14952  surrounding the relation sign.
14953 \end_layout
14954
14955 \begin_layout Standard
14956 \begin_inset Float table
14957 wide false
14958 sideways false
14959 status open
14960
14961 \begin_layout Standard
14962 \begin_inset Caption
14963
14964 \begin_layout Standard
14965 \begin_inset LatexCommand label
14966 name "tab:Several-table-cell"
14967
14968 \end_inset
14969
14970 Several table cell alignments.
14971 \end_layout
14972
14973 \end_inset
14974
14975
14976 \end_layout
14977
14978 \begin_layout Standard
14979 \align center
14980 \begin_inset Tabular
14981 <lyxtabular version="3" rows="4" columns="6">
14982 <features>
14983 <column alignment="right" valignment="top" width="0">
14984 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l|">
14985 <column alignment="right" valignment="top" width="0">
14986 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l|">
14987 <column alignment="right" valignment="top" width="0">
14988 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l">
14989 <row bottomline="true">
14990 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
14991 \begin_inset Text
14992
14993 \begin_layout Standard
14994 units
14995 \end_layout
14996
14997 \end_inset
14998 </cell>
14999 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15000 \begin_inset Text
15001
15002 \begin_layout Standard
15003
15004 \end_layout
15005
15006 \end_inset
15007 </cell>
15008 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15009 \begin_inset Text
15010
15011 \begin_layout Standard
15012 exponents
15013 \end_layout
15014
15015 \end_inset
15016 </cell>
15017 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15018 \begin_inset Text
15019
15020 \begin_layout Standard
15021
15022 \end_layout
15023
15024 \end_inset
15025 </cell>
15026 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15027 \begin_inset Text
15028
15029 \begin_layout Standard
15030 relations
15031 \end_layout
15032
15033 \end_inset
15034 </cell>
15035 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15036 \begin_inset Text
15037
15038 \begin_layout Standard
15039
15040 \end_layout
15041
15042 \end_inset
15043 </cell>
15044 </row>
15045 <row>
15046 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15047 \begin_inset Text
15048
15049 \begin_layout Standard
15050 12×
15051 \end_layout
15052
15053 \end_inset
15054 </cell>
15055 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15056 \begin_inset Text
15057
15058 \begin_layout Standard
15059 24\InsetSpace \thinspace{}
15060 bottles
15061 \end_layout
15062
15063 \end_inset
15064 </cell>
15065 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15066 \begin_inset Text
15067
15068 \begin_layout Standard
15069 \begin_inset Formula $10\cdot$
15070 \end_inset
15071
15072
15073 \end_layout
15074
15075 \end_inset
15076 </cell>
15077 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15078 \begin_inset Text
15079
15080 \begin_layout Standard
15081 \begin_inset Formula $10^{\mbox{-}17}$
15082 \end_inset
15083
15084
15085 \end_layout
15086
15087 \end_inset
15088 </cell>
15089 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15090 \begin_inset Text
15091
15092 \begin_layout Standard
15093 \begin_inset Formula $\Gamma(t)\propto$
15094 \end_inset
15095
15096
15097 \end_layout
15098
15099 \end_inset
15100 </cell>
15101 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15102 \begin_inset Text
15103
15104 \begin_layout Standard
15105 \begin_inset Formula $\:\Upsilon(t)$
15106 \end_inset
15107
15108
15109 \end_layout
15110
15111 \end_inset
15112 </cell>
15113 </row>
15114 <row>
15115 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15116 \begin_inset Text
15117
15118 \begin_layout Standard
15119 1024×
15120 \end_layout
15121
15122 \end_inset
15123 </cell>
15124 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15125 \begin_inset Text
15126
15127 \begin_layout Standard
15128 768\InsetSpace \thinspace{}
15129 Pixels
15130 \end_layout
15131
15132 \end_inset
15133 </cell>
15134 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15135 \begin_inset Text
15136
15137 \begin_layout Standard
15138 \begin_inset Formula $5.78\cdot$
15139 \end_inset
15140
15141
15142 \end_layout
15143
15144 \end_inset
15145 </cell>
15146 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15147 \begin_inset Text
15148
15149 \begin_layout Standard
15150 \begin_inset Formula $10^{7}$
15151 \end_inset
15152
15153
15154 \end_layout
15155
15156 \end_inset
15157 </cell>
15158 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15159 \begin_inset Text
15160
15161 \begin_layout Standard
15162 \begin_inset Formula $A\ne$
15163 \end_inset
15164
15165
15166 \end_layout
15167
15168 \end_inset
15169 </cell>
15170 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15171 \begin_inset Text
15172
15173 \begin_layout Standard
15174 \begin_inset Formula $\: B_{\mathrm{red}}$
15175 \end_inset
15176
15177
15178 \end_layout
15179
15180 \end_inset
15181 </cell>
15182 </row>
15183 <row>
15184 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15185 \begin_inset Text
15186
15187 \begin_layout Standard
15188 32×
15189 \end_layout
15190
15191 \end_inset
15192 </cell>
15193 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15194 \begin_inset Text
15195
15196 \begin_layout Standard
15197 6\InsetSpace \thinspace{}
15198 cm
15199 \end_layout
15200
15201 \end_inset
15202 </cell>
15203 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15204 \begin_inset Text
15205
15206 \begin_layout Standard
15207 -
15208 \begin_inset Formula $33.5\cdot$
15209 \end_inset
15210
15211
15212 \end_layout
15213
15214 \end_inset
15215 </cell>
15216 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15217 \begin_inset Text
15218
15219 \begin_layout Standard
15220 \begin_inset Formula $10^{4}$
15221 \end_inset
15222
15223
15224 \end_layout
15225
15226 \end_inset
15227 </cell>
15228 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15229 \begin_inset Text
15230
15231 \begin_layout Standard
15232 \begin_inset Formula $\sin(\alpha)\ge$
15233 \end_inset
15234
15235
15236 \end_layout
15237
15238 \end_inset
15239 </cell>
15240 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15241 \begin_inset Text
15242
15243 \begin_layout Standard
15244 \begin_inset Formula $\:\sin(\beta)$
15245 \end_inset
15246
15247
15248 \end_layout
15249
15250 \end_inset
15251 </cell>
15252 </row>
15253 </lyxtabular>
15254
15255 \end_inset
15256
15257
15258 \end_layout
15259
15260 \end_inset
15261
15262
15263 \end_layout
15264
15265 \begin_layout Standard
15266 \begin_inset VSpace bigskip
15267 \end_inset
15268
15269 There is also the LaTeX-package 
15270 \series bold
15271 dcolumn
15272 \series default
15273
15274 \begin_inset LatexCommand index
15275 name "LaTeX-packages ! dcolumn"
15276
15277 \end_inset
15278
15279  that provides table cell alignments.
15280  But this unfortunately treats the cell entries as math and doesn't allow
15281  formulas in table cells: The first column of Table\InsetSpace ~
15282
15283 \begin_inset LatexCommand ref
15284 reference "tab:Several-table-cell"
15285
15286 \end_inset
15287
15288  will look with 
15289 \series bold
15290 dcolumn
15291 \series default
15292  like the first column in Table\InsetSpace ~
15293
15294 \begin_inset LatexCommand ref
15295 reference "tab:Alignments-when"
15296
15297 \end_inset
15298
15299  and only with some tricks like the expected.
15300  The alignment of the second and third column of Table\InsetSpace ~
15301
15302 \begin_inset LatexCommand ref
15303 reference "tab:Several-table-cell"
15304
15305 \end_inset
15306
15307  is not possible with 
15308 \series bold
15309 dcolumn
15310 \series default
15311 .
15312 \end_layout
15313
15314 \begin_layout Standard
15315 \begin_inset Float table
15316 placement h
15317 wide false
15318 sideways false
15319 status open
15320
15321 \begin_layout Standard
15322 \begin_inset Caption
15323
15324 \begin_layout Standard
15325 \begin_inset LatexCommand label
15326 name "tab:Alignments-when"
15327
15328 \end_inset
15329
15330 Alignments when LaTeX-package dcolumn is used.
15331  For the second and third alignment some tricks were used.
15332 \end_layout
15333
15334 \end_inset
15335
15336
15337 \end_layout
15338
15339 \begin_layout Standard
15340 \align center
15341 \begin_inset Tabular
15342 <lyxtabular version="3" rows="4" columns="3">
15343 <features>
15344 <column alignment="center" valignment="top" rightline="true" width="0" special="D{×}{\times}{-1}|">
15345 <column alignment="center" valignment="top" width="0" special="D{×}{\times}{4.9}|">
15346 <column alignment="center" valignment="top" rightline="true" width="0" special="D{~}{\,}{9.7}">
15347 <row bottomline="true">
15348 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15349 \begin_inset Text
15350
15351 \begin_layout Standard
15352 units
15353 \end_layout
15354
15355 \end_inset
15356 </cell>
15357 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15358 \begin_inset Text
15359
15360 \begin_layout Standard
15361 units
15362 \end_layout
15363
15364 \end_inset
15365 </cell>
15366 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15367 \begin_inset Text
15368
15369 \begin_layout Standard
15370 units
15371 \end_layout
15372
15373 \end_inset
15374 </cell>
15375 </row>
15376 <row>
15377 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15378 \begin_inset Text
15379
15380 \begin_layout Standard
15381 12×24\InsetSpace \thinspace{}
15382 bottles
15383 \end_layout
15384
15385 \end_inset
15386 </cell>
15387 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15388 \begin_inset Text
15389
15390 \begin_layout Standard
15391 12×24\InsetSpace \thinspace{}
15392
15393 \begin_inset Formula $\mbox{bottles}$
15394 \end_inset
15395
15396
15397 \end_layout
15398
15399 \end_inset
15400 </cell>
15401 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15402 \begin_inset Text
15403
15404 \begin_layout Standard
15405 12×24~
15406 \begin_inset Formula $\mbox{bottles}$
15407 \end_inset
15408
15409
15410 \end_layout
15411
15412 \end_inset
15413 </cell>
15414 </row>
15415 <row>
15416 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15417 \begin_inset Text
15418
15419 \begin_layout Standard
15420 1024×768\InsetSpace \thinspace{}
15421 Pixels
15422 \end_layout
15423
15424 \end_inset
15425 </cell>
15426 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15427 \begin_inset Text
15428
15429 \begin_layout Standard
15430 1024×768\InsetSpace \thinspace{}
15431
15432 \begin_inset Formula $\mbox{Pixels}$
15433 \end_inset
15434
15435
15436 \end_layout
15437
15438 \end_inset
15439 </cell>
15440 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15441 \begin_inset Text
15442
15443 \begin_layout Standard
15444 1024×768~
15445 \begin_inset Formula $\mbox{Pixels}$
15446 \end_inset
15447
15448
15449 \end_layout
15450
15451 \end_inset
15452 </cell>
15453 </row>
15454 <row>
15455 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15456 \begin_inset Text
15457
15458 \begin_layout Standard
15459 32×6\InsetSpace \thinspace{}
15460 cm
15461 \end_layout
15462
15463 \end_inset
15464 </cell>
15465 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15466 \begin_inset Text
15467
15468 \begin_layout Standard
15469 32×6\InsetSpace \thinspace{}
15470
15471 \begin_inset Formula $\mbox{cm}$
15472 \end_inset
15473
15474
15475 \end_layout
15476
15477 \end_inset
15478 </cell>
15479 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15480 \begin_inset Text
15481
15482 \begin_layout Standard
15483 32×6~
15484 \begin_inset Formula $\mbox{cm}$
15485 \end_inset
15486
15487
15488 \end_layout
15489
15490 \end_inset
15491 </cell>
15492 </row>
15493 </lyxtabular>
15494
15495 \end_inset
15496
15497
15498 \end_layout
15499
15500 \end_inset
15501
15502
15503 \end_layout
15504
15505 \begin_layout Subsection
15506 Customized Cell/Column Format
15507 \begin_inset LatexCommand label
15508 name "sub:Customized-Format"
15509
15510 \end_inset
15511
15512
15513 \begin_inset LatexCommand index
15514 name "Table Customization ! Cell/Column Format"
15515
15516 \end_inset
15517
15518
15519 \end_layout
15520
15521 \begin_layout Standard
15522 Calculating the needed width for spanned columns like in section\InsetSpace ~
15523
15524 \begin_inset LatexCommand ref
15525 reference "sub:Multicolumn-Calculations"
15526
15527 \end_inset
15528
15529  is very annoying if you have several tables with multicolumn cells.
15530  To make life easier, you can define a cell/column format in the preamble,
15531  so that it can be used in all tables of the document.
15532  The format is defined with the command
15533 \end_layout
15534
15535 \begin_layout Standard
15536
15537 \series bold
15538
15539 \backslash
15540 newcolumntype{name of format}[number of arguments]{commands}
15541 \end_layout
15542
15543 \begin_layout Standard
15544 The format name may only consist of one letter.
15545  The letters 
15546 \emph on
15547 b
15548 \emph default
15549
15550 \emph on
15551 c
15552 \emph default
15553
15554 \emph on
15555 l
15556 \emph default
15557
15558 \emph on
15559 m
15560 \emph default
15561
15562 \emph on
15563 p
15564 \emph default
15565  and 
15566 \emph on
15567 r
15568 \emph default
15569  are predefined and cannot be used.
15570  But all letters are allowed as capitals.
15571 \end_layout
15572
15573 \begin_layout Standard
15574 \begin_inset VSpace medskip
15575 \end_inset
15576
15577
15578 \end_layout
15579
15580 \begin_layout Standard
15581 For vertically and horizontally centered multicolumn cells with a fixed
15582  width you can define the cell format
15583 \end_layout
15584
15585 \begin_layout Standard
15586
15587 \series bold
15588
15589 \backslash
15590 newcolumntype{M}[1]{>{
15591 \backslash
15592 centering
15593 \backslash
15594 hspace{0pt}}m{#1}}
15595 \end_layout
15596
15597 \begin_layout Standard
15598 where 
15599 \series bold
15600
15601 \backslash
15602 hspace{0pt}
15603 \series default
15604  avoids the problem of hyphenating the first word, as described in section\InsetSpace ~
15605
15606 \begin_inset LatexCommand ref
15607 reference "sub:Multiple-Lines-in"
15608
15609 \end_inset
15610
15611 .
15612  Now you can simply enter
15613 \end_layout
15614
15615 \begin_layout Standard
15616
15617 \series bold
15618 |M{width}
15619 \end_layout
15620
15621 \begin_layout Standard
15622 as LaTeX-argument in the table dialog to create a multicolumn.
15623 \end_layout
15624
15625 \begin_layout Standard
15626 \begin_inset VSpace bigskip
15627 \end_inset
15628
15629
15630 \end_layout
15631
15632 \begin_layout Standard
15633 For cells spanned by a multicolumn cell, you can define the format
15634 \end_layout
15635
15636 \begin_layout Standard
15637
15638 \series bold
15639
15640 \backslash
15641 newcolumntype{S}[2]{>{
15642 \backslash
15643 centering
15644 \backslash
15645 hspace{0pt}}
15646 \newline
15647
15648 \begin_inset ERT
15649 status collapsed
15650
15651 \begin_layout Standard
15652
15653
15654 \backslash
15655 phantom{
15656 \end_layout
15657
15658 \end_inset
15659
15660
15661 \backslash
15662 newcolumntype{S}[2]
15663 \begin_inset ERT
15664 status collapsed
15665
15666 \begin_layout Standard
15667
15668 }
15669 \end_layout
15670
15671 \end_inset
15672
15673 m{(#1+(2
15674 \backslash
15675 tabcolsep+
15676 \backslash
15677 arrayrulewidth)*(1-#2))/#2}}
15678 \end_layout
15679
15680 \begin_layout Standard
15681 This format uses equation 
15682 \begin_inset LatexCommand eqref
15683 reference "eq:Wgn"
15684
15685 \end_inset
15686
15687  to calculate the needed width so that each spanned cell has the same width.
15688 \end_layout
15689
15690 \begin_layout Standard
15691 You can now enter
15692 \end_layout
15693
15694 \begin_layout Standard
15695
15696 \series bold
15697 |S{width of multicolumn cell}{number of spanned columns}
15698 \end_layout
15699
15700 \begin_layout Standard
15701 as LaTeX-argument of the column.
15702 \end_layout
15703
15704 \begin_layout Standard
15705 \begin_inset VSpace bigskip
15706 \end_inset
15707
15708
15709 \end_layout
15710
15711 \begin_layout Standard
15712 For colored columns, you can define
15713 \end_layout
15714
15715 \begin_layout Standard
15716
15717 \series bold
15718
15719 \backslash
15720 newcolumntype{K}[1]{>{
15721 \backslash
15722 columncolor{#1}
15723 \backslash
15724 hspace{0pt}}c}
15725 \end_layout
15726
15727 \begin_layout Standard
15728 The 
15729 \begin_inset Quotes eld
15730 \end_inset
15731
15732 c
15733 \begin_inset Quotes erd
15734 \end_inset
15735
15736  at the end creates a column with a flexible width whose text is horizontally
15737  centered.
15738  You can now enter
15739 \end_layout
15740
15741 \begin_layout Standard
15742
15743 \series bold
15744 K{color name}
15745 \end_layout
15746
15747 \begin_layout Standard
15748 as LaTeX-argument.
15749 \end_layout
15750
15751 \begin_layout Standard
15752 \begin_inset VSpace bigskip
15753 \end_inset
15754
15755
15756 \end_layout
15757
15758 \begin_layout Standard
15759 To create Table\InsetSpace ~
15760
15761 \begin_inset LatexCommand ref
15762 reference "tab:Table-using-user-defined"
15763
15764 \end_inset
15765
15766  use the LaTeX-arguments
15767 \end_layout
15768
15769 \begin_layout Standard
15770
15771 \series bold
15772 |M{2.5cm}
15773 \end_layout
15774
15775 \begin_layout Standard
15776 for the first column and the multicolumn,
15777 \end_layout
15778
15779 \begin_layout Standard
15780
15781 \series bold
15782 |K{red}|
15783 \end_layout
15784
15785 \begin_layout Standard
15786 for the the last column, and
15787 \end_layout
15788
15789 \begin_layout Standard
15790
15791 \series bold
15792 |S{2.5cm}{2}
15793 \end_layout
15794
15795 \begin_layout Standard
15796 for the cells in the second column.
15797 \end_layout
15798
15799 \begin_layout Standard
15800 \begin_inset Float table
15801 placement h
15802 wide false
15803 sideways false
15804 status open
15805
15806 \begin_layout Standard
15807 \begin_inset Caption
15808
15809 \begin_layout Standard
15810 \begin_inset LatexCommand label
15811 name "tab:Table-using-user-defined"
15812
15813 \end_inset
15814
15815 Table using user-defined table formats
15816 \end_layout
15817
15818 \end_inset
15819
15820
15821 \end_layout
15822
15823 \begin_layout Standard
15824 \align center
15825 \begin_inset Tabular
15826 <lyxtabular version="3" rows="3" columns="4">
15827 <features>
15828 <column alignment="center" valignment="middle" leftline="true" width="2.5cm" special="|M{2.5cm}">
15829 <column alignment="center" valignment="middle" leftline="true" width="0" special="|S{2.5cm}{2}">
15830 <column alignment="center" valignment="middle" leftline="true" width="0">
15831 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0" special="|K{red}|">
15832 <row topline="true">
15833 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15834 \begin_inset Text
15835
15836 \begin_layout Standard
15837 verylongtablecellword
15838 \end_layout
15839
15840 \end_inset
15841 </cell>
15842 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none" special="M{2.5cm}|">
15843 \begin_inset Text
15844
15845 \begin_layout Standard
15846 multiple lines multicolumn
15847 \end_layout
15848
15849 \end_inset
15850 </cell>
15851 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15852 \begin_inset Text
15853
15854 \begin_layout Standard
15855
15856 \end_layout
15857
15858 \end_inset
15859 </cell>
15860 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15861 \begin_inset Text
15862
15863 \begin_layout Standard
15864 c
15865 \end_layout
15866
15867 \end_inset
15868 </cell>
15869 </row>
15870 <row topline="true">
15871 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15872 \begin_inset Text
15873
15874 \begin_layout Standard
15875 d
15876 \end_layout
15877
15878 \end_inset
15879 </cell>
15880 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15881 \begin_inset Text
15882
15883 \begin_layout Standard
15884 e
15885 \end_layout
15886
15887 \end_inset
15888 </cell>
15889 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15890 \begin_inset Text
15891
15892 \begin_layout Standard
15893 f
15894 \end_layout
15895
15896 \end_inset
15897 </cell>
15898 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15899 \begin_inset Text
15900
15901 \begin_layout Standard
15902 g
15903 \end_layout
15904
15905 \end_inset
15906 </cell>
15907 </row>
15908 <row topline="true" bottomline="true">
15909 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15910 \begin_inset Text
15911
15912 \begin_layout Standard
15913 h
15914 \end_layout
15915
15916 \end_inset
15917 </cell>
15918 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15919 \begin_inset Text
15920
15921 \begin_layout Standard
15922 i
15923 \end_layout
15924
15925 \end_inset
15926 </cell>
15927 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15928 \begin_inset Text
15929
15930 \begin_layout Standard
15931 j
15932 \end_layout
15933
15934 \end_inset
15935 </cell>
15936 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15937 \begin_inset Text
15938
15939 \begin_layout Standard
15940 k
15941 \end_layout
15942
15943 \end_inset
15944 </cell>
15945 </row>
15946 </lyxtabular>
15947
15948 \end_inset
15949
15950
15951 \end_layout
15952
15953 \end_inset
15954
15955
15956 \end_layout
15957
15958 \begin_layout Subsection
15959 Line Thickness
15960 \begin_inset LatexCommand label
15961 name "sub:Line-Thickness"
15962
15963 \end_inset
15964
15965
15966 \begin_inset LatexCommand index
15967 name "Table Customization ! Line Thickness"
15968
15969 \end_inset
15970
15971
15972 \end_layout
15973
15974 \begin_layout Standard
15975 The line thickness for all lines in a table can be adjusted with the length
15976  
15977 \series bold
15978
15979 \backslash
15980 arrayrulewidth
15981 \series default
15982 .
15983  To set for example a line thickness of 1.5\InsetSpace \thinspace{}
15984 pt, like in Table\InsetSpace ~
15985
15986 \begin_inset LatexCommand ref
15987 reference "tab:Table-with-1.5"
15988
15989 \end_inset
15990
15991 , insert the command
15992 \end_layout
15993
15994 \begin_layout Standard
15995
15996 \series bold
15997
15998 \backslash
15999 setlength{
16000 \backslash
16001 arrayrulewidth}{1.5pt}
16002 \end_layout
16003
16004 \begin_layout Standard
16005 in ERT before the table or table float.
16006  The changed thickness is valid for all following tables.
16007  To use the default value again, set 
16008 \series bold
16009
16010 \backslash
16011 arrayrulewidth
16012 \series default
16013  to 0.4\InsetSpace \thinspace{}
16014 pt in ERT behind the table or table float.
16015 \end_layout
16016
16017 \begin_layout Standard
16018 \begin_inset ERT
16019 status collapsed
16020
16021 \begin_layout Standard
16022
16023
16024 \backslash
16025 setlength{
16026 \backslash
16027 arrayrulewidth}{1.5pt}
16028 \end_layout
16029
16030 \end_inset
16031
16032
16033 \begin_inset Float table
16034 wide false
16035 sideways false
16036 status open
16037
16038 \begin_layout Standard
16039 \begin_inset Caption
16040
16041 \begin_layout Standard
16042 \begin_inset LatexCommand label
16043 name "tab:Table-with-1.5"
16044
16045 \end_inset
16046
16047 Table with 1.5\InsetSpace \thinspace{}
16048 pt thick lines
16049 \end_layout
16050
16051 \end_inset
16052
16053
16054 \end_layout
16055
16056 \begin_layout Standard
16057 \align center
16058 \begin_inset Tabular
16059 <lyxtabular version="3" rows="3" columns="3">
16060 <features>
16061 <column alignment="center" valignment="top" leftline="true" width="0">
16062 <column alignment="center" valignment="top" leftline="true" width="0">
16063 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16064 <row topline="true">
16065 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16066 \begin_inset Text
16067
16068 \begin_layout Standard
16069 sd
16070 \end_layout
16071
16072 \end_inset
16073 </cell>
16074 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16075 \begin_inset Text
16076
16077 \begin_layout Standard
16078
16079 \end_layout
16080
16081 \end_inset
16082 </cell>
16083 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16084 \begin_inset Text
16085
16086 \begin_layout Standard
16087
16088 \end_layout
16089
16090 \end_inset
16091 </cell>
16092 </row>
16093 <row topline="true">
16094 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16095 \begin_inset Text
16096
16097 \begin_layout Standard
16098
16099 \end_layout
16100
16101 \end_inset
16102 </cell>
16103 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16104 \begin_inset Text
16105
16106 \begin_layout Standard
16107 sd
16108 \end_layout
16109
16110 \end_inset
16111 </cell>
16112 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16113 \begin_inset Text
16114
16115 \begin_layout Standard
16116
16117 \end_layout
16118
16119 \end_inset
16120 </cell>
16121 </row>
16122 <row topline="true" bottomline="true">
16123 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16124 \begin_inset Text
16125
16126 \begin_layout Standard
16127
16128 \end_layout
16129
16130 \end_inset
16131 </cell>
16132 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16133 \begin_inset Text
16134
16135 \begin_layout Standard
16136
16137 \end_layout
16138
16139 \end_inset
16140 </cell>
16141 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16142 \begin_inset Text
16143
16144 \begin_layout Standard
16145 sd
16146 \end_layout
16147
16148 \end_inset
16149 </cell>
16150 </row>
16151 </lyxtabular>
16152
16153 \end_inset
16154
16155
16156 \end_layout
16157
16158 \end_inset
16159
16160
16161 \begin_inset ERT
16162 status collapsed
16163
16164 \begin_layout Standard
16165
16166
16167 \backslash
16168 setlength{
16169 \backslash
16170 arrayrulewidth}{0.4pt}
16171 \end_layout
16172
16173 \end_inset
16174
16175
16176 \end_layout
16177
16178 \begin_layout Standard
16179 \begin_inset VSpace bigskip
16180 \end_inset
16181
16182 To set the line thickness to 1.5\InsetSpace \thinspace{}
16183 pt only for horizontal lines, like in Table\InsetSpace ~
16184
16185 \begin_inset LatexCommand ref
16186 reference "tab:Table-with-horizontal"
16187
16188 \end_inset
16189
16190 , insert these commands in ERT before the table or table float:
16191 \end_layout
16192
16193 \begin_layout Standard
16194
16195 \series bold
16196
16197 \backslash
16198 let
16199 \backslash
16200 myHline
16201 \backslash
16202 hline
16203 \newline
16204
16205 \backslash
16206 renewcommand{
16207 \backslash
16208 hline}
16209 \newline
16210  {
16211 \backslash
16212 noalign{
16213 \backslash
16214 global
16215 \backslash
16216 arrayrulewidth 1.5pt}
16217 \newline
16218   
16219 \backslash
16220 myHline
16221 \backslash
16222 noalign{
16223 \backslash
16224 global
16225 \backslash
16226 arrayrulewidth 0.4pt}}
16227 \end_layout
16228
16229 \begin_layout Standard
16230 To return to the default line thickness, insert this command in ERT behind
16231  the table or table float:
16232 \end_layout
16233
16234 \begin_layout Standard
16235
16236 \series bold
16237
16238 \backslash
16239 renewcommand{
16240 \backslash
16241 hline}{
16242 \backslash
16243 myHline}
16244 \end_layout
16245
16246 \begin_layout Standard
16247 \begin_inset ERT
16248 status collapsed
16249
16250 \begin_layout Standard
16251
16252
16253 \backslash
16254 let
16255 \backslash
16256 myHline
16257 \backslash
16258 hline
16259 \end_layout
16260
16261 \begin_layout Standard
16262
16263
16264 \backslash
16265 renewcommand{
16266 \backslash
16267 hline}
16268 \end_layout
16269
16270 \begin_layout Standard
16271
16272  {
16273 \backslash
16274 noalign{
16275 \backslash
16276 global
16277 \backslash
16278 arrayrulewidth 1.5pt}
16279 \end_layout
16280
16281 \begin_layout Standard
16282
16283   
16284 \backslash
16285 myHline
16286 \backslash
16287 noalign{
16288 \backslash
16289 global
16290 \backslash
16291 arrayrulewidth 0.4pt}}
16292 \end_layout
16293
16294 \end_inset
16295
16296
16297 \begin_inset Float table
16298 wide false
16299 sideways false
16300 status open
16301
16302 \begin_layout Standard
16303 \begin_inset Caption
16304
16305 \begin_layout Standard
16306 \begin_inset LatexCommand label
16307 name "tab:Table-with-horizontal"
16308
16309 \end_inset
16310
16311 Table with 1.5\InsetSpace \thinspace{}
16312 pt thick horizontal lines
16313 \end_layout
16314
16315 \end_inset
16316
16317
16318 \end_layout
16319
16320 \begin_layout Standard
16321 \align center
16322 \begin_inset Tabular
16323 <lyxtabular version="3" rows="3" columns="3">
16324 <features>
16325 <column alignment="center" valignment="top" leftline="true" width="0">
16326 <column alignment="center" valignment="top" leftline="true" width="0">
16327 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16328 <row topline="true">
16329 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16330 \begin_inset Text
16331
16332 \begin_layout Standard
16333 sd
16334 \end_layout
16335
16336 \end_inset
16337 </cell>
16338 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16339 \begin_inset Text
16340
16341 \begin_layout Standard
16342
16343 \end_layout
16344
16345 \end_inset
16346 </cell>
16347 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16348 \begin_inset Text
16349
16350 \begin_layout Standard
16351
16352 \end_layout
16353
16354 \end_inset
16355 </cell>
16356 </row>
16357 <row topline="true">
16358 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16359 \begin_inset Text
16360
16361 \begin_layout Standard
16362
16363 \end_layout
16364
16365 \end_inset
16366 </cell>
16367 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16368 \begin_inset Text
16369
16370 \begin_layout Standard
16371 sd
16372 \end_layout
16373
16374 \end_inset
16375 </cell>
16376 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16377 \begin_inset Text
16378
16379 \begin_layout Standard
16380
16381 \end_layout
16382
16383 \end_inset
16384 </cell>
16385 </row>
16386 <row topline="true" bottomline="true">
16387 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16388 \begin_inset Text
16389
16390 \begin_layout Standard
16391
16392 \end_layout
16393
16394 \end_inset
16395 </cell>
16396 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16397 \begin_inset Text
16398
16399 \begin_layout Standard
16400
16401 \end_layout
16402
16403 \end_inset
16404 </cell>
16405 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16406 \begin_inset Text
16407
16408 \begin_layout Standard
16409 sd
16410 \end_layout
16411
16412 \end_inset
16413 </cell>
16414 </row>
16415 </lyxtabular>
16416
16417 \end_inset
16418
16419
16420 \end_layout
16421
16422 \end_inset
16423
16424
16425 \begin_inset ERT
16426 status collapsed
16427
16428 \begin_layout Standard
16429
16430
16431 \backslash
16432 renewcommand{
16433 \backslash
16434 hline}{
16435 \backslash
16436 myHline}
16437 \end_layout
16438
16439 \end_inset
16440
16441
16442 \end_layout
16443
16444 \begin_layout Standard
16445 \begin_inset VSpace bigskip
16446 \end_inset
16447
16448 To set the line thickness to 1.5\InsetSpace \thinspace{}
16449 pt only for vertical lines, create the following
16450  column format in the document preamble, according to the description in
16451  section\InsetSpace ~
16452
16453 \begin_inset LatexCommand ref
16454 reference "sub:Customized-Format"
16455
16456 \end_inset
16457
16458 :
16459 \end_layout
16460
16461 \begin_layout Standard
16462
16463 \series bold
16464
16465 \backslash
16466 newcolumntype{V}{!{
16467 \backslash
16468 vrule width 1.5pt}}
16469 \end_layout
16470
16471 \begin_layout Standard
16472 For Table\InsetSpace ~
16473
16474 \begin_inset LatexCommand ref
16475 reference "tab:Table-with-vertical"
16476
16477 \end_inset
16478
16479  the LaTeX-argument
16480 \end_layout
16481
16482 \begin_layout Standard
16483
16484 \series bold
16485 VcV
16486 \end_layout
16487
16488 \begin_layout Standard
16489 was used for the last column and
16490 \end_layout
16491
16492 \begin_layout Standard
16493
16494 \series bold
16495 Vc
16496 \end_layout
16497
16498 \begin_layout Standard
16499 for the other columns.
16500 \end_layout
16501
16502 \begin_layout Standard
16503 \begin_inset Float table
16504 wide false
16505 sideways false
16506 status open
16507
16508 \begin_layout Standard
16509 \begin_inset Caption
16510
16511 \begin_layout Standard
16512 \begin_inset LatexCommand label
16513 name "tab:Table-with-vertical"
16514
16515 \end_inset
16516
16517 Table with 1.5\InsetSpace \thinspace{}
16518 pt thick vertical lines
16519 \end_layout
16520
16521 \end_inset
16522
16523
16524 \end_layout
16525
16526 \begin_layout Standard
16527 \align center
16528 \begin_inset Tabular
16529 <lyxtabular version="3" rows="3" columns="3">
16530 <features>
16531 <column alignment="center" valignment="top" leftline="true" width="0" special="Vc">
16532 <column alignment="center" valignment="top" leftline="true" width="0" special="Vc">
16533 <column alignment="center" valignment="top" leftline="true" width="0" special="VcV">
16534 <row topline="true">
16535 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16536 \begin_inset Text
16537
16538 \begin_layout Standard
16539 sd
16540 \end_layout
16541
16542 \end_inset
16543 </cell>
16544 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16545 \begin_inset Text
16546
16547 \begin_layout Standard
16548
16549 \end_layout
16550
16551 \end_inset
16552 </cell>
16553 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16554 \begin_inset Text
16555
16556 \begin_layout Standard
16557
16558 \end_layout
16559
16560 \end_inset
16561 </cell>
16562 </row>
16563 <row topline="true">
16564 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16565 \begin_inset Text
16566
16567 \begin_layout Standard
16568
16569 \end_layout
16570
16571 \end_inset
16572 </cell>
16573 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16574 \begin_inset Text
16575
16576 \begin_layout Standard
16577 sd
16578 \end_layout
16579
16580 \end_inset
16581 </cell>
16582 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16583 \begin_inset Text
16584
16585 \begin_layout Standard
16586
16587 \end_layout
16588
16589 \end_inset
16590 </cell>
16591 </row>
16592 <row topline="true" bottomline="true">
16593 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16594 \begin_inset Text
16595
16596 \begin_layout Standard
16597
16598 \end_layout
16599
16600 \end_inset
16601 </cell>
16602 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16603 \begin_inset Text
16604
16605 \begin_layout Standard
16606
16607 \end_layout
16608
16609 \end_inset
16610 </cell>
16611 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16612 \begin_inset Text
16613
16614 \begin_layout Standard
16615 sd
16616 \end_layout
16617
16618 \end_inset
16619 </cell>
16620 </row>
16621 </lyxtabular>
16622
16623 \end_inset
16624
16625
16626 \end_layout
16627
16628 \end_inset
16629
16630
16631 \end_layout
16632
16633 \begin_layout Subsection
16634 Dashed Lines
16635 \begin_inset LatexCommand index
16636 name "Table Customization ! Dashed Lines"
16637
16638 \end_inset
16639
16640
16641 \end_layout
16642
16643 \begin_layout Standard
16644 \begin_inset ERT
16645 status collapsed
16646
16647 \begin_layout Standard
16648
16649
16650 \backslash
16651 ifarydshln
16652 \end_layout
16653
16654 \end_inset
16655
16656
16657 \begin_inset Note Note
16658 status open
16659
16660 \begin_layout Standard
16661 The following section will only be displayed when you have the LaTeX-package
16662  
16663 \series bold
16664 arydshln
16665 \series default
16666  is installed.
16667 \end_layout
16668
16669 \end_inset
16670
16671
16672 \end_layout
16673
16674 \begin_layout Standard
16675 \begin_inset Float table
16676 placement H
16677 wide false
16678 sideways false
16679 status open
16680
16681 \begin_layout Standard
16682 \begin_inset Caption
16683
16684 \begin_layout Standard
16685 \begin_inset LatexCommand label
16686 name "tab:Table-with-dashed"
16687
16688 \end_inset
16689
16690 Table with dashed lines
16691 \end_layout
16692
16693 \end_inset
16694
16695
16696 \end_layout
16697
16698 \begin_layout Standard
16699 \align center
16700 \begin_inset Tabular
16701 <lyxtabular version="3" rows="5" columns="5">
16702 <features>
16703 <column alignment="center" valignment="top" leftline="true" width="0">
16704 <column alignment="center" valignment="top" leftline="true" width="0">
16705 <column alignment="center" valignment="top" width="0" special=":c">
16706 <column alignment="center" valignment="top" leftline="true" width="0">
16707 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16708 <row topline="true" bottomline="true">
16709 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16710 \begin_inset Text
16711
16712 \begin_layout Standard
16713 a
16714 \end_layout
16715
16716 \end_inset
16717 </cell>
16718 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16719 \begin_inset Text
16720
16721 \begin_layout Standard
16722 b
16723 \end_layout
16724
16725 \end_inset
16726 </cell>
16727 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16728 \begin_inset Text
16729
16730 \begin_layout Standard
16731 c
16732 \end_layout
16733
16734 \end_inset
16735 </cell>
16736 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16737 \begin_inset Text
16738
16739 \begin_layout Standard
16740 d
16741 \end_layout
16742
16743 \end_inset
16744 </cell>
16745 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16746 \begin_inset Text
16747
16748 \begin_layout Standard
16749 e
16750 \end_layout
16751
16752 \end_inset
16753 </cell>
16754 </row>
16755 <row topline="true">
16756 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16757 \begin_inset Text
16758
16759 \begin_layout Standard
16760 f
16761 \end_layout
16762
16763 \end_inset
16764 </cell>
16765 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16766 \begin_inset Text
16767
16768 \begin_layout Standard
16769 g
16770 \end_layout
16771
16772 \end_inset
16773 </cell>
16774 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16775 \begin_inset Text
16776
16777 \begin_layout Standard
16778 h
16779 \end_layout
16780
16781 \end_inset
16782 </cell>
16783 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16784 \begin_inset Text
16785
16786 \begin_layout Standard
16787 i
16788 \end_layout
16789
16790 \end_inset
16791 </cell>
16792 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16793 \begin_inset Text
16794
16795 \begin_layout Standard
16796 j
16797 \end_layout
16798
16799 \end_inset
16800 </cell>
16801 </row>
16802 <row>
16803 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16804 \begin_inset Text
16805
16806 \begin_layout Standard
16807 \begin_inset ERT
16808 status collapsed
16809
16810 \begin_layout Standard
16811
16812
16813 \backslash
16814 hdashline 
16815 \end_layout
16816
16817 \end_inset
16818
16819 k
16820 \end_layout
16821
16822 \end_inset
16823 </cell>
16824 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16825 \begin_inset Text
16826
16827 \begin_layout Standard
16828 l
16829 \end_layout
16830
16831 \end_inset
16832 </cell>
16833 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16834 \begin_inset Text
16835
16836 \begin_layout Standard
16837 m
16838 \end_layout
16839
16840 \end_inset
16841 </cell>
16842 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16843 \begin_inset Text
16844
16845 \begin_layout Standard
16846 n
16847 \end_layout
16848
16849 \end_inset
16850 </cell>
16851 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16852 \begin_inset Text
16853
16854 \begin_layout Standard
16855 o
16856 \end_layout
16857
16858 \end_inset
16859 </cell>
16860 </row>
16861 <row topline="true">
16862 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16863 \begin_inset Text
16864
16865 \begin_layout Standard
16866 \begin_inset ERT
16867 status collapsed
16868
16869 \begin_layout Standard
16870
16871
16872 \backslash
16873 cdashline{4-5}
16874 \end_layout
16875
16876 \end_inset
16877
16878 p
16879 \end_layout
16880
16881 \end_inset
16882 </cell>
16883 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16884 \begin_inset Text
16885
16886 \begin_layout Standard
16887 q
16888 \end_layout
16889
16890 \end_inset
16891 </cell>
16892 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="c:">
16893 \begin_inset Text
16894
16895 \begin_layout Standard
16896 r
16897 \end_layout
16898
16899 \end_inset
16900 </cell>
16901 <cell multicolumn="1" alignment="center" valignment="top" rightline="true" usebox="none" special="c:">
16902 \begin_inset Text
16903
16904 \begin_layout Standard
16905 s
16906 \end_layout
16907
16908 \end_inset
16909 </cell>
16910 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16911 \begin_inset Text
16912
16913 \begin_layout Standard
16914
16915 \end_layout
16916
16917 \end_inset
16918 </cell>
16919 </row>
16920 <row topline="true" bottomline="true">
16921 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16922 \begin_inset Text
16923
16924 \begin_layout Standard
16925 t
16926 \end_layout
16927
16928 \end_inset
16929 </cell>
16930 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16931 \begin_inset Text
16932
16933 \begin_layout Standard
16934 u
16935 \end_layout
16936
16937 \end_inset
16938 </cell>
16939 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16940 \begin_inset Text
16941
16942 \begin_layout Standard
16943 v
16944 \end_layout
16945
16946 \end_inset
16947 </cell>
16948 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16949 \begin_inset Text
16950
16951 \begin_layout Standard
16952 w
16953 \end_layout
16954
16955 \end_inset
16956 </cell>
16957 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16958 \begin_inset Text
16959
16960 \begin_layout Standard
16961 x
16962 \end_layout
16963
16964 \end_inset
16965 </cell>
16966 </row>
16967 </lyxtabular>
16968
16969 \end_inset
16970
16971
16972 \end_layout
16973
16974 \end_inset
16975
16976
16977 \end_layout
16978
16979 \begin_layout Standard
16980 LyX doesn't natively support dashed lines, so you have to use ERT.
16981  As prerequisite the LaTeX-package 
16982 \series bold
16983 arydshln
16984 \series default
16985
16986 \begin_inset LatexCommand index
16987 name "LaTeX-packages ! arydshln"
16988
16989 \end_inset
16990
16991  must be loaded in the document preamble with the command
16992 \end_layout
16993
16994 \begin_layout Standard
16995
16996 \series bold
16997
16998 \backslash
16999 usepackage{arydshln}
17000 \end_layout
17001
17002 \begin_layout Standard
17003 To make a vertical line dashed, enter the colon 
17004 \begin_inset Quotes eld
17005 \end_inset
17006
17007 :
17008 \begin_inset Quotes erd
17009 \end_inset
17010
17011  together with the character for the horizontal alignment as LaTeX-argument
17012  in the table cell dialog.
17013 \end_layout
17014
17015 \begin_layout Standard
17016 For a horizontal dashed line add the command
17017 \end_layout
17018
17019 \begin_layout Standard
17020
17021 \series bold
17022
17023 \backslash
17024 hdashline
17025 \end_layout
17026
17027 \begin_layout Standard
17028 in ERT as first element of the first cell in the table row.
17029 \end_layout
17030
17031 \begin_layout Standard
17032 For dashed multicolumn lines use the command
17033 \end_layout
17034
17035 \begin_layout Standard
17036
17037 \series bold
17038
17039 \backslash
17040 cdashline{line number
17041 \series default
17042 }
17043 \end_layout
17044
17045 \begin_layout Standard
17046 in ERT as first element of the first cell in the table row.
17047  If you have for example a multicolumn spanning over columns 2 to 4 and
17048  you want to have a dashed line above, add the command
17049 \end_layout
17050
17051 \begin_layout Standard
17052
17053 \series bold
17054
17055 \backslash
17056 cdashline{2-4}
17057 \end_layout
17058
17059 \begin_layout Standard
17060 as first element of the first cell in the row of the multicolumn.
17061 \end_layout
17062
17063 \begin_layout Standard
17064 \begin_inset VSpace bigskip
17065 \end_inset
17066
17067
17068 \end_layout
17069
17070 \begin_layout Standard
17071 Table\InsetSpace ~
17072
17073 \begin_inset LatexCommand ref
17074 reference "tab:Table-with-dashed"
17075
17076 \end_inset
17077
17078  was created using 
17079 \begin_inset Quotes eld
17080 \end_inset
17081
17082
17083 \series bold
17084 :c
17085 \series default
17086
17087 \begin_inset Quotes erd
17088 \end_inset
17089
17090  as LaTeX-argument of the third column.
17091  The ERT command 
17092 \series bold
17093
17094 \backslash
17095 hdashline
17096 \series default
17097  was inserted to the first cell of the third row and the the ERT command
17098 \newline
17099
17100  
17101 \series bold
17102
17103 \backslash
17104 cdashline{4-5}
17105 \series default
17106  was inserted to the first cell of the fourth row.
17107 \end_layout
17108
17109 \begin_layout Standard
17110 \begin_inset Note Greyedout
17111 status open
17112
17113 \begin_layout Standard
17114
17115 \series bold
17116 Note:
17117 \series default
17118  The used LaTeX-package 
17119 \series bold
17120 arydshln
17121 \series default
17122  is apparently not compatible with the LaTeX-package 
17123 \series bold
17124 colortbl
17125 \series default
17126
17127 \begin_inset LatexCommand index
17128 name "LaTeX-packages ! colortbl"
17129
17130 \end_inset
17131
17132  that is used for colored tables in section\InsetSpace ~
17133
17134 \begin_inset LatexCommand ref
17135 reference "sec:Colored-Tables"
17136
17137 \end_inset
17138
17139 .
17140  That means colored tables cannot have dashed lines.
17141 \end_layout
17142
17143 \end_inset
17144
17145
17146 \end_layout
17147
17148 \begin_layout Standard
17149 \begin_inset ERT
17150 status collapsed
17151
17152 \begin_layout Standard
17153
17154
17155 \backslash
17156 else
17157 \end_layout
17158
17159 \end_inset
17160
17161
17162 \begin_inset Note Note
17163 status open
17164
17165 \begin_layout Standard
17166 The following will be displayed when the LaTeX-package 
17167 \series bold
17168 arydshln
17169 \series default
17170  is not installed:
17171 \end_layout
17172
17173 \end_inset
17174
17175
17176 \end_layout
17177
17178 \begin_layout Standard
17179 You need to install the package 
17180 \series bold
17181 arydshln
17182 \series default
17183  to see the contents of this section in the output.
17184 \end_layout
17185
17186 \begin_layout Standard
17187 \begin_inset ERT
17188 status collapsed
17189
17190 \begin_layout Standard
17191
17192
17193 \backslash
17194 fi
17195 \end_layout
17196
17197 \end_inset
17198
17199
17200 \end_layout
17201
17202 \begin_layout Chapter
17203 Floats
17204 \begin_inset LatexCommand index
17205 name "Floats"
17206
17207 \end_inset
17208
17209
17210 \begin_inset LatexCommand label
17211 name "cha:Floats"
17212
17213 \end_inset
17214
17215
17216 \end_layout
17217
17218 \begin_layout Section
17219 Introduction
17220 \begin_inset LatexCommand label
17221 name "sec:FloatIntroduction"
17222
17223 \end_inset
17224
17225
17226 \begin_inset LatexCommand index
17227 name "Floats ! Introduction"
17228
17229 \end_inset
17230
17231
17232 \end_layout
17233
17234 \begin_layout Standard
17235 A float is a block of text associated with some sort of label, which doesn't
17236  have a fixed location.
17237  It can 
17238 \begin_inset Quotes eld
17239 \end_inset
17240
17241 float
17242 \begin_inset Quotes erd
17243 \end_inset
17244
17245  forward or backward a page or two, to wherever it fits best.
17246  
17247 \family sans
17248 Footnotes
17249 \family default
17250  and 
17251 \family sans
17252 Margin\InsetSpace ~
17253 Notes
17254 \family default
17255  are also floats, because they can float to the next page when there are
17256  too many notes at the page.
17257 \end_layout
17258
17259 \begin_layout Standard
17260 Floats allow a high quality layout.
17261  Images and tables can evenly be spread to the pages to avoid white space
17262  and pages without text.
17263  As the floating often destroys the context between the text and the image/table
17264 , every float can be referenced in the text.
17265  Floats are therefore numbered.
17266  Referencing is described in section\InsetSpace ~
17267
17268 \begin_inset LatexCommand ref
17269 reference "sec:Referencing-Floats"
17270
17271 \end_inset
17272
17273 .
17274 \end_layout
17275
17276 \begin_layout Standard
17277 To insert a float, use the menu 
17278 \family sans
17279 Insert\SpecialChar \menuseparator
17280 Floats
17281 \family default
17282 .
17283  This inserts a box with a label in the 
17284 \family sans
17285 Caption
17286 \family default
17287  environment
17288 \begin_inset Foot
17289 status collapsed
17290
17291 \begin_layout Standard
17292 The 
17293 \family sans
17294 Caption
17295 \family default
17296  environment is described in LyX's 
17297 \emph on
17298 Userguide
17299 \emph default
17300 .
17301 \end_layout
17302
17303 \end_inset
17304
17305  into your document.
17306  Every label ends with the character 
17307 \begin_inset Quotes eld
17308 \end_inset
17309
17310 #
17311 \begin_inset Quotes erd
17312 \end_inset
17313
17314  as placeholder for the float number in the output.
17315  The label will automatically be translated to the document language in
17316  the output.
17317  Behind the label you can insert the caption text.
17318  The image or table is inserted above or below the caption in a separate
17319  paragraph within the float.
17320  More about the caption placement is described in section\InsetSpace ~
17321
17322 \begin_inset LatexCommand ref
17323 reference "sec:Caption-Placement"
17324
17325 \end_inset
17326
17327 .
17328  To keep your LyX-document readable, you can open and close the float box
17329  by left-clicking on the box label.
17330  A closed float box looks like this: 
17331 \begin_inset Graphics
17332         filename ../clipart/floatQt4.png
17333         scale 70
17334
17335 \end_inset
17336
17337  -- a gray button with a red label.
17338 \end_layout
17339
17340 \begin_layout Standard
17341 It is recommended to insert floats as a separate paragraph to avoid possible
17342  LaTeX-errors that can occur when the surrounding text is specially formatted.
17343 \end_layout
17344
17345 \begin_layout Standard
17346 Existing figures or tables can be put into a float by marking them and then
17347  pressing the corresponding toolbar button for a new float.
17348 \end_layout
17349
17350 \begin_layout Section
17351 Float Types
17352 \end_layout
17353
17354 \begin_layout Standard
17355 Besides figure and table floats that are described in section\InsetSpace ~
17356
17357 \begin_inset LatexCommand ref
17358 reference "sec:Figure-Floats"
17359
17360 \end_inset
17361
17362  and 
17363 \begin_inset LatexCommand ref
17364 reference "sec:Table-Floats"
17365
17366 \end_inset
17367
17368 , respectively, LyX offers the float types 
17369 \series bold
17370 Algorithm
17371 \series default
17372  and 
17373 \series bold
17374 Text\InsetSpace ~
17375 Wrap\InsetSpace ~
17376 Float
17377 \series default
17378 .
17379 \end_layout
17380
17381 \begin_layout Subsection
17382 Algorithm Floats
17383 \begin_inset LatexCommand index
17384 name "Floats ! Algorithm Floats"
17385
17386 \end_inset
17387
17388
17389 \end_layout
17390
17391 \begin_layout Standard
17392 \begin_inset Float algorithm
17393 placement h
17394 wide false
17395 sideways false
17396 status open
17397
17398 \begin_layout Standard
17399 \begin_inset Caption
17400
17401 \begin_layout Standard
17402 \begin_inset LatexCommand label
17403 name "alg:Example-Algorithm-float"
17404
17405 \end_inset
17406
17407 Example Algorithm float
17408 \end_layout
17409
17410 \end_inset
17411
17412
17413 \end_layout
17414
17415 \begin_layout LyX-Code
17416 for I in 1..N loop
17417 \newline
17418  Sum:= Sum + A(I); /*senseless comment*/
17419 \newline
17420 end loop
17421 \begin_inset VSpace -4mm
17422 \end_inset
17423
17424
17425 \end_layout
17426
17427 \end_inset
17428
17429
17430 \end_layout
17431
17432 \begin_layout Standard
17433 This float type is inserted with the menu 
17434 \family sans
17435 Insert\SpecialChar \menuseparator
17436 Floats\SpecialChar \menuseparator
17437 Algorithm
17438 \family default
17439 .
17440  It is used for program codes and descriptions of algorithms.
17441  A possible environment for algorithms is the 
17442 \family sans
17443 LyX-Code
17444 \family default
17445 , described in LyX's 
17446 \emph on
17447 Userguide
17448 \emph default
17449 .
17450  Algorithm\InsetSpace ~
17451
17452 \begin_inset LatexCommand ref
17453 reference "alg:Example-Algorithm-float"
17454
17455 \end_inset
17456
17457  is an example of an algorithm float where -4\InsetSpace \thinspace{}
17458 mm vertical space was added
17459  at the end of the float to have the bottom rule exactly below the last
17460  text line.
17461 \end_layout
17462
17463 \begin_layout Standard
17464 The float label is not automatically translated into the document language.
17465  If your document is not in English, you have to do this manually by adding
17466  the following line
17467 \series bold
17468  
17469 \series default
17470 to the document preamble
17471 \series bold
17472 :
17473 \end_layout
17474
17475 \begin_layout Standard
17476
17477 \series bold
17478
17479 \backslash
17480 floatname{algorithm}{your\InsetSpace ~
17481 name}
17482 \end_layout
17483
17484 \begin_layout Standard
17485
17486 \family sans
17487 your\InsetSpace ~
17488 name
17489 \family default
17490  is the word 
17491 \begin_inset Quotes eld
17492 \end_inset
17493
17494
17495 \emph on
17496 algorithm
17497 \emph default
17498
17499 \begin_inset Quotes erd
17500 \end_inset
17501
17502  in your language.
17503 \end_layout
17504
17505 \begin_layout Description
17506
17507 \series bold
17508 Note:
17509 \series default
17510  When the LaTeX-package 
17511 \series bold
17512 hyperref
17513 \series default
17514
17515 \begin_inset LatexCommand index
17516 name "LaTeX-packages ! hyperref"
17517
17518 \end_inset
17519
17520  is used to link cross-references to floats in the PDF-output, it must be
17521  loaded in the document preamble before the definition of floats to be able
17522  to reference floats.
17523  As LyX sets the float definition for algorithm floats automatically before
17524  the user editable part of the document preamble, you need to insert the
17525  following preamble lines 
17526 \emph on
17527 after
17528 \emph default
17529  the loading command of 
17530 \series bold
17531 hyperref
17532 \series default
17533 :
17534 \series bold
17535
17536 \begin_inset VSpace defskip
17537 \end_inset
17538
17539
17540 \newline
17541
17542 \backslash
17543 newfloat{Xalgorithm}{tbp}{loa}
17544 \newline
17545
17546 \backslash
17547 floatname{Xalgorithm}{your\InsetSpace ~
17548 name}
17549 \newline
17550
17551 \backslash
17552 newcommand{
17553 \backslash
17554 theHalgorithm}{
17555 \backslash
17556 theHXalgorithm}
17557 \newline
17558
17559 \backslash
17560 renewenvironment{algorithm}[1][tbp]
17561 \newline
17562
17563 \begin_inset ERT
17564 status collapsed
17565
17566 \begin_layout Standard
17567
17568
17569 \backslash
17570 hphantom{ }
17571 \end_layout
17572
17573 \end_inset
17574
17575 {
17576 \backslash
17577 begin{Xalgorithm}[#1]}{
17578 \backslash
17579 end{Xalgorithm}}
17580 \begin_inset VSpace defskip
17581 \end_inset
17582
17583
17584 \series default
17585
17586 \newline
17587 Where 
17588 \family sans
17589 your\InsetSpace ~
17590 name
17591 \family default
17592  is the word 
17593 \begin_inset Quotes eld
17594 \end_inset
17595
17596
17597 \emph on
17598 algorithm
17599 \emph default
17600
17601 \begin_inset Quotes erd
17602 \end_inset
17603
17604  in your language.
17605 \end_layout
17606
17607 \begin_layout Standard
17608 Algorithm floats are not by default numbered in the scheme 
17609 \begin_inset Quotes eld
17610 \end_inset
17611
17612 chapter.algorithm
17613 \begin_inset Quotes erd
17614 \end_inset
17615
17616  like it is the case for table and figure floats in many document-classes.
17617  To number algorithm floats in the same scheme, add this command to your
17618  document preamble:
17619 \end_layout
17620
17621 \begin_layout Standard
17622
17623 \series bold
17624
17625 \backslash
17626 numberwithin{algorithm}{chapter}
17627 \end_layout
17628
17629 \begin_layout Standard
17630 If you use the LaTeX-package 
17631 \series bold
17632 hyperref
17633 \series default
17634 , add this line instead 
17635 \emph on
17636 after
17637 \emph default
17638  the definition of 
17639 \family sans
17640 Xalgorithm
17641 \family default
17642  (the commands from above) to the preamble:
17643 \end_layout
17644
17645 \begin_layout Standard
17646
17647 \series bold
17648
17649 \backslash
17650 numberwithin{Xalgorithm}{chapter}
17651 \end_layout
17652
17653 \begin_layout Standard
17654 To be able to use the command 
17655 \series bold
17656
17657 \backslash
17658 numberwithin
17659 \series default
17660 , set in the tab 
17661 \family sans
17662 Math\InsetSpace ~
17663 Options
17664 \family default
17665  in the document settings the option 
17666 \family sans
17667 Use\InsetSpace ~
17668 AMS\InsetSpace ~
17669 math\InsetSpace ~
17670 package
17671 \family default
17672 .
17673 \end_layout
17674
17675 \begin_layout Subsection
17676 Text Wrap Floats
17677 \begin_inset LatexCommand index
17678 name "Floats ! Text Wrap Floats"
17679
17680 \end_inset
17681
17682
17683 \begin_inset LatexCommand label
17684 name "sub:floatflt-wrap-float"
17685
17686 \end_inset
17687
17688
17689 \end_layout
17690
17691 \begin_layout Standard
17692 This float type is used if you want to 
17693 \begin_inset Quotes eld
17694 \end_inset
17695
17696 wrap
17697 \begin_inset Quotes erd
17698 \end_inset
17699
17700  text around a figure so that it only occupies some fraction of the column
17701  width.
17702  It can be inserted using the menu 
17703 \begin_inset Wrap figure
17704 placement l
17705 width "40col%"
17706 status open
17707
17708 \begin_layout Standard
17709 \begin_inset Graphics
17710         filename mobius.eps
17711         display color
17712         width 40col%
17713         rotateOrigin center
17714
17715 \end_inset
17716
17717
17718 \end_layout
17719
17720 \begin_layout Standard
17721 \begin_inset Caption
17722
17723 \begin_layout Standard
17724 \begin_inset LatexCommand label
17725 name "fig:This-is-a"
17726
17727 \end_inset
17728
17729 This is a wrapped figure, and this is the brilliant caption that describes
17730  it.
17731 \begin_inset VSpace medskip
17732 \end_inset
17733
17734
17735 \end_layout
17736
17737 \end_inset
17738
17739
17740 \end_layout
17741
17742 \end_inset
17743
17744  
17745 \family sans
17746 Insert\SpecialChar \menuseparator
17747 Floats\SpecialChar \menuseparator
17748 Text\InsetSpace ~
17749 Wrap\InsetSpace ~
17750 Float
17751 \family default
17752  if the LaTeX-package 
17753 \series bold
17754 floatflt
17755 \series default
17756
17757 \begin_inset LatexCommand index
17758 name "LaTeX-packages ! floatflt"
17759
17760 \end_inset
17761
17762  is installed.
17763 \begin_inset Foot
17764 status collapsed
17765
17766 \begin_layout Standard
17767 Installing a LaTeX-package is explained it in the 
17768 \emph on
17769 LaTeX\InsetSpace ~
17770 Configuration
17771 \emph default
17772  manual.
17773 \end_layout
17774
17775 \end_inset
17776
17777  The width and placement of the float is adjusted by right-clicking on the
17778  float box.
17779  Figure\InsetSpace ~
17780
17781 \begin_inset LatexCommand ref
17782 reference "fig:This-is-a"
17783
17784 \end_inset
17785
17786  is an example text wrap float with a width of 40
17787 \begin_inset Formula $\,$
17788 \end_inset
17789
17790 col%.
17791 \begin_inset Foot
17792 status collapsed
17793
17794 \begin_layout Standard
17795 Available units are explained in 
17796 \begin_inset LatexCommand ref
17797 reference "cha:Units-available-in"
17798
17799 \end_inset
17800
17801 .
17802 \end_layout
17803
17804 \end_inset
17805
17806  Some space was added under the caption to separate it better from the surroundi
17807 ng text.
17808 \end_layout
17809
17810 \begin_layout Standard
17811 The LaTeX-package 
17812 \series bold
17813 floatflt
17814 \series default
17815  also supports table wrap floats, but they are not yet supported by LyX.
17816  If you need this, read the documentation of 
17817 \series bold
17818 floatflt
17819 \series default
17820  
17821 \begin_inset LatexCommand cite
17822 key "floatflt"
17823
17824 \end_inset
17825
17826 .
17827 \end_layout
17828
17829 \begin_layout Standard
17830 \begin_inset Note Greyedout
17831 status open
17832
17833 \begin_layout Standard
17834
17835 \series bold
17836 Note:
17837 \series default
17838  Text\InsetSpace ~
17839 wrap float floats are fragile! E.\InsetSpace \thinspace{}
17840 g.\InsetSpace ~
17841 having a figure too close to the bottom
17842  of the page can mess things up in the way that the float doesn't appear
17843  in the output or that it is placed over some other text.
17844 \begin_inset Foot
17845 status open
17846
17847 \begin_layout Standard
17848 The better solution is to use the LaTeX-package 
17849 \series bold
17850 wrapf\SpecialChar \textcompwordmark{}
17851 ig
17852 \series default
17853
17854 \begin_inset LatexCommand index
17855 name "LaTeX-packages ! wrapfig\\vspace{4mm}"
17856
17857 \end_inset
17858
17859  instead of 
17860 \series bold
17861 floatf\SpecialChar \textcompwordmark{}
17862 lt
17863 \series default
17864 , but it is currently not supported by LyX.
17865 \end_layout
17866
17867 \end_inset
17868
17869
17870 \end_layout
17871
17872 \end_inset
17873
17874
17875 \end_layout
17876
17877 \begin_layout Standard
17878 In general:
17879 \end_layout
17880
17881 \begin_layout Itemize
17882 Wrap floats should not be placed in paragraphs that run over a page break.
17883  That means that wrap floats should better be inserted to the exact place
17884  when the document is nearly ready and you are able to estimate where page
17885  breaks will appear.
17886 \end_layout
17887
17888 \begin_layout Itemize
17889 Wrap floats should either be placed in an own paragraph before the paragraph
17890  where they should wrap into or within a paragraph.
17891 \end_layout
17892
17893 \begin_layout Itemize
17894 Wrap floats in consecutive paragraphs may cause troubles, so assure that
17895  there is a text paragraph between them as separator.
17896 \end_layout
17897
17898 \begin_layout Itemize
17899 Wrap floats are not allowed in section headings or tables.
17900 \end_layout
17901
17902 \begin_layout Section
17903 Referencing Floats
17904 \begin_inset LatexCommand label
17905 name "sec:Referencing-Floats"
17906
17907 \end_inset
17908
17909
17910 \begin_inset LatexCommand index
17911 name "Floats ! References"
17912
17913 \end_inset
17914
17915
17916 \begin_inset LatexCommand index
17917 name "References"
17918
17919 \end_inset
17920
17921
17922 \end_layout
17923
17924 \begin_layout Standard
17925 To reference a float, insert a label into its caption using the menu 
17926 \family sans
17927 Insert\SpecialChar \menuseparator
17928 Label
17929 \family default
17930  or the toolbar button 
17931 \begin_inset Graphics
17932         filename ../images/label-insert.xpm
17933         scale 85
17934
17935 \end_inset
17936
17937 .
17938  A grey label box like this one: 
17939 \begin_inset Graphics
17940         filename ../clipart/labelQt4.png
17941         scale 85
17942
17943 \end_inset
17944
17945  will be inserted and the label window pops up asking for the label text.
17946  LyX offers as text the first words of the caption with a prefix.
17947  The prefix depends on the float type, e.\InsetSpace \thinspace{}
17948 g.\InsetSpace ~
17949 for figure floats the prefix will
17950  be "
17951 \family sans
17952 fig:
17953 \family default
17954 ".
17955 \end_layout
17956
17957 \begin_layout Standard
17958 The label is used as anchor and name for the reference.
17959  You can refer to the label using the menu 
17960 \family sans
17961 Insert\SpecialChar \menuseparator
17962 Cross-reference
17963 \family default
17964  or the toolbar button 
17965 \begin_inset Graphics
17966         filename ../images/dialog-show-new-inset_ref.xpm
17967         scale 85
17968
17969 \end_inset
17970
17971 .
17972  A grey cross-reference box like this one: 
17973 \begin_inset Graphics
17974         filename ../clipart/referenceQt4.png
17975         scale 85
17976
17977 \end_inset
17978
17979  will be inserted and the cross-reference window appear showing all labels
17980  of the document.
17981  If you have multiple LyX-documents opened, choose the one you are working
17982  on from the drop-list at the top of the dialog.
17983  You can now sort the labels alphabetically and then choose one.
17984  At the position of the cross-reference box the float number will appear
17985  in the output.
17986 \end_layout
17987
17988 \begin_layout Standard
17989 It is recommended to use a protected space between the cross-reference name
17990  and its number to avoid line breaks between them.
17991  If a cross-reference refers to a non-existing label, you will see two question
17992  marks in the output instead of the reference.
17993 \end_layout
17994
17995 \begin_layout Standard
17996 You can change labels at any time by clicking on the label box.
17997  References to the changed label will automatically change its link to the
17998  new label text, so that you don't need to take care about this.
17999 \end_layout
18000
18001 \begin_layout Standard
18002 The button 
18003 \family sans
18004 Go\InsetSpace ~
18005 to\InsetSpace ~
18006 Label
18007 \family default
18008  in the cross-reference window sets the cursor before the referred label.
18009  The button text changes then to Go\InsetSpace ~
18010 Back and you can use it to set the cursor
18011  back to the cross-reference.
18012  Right-clicking on a cross-reference box also sets the cursor before the
18013  referenced label but without a possibility to go back.
18014 \end_layout
18015
18016 \begin_layout Subsection
18017 Cross-reference formats
18018 \begin_inset LatexCommand label
18019 name "sub:Cross-reference-formats"
18020
18021 \end_inset
18022
18023
18024 \begin_inset LatexCommand index
18025 name "References ! Formats"
18026
18027 \end_inset
18028
18029
18030 \end_layout
18031
18032 \begin_layout Standard
18033 There are six varieties of cross-references:
18034 \end_layout
18035
18036 \begin_layout Description
18037 <reference>: prints the float number, this is the default: 
18038 \begin_inset LatexCommand ref
18039 reference "fig:Two-distorted-images"
18040
18041 \end_inset
18042
18043
18044 \end_layout
18045
18046 \begin_layout Description
18047 (<reference>): prints the float number within two parentheses, this is the
18048  style normally used to reference formulas, especially when the reference
18049  name 
18050 \begin_inset Quotes eld
18051 \end_inset
18052
18053 Equation
18054 \begin_inset Quotes erd
18055 \end_inset
18056
18057  is omitted: 
18058 \begin_inset LatexCommand eqref
18059 reference "eq:Wgn"
18060
18061 \end_inset
18062
18063
18064 \end_layout
18065
18066 \begin_layout Description
18067 <page>: prints the page number: Page\InsetSpace ~
18068
18069 \begin_inset LatexCommand pageref
18070 reference "fig:Two-distorted-images"
18071
18072 \end_inset
18073
18074
18075 \end_layout
18076
18077 \begin_layout Description
18078 on\InsetSpace ~
18079 page\InsetSpace ~
18080 <page>: prints the text "on page" and the page number: 
18081 \begin_inset LatexCommand vpageref
18082 reference "fig:Two-distorted-images"
18083
18084 \end_inset
18085
18086
18087 \end_layout
18088
18089 \begin_layout Description
18090 <reference>\InsetSpace ~
18091 on\InsetSpace ~
18092 page\InsetSpace ~
18093 <page>: prints the float number, the text "on page", and
18094  the page number: 
18095 \begin_inset LatexCommand vref
18096 reference "fig:Two-distorted-images"
18097
18098 \end_inset
18099
18100
18101 \end_layout
18102
18103 \begin_layout Description
18104 Formatted\InsetSpace ~
18105 reference: prints a self defined cross-reference format:
18106 \newline
18107
18108 \begin_inset LatexCommand prettyref
18109 reference "fig:Two-distorted-images"
18110
18111 \end_inset
18112
18113
18114 \end_layout
18115
18116 \begin_layout Standard
18117 Note that the style <page> won't print the page number if the label is on
18118  the previous, the same, or the next page.
18119  You will e.\InsetSpace \thinspace{}
18120 g.\InsetSpace ~
18121 see the text 
18122 \begin_inset Quotes eld
18123 \end_inset
18124
18125
18126 \family sans
18127 on this page
18128 \family default
18129
18130 \begin_inset Quotes erd
18131 \end_inset
18132
18133  instead.
18134 \end_layout
18135
18136 \begin_layout Standard
18137 The number and current page of the referred document part in the output,
18138  is automatically calculated by LaTeX.
18139  The varieties are adjusted in the field 
18140 \family sans
18141 Format
18142 \family default
18143  of the cross-reference window, that appear when you click on the cross-referenc
18144 e box.
18145 \begin_inset VSpace bigskip
18146 \end_inset
18147
18148
18149 \end_layout
18150
18151 \begin_layout Standard
18152 To define a format for the 
18153 \family sans
18154 Formatted\InsetSpace ~
18155 reference
18156 \family default
18157  style, you have to use the following command in the document preamble:
18158 \end_layout
18159
18160 \begin_layout Standard
18161
18162 \series bold
18163
18164 \backslash
18165 newrefformat{prefix}{text}
18166 \end_layout
18167
18168 \begin_layout Standard
18169 This formatting command affects all references to labels with the same prefix.
18170  To get the format of the 
18171 \family sans
18172 Formatted\InsetSpace ~
18173 reference
18174 \family default
18175  example above, this command was used:
18176 \end_layout
18177
18178 \begin_layout Standard
18179
18180 \series bold
18181
18182 \backslash
18183 newrefformat{fig}
18184 \newline
18185
18186 \begin_inset ERT
18187 status collapsed
18188
18189 \begin_layout Standard
18190
18191
18192 \backslash
18193 hphantom{ }
18194 \end_layout
18195
18196 \end_inset
18197
18198 {Figure~float~
18199 \backslash
18200 ref{#1} printed on page~
18201 \backslash
18202 pageref{#1}}
18203 \end_layout
18204
18205 \begin_layout Standard
18206 The tilde "~" is the LaTeX equivalent for the protected space.
18207  The command 
18208 \series bold
18209
18210 \backslash
18211 ref{#1}
18212 \series default
18213  refers to the float number, the command 
18214 \series bold
18215
18216 \backslash
18217 pageref{#1}
18218 \series default
18219  to the page number.
18220 \end_layout
18221
18222 \begin_layout Subsection
18223 Automatic Reference Naming
18224 \begin_inset LatexCommand index
18225 name "References ! Automatic Reference Naming"
18226
18227 \end_inset
18228
18229
18230 \end_layout
18231
18232 \begin_layout Standard
18233 The LaTeX-package 
18234 \series bold
18235 hyperref
18236 \series default
18237  provides a very useful feature that cross-references automatically include
18238  the name of the referenced floats (or text parts like sections).
18239  You save to write e.\InsetSpace \thinspace{}
18240 g.\InsetSpace ~
18241 the name 
18242 \begin_inset Quotes eld
18243 \end_inset
18244
18245 Figure
18246 \begin_inset Quotes erd
18247 \end_inset
18248
18249  before every reference box.
18250  To get this automatic reference naming, you have to load the LaTeX-package
18251  
18252 \series bold
18253 hyperref
18254 \series default
18255
18256 \begin_inset LatexCommand index
18257 name "LaTeX-packages ! hyperref"
18258
18259 \end_inset
18260
18261  in the document preamble with
18262 \end_layout
18263
18264 \begin_layout Standard
18265
18266 \series bold
18267
18268 \backslash
18269 usepackage[pdfborder={0 0 0}]{hyperref}
18270 \newline
18271
18272 \backslash
18273 AtBeginDocument{
18274 \backslash
18275 renewcommand{
18276 \backslash
18277 ref}[1]{
18278 \backslash
18279 mbox{
18280 \backslash
18281 autoref{#1}}}}
18282 \end_layout
18283
18284 \begin_layout Standard
18285
18286 \series bold
18287 hyperref
18288 \series default
18289  is used to link cross-references in the DVI- and PDF-output, this means
18290  that the reader of your document will be able to click on a table of content
18291  (TOC) entry or on a reference and he will be shown the referenced document
18292  part.
18293  
18294 \series bold
18295 hyperref
18296 \series default
18297  also creates PDF-bookmarks for every section of your document to make it
18298  easier for readers to navigate through the document.
18299  This is also used in this document but when you have a look in the document
18300  preamble you will find various options in the load command of 
18301 \series bold
18302 hyperref
18303 \series default
18304 .
18305  To learn more about the 
18306 \series bold
18307 hyperref
18308 \series default
18309  package, we refer to its documentation 
18310 \begin_inset LatexCommand cite
18311 key "hyperref"
18312
18313 \end_inset
18314
18315 .
18316 \end_layout
18317
18318 \begin_layout Standard
18319 \begin_inset Note Greyedout
18320 status open
18321
18322 \begin_layout Standard
18323
18324 \series bold
18325 Note:
18326 \series default
18327  Automatic reference naming cannot be used when you use cross-references
18328  in the 
18329 \family sans
18330 Formatted\InsetSpace ~
18331 reference
18332 \family default
18333  style, described in section\InsetSpace ~
18334
18335 \begin_inset LatexCommand ref
18336 reference "sub:Cross-reference-formats"
18337
18338 \end_inset
18339
18340 .
18341  That is the reason why it is not used in this document.
18342 \end_layout
18343
18344 \end_inset
18345
18346
18347 \end_layout
18348
18349 \begin_layout Subsection
18350 Reference Position
18351 \begin_inset LatexCommand label
18352 name "sub:Reference-Position"
18353
18354 \end_inset
18355
18356
18357 \begin_inset LatexCommand index
18358 name "References ! Reference Position"
18359
18360 \end_inset
18361
18362
18363 \end_layout
18364
18365 \begin_layout Standard
18366 If you use 
18367 \series bold
18368 hyperref
18369 \series default
18370
18371 \begin_inset LatexCommand index
18372 name "LaTeX-packages ! hyperref"
18373
18374 \end_inset
18375
18376  to link cross-references in the output, you will see that clicking on an
18377  image float reference jumps to the image label.
18378  The caption will be the first text part on the screen, so that you cannot
18379  see the image without scrolling.
18380  This is because the reference link anchor is placed at the position of
18381  the label.
18382  With the use of the package 
18383 \series bold
18384 hypcap
18385 \series default
18386
18387 \begin_inset LatexCommand index
18388 name "LaTeX-packages ! hypcap"
18389
18390 \end_inset
18391
18392 , which is part of the LaTeX-package 
18393 \series bold
18394 oberdiek
18395 \series default
18396
18397 \begin_inset LatexCommand index
18398 name "LaTeX-packages ! oberdiek"
18399
18400 \end_inset
18401
18402 , the link anchor is placed at the beginning of a float.
18403  To use this feature for figure floats, load 
18404 \series bold
18405 hypcap
18406 \series default
18407  in the document preamble with the line
18408 \end_layout
18409
18410 \begin_layout Standard
18411
18412 \series bold
18413
18414 \backslash
18415 usepackage[f\SpecialChar \textcompwordmark{}
18416 igure]{hypcap}
18417 \end_layout
18418
18419 \begin_layout Standard
18420 You can also use 
18421 \series bold
18422 hypcap
18423 \series default
18424  for all floats but this isn't recommended for stability reasons.
18425  For more informations, have a look at 
18426 \series bold
18427 hypcap
18428 \series default
18429 's manual 
18430 \begin_inset LatexCommand cite
18431 key "hypcap"
18432
18433 \end_inset
18434
18435 .
18436 \end_layout
18437
18438 \begin_layout Standard
18439 \begin_inset Note Greyedout
18440 status open
18441
18442 \begin_layout Standard
18443
18444 \series bold
18445 Note:
18446 \series default
18447  
18448 \series bold
18449 hypcap
18450 \series default
18451  must be loaded after 
18452 \series bold
18453 hyperref
18454 \series default
18455  in the document preamble.
18456 \end_layout
18457
18458 \end_inset
18459
18460
18461 \end_layout
18462
18463 \begin_layout Section
18464 Float Placement
18465 \begin_inset LatexCommand label
18466 name "sec:Float-Placement"
18467
18468 \end_inset
18469
18470
18471 \begin_inset LatexCommand index
18472 name "Floats ! Placement"
18473
18474 \end_inset
18475
18476
18477 \end_layout
18478
18479 \begin_layout Standard
18480 Right-clicking on a float-box opens a dialog where you can alter the placement
18481  options that LaTeX uses for positioning the float.
18482 \newline
18483 The option 
18484 \family sans
18485 Span\InsetSpace ~
18486 columns
18487 \family default
18488  is only useful for two-column documents: If you select it, the float will
18489  span across both columns on the page instead of being confined to just
18490  one.
18491 \newline
18492 The option 
18493 \family sans
18494 Rotate\InsetSpace ~
18495 sideways
18496 \family default
18497  is used to rotate floats, see section 
18498 \begin_inset LatexCommand ref
18499 reference "sec:Rotated-Floats"
18500
18501 \end_inset
18502
18503 .
18504 \end_layout
18505
18506 \begin_layout Standard
18507 You can use one ore more of the following options in the float dialog to
18508  set the placement for a particular float when you uncheck the option 
18509 \family sans
18510 Use\InsetSpace ~
18511 default\InsetSpace ~
18512 placement
18513 \family default
18514 :
18515 \end_layout
18516
18517 \begin_layout Description
18518 Here\InsetSpace ~
18519 if\InsetSpace ~
18520 possible: try to place the float on the position where it is inserted
18521 \end_layout
18522
18523 \begin_layout Description
18524 Top\InsetSpace ~
18525 of\InsetSpace ~
18526 page: try to place the float on the top of the current page
18527 \end_layout
18528
18529 \begin_layout Description
18530 Bottom\InsetSpace ~
18531 of\InsetSpace ~
18532 page: try to place the float on the bottom of the current page
18533 \end_layout
18534
18535 \begin_layout Description
18536 Page\InsetSpace ~
18537 of\InsetSpace ~
18538 floats: try to place the float on an own page 
18539 \end_layout
18540
18541 \begin_layout Standard
18542 The order of the above option is 
18543 \emph on
18544 always
18545 \emph default
18546  used by LaTeX.
18547  That means, if you use the default placement, LaTeX will first try out
18548  
18549 \family sans
18550 Here\InsetSpace ~
18551 if\InsetSpace ~
18552 possible
18553 \family default
18554 , then 
18555 \family sans
18556 Top\InsetSpace ~
18557 of\InsetSpace ~
18558 page
18559 \family default
18560 , and then the others.
18561  If you don't use the default, LaTeX will try only the checked options but
18562  in the same order.
18563  If none of the 4 placements are possible the procedure is internally repeated
18564  but it is tried to put the float on the following page.
18565 \end_layout
18566
18567 \begin_layout Standard
18568 By default, each options has its own rules:
18569 \end_layout
18570
18571 \begin_layout Labeling
18572 \labelwidthstring 00.00.0000
18573
18574 \family sans
18575 Top\InsetSpace ~
18576 of\InsetSpace ~
18577 page
18578 \family default
18579  only floats occupying less than 70\InsetSpace \thinspace{}
18580 % of the page can be placed at the top
18581  of a page (
18582 \series bold
18583
18584 \backslash
18585 topfraction
18586 \series default
18587 )
18588 \end_layout
18589
18590 \begin_layout Labeling
18591 \labelwidthstring 00.00.0000
18592
18593 \family sans
18594 Bottom\InsetSpace ~
18595 of\InsetSpace ~
18596 page
18597 \family default
18598 : only floats occupying less than 30\InsetSpace \thinspace{}
18599 % of the page can be placed at the bottom
18600  of a page.
18601  (
18602 \series bold
18603
18604 \backslash
18605 bottomfraction
18606 \series default
18607 )
18608 \end_layout
18609
18610 \begin_layout Labeling
18611 \labelwidthstring 00.00.0000
18612
18613 \family sans
18614 Page\InsetSpace ~
18615 of\InsetSpace ~
18616 floats
18617 \family default
18618 : only if more than 50\InsetSpace \thinspace{}
18619 % of the page are occupied by floats, several floats
18620  can be set together on a page.
18621  (
18622 \series bold
18623
18624 \backslash
18625 floatpagefraction
18626 \series default
18627 )
18628 \end_layout
18629
18630 \begin_layout Standard
18631 If you don't like these rules, you can ignore them by using the additional
18632  option 
18633 \family sans
18634 Ignore\InsetSpace ~
18635 LaTeX\InsetSpace ~
18636 rules
18637 \family default
18638 .
18639 \newline
18640 You can also redefine the rules with LaTeX-commands that are given in parenthese
18641 s behind the rules description above.
18642  To increase for example the often too small default of the bottom-rule
18643  to 50\InsetSpace \thinspace{}
18644 % of the page, add this line to your document preamble:
18645 \end_layout
18646
18647 \begin_layout Standard
18648
18649 \series bold
18650
18651 \backslash
18652 renewcommand{
18653 \backslash
18654 bottomfraction}{0.5}
18655 \end_layout
18656
18657 \begin_layout Standard
18658 Sometimes you might need, under all circumstances, a float to be placed
18659  exactly at the position where it is inserted.
18660  For this case you can use the option 
18661 \family sans
18662 Here\InsetSpace ~
18663 definitely
18664 \family default
18665 .
18666  Use this option very rarely and only if the document is nearly ready to
18667  be printed.
18668  Because the float is then no longer able to 
18669 \begin_inset Quotes eld
18670 \end_inset
18671
18672 float
18673 \begin_inset Quotes erd
18674 \end_inset
18675
18676  when you change your document and this will often destroy the page layout.
18677 \end_layout
18678
18679 \begin_layout Standard
18680 There are no placement options for text wrap floats, because they are always
18681  surrounded by the text of a certain paragraph.
18682 \begin_inset VSpace bigskip
18683 \end_inset
18684
18685
18686 \end_layout
18687
18688 \begin_layout Standard
18689 Sometimes you have the problem that a float is placed at the top of a page
18690  while its corresponding section starts at the middle of the page, so that
18691  the reader could think the float is part of the previous section.
18692  To avoid this the LaTeX-command 
18693 \series bold
18694
18695 \backslash
18696 suppressf\SpecialChar \textcompwordmark{}
18697 loats
18698 \series default
18699  can be used.
18700  It suppresses a given float placement for the page where it is inserted
18701  and can therefore be used to avoid that floats could be set before a section
18702  starts.
18703  To get this, add these commands to your document preamble:
18704 \end_layout
18705
18706 \begin_layout Standard
18707
18708 \series bold
18709
18710 \backslash
18711 let
18712 \backslash
18713 mySection
18714 \backslash
18715 section
18716 \newline
18717
18718 \backslash
18719 renewcommand{
18720 \backslash
18721 section}{
18722 \backslash
18723 suppressf\SpecialChar \textcompwordmark{}
18724 loats[t]
18725 \backslash
18726 mySection}
18727 \end_layout
18728
18729 \begin_layout Standard
18730 You can define the same for all section headings, like chapters and subsections.
18731  This definition is not recommended to be used for small text parts like
18732  subsubsections because LaTeX may then have problems to find a suitable
18733  placement.
18734 \end_layout
18735
18736 \begin_layout Standard
18737 \begin_inset VSpace bigskip
18738 \end_inset
18739
18740 In some cases it is required to have all figures/tables at the end of the
18741  document.
18742  For this purpose the LaTeX-package 
18743 \series bold
18744 endf\SpecialChar \textcompwordmark{}
18745 loat
18746 \series default
18747
18748 \begin_inset LatexCommand index
18749 name "LaTeX-packages ! endfloat"
18750
18751 \end_inset
18752
18753  was developed.
18754  It puts all figure and table floats at the end of the document into own
18755  sections.
18756  At the original float position a text hint like 
18757 \begin_inset Quotes eld
18758 \end_inset
18759
18760
18761 \family sans
18762 [Figure\InsetSpace ~
18763 3.2 about here.]
18764 \family default
18765
18766 \begin_inset Quotes erd
18767 \end_inset
18768
18769  is inserted.
18770  The endfloat-package is loaded in the preamble with the line
18771 \end_layout
18772
18773 \begin_layout Standard
18774
18775 \series bold
18776
18777 \backslash
18778 usepackage[options]{endf\SpecialChar \textcompwordmark{}
18779 loat}
18780 \end_layout
18781
18782 \begin_layout Standard
18783 There are various package options to format the created figure/table sections.
18784  For more information we refer to the 
18785 \series bold
18786 endf\SpecialChar \textcompwordmark{}
18787 loat
18788 \series default
18789  documentation 
18790 \begin_inset LatexCommand cite
18791 key "endfloat"
18792
18793 \end_inset
18794
18795 .
18796 \newline
18797
18798 \begin_inset Note Greyedout
18799 status open
18800
18801 \begin_layout Standard
18802
18803 \series bold
18804 Note: endf\SpecialChar \textcompwordmark{}
18805 loat
18806 \series default
18807  doesn't provide an automatic translation for the text hint, you have to
18808  do this manually, see section\InsetSpace ~
18809 4 in 
18810 \begin_inset LatexCommand cite
18811 key "endfloat"
18812
18813 \end_inset
18814
18815 .
18816 \end_layout
18817
18818 \end_inset
18819
18820
18821 \newline
18822
18823 \begin_inset Note Greyedout
18824 status open
18825
18826 \begin_layout Standard
18827
18828 \series bold
18829 Note:
18830 \series default
18831  There is currently a bug in 
18832 \series bold
18833 endf\SpecialChar \textcompwordmark{}
18834 loat
18835 \series default
18836  when the caption contains a German 
18837 \begin_inset Quotes eld
18838 \end_inset
18839
18840 ß
18841 \begin_inset Quotes erd
18842 \end_inset
18843
18844 .
18845  Use in this case the command 
18846 \begin_inset Quotes eld
18847 \end_inset
18848
18849
18850 \series bold
18851
18852 \backslash
18853 ss
18854 \series default
18855
18856 \begin_inset Quotes erd
18857 \end_inset
18858
18859  in ERT instead of 
18860 \begin_inset Quotes eld
18861 \end_inset
18862
18863 ß
18864 \begin_inset Quotes erd
18865 \end_inset
18866
18867 .
18868 \end_layout
18869
18870 \end_inset
18871
18872
18873 \end_layout
18874
18875 \begin_layout Standard
18876 \begin_inset VSpace bigskip
18877 \end_inset
18878
18879 For more details about float placements, have a look at LaTeX books, 
18880 \begin_inset LatexCommand cite
18881 key "latexcompanion,latexguide,latexbook"
18882
18883 \end_inset
18884
18885 .
18886 \end_layout
18887
18888 \begin_layout Section
18889 Rotated Floats
18890 \begin_inset LatexCommand label
18891 name "sec:Rotated-Floats"
18892
18893 \end_inset
18894
18895
18896 \begin_inset LatexCommand index
18897 name "Floats ! Rotating"
18898
18899 \end_inset
18900
18901
18902 \end_layout
18903
18904 \begin_layout Standard
18905 Especially for wide tables you might have floats rotated.
18906  To rotate a whole float including the caption, right-click on the float-box
18907  and use the option 
18908 \family sans
18909 Rotate\InsetSpace ~
18910 sideways
18911 \family default
18912 .
18913 \end_layout
18914
18915 \begin_layout Standard
18916 Rotated floats are always placed on its own page (or column, when you have
18917  a two-column document).
18918  They are normally rotated so that you can read them from the outside margin
18919  -- to the left on even pages, to the right on odd pages.
18920 \end_layout
18921
18922 \begin_layout Standard
18923 Referencing rotated floats is the same like for normal floats, the caption
18924  format is also the same: Table\InsetSpace ~
18925
18926 \begin_inset LatexCommand ref
18927 reference "tab:Rotated-table"
18928
18929 \end_inset
18930
18931  is an example of a rotated table float.
18932 \end_layout
18933
18934 \begin_layout Standard
18935 \begin_inset Note Greyedout
18936 status open
18937
18938 \begin_layout Standard
18939
18940 \series bold
18941 Note:
18942 \series default
18943  Not all DVI-viewers are able to display rotated floats.
18944 \end_layout
18945
18946 \end_inset
18947
18948
18949 \end_layout
18950
18951 \begin_layout Standard
18952 \begin_inset Float table
18953 wide false
18954 sideways true
18955 status open
18956
18957 \begin_layout Standard
18958 \begin_inset Caption
18959
18960 \begin_layout Standard
18961 \begin_inset LatexCommand label
18962 name "tab:Rotated-table"
18963
18964 \end_inset
18965
18966  Rotated table
18967 \end_layout
18968
18969 \end_inset
18970
18971
18972 \end_layout
18973
18974 \begin_layout Standard
18975 \align center
18976 \begin_inset Tabular
18977 <lyxtabular version="3" rows="1" columns="5">
18978 <features>
18979 <column alignment="center" valignment="top" leftline="true" width="0">
18980 <column alignment="center" valignment="top" leftline="true" width="0">
18981 <column alignment="center" valignment="top" leftline="true" width="0">
18982 <column alignment="center" valignment="top" leftline="true" width="0">
18983 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
18984 <row topline="true" bottomline="true">
18985 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18986 \begin_inset Text
18987
18988 \begin_layout Standard
18989 test
18990 \end_layout
18991
18992 \end_inset
18993 </cell>
18994 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18995 \begin_inset Text
18996
18997 \begin_layout Standard
18998 b
18999 \end_layout
19000
19001 \end_inset
19002 </cell>
19003 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19004 \begin_inset Text
19005
19006 \begin_layout Standard
19007 c
19008 \end_layout
19009
19010 \end_inset
19011 </cell>
19012 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19013 \begin_inset Text
19014
19015 \begin_layout Standard
19016 d
19017 \end_layout
19018
19019 \end_inset
19020 </cell>
19021 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19022 \begin_inset Text
19023
19024 \begin_layout Standard
19025 e
19026 \end_layout
19027
19028 \end_inset
19029 </cell>
19030 </row>
19031 </lyxtabular>
19032
19033 \end_inset
19034
19035
19036 \end_layout
19037
19038 \end_inset
19039
19040
19041 \end_layout
19042
19043 \begin_layout Section
19044 Caption Formatting
19045 \begin_inset LatexCommand index
19046 name "Caption ! Formatting"
19047
19048 \end_inset
19049
19050
19051 \begin_inset LatexCommand index
19052 name "Floats ! Caption Formatting"
19053
19054 \end_inset
19055
19056
19057 \begin_inset LatexCommand index
19058 name "LaTeX-packages ! caption"
19059
19060 \end_inset
19061
19062
19063 \begin_inset LatexCommand label
19064 name "sec:Caption-Formatting"
19065
19066 \end_inset
19067
19068
19069 \end_layout
19070
19071 \begin_layout Standard
19072 The 
19073 \family sans
19074 Caption
19075 \family default
19076  environment is the default paragraph environment for 
19077 \family sans
19078 Floats
19079 \family default
19080 .
19081  On the LyX screen captions appear as label, e.\InsetSpace \thinspace{}
19082 g.\InsetSpace ~
19083
19084 \begin_inset Quotes eld
19085 \end_inset
19086
19087
19088 \family sans
19089 Figure #:
19090 \family default
19091
19092 \begin_inset Quotes erd
19093 \end_inset
19094
19095  followed by the caption text.
19096  The number sign 
19097 \begin_inset Quotes eld
19098 \end_inset
19099
19100 #
19101 \begin_inset Quotes erd
19102 \end_inset
19103
19104  is substituted in the printed output by the actual reference number.
19105  By default the label and the number are in the same font as the caption
19106  text and a colon follows the number to divide then label from the text.
19107  This caption format is not suitable for all document formats.
19108  
19109 \end_layout
19110
19111 \begin_layout Standard
19112 To change the default caption format, load the LaTeX-package 
19113 \series bold
19114 caption
19115 \series default
19116
19117 \begin_inset LatexCommand index
19118 name "LaTeX-packages ! caption"
19119
19120 \end_inset
19121
19122  in the document preamble with this line:
19123 \end_layout
19124
19125 \begin_layout Standard
19126
19127 \series bold
19128
19129 \backslash
19130 usepackage[format definition]{caption}
19131 \end_layout
19132
19133 \begin_layout Standard
19134 To have for example the label and the number in sans-serif bold font and
19135  the table captions always above the table like in this document, use the
19136  following command:
19137 \end_layout
19138
19139 \begin_layout Standard
19140
19141 \series bold
19142
19143 \backslash
19144 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
19145 \end_layout
19146
19147 \begin_layout Standard
19148 You can also define different caption formats for the different float types.
19149  In this case load the 
19150 \series bold
19151 caption
19152 \series default
19153  package without format specific options and define the different formats
19154  with the help of the command
19155 \end_layout
19156
19157 \begin_layout Standard
19158
19159 \series bold
19160
19161 \backslash
19162 captionsetup[float type]{format definition}
19163 \end_layout
19164
19165 \begin_layout Standard
19166 in the document preamble.
19167  For example the caption formats of Figure\InsetSpace ~
19168
19169 \begin_inset LatexCommand ref
19170 reference "fig:This-is-an-fig"
19171
19172 \end_inset
19173
19174  and Table\InsetSpace ~
19175
19176 \begin_inset LatexCommand ref
19177 reference "tab:This-is-an-tab"
19178
19179 \end_inset
19180
19181  can be created using these commands in the document preamble:
19182 \end_layout
19183
19184 \begin_layout Standard
19185
19186 \series bold
19187
19188 \backslash
19189 usepackage[tableposition=top]{caption}
19190 \series default
19191
19192 \newline
19193
19194 \series bold
19195
19196 \backslash
19197 captionsetup[f\SpecialChar \textcompwordmark{}
19198 igure]{labelfont={tt}, textfont=it, indention=1cm,%
19199 \newline
19200
19201 \begin_inset ERT
19202 status collapsed
19203
19204 \begin_layout Standard
19205
19206
19207 \backslash
19208 hphantom{
19209 \backslash
19210
19211 \backslash
19212 captionsetup[figure]
19213 \backslash
19214 {}
19215 \end_layout
19216
19217 \end_inset
19218
19219  labelsep=period}
19220 \newline
19221
19222 \backslash
19223 captionsetup[table]{labelfont={bf,sf}}
19224 \end_layout
19225
19226 \begin_layout Standard
19227 For more information about the package 
19228 \series bold
19229 caption
19230 \series default
19231  we refer to its documentation 
19232 \begin_inset LatexCommand cite
19233 key "caption,caption-de"
19234
19235 \end_inset
19236
19237 .
19238 \end_layout
19239
19240 \begin_layout Standard
19241 \begin_inset VSpace bigskip
19242 \end_inset
19243
19244 If you are using a 
19245 \series bold
19246 koma-script
19247 \series default
19248
19249 \begin_inset LatexCommand index
19250 name "LaTeX-packages ! koma-script"
19251
19252 \end_inset
19253
19254  document class (
19255 \family sans
19256 article (koma-script)
19257 \family default
19258
19259 \family sans
19260 book (koma-script)
19261 \family default
19262
19263 \family sans
19264 letter (koma-script)
19265 \family default
19266 , or 
19267 \family sans
19268 report (koma-script)
19269 \family default
19270 \InsetSpace \thinspace{}
19271 ), you can alternatively to the 
19272 \series bold
19273 caption
19274 \series default
19275  package use 
19276 \series bold
19277 koma-script
19278 \series default
19279 's built-in command 
19280 \series bold
19281
19282 \backslash
19283 setkomafont
19284 \series default
19285 .
19286  For example, to have the caption label in bold, add this command to your
19287  document preamble:
19288 \end_layout
19289
19290 \begin_layout Standard
19291
19292 \series bold
19293
19294 \backslash
19295 setkomafont{captionlabel}{
19296 \backslash
19297 bfseries}
19298 \end_layout
19299
19300 \begin_layout Standard
19301 For more information about 
19302 \series bold
19303
19304 \backslash
19305 setkomafont
19306 \series default
19307  we refer to the 
19308 \series bold
19309 koma-script
19310 \series default
19311  documentation 
19312 \begin_inset LatexCommand cite
19313 key "koma-script,koma-script-de"
19314
19315 \end_inset
19316
19317 .
19318 \end_layout
19319
19320 \begin_layout Standard
19321 \begin_inset ERT
19322 status collapsed
19323
19324 \begin_layout Standard
19325
19326
19327 \backslash
19328 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
19329 }
19330 \end_layout
19331
19332 \end_inset
19333
19334
19335 \begin_inset Note Note
19336 status open
19337
19338 \begin_layout Standard
19339 The caption format is changed only for this example.
19340 \end_layout
19341
19342 \end_inset
19343
19344
19345 \end_layout
19346
19347 \begin_layout Standard
19348 \begin_inset Float figure
19349 placement !p
19350 wide false
19351 sideways false
19352 status open
19353
19354 \begin_layout Standard
19355 \align center
19356 \begin_inset Graphics
19357         filename mobius.eps
19358         lyxscale 50
19359         scale 50
19360
19361 \end_inset
19362
19363
19364 \end_layout
19365
19366 \begin_layout Standard
19367 \begin_inset Caption
19368
19369 \begin_layout Standard
19370 \begin_inset LatexCommand label
19371 name "fig:This-is-an-fig"
19372
19373 \end_inset
19374
19375 This is an example figure caption that is longer than one line to show the
19376  different caption format.
19377  Here a self-defined caption format is used.
19378 \end_layout
19379
19380 \end_inset
19381
19382
19383 \end_layout
19384
19385 \end_inset
19386
19387
19388 \end_layout
19389
19390 \begin_layout Standard
19391 \begin_inset ERT
19392 status collapsed
19393
19394 \begin_layout Standard
19395
19396
19397 \backslash
19398 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
19399 on}
19400 \end_layout
19401
19402 \end_inset
19403
19404
19405 \end_layout
19406
19407 \begin_layout Standard
19408 \begin_inset Float table
19409 placement !p
19410 wide false
19411 sideways false
19412 status open
19413
19414 \begin_layout Standard
19415 \begin_inset Caption
19416
19417 \begin_layout Standard
19418 \begin_inset LatexCommand label
19419 name "tab:This-is-an-tab"
19420
19421 \end_inset
19422
19423 This is an example table caption that is longer than one line to show the
19424  different caption format.
19425  Here the standard caption format for tables in this document is used.
19426 \end_layout
19427
19428 \end_inset
19429
19430
19431 \end_layout
19432
19433 \begin_layout Standard
19434 \align center
19435 \begin_inset Tabular
19436 <lyxtabular version="3" rows="1" columns="5">
19437 <features>
19438 <column alignment="center" valignment="top" leftline="true" width="0">
19439 <column alignment="center" valignment="top" leftline="true" width="0">
19440 <column alignment="center" valignment="top" leftline="true" width="0">
19441 <column alignment="center" valignment="top" leftline="true" width="0">
19442 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
19443 <row topline="true" bottomline="true">
19444 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19445 \begin_inset Text
19446
19447 \begin_layout Standard
19448 a
19449 \end_layout
19450
19451 \end_inset
19452 </cell>
19453 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19454 \begin_inset Text
19455
19456 \begin_layout Standard
19457 b
19458 \end_layout
19459
19460 \end_inset
19461 </cell>
19462 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19463 \begin_inset Text
19464
19465 \begin_layout Standard
19466 c
19467 \end_layout
19468
19469 \end_inset
19470 </cell>
19471 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19472 \begin_inset Text
19473
19474 \begin_layout Standard
19475 d
19476 \end_layout
19477
19478 \end_inset
19479 </cell>
19480 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19481 \begin_inset Text
19482
19483 \begin_layout Standard
19484 e
19485 \end_layout
19486
19487 \end_inset
19488 </cell>
19489 </row>
19490 </lyxtabular>
19491
19492 \end_inset
19493
19494
19495 \end_layout
19496
19497 \end_inset
19498
19499
19500 \end_layout
19501
19502 \begin_layout Section
19503 Caption Placement
19504 \begin_inset LatexCommand index
19505 name "Caption ! Placement"
19506
19507 \end_inset
19508
19509
19510 \begin_inset LatexCommand index
19511 name "Floats ! Caption Placement"
19512
19513 \end_inset
19514
19515
19516 \begin_inset LatexCommand label
19517 name "sec:Caption-Placement"
19518
19519 \end_inset
19520
19521
19522 \end_layout
19523
19524 \begin_layout Standard
19525 The common caption placement rule is:
19526 \end_layout
19527
19528 \begin_layout Description
19529 Figure: Caption is set below the figure
19530 \end_layout
19531
19532 \begin_layout Description
19533 Table: Caption is set above the table
19534 \end_layout
19535
19536 \begin_layout Standard
19537 Having the caption above the table is unfortunately not supported in LaTeX's
19538  standard classes.
19539  That means if you are using the document classes 
19540 \family sans
19541 article
19542 \family default
19543
19544 \family sans
19545 book
19546 \family default
19547
19548 \family sans
19549 letter
19550 \family default
19551 , or 
19552 \family sans
19553 report
19554 \family default
19555  there will be no space between the caption and the table.
19556  To insert the needed space, add the following option to the load command
19557  of the LaTeX-package 
19558 \series bold
19559 caption
19560 \series default
19561  in your document preamble
19562 \begin_inset Foot
19563 status collapsed
19564
19565 \begin_layout Standard
19566 See section\InsetSpace ~
19567
19568 \begin_inset LatexCommand ref
19569 reference "sec:Caption-Formatting"
19570
19571 \end_inset
19572
19573  for more information of the package 
19574 \series bold
19575 caption
19576 \series default
19577 .
19578 \end_layout
19579
19580 \end_inset
19581
19582 :
19583 \end_layout
19584
19585 \begin_layout Standard
19586
19587 \series bold
19588 tableposition=top
19589 \end_layout
19590
19591 \begin_layout Standard
19592 If you are using a 
19593 \series bold
19594 koma-script
19595 \series default
19596
19597 \begin_inset LatexCommand index
19598 name "LaTeX-packages ! koma-script"
19599
19600 \end_inset
19601
19602  document class (
19603 \family sans
19604 article (koma-script)
19605 \family default
19606
19607 \family sans
19608 book (koma-script)
19609 \family default
19610
19611 \family sans
19612 letter (koma-script)
19613 \family default
19614 , or 
19615 \family sans
19616 report (koma-script)
19617 \family default
19618 \InsetSpace \thinspace{}
19619 ), you can alternatively to the 
19620 \series bold
19621 caption
19622 \series default
19623  package set the document class option 
19624 \series bold
19625 tablecaptionabove
19626 \series default
19627 , or you can use the environment 
19628 \family sans
19629 caption\InsetSpace ~
19630 above
19631 \family default
19632  instead of the 
19633 \family sans
19634 caption
19635 \family default
19636  environment.
19637 \end_layout
19638
19639 \begin_layout Standard
19640 \begin_inset VSpace bigskip
19641 \end_inset
19642
19643 It is also possible to set the caption beside a figure or table.
19644  To get this the LaTeX-package 
19645 \series bold
19646 sidecap
19647 \series default
19648
19649 \begin_inset LatexCommand index
19650 name "LaTeX-packages ! sidecap"
19651
19652 \end_inset
19653
19654  has to be loaded in the document preamble with the line
19655 \end_layout
19656
19657 \begin_layout Standard
19658
19659 \series bold
19660
19661 \backslash
19662 usepackage[option]{sidecap}
19663 \end_layout
19664
19665 \begin_layout Standard
19666 If you set no option, the caption is placed on the side of the outer page
19667  margin -- to the right on odd pages, to the left on even pages.
19668  You can change the placement to inner margin with the option 
19669 \series bold
19670 innercaption
19671 \series default
19672 .
19673  To force the placement always to the right or left, use the option 
19674 \series bold
19675 rightcaption
19676 \series default
19677  or 
19678 \series bold
19679 leftcaption
19680 \series default
19681 , respectively.
19682 \end_layout
19683
19684 \begin_layout Standard
19685 To place in LyX the caption of a float on the side, it is necessary to add
19686  these commands to the document preamble:
19687 \end_layout
19688
19689 \begin_layout Standard
19690
19691 \lyxline
19692
19693 \end_layout
19694
19695 \begin_layout Standard
19696
19697 \series bold
19698
19699 \backslash
19700 newcommand{
19701 \backslash
19702 TabBesBeg}{%
19703 \newline
19704
19705 \begin_inset ERT
19706 status collapsed
19707
19708 \begin_layout Standard
19709
19710
19711 \backslash
19712 hphantom{ }
19713 \end_layout
19714
19715 \end_inset
19716
19717
19718 \backslash
19719 let
19720 \backslash
19721 MyTable
19722 \backslash
19723 table
19724 \newline
19725
19726 \begin_inset ERT
19727 status collapsed
19728
19729 \begin_layout Standard
19730
19731
19732 \backslash
19733 hphantom{ }
19734 \end_layout
19735
19736 \end_inset
19737
19738
19739 \backslash
19740 let
19741 \backslash
19742 MyEndtable
19743 \backslash
19744 endtable
19745 \newline
19746
19747 \begin_inset ERT
19748 status collapsed
19749
19750 \begin_layout Standard
19751
19752
19753 \backslash
19754 hphantom{ }
19755 \end_layout
19756
19757 \end_inset
19758
19759
19760 \backslash
19761 renewenvironment{table}{
19762 \backslash
19763 begin{SCtable}}{
19764 \backslash
19765 end{SCtable}}}
19766 \end_layout
19767
19768 \begin_layout Standard
19769
19770 \series bold
19771
19772 \backslash
19773 newcommand{
19774 \backslash
19775 TabBesEnd}{%
19776 \newline
19777
19778 \begin_inset ERT
19779 status collapsed
19780
19781 \begin_layout Standard
19782
19783
19784 \backslash
19785 hphantom{ }
19786 \end_layout
19787
19788 \end_inset
19789
19790
19791 \backslash
19792 let
19793 \backslash
19794 table
19795 \backslash
19796 MyTable
19797 \newline
19798
19799 \begin_inset ERT
19800 status collapsed
19801
19802 \begin_layout Standard
19803
19804
19805 \backslash
19806 hphantom{ }
19807 \end_layout
19808
19809 \end_inset
19810
19811
19812 \backslash
19813 let
19814 \backslash
19815 endtable
19816 \backslash
19817 MyEndtable
19818 \end_layout
19819
19820 \begin_layout Standard
19821
19822 \series bold
19823
19824 \backslash
19825 newcommand{
19826 \backslash
19827 FigBesBeg}{%
19828 \newline
19829
19830 \begin_inset ERT
19831 status collapsed
19832
19833 \begin_layout Standard
19834
19835
19836 \backslash
19837 hphantom{ }
19838 \end_layout
19839
19840 \end_inset
19841
19842
19843 \backslash
19844 let
19845 \backslash
19846 MyFigure
19847 \backslash
19848 f\SpecialChar \textcompwordmark{}
19849 igure
19850 \newline
19851
19852 \begin_inset ERT
19853 status collapsed
19854
19855 \begin_layout Standard
19856
19857
19858 \backslash
19859 hphantom{ }
19860 \end_layout
19861
19862 \end_inset
19863
19864
19865 \backslash
19866 let
19867 \backslash
19868 MyEndf\SpecialChar \textcompwordmark{}
19869 igure
19870 \backslash
19871 endf\SpecialChar \textcompwordmark{}
19872 igure
19873 \newline
19874
19875 \begin_inset ERT
19876 status collapsed
19877
19878 \begin_layout Standard
19879
19880
19881 \backslash
19882 hphantom{ }
19883 \end_layout
19884
19885 \end_inset
19886
19887
19888 \backslash
19889 renewenvironment{f\SpecialChar \textcompwordmark{}
19890 igure}{
19891 \backslash
19892 begin{SCf\SpecialChar \textcompwordmark{}
19893 igure}}{
19894 \backslash
19895 end{SCf\SpecialChar \textcompwordmark{}
19896 igure}}}
19897 \end_layout
19898
19899 \begin_layout Standard
19900
19901 \series bold
19902
19903 \backslash
19904 newcommand{
19905 \backslash
19906 FigBesEnd}{%
19907 \newline
19908
19909 \begin_inset ERT
19910 status collapsed
19911
19912 \begin_layout Standard
19913
19914
19915 \backslash
19916 hphantom{ }
19917 \end_layout
19918
19919 \end_inset
19920
19921
19922 \backslash
19923 let
19924 \backslash
19925 f\SpecialChar \textcompwordmark{}
19926 igure
19927 \backslash
19928 MyFigure
19929 \newline
19930
19931 \begin_inset ERT
19932 status collapsed
19933
19934 \begin_layout Standard
19935
19936
19937 \backslash
19938 hphantom{ }
19939 \end_layout
19940
19941 \end_inset
19942
19943
19944 \backslash
19945 let
19946 \backslash
19947 endf\SpecialChar \textcompwordmark{}
19948 igure
19949 \backslash
19950 MyEndf\SpecialChar \textcompwordmark{}
19951 igure}
19952 \end_layout
19953
19954 \begin_layout Standard
19955
19956 \lyxline
19957
19958 \end_layout
19959
19960 \begin_layout Standard
19961 The commands allow you to redefine the floats so that the caption is set
19962  on the side.
19963  For figure floats use the command
19964 \end_layout
19965
19966 \begin_layout Standard
19967
19968 \series bold
19969
19970 \backslash
19971 FigBesBeg
19972 \end_layout
19973
19974 \begin_layout Standard
19975 in ERT before the float.
19976  Behind the float insert the command
19977 \end_layout
19978
19979 \begin_layout Standard
19980
19981 \series bold
19982
19983 \backslash
19984 FigBesEnd
19985 \end_layout
19986
19987 \begin_layout Standard
19988 in ERT to get back to the original float definition.
19989 \end_layout
19990
19991 \begin_layout Standard
19992 For table floats use the corresponding commands
19993 \end_layout
19994
19995 \begin_layout Standard
19996
19997 \series bold
19998
19999 \backslash
20000 TabBesBeg
20001 \series default
20002  and 
20003 \series bold
20004
20005 \backslash
20006 TabBesEnd
20007 \end_layout
20008
20009 \begin_layout Standard
20010 Figure\InsetSpace ~
20011
20012 \begin_inset LatexCommand ref
20013 reference "fig:cap-beside-fig"
20014
20015 \end_inset
20016
20017  and Table\InsetSpace ~
20018
20019 \begin_inset LatexCommand ref
20020 reference "tab:cap-beside-tab"
20021
20022 \end_inset
20023
20024  are examples where the caption is set beside.
20025 \end_layout
20026
20027 \begin_layout Standard
20028 You can see in the examples that the caption text appears at the top of
20029  the floats for table floats and at the bottom for figure floats.
20030  To change this, you can use the command
20031 \end_layout
20032
20033 \begin_layout Standard
20034
20035 \series bold
20036
20037 \backslash
20038 sidecaptionvpos{float type}{placement}
20039 \end_layout
20040
20041 \begin_layout Standard
20042 in the document preamble or in ERT before the float.
20043  The float type is either 
20044 \family sans
20045 figure
20046 \family default
20047  or 
20048 \family sans
20049 table
20050 \family default
20051 , the placement can be 
20052 \begin_inset Quotes eld
20053 \end_inset
20054
20055
20056 \family sans
20057 t
20058 \family default
20059
20060 \begin_inset Quotes erd
20061 \end_inset
20062
20063  for top, 
20064 \begin_inset Quotes eld
20065 \end_inset
20066
20067
20068 \family sans
20069 c
20070 \family default
20071
20072 \begin_inset Quotes erd
20073 \end_inset
20074
20075  for center, or 
20076 \begin_inset Quotes eld
20077 \end_inset
20078
20079
20080 \family sans
20081 b
20082 \family default
20083
20084 \begin_inset Quotes erd
20085 \end_inset
20086
20087  for bottom.
20088  To have for example the caption of figure floats vertically centered, use
20089  the command
20090 \end_layout
20091
20092 \begin_layout Standard
20093
20094 \series bold
20095
20096 \backslash
20097 sidecaptionvpos{f\SpecialChar \textcompwordmark{}
20098 igure}{c}
20099 \end_layout
20100
20101 \begin_layout Standard
20102 This was used for Figure\InsetSpace ~
20103
20104 \begin_inset LatexCommand ref
20105 reference "fig:cap-beside-fig-2"
20106
20107 \end_inset
20108
20109 .
20110 \end_layout
20111
20112 \begin_layout Standard
20113 \begin_inset VSpace defskip
20114 \end_inset
20115
20116 For more information about the package 
20117 \series bold
20118 sidecap
20119 \series default
20120  we refer to its documentation 
20121 \begin_inset LatexCommand cite
20122 key "sidecap"
20123
20124 \end_inset
20125
20126 .
20127 \end_layout
20128
20129 \begin_layout Standard
20130 \begin_inset Note Greyedout
20131 status open
20132
20133 \begin_layout Standard
20134
20135 \series bold
20136 Note:
20137 \series default
20138  The LaTeX-package 
20139 \series bold
20140 hypcap
20141 \series default
20142
20143 \begin_inset LatexCommand index
20144 name "LaTeX-packages ! hypcap"
20145
20146 \end_inset
20147
20148 , described in section\InsetSpace ~
20149
20150 \begin_inset LatexCommand ref
20151 reference "sub:Reference-Position"
20152
20153 \end_inset
20154
20155 , has no effect on floats with the caption set beside.
20156 \end_layout
20157
20158 \end_inset
20159
20160
20161 \end_layout
20162
20163 \begin_layout Standard
20164 \begin_inset ERT
20165 status collapsed
20166
20167 \begin_layout Standard
20168
20169
20170 \backslash
20171 FigBesBeg 
20172 \end_layout
20173
20174 \end_inset
20175
20176
20177 \end_layout
20178
20179 \begin_layout Standard
20180 \begin_inset Float figure
20181 wide false
20182 sideways false
20183 status open
20184
20185 \begin_layout Standard
20186 \begin_inset Graphics
20187         filename escher-lsd.eps
20188         scale 75
20189
20190 \end_inset
20191
20192
20193 \end_layout
20194
20195 \begin_layout Standard
20196 \begin_inset Caption
20197
20198 \begin_layout Standard
20199 \begin_inset LatexCommand label
20200 name "fig:cap-beside-fig"
20201
20202 \end_inset
20203
20204 This is a caption beside a figure.
20205 \end_layout
20206
20207 \end_inset
20208
20209
20210 \end_layout
20211
20212 \end_inset
20213
20214
20215 \end_layout
20216
20217 \begin_layout Standard
20218 \begin_inset ERT
20219 status collapsed
20220
20221 \begin_layout Standard
20222
20223
20224 \backslash
20225 TabBesBeg 
20226 \end_layout
20227
20228 \end_inset
20229
20230
20231 \end_layout
20232
20233 \begin_layout Standard
20234 \begin_inset Float table
20235 wide false
20236 sideways false
20237 status open
20238
20239 \begin_layout Standard
20240 \begin_inset Caption
20241
20242 \begin_layout Standard
20243 \begin_inset LatexCommand label
20244 name "tab:cap-beside-tab"
20245
20246 \end_inset
20247
20248 This is a caption beside a table.
20249 \end_layout
20250
20251 \end_inset
20252
20253
20254 \end_layout
20255
20256 \begin_layout Standard
20257 \begin_inset Tabular
20258 <lyxtabular version="3" rows="4" columns="5">
20259 <features>
20260 <column alignment="center" valignment="top" leftline="true" width="0">
20261 <column alignment="center" valignment="top" leftline="true" width="0">
20262 <column alignment="center" valignment="top" leftline="true" width="0">
20263 <column alignment="center" valignment="top" leftline="true" width="0">
20264 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
20265 <row topline="true">
20266 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20267 \begin_inset Text
20268
20269 \begin_layout Standard
20270 a
20271 \end_layout
20272
20273 \end_inset
20274 </cell>
20275 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20276 \begin_inset Text
20277
20278 \begin_layout Standard
20279
20280 \end_layout
20281
20282 \end_inset
20283 </cell>
20284 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20285 \begin_inset Text
20286
20287 \begin_layout Standard
20288 b
20289 \end_layout
20290
20291 \end_inset
20292 </cell>
20293 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20294 \begin_inset Text
20295
20296 \begin_layout Standard
20297
20298 \end_layout
20299
20300 \end_inset
20301 </cell>
20302 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20303 \begin_inset Text
20304
20305 \begin_layout Standard
20306 c
20307 \end_layout
20308
20309 \end_inset
20310 </cell>
20311 </row>
20312 <row topline="true">
20313 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20314 \begin_inset Text
20315
20316 \begin_layout Standard
20317
20318 \end_layout
20319
20320 \end_inset
20321 </cell>
20322 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20323 \begin_inset Text
20324
20325 \begin_layout Standard
20326 d
20327 \end_layout
20328
20329 \end_inset
20330 </cell>
20331 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20332 \begin_inset Text
20333
20334 \begin_layout Standard
20335
20336 \end_layout
20337
20338 \end_inset
20339 </cell>
20340 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20341 \begin_inset Text
20342
20343 \begin_layout Standard
20344 e
20345 \end_layout
20346
20347 \end_inset
20348 </cell>
20349 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20350 \begin_inset Text
20351
20352 \begin_layout Standard
20353
20354 \end_layout
20355
20356 \end_inset
20357 </cell>
20358 </row>
20359 <row topline="true">
20360 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20361 \begin_inset Text
20362
20363 \begin_layout Standard
20364 f
20365 \end_layout
20366
20367 \end_inset
20368 </cell>
20369 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20370 \begin_inset Text
20371
20372 \begin_layout Standard
20373
20374 \end_layout
20375
20376 \end_inset
20377 </cell>
20378 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20379 \begin_inset Text
20380
20381 \begin_layout Standard
20382 g
20383 \end_layout
20384
20385 \end_inset
20386 </cell>
20387 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20388 \begin_inset Text
20389
20390 \begin_layout Standard
20391
20392 \end_layout
20393
20394 \end_inset
20395 </cell>
20396 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20397 \begin_inset Text
20398
20399 \begin_layout Standard
20400 h
20401 \end_layout
20402
20403 \end_inset
20404 </cell>
20405 </row>
20406 <row topline="true" bottomline="true">
20407 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20408 \begin_inset Text
20409
20410 \begin_layout Standard
20411
20412 \end_layout
20413
20414 \end_inset
20415 </cell>
20416 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20417 \begin_inset Text
20418
20419 \begin_layout Standard
20420 i
20421 \end_layout
20422
20423 \end_inset
20424 </cell>
20425 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20426 \begin_inset Text
20427
20428 \begin_layout Standard
20429
20430 \end_layout
20431
20432 \end_inset
20433 </cell>
20434 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20435 \begin_inset Text
20436
20437 \begin_layout Standard
20438 j
20439 \end_layout
20440
20441 \end_inset
20442 </cell>
20443 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20444 \begin_inset Text
20445
20446 \begin_layout Standard
20447
20448 \end_layout
20449
20450 \end_inset
20451 </cell>
20452 </row>
20453 </lyxtabular>
20454
20455 \end_inset
20456
20457
20458 \end_layout
20459
20460 \end_inset
20461
20462
20463 \end_layout
20464
20465 \begin_layout Standard
20466 \begin_inset ERT
20467 status collapsed
20468
20469 \begin_layout Standard
20470
20471
20472 \backslash
20473 TabBesEnd
20474 \end_layout
20475
20476 \end_inset
20477
20478
20479 \end_layout
20480
20481 \begin_layout Standard
20482 \begin_inset ERT
20483 status collapsed
20484
20485 \begin_layout Standard
20486
20487
20488 \backslash
20489 sidecaptionvpos{figure}{c}
20490 \end_layout
20491
20492 \end_inset
20493
20494
20495 \begin_inset Float figure
20496 wide false
20497 sideways false
20498 status open
20499
20500 \begin_layout Standard
20501 \begin_inset Graphics
20502         filename escher-lsd.eps
20503         scale 75
20504
20505 \end_inset
20506
20507
20508 \end_layout
20509
20510 \begin_layout Standard
20511 \begin_inset Caption
20512
20513 \begin_layout Standard
20514 \begin_inset LatexCommand label
20515 name "fig:cap-beside-fig-2"
20516
20517 \end_inset
20518
20519 This is a vertically centered caption beside a figure.
20520 \end_layout
20521
20522 \end_inset
20523
20524
20525 \end_layout
20526
20527 \end_inset
20528
20529
20530 \end_layout
20531
20532 \begin_layout Standard
20533 \begin_inset ERT
20534 status collapsed
20535
20536 \begin_layout Standard
20537
20538
20539 \backslash
20540 FigBesEnd
20541 \end_layout
20542
20543 \end_inset
20544
20545
20546 \end_layout
20547
20548 \begin_layout Section
20549 Listings of Floats
20550 \begin_inset LatexCommand label
20551 name "sec:Listings-of-Floats"
20552
20553 \end_inset
20554
20555
20556 \begin_inset LatexCommand index
20557 name "Floats ! Listings"
20558
20559 \end_inset
20560
20561
20562 \end_layout
20563
20564 \begin_layout Standard
20565 Similar to the the table of contents where the sections of the document
20566  are listed, there are listings for all float types, like the figures of
20567  the documents.
20568  You can insert them via the 
20569 \family sans
20570 Insert\SpecialChar \menuseparator
20571 List\InsetSpace ~
20572 /\InsetSpace ~
20573 TOC
20574 \family default
20575  sub menus.
20576 \end_layout
20577
20578 \begin_layout Standard
20579 The list entries are the float captions or its short title, the float number,
20580  and the page number where they appear in the document.
20581 \end_layout
20582
20583 \begin_layout Standard
20584 You can find the list of figures and tables at the end of this document.
20585 \end_layout
20586
20587 \begin_layout Chapter
20588 Notes
20589 \end_layout
20590
20591 \begin_layout Section
20592 \begin_inset ERT
20593 status collapsed
20594
20595 \begin_layout Standard
20596
20597
20598 \backslash
20599 texorpdfstring{
20600 \end_layout
20601
20602 \end_inset
20603
20604 LyX
20605 \begin_inset ERT
20606 status collapsed
20607
20608 \begin_layout Standard
20609
20610 }{LyX}
20611 \end_layout
20612
20613 \end_inset
20614
20615  Notes
20616 \begin_inset LatexCommand label
20617 name "sec:LyX-Notes"
20618
20619 \end_inset
20620
20621
20622 \begin_inset LatexCommand index
20623 name "Notes ! LyX Notes"
20624
20625 \end_inset
20626
20627
20628 \begin_inset Note Note
20629 status collapsed
20630
20631 \begin_layout Standard
20632 The command 
20633 \backslash
20634 texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures
20635  are displayed wrongly in PDF-bookmarks.
20636  For more information about this, have a look at 
20637 \begin_inset LatexCommand cite
20638 key "hyperref"
20639
20640 \end_inset
20641
20642 .
20643 \end_layout
20644
20645 \end_inset
20646
20647
20648 \end_layout
20649
20650 \begin_layout Standard
20651 Notes are inserted with the toolbar button 
20652 \begin_inset Graphics
20653         filename ../images/note-insert.xpm
20654         scale 85
20655
20656 \end_inset
20657
20658  or the menu 
20659 \family sans
20660 Insert\SpecialChar \menuseparator
20661 Note
20662 \family default
20663 .
20664  There are three types of notes:
20665 \end_layout
20666
20667 \begin_layout Description
20668 LyX\InsetSpace ~
20669 Note This note type is for internal notes that won't appear in the output.
20670  Its note-box looks like this:
20671 \newline
20672
20673 \newline
20674
20675 \begin_inset Graphics
20676         filename ../clipart/LyXNoteImageQt4.png
20677         display none
20678         scale 85
20679
20680 \end_inset
20681
20682  
20683 \begin_inset Note Note
20684 status open
20685
20686 \begin_layout Standard
20687 This is text in a note box that doesn't appear in the output.
20688 \end_layout
20689
20690 \end_inset
20691
20692
20693 \end_layout
20694
20695 \begin_layout Description
20696 Comment This note also doesn't appear in the output but it appears as LaTeX-comm
20697 ent, when you export the document to LaTeX via the menu 
20698 \family sans
20699 File\SpecialChar \menuseparator
20700 Export\SpecialChar \menuseparator
20701 LaTeX (pdflatex) / LaTeX (plain)
20702 \family default
20703 .
20704  Its note-box looks like this:
20705 \newline
20706
20707 \newline
20708
20709 \begin_inset Graphics
20710         filename ../clipart/CommentNoteImageQt4.png
20711         display none
20712         scale 85
20713
20714 \end_inset
20715
20716  
20717 \begin_inset Note Comment
20718 status open
20719
20720 \begin_layout Standard
20721 This is text in a note box that only appears as comment in LaTeX-files.
20722 \end_layout
20723
20724 \end_inset
20725
20726
20727 \end_layout
20728
20729 \begin_layout Description
20730 Greyed\InsetSpace ~
20731 Out This note will appear in the output as grey text.
20732  Its note-box looks like this:
20733 \newline
20734
20735 \newline
20736
20737 \begin_inset Graphics
20738         filename ../clipart/GreyedOutNoteImageQt4.png
20739         display none
20740         scale 85
20741
20742 \end_inset
20743
20744
20745 \newline
20746
20747 \begin_inset ERT
20748 status collapsed
20749
20750 \begin_layout Standard
20751
20752
20753 \backslash
20754 renewenvironment{lyxgreyedout}
20755 \end_layout
20756
20757 \begin_layout Standard
20758
20759 {
20760 \backslash
20761 textcolor[gray]{0.8}
20762 \backslash
20763 bgroup}{
20764 \backslash
20765 egroup}
20766 \end_layout
20767
20768 \end_inset
20769
20770
20771 \begin_inset Note Greyedout
20772 status open
20773
20774 \begin_layout Standard
20775 This is text
20776 \begin_inset Foot
20777 status open
20778
20779 \begin_layout Standard
20780 This is an example footnote within a greyed out note.
20781 \end_layout
20782
20783 \end_inset
20784
20785  of a comment that appears in the output as grey text.
20786 \end_layout
20787
20788 \end_inset
20789
20790
20791 \begin_inset ERT
20792 status collapsed
20793
20794 \begin_layout Standard
20795
20796
20797 \backslash
20798 renewenvironment{lyxgreyedout}
20799 \end_layout
20800
20801 \begin_layout Standard
20802
20803 {
20804 \backslash
20805 textcolor{blue}
20806 \backslash
20807 bgroup}{
20808 \backslash
20809 egroup}
20810 \end_layout
20811
20812 \end_inset
20813
20814
20815 \begin_inset Note Note
20816 status collapsed
20817
20818 \begin_layout Standard
20819 The greyed out note is here redefined to show it with the original LyX definitio
20820 n because greyed out notes are redefined in the preamble of this document,
20821  as described below, to have blue text.
20822 \end_layout
20823
20824 \end_inset
20825
20826
20827 \newline
20828
20829 \newline
20830 As you can see in the example, the first line of greyed out notes is a bit
20831  indented and greyed out notes can have footnotes.
20832 \end_layout
20833
20834 \begin_layout Description
20835 Framed This note will appear in the output as framed text.
20836  Its note-box looks like this:
20837 \newline
20838
20839 \newline
20840
20841 \begin_inset Graphics
20842         filename ../clipart/FramedNoteImageQt4.png
20843         display none
20844         scale 85
20845
20846 \end_inset
20847
20848  
20849 \begin_inset Note Framed
20850 status open
20851
20852 \begin_layout Standard
20853 This is text in a note box that appears framed in the output.
20854 \end_layout
20855
20856 \end_inset
20857
20858  In contrary to framed boxes
20859 \begin_inset Foot
20860 status collapsed
20861
20862 \begin_layout Standard
20863 Framed boxes are described in section\InsetSpace ~
20864
20865 \begin_inset LatexCommand ref
20866 reference "sec:Framed-Boxes"
20867
20868 \end_inset
20869
20870 .
20871 \end_layout
20872
20873 \end_inset
20874
20875  the frame uses always the whole text width and the note is set into its
20876  own paragraph.
20877 \end_layout
20878
20879 \begin_layout Description
20880 Shaded This note will appear in the output with red background color.
20881  Its note box looks like this:
20882 \newline
20883
20884 \newline
20885
20886 \begin_inset Graphics
20887         filename ../clipart/ShadedNoteImageQt4.png
20888         display none
20889         scale 85
20890
20891 \end_inset
20892
20893
20894 \begin_inset Note Shaded
20895 status open
20896
20897 \begin_layout Standard
20898 This text in a note box appears in the output with red background.
20899 \end_layout
20900
20901 \end_inset
20902
20903 In contrary to colored boxes
20904 \begin_inset Foot
20905 status collapsed
20906
20907 \begin_layout Standard
20908 Colored boxes are described in section\InsetSpace ~
20909
20910 \begin_inset LatexCommand ref
20911 reference "sec:Colored-Boxes"
20912
20913 \end_inset
20914
20915 .
20916 \end_layout
20917
20918 \end_inset
20919
20920  the note uses always the whole text width and the note is set into its
20921  own paragraph.
20922 \end_layout
20923
20924 \begin_layout Standard
20925 \begin_inset VSpace bigskip
20926 \end_inset
20927
20928 When you use the toolbar button to insert notes, a 
20929 \family sans
20930 LyX\InsetSpace ~
20931 Note
20932 \family default
20933  is inserted.
20934  You can switch between the three note types by right-clicking on the note-box.
20935  
20936 \family roman
20937 \series medium
20938 \bar no
20939 If you want to turn existing text into a note, mark it and click on the
20940  note 
20941 \family default
20942 \series default
20943 \bar default
20944 toolbar 
20945 \family roman
20946 \series medium
20947 \bar no
20948 button
20949 \family default
20950 \series default
20951 \bar default
20952 .
20953 \end_layout
20954
20955 \begin_layout Standard
20956 \begin_inset VSpace bigskip
20957 \end_inset
20958
20959 You can change the text color of the greyed out notes in the preamble with
20960  the following command:
20961 \end_layout
20962
20963 \begin_layout Standard
20964
20965 \series bold
20966
20967 \backslash
20968 renewenvironment{lyxgreyedout}
20969 \newline
20970
20971 \begin_inset ERT
20972 status collapsed
20973
20974 \begin_layout Standard
20975
20976
20977 \backslash
20978 hphantom{ }
20979 \end_layout
20980
20981 \end_inset
20982
20983 {
20984 \backslash
20985 textcolor{color}
20986 \backslash
20987 bgroup}{
20988 \backslash
20989 egroup}
20990 \end_layout
20991
20992 \begin_layout Standard
20993 The available colors and the method to define own colors is explained in
20994  section\InsetSpace ~
20995
20996 \begin_inset LatexCommand ref
20997 reference "sec:Colored-Tables"
20998
20999 \end_inset
21000
21001 .
21002 \end_layout
21003
21004 \begin_layout Standard
21005 Notes that appear in blue in this document are set using greyed out notes
21006  with blue text.
21007 \end_layout
21008
21009 \begin_layout Standard
21010 \begin_inset VSpace bigskip
21011 \end_inset
21012
21013
21014 \end_layout
21015
21016 \begin_layout Standard
21017 The text style of 
21018 \family sans
21019 Framed
21020 \family default
21021  and 
21022 \family sans
21023 Shaded
21024 \family default
21025  notes can be set in the 
21026 \family sans
21027 Text Style
21028 \family default
21029  dialog.
21030 \end_layout
21031
21032 \begin_layout Standard
21033 The default frame width for 
21034 \family sans
21035 Framed
21036 \family default
21037  notes is 0.4\InsetSpace \thinspace{}
21038 pt; it can be changed by changing the size 
21039 \series bold
21040
21041 \backslash
21042 FrameRule
21043 \series default
21044 .
21045  The default space between the note content and the frame is 9\InsetSpace \thinspace{}
21046 pt; it can
21047  be changed by changing the size 
21048 \series bold
21049
21050 \backslash
21051 FrameSep
21052 \series default
21053 .
21054  For example the frame appearance of the following 
21055 \family sans
21056 Framed
21057 \family default
21058  note is set with the ERT commands
21059 \end_layout
21060
21061 \begin_layout Standard
21062
21063 \series bold
21064
21065 \backslash
21066 FrameRule 5pt 
21067 \backslash
21068 FrameSep 0.5cm
21069 \end_layout
21070
21071 \begin_layout Standard
21072 \begin_inset ERT
21073 status collapsed
21074
21075 \begin_layout Standard
21076
21077
21078 \backslash
21079 FrameRule 5pt 
21080 \backslash
21081 FrameSep 0.5cm
21082 \end_layout
21083
21084 \end_inset
21085
21086
21087 \begin_inset Note Framed
21088 status open
21089
21090 \begin_layout Standard
21091 This is text in a 
21092 \family sans
21093 Framed
21094 \family default
21095  note.
21096 \end_layout
21097
21098 \end_inset
21099
21100
21101 \begin_inset ERT
21102 status collapsed
21103
21104 \begin_layout Standard
21105
21106
21107 \backslash
21108 FrameRule 0.4pt 
21109 \backslash
21110 FrameSep 9pt
21111 \end_layout
21112
21113 \end_inset
21114
21115
21116 \end_layout
21117
21118 \begin_layout Standard
21119 \begin_inset VSpace bigskip
21120 \end_inset
21121
21122
21123 \end_layout
21124
21125 \begin_layout Standard
21126 For 
21127 \family sans
21128 Shaded
21129 \family default
21130  notes the default space between the note content and the note border is
21131  3\InsetSpace \thinspace{}
21132 pt; it can be changed by changing the size 
21133 \series bold
21134
21135 \backslash
21136 fboxsep
21137 \series default
21138 .
21139 \newline
21140 The default background color red can be changed with the command 
21141 \series bold
21142
21143 \backslash
21144 def\SpecialChar \textcompwordmark{}
21145 inecolor{shadebox}
21146 \series default
21147 .
21148  The scheme of the 
21149 \series bold
21150
21151 \backslash
21152 def\SpecialChar \textcompwordmark{}
21153 inecolor
21154 \series default
21155  command is explained in section\InsetSpace ~
21156
21157 \begin_inset LatexCommand ref
21158 reference "sec:Colored-Tables"
21159
21160 \end_inset
21161
21162
21163 \begin_inset Foot
21164 status collapsed
21165
21166 \begin_layout Standard
21167 Note that 
21168 \series bold
21169
21170 \backslash
21171 def
21172 \series default
21173 \SpecialChar \textcompwordmark{}
21174
21175 \series bold
21176 inecolor
21177 \series default
21178  requires the LaTeX-package 
21179 \series bold
21180 color
21181 \series default
21182  in the preamble, see section\InsetSpace ~
21183
21184 \begin_inset LatexCommand ref
21185 reference "sec:Colored-Boxes"
21186
21187 \end_inset
21188
21189 .
21190 \end_layout
21191
21192 \end_inset
21193
21194 .
21195 \end_layout
21196
21197 \begin_layout Standard
21198 For example the appearance of the following 
21199 \family sans
21200 Shaded
21201 \family default
21202  note is set with the ERT commands
21203 \end_layout
21204
21205 \begin_layout Standard
21206
21207 \series bold
21208
21209 \backslash
21210 fboxsep 0.5cm
21211 \series default
21212
21213 \newline
21214
21215 \series bold
21216
21217 \backslash
21218 def\SpecialChar \textcompwordmark{}
21219 inecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
21220 \end_layout
21221
21222 \begin_layout Standard
21223 \begin_inset ERT
21224 status collapsed
21225
21226 \begin_layout Standard
21227
21228
21229 \backslash
21230 fboxsep 0.5cm
21231 \end_layout
21232
21233 \end_inset
21234
21235
21236 \begin_inset ERT
21237 status collapsed
21238
21239 \begin_layout Standard
21240
21241
21242 \backslash
21243 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
21244 \end_layout
21245
21246 \end_inset
21247
21248
21249 \begin_inset Note Shaded
21250 status open
21251
21252 \begin_layout Standard
21253
21254 \color yellow
21255 This is yellow text in a 
21256 \family sans
21257 Shaded
21258 \family default
21259  note with darkgreen background.
21260 \end_layout
21261
21262 \end_inset
21263
21264
21265 \begin_inset ERT
21266 status collapsed
21267
21268 \begin_layout Standard
21269
21270
21271 \backslash
21272 fboxsep 3pt
21273 \end_layout
21274
21275 \end_inset
21276
21277
21278 \begin_inset ERT
21279 status collapsed
21280
21281 \begin_layout Standard
21282
21283
21284 \backslash
21285 definecolor{shadecolor}{rgb}{1,0,0}
21286 \end_layout
21287
21288 \end_inset
21289
21290
21291 \end_layout
21292
21293 \begin_layout Section
21294 Footnotes
21295 \begin_inset LatexCommand label
21296 name "sec:Footnotes"
21297
21298 \end_inset
21299
21300
21301 \begin_inset LatexCommand index
21302 name "Notes ! Footnotes"
21303
21304 \end_inset
21305
21306
21307 \begin_inset LatexCommand index
21308 name "Footnotes"
21309
21310 \end_inset
21311
21312
21313 \end_layout
21314
21315 \begin_layout Standard
21316 Footnotes can be inserted using the toolbar button 
21317 \begin_inset Graphics
21318         filename ../images/footnote-insert.xpm
21319         scale 85
21320
21321 \end_inset
21322
21323  or the menu 
21324 \family sans
21325 Insert\SpecialChar \menuseparator
21326 Footnote
21327 \family default
21328 .
21329  
21330 \family roman
21331 \series medium
21332 \bar no
21333 You'll see 
21334 \family default
21335 \series default
21336 \bar default
21337 then the following footnote-box: 
21338 \begin_inset Graphics
21339         filename ../clipart/footnoteQt4.png
21340         scale 80
21341
21342 \end_inset
21343
21344
21345 \family roman
21346 \series medium
21347 \bar no
21348  where you can enter the footnote text.
21349  If you want to turn existing text into a footnote, mark it and click on
21350  the footnote 
21351 \family default
21352 \series default
21353 \bar default
21354 toolbar 
21355 \family roman
21356 \series medium
21357 \bar no
21358 button
21359 \family default
21360 \series default
21361 \bar default
21362 .
21363 \end_layout
21364
21365 \begin_layout Standard
21366 Here is an example footnote:
21367 \family roman
21368 \series medium
21369 \bar no
21370
21371 \begin_inset Foot
21372 status open
21373
21374 \begin_layout Standard
21375 \begin_inset LatexCommand label
21376 name "foot:This-is-an"
21377
21378 \end_inset
21379
21380 This is an example footnote.
21381 \end_layout
21382
21383 \end_inset
21384
21385
21386 \family default
21387 \series default
21388 \bar default
21389
21390 \begin_inset ERT
21391 status collapsed
21392
21393 \begin_layout Standard
21394
21395
21396 \backslash
21397 newcounter{MyRepeatFoot}
21398 \end_layout
21399
21400 \begin_layout Standard
21401
21402
21403 \backslash
21404 setcounter{MyRepeatFoot}{
21405 \backslash
21406 thefootnote}
21407 \end_layout
21408
21409 \end_inset
21410
21411
21412 \end_layout
21413
21414 \begin_layout Standard
21415 The footnote will appear in the output as a superscript number at the text
21416  position where the footnote box is placed.
21417  The footnote text is placed at the bottom of the current page.
21418  The footnote number is calculated by LaTeX, the numbers are consecutive.
21419  It depends on your document-class, if the footnote number is reset for
21420  every chapter.
21421 \end_layout
21422
21423 \begin_layout Standard
21424 Footnotes can be referenced like floats: Insert a label into the footnote
21425  and cross-reference this label in the text as described in section\InsetSpace ~
21426
21427 \begin_inset LatexCommand ref
21428 reference "sec:Referencing-Floats"
21429
21430 \end_inset
21431
21432 .
21433 \newline
21434 This is a cross-reference of Footnote\InsetSpace ~
21435
21436 \begin_inset LatexCommand prettyref
21437 reference "foot:This-is-an"
21438
21439 \end_inset
21440
21441 .
21442 \newline
21443
21444 \begin_inset Note Greyedout
21445 status open
21446
21447 \begin_layout Standard
21448
21449 \series bold
21450 Note:
21451 \series default
21452  LyX doesn't provide a prefix for labels in footnotes, so you have to insert
21453  e.\InsetSpace \thinspace{}
21454 g.\InsetSpace ~
21455 the prefix 
21456 \family sans
21457
21458 \begin_inset Quotes eld
21459 \end_inset
21460
21461 foot:
21462 \family default
21463
21464 \begin_inset Quotes erd
21465 \end_inset
21466
21467  manually when you want to use the reference style 
21468 \family sans
21469 Formatted\InsetSpace ~
21470 reference
21471 \family default
21472 .
21473 \end_layout
21474
21475 \end_inset
21476
21477
21478 \end_layout
21479
21480 \begin_layout Standard
21481 \begin_inset VSpace defskip
21482 \end_inset
21483
21484 To use footnotes within tables, you have to use minipages, see section\InsetSpace ~
21485
21486 \begin_inset LatexCommand ref
21487 reference "sec:Minipages"
21488
21489 \end_inset
21490
21491 .
21492  Footnotes within longtables are described in section\InsetSpace ~
21493
21494 \begin_inset LatexCommand ref
21495 reference "sub:Footnotes-in-Longtables"
21496
21497 \end_inset
21498
21499 .
21500 \end_layout
21501
21502 \begin_layout Standard
21503 \begin_inset VSpace defskip
21504 \end_inset
21505
21506 To create only a mark for a footnote, use the command 
21507 \series bold
21508
21509 \backslash
21510 footnotemark[number]
21511 \series default
21512  in ERT.
21513  This is used when you have the same annotation several times in a text
21514  but doesn't want to print the footnote text every time.
21515 \newline
21516 As you don't know
21517  the number of the repeating footnote while you are writing the text, you
21518  have to store its number.
21519  For the following footnote mark example, these commands were inserted in
21520  ERT behind Footnote\InsetSpace ~
21521
21522 \begin_inset LatexCommand ref
21523 reference "foot:This-is-an"
21524
21525 \end_inset
21526
21527  to store the footnote number:
21528 \end_layout
21529
21530 \begin_layout Standard
21531
21532 \series bold
21533
21534 \backslash
21535 newcounter{MyRepeatFoot}
21536 \newline
21537
21538 \backslash
21539 setcounter{MyRepeatFoot}{
21540 \backslash
21541 thefootnote}
21542 \end_layout
21543
21544 \begin_layout Standard
21545 The footnote mark was then created with this command:
21546 \end_layout
21547
21548 \begin_layout Standard
21549
21550 \series bold
21551
21552 \backslash
21553 footnotemark[
21554 \backslash
21555 theMyRepeatFoot]
21556 \end_layout
21557
21558 \begin_layout Standard
21559 Here is an example footnote mark:
21560 \family roman
21561 \series medium
21562 \bar no
21563
21564 \begin_inset ERT
21565 status collapsed
21566
21567 \begin_layout Standard
21568
21569
21570 \backslash
21571 footnotemark[
21572 \backslash
21573 theMyRepeatFoot]
21574 \end_layout
21575
21576 \end_inset
21577
21578
21579 \end_layout
21580
21581 \begin_layout Subsection
21582 Footnote Numbering
21583 \begin_inset LatexCommand label
21584 name "sub:Footnote-Numbering"
21585
21586 \end_inset
21587
21588
21589 \begin_inset LatexCommand index
21590 name "Footnotes ! Numbering"
21591
21592 \end_inset
21593
21594
21595 \end_layout
21596
21597 \begin_layout Standard
21598 If you want to have footnotes numbered in the scheme 
21599 \begin_inset Quotes eld
21600 \end_inset
21601
21602 chapter.footnote
21603 \begin_inset Quotes erd
21604 \end_inset
21605
21606 , add the following command to your document preamble:
21607 \end_layout
21608
21609 \begin_layout Standard
21610
21611 \series bold
21612
21613 \backslash
21614 numberwithin{footnote}{chapter}
21615 \end_layout
21616
21617 \begin_layout Standard
21618 To be able to use the command 
21619 \series bold
21620
21621 \backslash
21622 numberwithin
21623 \series default
21624 , set in the tab 
21625 \family sans
21626 Math\InsetSpace ~
21627 Options
21628 \family default
21629  in the document settings the option 
21630 \family sans
21631 Use\InsetSpace ~
21632 AMS\InsetSpace ~
21633 math\InsetSpace ~
21634 package
21635 \family default
21636 .
21637 \end_layout
21638
21639 \begin_layout Standard
21640 \begin_inset ERT
21641 status collapsed
21642
21643 \begin_layout Standard
21644
21645
21646 \backslash
21647 numberwithin{footnote}{chapter}
21648 \end_layout
21649
21650 \end_inset
21651
21652 This is another example footnote:
21653 \series bold
21654
21655 \begin_inset Foot
21656 status open
21657
21658 \begin_layout Standard
21659 This is a footnote numbered in the scheme 
21660 \begin_inset Quotes eld
21661 \end_inset
21662
21663 chapter.footnote
21664 \begin_inset Quotes erd
21665 \end_inset
21666
21667 .
21668 \end_layout
21669
21670 \end_inset
21671
21672
21673 \series default
21674
21675 \begin_inset ERT
21676 status collapsed
21677
21678 \begin_layout Standard
21679
21680
21681 \backslash
21682 numberwithin{footnote}{part}
21683 \end_layout
21684
21685 \end_inset
21686
21687
21688 \end_layout
21689
21690 \begin_layout Standard
21691 \begin_inset VSpace bigskip
21692 \end_inset
21693
21694
21695 \end_layout
21696
21697 \begin_layout Standard
21698 To reset the footnote number back to 1 after each section
21699 \family roman
21700 , add this command to your document preamble:
21701 \end_layout
21702
21703 \begin_layout Standard
21704
21705 \series bold
21706
21707 \backslash
21708 @addtoreset{footnote}{section}
21709 \end_layout
21710
21711 \begin_layout Standard
21712 \begin_inset VSpace bigskip
21713 \end_inset
21714
21715 The following preamble command changes the footnote numbering style to small
21716  roman numerals:
21717 \end_layout
21718
21719 \begin_layout Standard
21720
21721 \series bold
21722
21723 \backslash
21724 renewcommand{
21725 \backslash
21726 thefootnote}{
21727 \backslash
21728 roman{footnote}}
21729 \end_layout
21730
21731 \begin_layout Standard
21732 \begin_inset ERT
21733 status collapsed
21734
21735 \begin_layout Standard
21736
21737
21738 \backslash
21739 renewcommand{
21740 \backslash
21741 thefootnote}{
21742 \backslash
21743 roman{footnote}}
21744 \end_layout
21745
21746 \end_inset
21747
21748  This is a footnote with roman numbering:
21749 \begin_inset Foot
21750 status open
21751
21752 \begin_layout Standard
21753 This is an example footnote with roman numbering.
21754 \end_layout
21755
21756 \end_inset
21757
21758
21759 \begin_inset ERT
21760 status collapsed
21761
21762 \begin_layout Standard
21763
21764
21765 \backslash
21766 renewcommand{
21767 \backslash
21768 thefootnote}{
21769 \backslash
21770 arabic{footnote}}
21771 \end_layout
21772
21773 \end_inset
21774
21775
21776 \end_layout
21777
21778 \begin_layout Standard
21779 To change the numbering style to capital roman numerals replace in the command
21780  above 
21781 \series bold
21782
21783 \backslash
21784 roman
21785 \series default
21786  by 
21787 \series bold
21788
21789 \backslash
21790 Roman
21791 \series default
21792 .
21793  To 
21794 \begin_inset Quotes eld
21795 \end_inset
21796
21797 number
21798 \begin_inset Quotes erd
21799 \end_inset
21800
21801  footnotes with capital or small Latin letters use 
21802 \series bold
21803
21804 \backslash
21805 Alph
21806 \series default
21807  or 
21808 \series bold
21809
21810 \backslash
21811 alph
21812 \series default
21813 , respectively.
21814  To 
21815 \begin_inset Quotes eld
21816 \end_inset
21817
21818 number
21819 \begin_inset Quotes erd
21820 \end_inset
21821
21822  footnotes with symbols use 
21823 \series bold
21824
21825 \backslash
21826 fnsymbol
21827 \series default
21828 .
21829 \end_layout
21830
21831 \begin_layout Standard
21832 \begin_inset Note Greyedout
21833 status open
21834
21835 \begin_layout Standard
21836
21837 \series bold
21838 Note:
21839 \series medium
21840  
21841 \series default
21842 You can only number 26 footnotes with Latin letters, because this numbering
21843  is limited to single letters.
21844 \end_layout
21845
21846 \end_inset
21847
21848
21849 \newline
21850
21851 \begin_inset Note Greyedout
21852 status open
21853
21854 \begin_layout Standard
21855
21856 \series bold
21857 Note:
21858 \series default
21859  You can only number 9 footnotes with symbols.
21860 \end_layout
21861
21862 \end_inset
21863
21864
21865 \end_layout
21866
21867 \begin_layout Standard
21868 To return to the default numbering style when you changed to another one,
21869  use 
21870 \series bold
21871
21872 \backslash
21873 arabic
21874 \series default
21875  instead of 
21876 \series bold
21877
21878 \backslash
21879 roman
21880 \series default
21881  in the command above.
21882 \end_layout
21883
21884 \begin_layout Subsection
21885 Footnote Placement
21886 \begin_inset LatexCommand index
21887 name "Footnotes ! Placement"
21888
21889 \end_inset
21890
21891
21892 \end_layout
21893
21894 \begin_layout Standard
21895 If you have several footnotes in one page, they appear without vertical
21896  space between them at the bottom of the page.
21897  To make them better readable you can e.\InsetSpace \thinspace{}
21898 g.\InsetSpace ~
21899 add 1.5\InsetSpace \thinspace{}
21900 mm space with the following
21901  preamble command:
21902 \end_layout
21903
21904 \begin_layout Standard
21905
21906 \series bold
21907
21908 \backslash
21909 let
21910 \backslash
21911 myFoot
21912 \backslash
21913 footnote
21914 \newline
21915
21916 \backslash
21917 renewcommand{
21918 \backslash
21919 footnote}[1]{
21920 \backslash
21921 myFoot{#1
21922 \backslash
21923 vspace{1.5mm}}}
21924 \end_layout
21925
21926 \begin_layout Standard
21927 \begin_inset VSpace bigskip
21928 \end_inset
21929
21930 In a two-column document the footnotes appear at the bottom of every column,
21931  see Figure\InsetSpace ~
21932
21933 \begin_inset LatexCommand ref
21934 reference "fig:Standard-footnote-placement"
21935
21936 \end_inset
21937
21938 .
21939  If the footnotes should only appear at the bottom of the right column,
21940  as in Figure\InsetSpace ~
21941
21942 \begin_inset LatexCommand ref
21943 reference "fig:Footnote-placement-in"
21944
21945 \end_inset
21946
21947 , use the LaTeX-package 
21948 \series bold
21949 ftnright
21950 \series default
21951
21952 \begin_inset LatexCommand index
21953 name "LaTeX-packages ! ftnright"
21954
21955 \end_inset
21956
21957  with this command in the document preamble:
21958 \end_layout
21959
21960 \begin_layout Standard
21961
21962 \series bold
21963
21964 \backslash
21965 usepackage{ftnright}
21966 \end_layout
21967
21968 \begin_layout Standard
21969 \begin_inset Float figure
21970 placement !h
21971 wide false
21972 sideways false
21973 status open
21974
21975 \begin_layout Standard
21976 \begin_inset ERT
21977 status collapsed
21978
21979 \begin_layout Standard
21980
21981
21982 \backslash
21983 framebox{
21984 \end_layout
21985
21986 \end_inset
21987
21988
21989 \begin_inset Graphics
21990         filename ../clipart/without_fntright.pdf
21991         width 100col%
21992
21993 \end_inset
21994
21995
21996 \begin_inset ERT
21997 status collapsed
21998
21999 \begin_layout Standard
22000
22001 }
22002 \end_layout
22003
22004 \end_inset
22005
22006
22007 \end_layout
22008
22009 \begin_layout Standard
22010 \begin_inset Caption
22011
22012 \begin_layout Standard
22013 \begin_inset LatexCommand label
22014 name "fig:Standard-footnote-placement"
22015
22016 \end_inset
22017
22018 Standard footnote placement in two-column documents.
22019 \end_layout
22020
22021 \end_inset
22022
22023
22024 \end_layout
22025
22026 \end_inset
22027
22028
22029 \end_layout
22030
22031 \begin_layout Standard
22032 \begin_inset Float figure
22033 placement !h
22034 wide false
22035 sideways false
22036 status open
22037
22038 \begin_layout Standard
22039 \begin_inset ERT
22040 status collapsed
22041
22042 \begin_layout Standard
22043
22044
22045 \backslash
22046 framebox{
22047 \end_layout
22048
22049 \end_inset
22050
22051
22052 \begin_inset Graphics
22053         filename ../clipart/with_fntright.pdf
22054         width 100col%
22055
22056 \end_inset
22057
22058
22059 \begin_inset ERT
22060 status collapsed
22061
22062 \begin_layout Standard
22063
22064 }
22065 \end_layout
22066
22067 \end_inset
22068
22069
22070 \end_layout
22071
22072 \begin_layout Standard
22073 \begin_inset Caption
22074
22075 \begin_layout Standard
22076 \begin_inset LatexCommand label
22077 name "fig:Footnote-placement-in"
22078
22079 \end_inset
22080
22081 Footnote placement in two-column documents when the LaTeX-package 
22082 \series bold
22083 ftnright
22084 \series default
22085  is used.
22086 \end_layout
22087
22088 \end_inset
22089
22090
22091 \end_layout
22092
22093 \end_inset
22094
22095
22096 \end_layout
22097
22098 \begin_layout Standard
22099 \begin_inset VSpace bigskip
22100 \end_inset
22101
22102 In some scientific literature it is usual to collect the footnotes and print
22103  them in a separate paragraph at the the end of a section, like in Figure\InsetSpace ~
22104
22105 \begin_inset LatexCommand ref
22106 reference "fig:Endnotes----footnotes"
22107
22108 \end_inset
22109
22110 .
22111  They are then so called 
22112 \begin_inset Quotes eld
22113 \end_inset
22114
22115 endnotes
22116 \begin_inset Quotes erd
22117 \end_inset
22118
22119 .
22120  To use endnotes instead of footnotes in your document, load the LaTeX-package
22121  
22122 \series bold
22123 endnotes
22124 \series default
22125
22126 \begin_inset LatexCommand index
22127 name "LaTeX-packages ! endnotes"
22128
22129 \end_inset
22130
22131  with the document preamble lines
22132 \end_layout
22133
22134 \begin_layout Standard
22135
22136 \series bold
22137
22138 \backslash
22139 usepackage{endnotes}
22140 \newline
22141
22142 \backslash
22143 let
22144 \backslash
22145 footnote
22146 \backslash
22147 endnote
22148 \end_layout
22149
22150 \begin_layout Standard
22151 To insert the collected footnotes, insert the command
22152 \end_layout
22153
22154 \begin_layout Standard
22155
22156 \series bold
22157
22158 \backslash
22159 theendnotes
22160 \end_layout
22161
22162 \begin_layout Standard
22163 in ERT at the the end of a section or chapter.
22164 \end_layout
22165
22166 \begin_layout Standard
22167 \begin_inset Float figure
22168 wide false
22169 sideways false
22170 status open
22171
22172 \begin_layout Standard
22173 \align center
22174 \begin_inset ERT
22175 status collapsed
22176
22177 \begin_layout Standard
22178
22179
22180 \backslash
22181 framebox{
22182 \end_layout
22183
22184 \end_inset
22185
22186
22187 \begin_inset Graphics
22188         filename ../clipart/endnotes.pdf
22189
22190 \end_inset
22191
22192
22193 \begin_inset ERT
22194 status collapsed
22195
22196 \begin_layout Standard
22197
22198 }
22199 \end_layout
22200
22201 \end_inset
22202
22203
22204 \end_layout
22205
22206 \begin_layout Standard
22207 \begin_inset Caption
22208
22209 \begin_layout Standard
22210 \begin_inset LatexCommand label
22211 name "fig:Endnotes----footnotes"
22212
22213 \end_inset
22214
22215 Endnotes -- footnotes are printed in a separate paragraph at the end of
22216  sections or chapters.
22217 \end_layout
22218
22219 \end_inset
22220
22221
22222 \end_layout
22223
22224 \end_inset
22225
22226
22227 \end_layout
22228
22229 \begin_layout Standard
22230 \begin_inset VSpace defskip
22231 \end_inset
22232
22233 The paragraph heading for the endnotes isn't automatically translated into
22234  the document language, this must be done manually.
22235  The following preamble command translate the default English name 
22236 \begin_inset Quotes eld
22237 \end_inset
22238
22239 Notes
22240 \begin_inset Quotes erd
22241 \end_inset
22242
22243  to the German translation 
22244 \begin_inset Quotes eld
22245 \end_inset
22246
22247 Anmerkungen
22248 \begin_inset Quotes erd
22249 \end_inset
22250
22251 :
22252 \end_layout
22253
22254 \begin_layout Standard
22255
22256 \series bold
22257
22258 \backslash
22259 renewcommand{
22260 \backslash
22261 notesname}{Anmerkungen}
22262 \end_layout
22263
22264 \begin_layout Standard
22265 \begin_inset VSpace defskip
22266 \end_inset
22267
22268 The numbering of endnotes can be changed like the footnote numbering as
22269  described in section\InsetSpace ~
22270
22271 \begin_inset LatexCommand ref
22272 reference "sub:Footnote-Numbering"
22273
22274 \end_inset
22275
22276 ; just replace the command 
22277 \series bold
22278
22279 \backslash
22280 thefootnote
22281 \series default
22282  by 
22283 \series bold
22284
22285 \backslash
22286 theendnote
22287 \series default
22288 .
22289  To reset the endnote number use the command 
22290 \series bold
22291
22292 \backslash
22293 @addtoreset 
22294 \series default
22295 as described in section\InsetSpace ~
22296
22297 \begin_inset LatexCommand ref
22298 reference "sub:Footnote-Numbering"
22299
22300 \end_inset
22301
22302  and replace the command parameter 
22303 \series bold
22304 footnote
22305 \series default
22306  by 
22307 \series bold
22308 endnote
22309 \series default
22310 .
22311 \end_layout
22312
22313 \begin_layout Standard
22314 To create only a mark for an endnote, use the command 
22315 \series bold
22316
22317 \backslash
22318 endnotemark[number]
22319 \series default
22320  similar to the command 
22321 \series bold
22322
22323 \backslash
22324 footnotemark
22325 \series default
22326 , described in section\InsetSpace ~
22327
22328 \begin_inset LatexCommand ref
22329 reference "sec:Footnotes"
22330
22331 \end_inset
22332
22333 .
22334 \end_layout
22335
22336 \begin_layout Standard
22337 \begin_inset VSpace bigskip
22338 \end_inset
22339
22340 Footnotes can also be placed in the page margin and the footnote text alignment
22341  can be changed, see the LaTeX-package 
22342 \series bold
22343 footmisc
22344 \series default
22345
22346 \begin_inset LatexCommand index
22347 name "LaTeX-packages ! footmisc"
22348
22349 \end_inset
22350
22351
22352 \begin_inset LatexCommand cite
22353 key "footmisc"
22354
22355 \end_inset
22356
22357  for more information about this.
22358 \end_layout
22359
22360 \begin_layout Standard
22361 For various further footnote formatting issues have a look at LaTeX-books,
22362  
22363 \begin_inset LatexCommand cite
22364 key "latexcompanion,latexguide,latexbook"
22365
22366 \end_inset
22367
22368 .
22369 \end_layout
22370
22371 \begin_layout Section
22372 Margin Notes
22373 \begin_inset LatexCommand index
22374 name "Notes ! Margin Notes"
22375
22376 \end_inset
22377
22378
22379 \end_layout
22380
22381 \begin_layout Standard
22382 Margin notes look and behave in LyX like footnotes.
22383  They are inserted via the menu 
22384 \family sans
22385 Insert\SpecialChar \menuseparator
22386 Marginal\InsetSpace ~
22387 Note
22388 \family default
22389  or the toolbar button 
22390 \begin_inset Graphics
22391         filename ../images/marginalnote-insert.xpm
22392         scale 85
22393
22394 \end_inset
22395
22396 .
22397  A
22398 \family roman
22399 \series medium
22400  
22401 \family default
22402 \series default
22403 grey
22404 \family roman
22405 \series medium
22406  box with the 
22407 \family default
22408 \series default
22409 red 
22410 \family roman
22411 \series medium
22412 label 
22413 \begin_inset Quotes eld
22414 \end_inset
22415
22416 margin
22417 \begin_inset Quotes erd
22418 \end_inset
22419
22420  appears where you can enter the text of the margin note.
22421 \end_layout
22422
22423 \begin_layout Standard
22424 At the side is an example margin note.
22425 \family roman
22426 \series medium
22427
22428 \begin_inset Marginal
22429 status open
22430
22431 \begin_layout Standard
22432 This is a margin note.
22433 \end_layout
22434
22435 \end_inset
22436
22437
22438 \end_layout
22439
22440 \begin_layout Standard
22441 Margin notes appear at the right side in single-sided documents.
22442  In double-sided documents they appear in the outer margin -- left on even
22443  pages, right on odd pages.
22444  The text of margin notes is aligned opposite to the outer margin -- right-align
22445 ed when the note appears in the left margin.
22446  The first line of the margin note is placed at the position of the text
22447  line where it is inserted in the document.
22448 \end_layout
22449
22450 \begin_layout Standard
22451 \begin_inset VSpace bigskip
22452 \end_inset
22453
22454 To place the margin note in the inner margin, add the command
22455 \end_layout
22456
22457 \begin_layout Standard
22458
22459 \series bold
22460
22461 \backslash
22462 reversemarginpar
22463 \end_layout
22464
22465 \begin_layout Standard
22466 in ERT before a margin note.
22467  The new placement is valid for all following margin notes.
22468 \begin_inset ERT
22469 status collapsed
22470
22471 \begin_layout Standard
22472
22473
22474 \backslash
22475 reversemarginpar 
22476 \end_layout
22477
22478 \end_inset
22479
22480
22481 \begin_inset Marginal
22482 status open
22483
22484 \begin_layout Standard
22485 This is a margin note in the inner margin.
22486 \end_layout
22487
22488 \end_inset
22489
22490
22491 \series bold
22492
22493 \newline
22494
22495 \series default
22496
22497 \begin_inset Note Greyedout
22498 status open
22499
22500 \begin_layout Standard
22501
22502 \series bold
22503 Note:
22504 \series default
22505  There is often not enough space in the inner margin so that the notes are
22506  not correctly displayed in the output.
22507 \end_layout
22508
22509 \end_inset
22510
22511
22512 \end_layout
22513
22514 \begin_layout Standard
22515 \begin_inset ERT
22516 status collapsed
22517
22518 \begin_layout Standard
22519
22520
22521 \backslash
22522 normalmarginpar 
22523 \end_layout
22524
22525 \end_inset
22526
22527 To return to the default placement insert the command
22528 \end_layout
22529
22530 \begin_layout Standard
22531
22532 \series bold
22533
22534 \backslash
22535 normalmarginpar
22536 \end_layout
22537
22538 \begin_layout Standard
22539 in ERT.
22540  
22541 \begin_inset Note Greyedout
22542 status open
22543
22544 \begin_layout Standard
22545
22546 \series bold
22547 Note:
22548 \series default
22549  The command is ignored when it is within a paragraph where also the command
22550  
22551 \series bold
22552
22553 \backslash
22554 reversemarginpar
22555 \series default
22556  is inserted.
22557 \end_layout
22558
22559 \end_inset
22560
22561
22562 \end_layout
22563
22564 \begin_layout Standard
22565 \begin_inset VSpace bigskip
22566 \end_inset
22567
22568
22569 \family roman
22570 \series medium
22571
22572 \begin_inset Marginal
22573 status open
22574
22575 \begin_layout Standard
22576 AVeryLongMarginParWord that isn't hyphenated.
22577 \end_layout
22578
22579 \end_inset
22580
22581
22582 \family default
22583 \series default
22584 Similar to the case described in section\InsetSpace ~
22585
22586 \begin_inset LatexCommand ref
22587 reference "sub:Multiple-Lines-in"
22588
22589 \end_inset
22590
22591 , long words cannot be hyphenated when they are the first word in a margin
22592  note.
22593  To avoid this, insert the command
22594 \end_layout
22595
22596 \begin_layout Standard
22597
22598 \series bold
22599
22600 \backslash
22601 hspace{0pt}
22602 \end_layout
22603
22604 \begin_layout Standard
22605 in ERT before the word
22606 \family roman
22607 \series medium
22608 .
22609 \begin_inset Marginal
22610 status open
22611
22612 \begin_layout Standard
22613 \begin_inset ERT
22614 status collapsed
22615
22616 \begin_layout Standard
22617
22618
22619 \backslash
22620 hspace{0pt}
22621 \end_layout
22622
22623 \end_inset
22624
22625 AVeryLongMarginParWord that is hyphenated.
22626 \end_layout
22627
22628 \end_inset
22629
22630
22631 \end_layout
22632
22633 \begin_layout Standard
22634 \begin_inset VSpace bigskip
22635 \end_inset
22636
22637
22638 \end_layout
22639
22640 \begin_layout Standard
22641 \begin_inset Note Greyedout
22642 status open
22643
22644 \begin_layout Standard
22645
22646 \series bold
22647 Note:
22648 \series default
22649  Margin notes can normally not be used inside tables, floats, and footnotes.
22650 \end_layout
22651
22652 \end_inset
22653
22654
22655 \end_layout
22656
22657 \begin_layout Standard
22658 \begin_inset VSpace bigskip
22659 \end_inset
22660
22661
22662 \end_layout
22663
22664 \begin_layout Standard
22665 \begin_inset ERT
22666 status collapsed
22667
22668 \begin_layout Standard
22669
22670
22671 \backslash
22672 ifmarginnote
22673 \end_layout
22674
22675 \end_inset
22676
22677
22678 \begin_inset Note Note
22679 status open
22680
22681 \begin_layout Standard
22682 The following section will only be displayed when you have the LaTeX-package
22683  
22684 \series bold
22685 marginnote
22686 \series default
22687  is installed.
22688 \end_layout
22689
22690 \end_inset
22691
22692
22693 \end_layout
22694
22695 \begin_layout Standard
22696 This restriction can be evaded by using the LaTeX-package 
22697 \series bold
22698 marginnote
22699 \series default
22700
22701 \begin_inset LatexCommand index
22702 name "LaTeX-packages ! marginnote"
22703
22704 \end_inset
22705
22706 .
22707  By adding these two lines to your document preamble, the command used by
22708  LyX for margin notes is redefined to use the command provided by the 
22709 \series bold
22710 marginnote
22711 \series default
22712 -package:
22713 \end_layout
22714
22715 \begin_layout Standard
22716
22717 \series bold
22718
22719 \backslash
22720 usepackage{marginnote}
22721 \newline
22722
22723 \backslash
22724 let
22725 \backslash
22726 marginpar
22727 \backslash
22728 marginnote
22729 \end_layout
22730
22731 \begin_layout Standard
22732 This is also used in this document because 
22733 \series bold
22734 marginnote
22735 \series default
22736  has another useful feature: You can set a vertical offset for the note.
22737  This is often needed when too many margin notes are too close together
22738  or for a better page layout.
22739  The offset is set in LyX as ERT directly behind the margin note in the
22740  scheme
22741 \end_layout
22742
22743 \begin_layout Standard
22744
22745 \series bold
22746 [offset]
22747 \end_layout
22748
22749 \begin_layout Standard
22750 where the offset is a length with one of the units listed in Table\InsetSpace ~
22751
22752 \begin_inset LatexCommand ref
22753 reference "tab:Units"
22754
22755 \end_inset
22756
22757 .
22758  A negative value shifts the note up, a positive value shifts it down.
22759
22760 \family roman
22761 \series medium
22762  For example the margin note beside this text line is shifted up 1.5\InsetSpace \thinspace{}
22763 cm with
22764  the ERT-command 
22765 \begin_inset Quotes eld
22766 \end_inset
22767
22768
22769 \family default
22770 \series bold
22771 [-1.5cm]
22772 \family roman
22773 \series medium
22774
22775 \begin_inset Quotes erd
22776 \end_inset
22777
22778
22779 \begin_inset Marginal
22780 status open
22781
22782 \begin_layout Standard
22783 This margin note is shifted up 1.5\InsetSpace \thinspace{}
22784 cm from its original position.
22785 \end_layout
22786
22787 \end_inset
22788
22789
22790 \family default
22791 \series default
22792
22793 \begin_inset ERT
22794 status collapsed
22795
22796 \begin_layout Standard
22797
22798 [-1.5cm]
22799 \end_layout
22800
22801 \end_inset
22802
22803
22804 \end_layout
22805
22806 \begin_layout Standard
22807 \begin_inset VSpace defskip
22808 \end_inset
22809
22810 With 
22811 \series bold
22812 marginnote
22813 \series default
22814  you can also change the alignment of the text in the margin note.
22815  For example the commands
22816 \end_layout
22817
22818 \begin_layout Standard
22819
22820 \series bold
22821
22822 \backslash
22823 renewcommand*{
22824 \backslash
22825 raggedleftmarginnote}{
22826 \backslash
22827 centering}
22828 \newline
22829
22830 \backslash
22831 renewcommand*{
22832 \backslash
22833 raggedrightmarginnote}{
22834 \backslash
22835 centering}
22836 \end_layout
22837
22838 \begin_layout Standard
22839 set the alignment to centered.
22840  
22841 \series bold
22842
22843 \backslash
22844 raggedleftmarginnote
22845 \series default
22846  denotes margin notes that appear at the left side.
22847 \family roman
22848 \series medium
22849
22850 \begin_inset ERT
22851 status collapsed
22852
22853 \begin_layout Standard
22854
22855
22856 \backslash
22857 renewcommand*{
22858 \backslash
22859 raggedleftmarginnote}{
22860 \backslash
22861 centering}
22862 \end_layout
22863
22864 \begin_layout Standard
22865
22866
22867 \backslash
22868 renewcommand*{
22869 \backslash
22870 raggedrightmarginnote}{
22871 \backslash
22872 centering}
22873 \end_layout
22874
22875 \end_inset
22876
22877
22878 \begin_inset Marginal
22879 status open
22880
22881 \begin_layout Standard
22882 The text of this margin note is centered.
22883 \end_layout
22884
22885 \end_inset
22886
22887  
22888 \family default
22889 \series default
22890 The default is
22891 \end_layout
22892
22893 \begin_layout Standard
22894
22895 \series bold
22896
22897 \backslash
22898 renewcommand*{
22899 \backslash
22900 raggedleftmarginnote}{
22901 \backslash
22902 raggedleft}
22903 \newline
22904
22905 \backslash
22906 renewcommand*{
22907 \backslash
22908 raggedrightmarginnote}{
22909 \backslash
22910 raggedright}
22911 \family roman
22912 \series medium
22913
22914 \begin_inset ERT
22915 status collapsed
22916
22917 \begin_layout Standard
22918
22919
22920 \backslash
22921 renewcommand*{
22922 \backslash
22923 raggedleftmarginnote}{
22924 \backslash
22925 raggedleft}
22926 \end_layout
22927
22928 \begin_layout Standard
22929
22930
22931 \backslash
22932 renewcommand*{
22933 \backslash
22934 raggedrightmarginnote}{
22935 \backslash
22936 raggedright}
22937 \end_layout
22938
22939 \end_inset
22940
22941
22942 \end_layout
22943
22944 \begin_layout Standard
22945 \begin_inset VSpace defskip
22946 \end_inset
22947
22948 For the other features of 
22949 \series bold
22950 marginnote
22951 \series default
22952  we refer to its documentation 
22953 \begin_inset LatexCommand cite
22954 key "marginnote"
22955
22956 \end_inset
22957
22958 .
22959 \end_layout
22960
22961 \begin_layout Standard
22962 \begin_inset VSpace bigskip
22963 \end_inset
22964
22965 You can change the layout of margin notes by redefining its definition.
22966  To create for example a header for all margin notes with the underlined,
22967  sans-serif, and bold header text 
22968 \begin_inset Quotes eld
22969 \end_inset
22970
22971
22972 \family sans
22973 \series bold
22974 \bar under
22975 Attention!
22976 \family default
22977 \series default
22978 \bar default
22979
22980 \begin_inset Quotes erd
22981 \end_inset
22982
22983 , add this to your document preamble:
22984 \end_layout
22985
22986 \begin_layout Standard
22987
22988 \series bold
22989
22990 \backslash
22991 let
22992 \backslash
22993 myMarginpar
22994 \backslash
22995 marginpar
22996 \newline
22997
22998 \backslash
22999 renewcommand{
23000 \backslash
23001 marginpar}[1]{
23002 \backslash
23003 myMarginpar{%
23004 \newline
23005
23006 \begin_inset ERT
23007 status collapsed
23008
23009 \begin_layout Standard
23010
23011
23012 \backslash
23013 hphantom{ }
23014 \end_layout
23015
23016 \end_inset
23017
23018
23019 \backslash
23020 hspace{0pt}
23021 \backslash
23022 textsf{
23023 \backslash
23024 textbf{
23025 \backslash
23026 underbar{Attention!}}}%
23027 \newline
23028
23029 \begin_inset ERT
23030 status collapsed
23031
23032 \begin_layout Standard
23033
23034
23035 \backslash
23036 hphantom{ }
23037 \end_layout
23038
23039 \end_inset
23040
23041
23042 \backslash
23043 vspace{1.5mm}
23044 \backslash
23045
23046 \backslash
23047 #1}}
23048 \end_layout
23049
23050 \begin_layout Standard
23051
23052 \family roman
23053 \series medium
23054 \begin_inset ERT
23055 status collapsed
23056
23057 \begin_layout Standard
23058
23059
23060 \backslash
23061 let
23062 \backslash
23063 myMarginpar
23064 \backslash
23065 marginpar
23066 \end_layout
23067
23068 \begin_layout Standard
23069
23070
23071 \backslash
23072 renewcommand{
23073 \backslash
23074 marginpar}[1]{
23075 \backslash
23076 myMarginpar{%
23077 \end_layout
23078
23079 \begin_layout Standard
23080
23081    
23082 \backslash
23083 textsf{
23084 \backslash
23085 textbf{
23086 \backslash
23087 underbar{Attention!}}}%
23088 \end_layout
23089
23090 \begin_layout Standard
23091
23092    
23093 \backslash
23094 vspace{1.5mm}
23095 \backslash
23096
23097 \backslash
23098 #1}}
23099 \end_layout
23100
23101 \end_inset
23102
23103
23104 \begin_inset Marginal
23105 status open
23106
23107 \begin_layout Standard
23108 This is a margin note with a defined heading.
23109 \end_layout
23110
23111 \end_inset
23112
23113
23114 \family default
23115 \series default
23116
23117 \begin_inset ERT
23118 status collapsed
23119
23120 \begin_layout Standard
23121
23122 [-1.5cm]
23123 \end_layout
23124
23125 \end_inset
23126
23127
23128 \family roman
23129 \series medium
23130
23131 \begin_inset ERT
23132 status collapsed
23133
23134 \begin_layout Standard
23135
23136
23137 \backslash
23138 renewcommand{
23139 \backslash
23140 marginpar}[1]{
23141 \backslash
23142 myMarginpar{#1}}
23143 \end_layout
23144
23145 \end_inset
23146
23147
23148 \family default
23149 \series default
23150
23151 \begin_inset Note Note
23152 status collapsed
23153
23154 \begin_layout Standard
23155 The margin note format is changed only for this example.
23156 \end_layout
23157
23158 \end_inset
23159
23160
23161 \end_layout
23162
23163 \begin_layout Standard
23164 \begin_inset ERT
23165 status collapsed
23166
23167 \begin_layout Standard
23168
23169
23170 \backslash
23171 else
23172 \end_layout
23173
23174 \end_inset
23175
23176
23177 \begin_inset Note Note
23178 status open
23179
23180 \begin_layout Standard
23181 The following will be displayed when the LaTeX-package 
23182 \series bold
23183 marginnote
23184 \series default
23185  is not installed:
23186 \end_layout
23187
23188 \end_inset
23189
23190
23191 \end_layout
23192
23193 \begin_layout Standard
23194 You need to install the LaTeX-package 
23195 \series bold
23196 marginnote
23197 \series default
23198  to see the following part of this section in the output.
23199 \end_layout
23200
23201 \begin_layout Standard
23202 \begin_inset ERT
23203 status collapsed
23204
23205 \begin_layout Standard
23206
23207
23208 \backslash
23209 fi
23210 \end_layout
23211
23212 \end_inset
23213
23214
23215 \end_layout
23216
23217 \begin_layout Chapter
23218 Boxes
23219 \end_layout
23220
23221 \begin_layout Section
23222 Introduction
23223 \begin_inset LatexCommand index
23224 name "Boxes ! Introduction"
23225
23226 \end_inset
23227
23228
23229 \end_layout
23230
23231 \begin_layout Standard
23232 Boxes are used to format a block of text.
23233  Boxes can be used to write documents with multiple languages, see section\InsetSpace ~
23234
23235 \begin_inset LatexCommand ref
23236 reference "sec:Minipages"
23237
23238 \end_inset
23239
23240 , to frame texts, see section\InsetSpace ~
23241
23242 \begin_inset LatexCommand ref
23243 reference "sec:Framed-Boxes"
23244
23245 \end_inset
23246
23247 , to prevent words to be hyphenated, see section\InsetSpace ~
23248
23249 \begin_inset LatexCommand ref
23250 reference "sec:Prevent-Hyphenation"
23251
23252 \end_inset
23253
23254 , to align text, see section\InsetSpace ~
23255
23256 \begin_inset LatexCommand ref
23257 reference "sub:Vertical-Alignment"
23258
23259 \end_inset
23260
23261 , or to set the background color of texts, see section\InsetSpace ~
23262
23263 \begin_inset LatexCommand ref
23264 reference "sec:Colored-Boxes"
23265
23266 \end_inset
23267
23268 .
23269 \end_layout
23270
23271 \begin_layout Standard
23272 Boxes can be inserted with the menu 
23273 \family sans
23274 Insert\SpecialChar \menuseparator
23275 Box
23276 \family default
23277 .
23278  A grey box with the label 
23279 \family sans
23280 Box (Minipage)
23281 \family default
23282
23283 \begin_inset Graphics
23284         filename ../clipart/BoxInsetDefaultQt4.png
23285         scale 85
23286
23287 \end_inset
23288
23289 , will be inserted.
23290  The box type can be specified by right-clicking on the box.
23291  The appearing box dialog offers the 
23292 \family sans
23293 Inner\InsetSpace ~
23294 Box
23295 \family default
23296  types 
23297 \family sans
23298 Parbox
23299 \family default
23300  and 
23301 \family sans
23302 Minipage
23303 \family default
23304 .
23305  The type 
23306 \family sans
23307 Minipage
23308 \family default
23309  is the default for new boxes and is explained in section\InsetSpace ~
23310
23311 \begin_inset LatexCommand ref
23312 reference "sec:Minipages"
23313
23314 \end_inset
23315
23316 ; the type 
23317 \family sans
23318 Parbox
23319 \family default
23320  is described in section\InsetSpace ~
23321
23322 \begin_inset LatexCommand ref
23323 reference "sec:Parboxes"
23324
23325 \end_inset
23326
23327 .
23328 \end_layout
23329
23330 \begin_layout Standard
23331 Boxes aren't numbered and can therefore not be referenced like floats or
23332  footnotes.
23333 \end_layout
23334
23335 \begin_layout Standard
23336 \begin_inset Note Greyedout
23337 status open
23338
23339 \begin_layout Standard
23340
23341 \series bold
23342 Note:
23343 \series default
23344  Due to a bug in LyX you have to insert a protected space behind a box when
23345  you want to separate in a line the box from the following text with a space.
23346 \end_layout
23347
23348 \end_inset
23349
23350
23351 \end_layout
23352
23353 \begin_layout Standard
23354 \begin_inset Note Greyedout
23355 status open
23356
23357 \begin_layout Standard
23358
23359 \series bold
23360 Note:
23361 \series default
23362  Boxes must not be the item in an 
23363 \family sans
23364 Itemize
23365 \family default
23366  or 
23367 \family sans
23368 Description
23369 \family default
23370  environment.
23371 \end_layout
23372
23373 \end_inset
23374
23375
23376 \end_layout
23377
23378 \begin_layout Standard
23379 \begin_inset Note Greyedout
23380 status open
23381
23382 \begin_layout Standard
23383
23384 \series bold
23385 Note:
23386 \series default
23387  For an unknown reason you can only set the 
23388 \family sans
23389 Inner\InsetSpace ~
23390 Box
23391 \family default
23392  type to 
23393 \family sans
23394 None
23395 \family default
23396  when you use a framed box.
23397  Boxes without an 
23398 \family sans
23399 Inner\InsetSpace ~
23400 Box
23401 \family default
23402  type and without frames are explained in section\InsetSpace ~
23403
23404 \begin_inset LatexCommand ref
23405 reference "sec:Prevent-Hyphenation"
23406
23407 \end_inset
23408
23409 .
23410 \end_layout
23411
23412 \end_inset
23413
23414
23415 \end_layout
23416
23417 \begin_layout Section
23418 Box Dialog
23419 \begin_inset LatexCommand label
23420 name "sec:Box-Dialog"
23421
23422 \end_inset
23423
23424
23425 \begin_inset LatexCommand index
23426 name "Boxes ! Box Dialog"
23427
23428 \end_inset
23429
23430
23431 \begin_inset LatexCommand index
23432 name "Boxes ! Alignment"
23433
23434 \end_inset
23435
23436
23437 \end_layout
23438
23439 \begin_layout Standard
23440 In the box dialog you can adjust the box geometry in the fields 
23441 \family sans
23442 Width
23443 \family default
23444  and 
23445 \family sans
23446 Height
23447 \family default
23448 .
23449  The available units for the geometry are explained in Table\InsetSpace ~
23450
23451 \begin_inset LatexCommand ref
23452 reference "tab:Units"
23453
23454 \end_inset
23455
23456 .
23457  The field 
23458 \family sans
23459 Heigth
23460 \family default
23461  offers the following additional sizes:
23462 \end_layout
23463
23464 \begin_layout Description
23465 Depth This is the plain text 
23466 \begin_inset Quotes eld
23467 \end_inset
23468
23469 height
23470 \begin_inset Quotes erd
23471 \end_inset
23472
23473 .
23474  It ignores the total depth when there are multiple text lines in the box:
23475 \newline
23476
23477 \newline
23478
23479 \newline
23480
23481 \begin_inset Box Boxed
23482 position "c"
23483 hor_pos "c"
23484 has_inner_box 1
23485 inner_pos "c"
23486 use_parbox 0
23487 width "12col%"
23488 special "none"
23489 height "1in"
23490 height_special "depth"
23491 status collapsed
23492
23493 \begin_layout Standard
23494 \align center
23495 Box height set to 1\InsetSpace \thinspace{}
23496 Depth
23497 \end_layout
23498
23499 \end_inset
23500
23501
23502 \newline
23503
23504 \newline
23505
23506 \end_layout
23507
23508 \begin_layout Description
23509 Height This is the heigth of the text that is inside the box.
23510  A value of e.\InsetSpace \thinspace{}
23511 g.\InsetSpace ~
23512 2 for this size will set the box heigth to 2 times the text
23513  height: 
23514 \begin_inset Box Boxed
23515 position "c"
23516 hor_pos "c"
23517 has_inner_box 1
23518 inner_pos "c"
23519 use_parbox 0
23520 width "20col%"
23521 special "none"
23522 height "2in"
23523 height_special "height"
23524 status collapsed
23525
23526 \begin_layout Standard
23527 \align center
23528 Box height set to 2\InsetSpace \thinspace{}
23529 Height
23530 \end_layout
23531
23532 \end_inset
23533
23534
23535 \end_layout
23536
23537 \begin_layout Description
23538 Total\InsetSpace ~
23539 Height This is the Height\InsetSpace \thinspace{}
23540 +\InsetSpace \thinspace{}
23541 Depth: 
23542 \begin_inset Box Boxed
23543 position "c"
23544 hor_pos "c"
23545 has_inner_box 1
23546 inner_pos "c"
23547 use_parbox 0
23548 width "20col%"
23549 special "none"
23550 height "1in"
23551 height_special "totalheight"
23552 status collapsed
23553
23554 \begin_layout Standard
23555 \align center
23556 Box height set to 1\InsetSpace \thinspace{}
23557 Total\InsetSpace ~
23558 Height
23559 \end_layout
23560
23561 \end_inset
23562
23563
23564 \end_layout
23565
23566 \begin_layout Description
23567 Width This set the width of the box as heigth: 
23568 \begin_inset Box Boxed
23569 position "c"
23570 hor_pos "c"
23571 has_inner_box 1
23572 inner_pos "c"
23573 use_parbox 0
23574 width "12col%"
23575 special "none"
23576 height "1in"
23577 height_special "width"
23578 status collapsed
23579
23580 \begin_layout Standard
23581 \align center
23582 Box height set to 1\InsetSpace \thinspace{}
23583 Width
23584 \end_layout
23585
23586 \end_inset
23587
23588
23589 \end_layout
23590
23591 \begin_layout Standard
23592 \begin_inset VSpace bigskip
23593 \end_inset
23594
23595 When you have chosen an 
23596 \family sans
23597 Inner\InsetSpace ~
23598 Box
23599 \family default
23600 , the vertical box alignment can be:
23601 \end_layout
23602
23603 \begin_layout Description
23604 Top This is an example text line.
23605  
23606 \begin_inset Box Boxed
23607 position "t"
23608 hor_pos "c"
23609 has_inner_box 1
23610 inner_pos "c"
23611 use_parbox 0
23612 width "12col%"
23613 special "none"
23614 height "1in"
23615 height_special "totalheight"
23616 status collapsed
23617
23618 \begin_layout Standard
23619 \align center
23620 This box is top-aligned.
23621 \end_layout
23622
23623 \end_inset
23624
23625 \InsetSpace ~
23626 This is an example text line.
23627 \end_layout
23628
23629 \begin_layout Description
23630 Middle This is an example text line.
23631  
23632 \begin_inset Box Boxed
23633 position "c"
23634 hor_pos "c"
23635 has_inner_box 1
23636 inner_pos "c"
23637 use_parbox 0
23638 width "12col%"
23639 special "none"
23640 height "1in"
23641 height_special "totalheight"
23642 status collapsed
23643
23644 \begin_layout Standard
23645 \align center
23646 This box is middle-aligned.
23647 \end_layout
23648
23649 \end_inset
23650
23651 \InsetSpace ~
23652 This is an example text line.
23653 \end_layout
23654
23655 \begin_layout Description
23656 Bottom This is an example text line.
23657  
23658 \begin_inset Box Boxed
23659 position "b"
23660 hor_pos "c"
23661 has_inner_box 1
23662 inner_pos "c"
23663 use_parbox 0
23664 width "12col%"
23665 special "none"
23666 height "1in"
23667 height_special "totalheight"
23668 status collapsed
23669
23670 \begin_layout Standard
23671 \align center
23672 This box is bottom-aligned.
23673 \end_layout
23674
23675 \end_inset
23676
23677 \InsetSpace ~
23678 This is an example text line.
23679 \end_layout
23680
23681 \begin_layout Standard
23682 The horizontal box alignment can be set via LyX's paragraph dialog when
23683  you set the box into its own paragraph.
23684 \end_layout
23685
23686 \begin_layout Standard
23687 \begin_inset VSpace bigskip
23688 \end_inset
23689
23690 When you have chosen an 
23691 \family sans
23692 Inner\InsetSpace ~
23693 Box
23694 \family default
23695 , the box content can be vertical aligned to:
23696 \end_layout
23697
23698 \begin_layout Description
23699 top This is an example text line.
23700  
23701 \begin_inset Box Boxed
23702 position "c"
23703 hor_pos "c"
23704 has_inner_box 1
23705 inner_pos "t"
23706 use_parbox 0
23707 width "12col%"
23708 special "none"
23709 height "1.5in"
23710 height_special "totalheight"
23711 status collapsed
23712
23713 \begin_layout Standard
23714 \align center
23715 This box text is top-aligned.
23716 \end_layout
23717
23718 \end_inset
23719
23720 \InsetSpace ~
23721 This is an example text line.
23722 \end_layout
23723
23724 \begin_layout Description
23725 middle This is an example text line.
23726  
23727 \begin_inset Box Boxed
23728 position "c"
23729 hor_pos "c"
23730 has_inner_box 1
23731 inner_pos "c"
23732 use_parbox 0
23733 width "12col%"
23734 special "none"
23735 height "1.5in"
23736 height_special "totalheight"
23737 status collapsed
23738
23739 \begin_layout Standard
23740 \align center
23741 This box text is middle-aligned.
23742 \end_layout
23743
23744 \end_inset
23745
23746 \InsetSpace ~
23747 This is an example text line.
23748 \end_layout
23749
23750 \begin_layout Description
23751 bottom This is an example text line.
23752  
23753 \begin_inset Box Boxed
23754 position "c"
23755 hor_pos "c"
23756 has_inner_box 1
23757 inner_pos "b"
23758 use_parbox 0
23759 width "12col%"
23760 special "none"
23761 height "1.5in"
23762 height_special "totalheight"
23763 status collapsed
23764
23765 \begin_layout Standard
23766 \align center
23767 This box text is bottom-aligned.
23768 \end_layout
23769
23770 \end_inset
23771
23772 \InsetSpace ~
23773 This is an example text line.
23774 \end_layout
23775
23776 \begin_layout Description
23777 stretch This is an example text line.
23778  
23779 \begin_inset Box Boxed
23780 position "c"
23781 hor_pos "c"
23782 has_inner_box 1
23783 inner_pos "s"
23784 use_parbox 0
23785 width "12col%"
23786 special "none"
23787 height "1.5in"
23788 height_special "totalheight"
23789 status collapsed
23790
23791 \begin_layout Standard
23792 \align center
23793 This box
23794 \end_layout
23795
23796 \begin_layout Standard
23797 \align center
23798 text is
23799 \end_layout
23800
23801 \begin_layout Standard
23802 \align center
23803 stretched.
23804 \end_layout
23805
23806 \end_inset
23807
23808 \InsetSpace ~
23809 This is an example text line.
23810 \end_layout
23811
23812 \begin_layout Standard
23813 To stretch the box content, it must consist of more than one paragraph.
23814  In the example above every text line is in an own paragraph.
23815 \end_layout
23816
23817 \begin_layout Standard
23818 \begin_inset VSpace bigskip
23819 \end_inset
23820
23821 To align the box content horizontally you can use LyX's paragraph dialog
23822  when you have chosen an 
23823 \family sans
23824 Inner\InsetSpace ~
23825 Box
23826 \family default
23827 .
23828 \end_layout
23829
23830 \begin_layout Standard
23831 \align center
23832 \begin_inset Box Boxed
23833 position "c"
23834 hor_pos "c"
23835 has_inner_box 1
23836 inner_pos "s"
23837 use_parbox 0
23838 width "15col%"
23839 special "none"
23840 height "1.25in"
23841 height_special "totalheight"
23842 status collapsed
23843
23844 \begin_layout Standard
23845 \align left
23846 This box
23847 \end_layout
23848
23849 \begin_layout Standard
23850 \align center
23851 text is
23852 \end_layout
23853
23854 \begin_layout Standard
23855 \align right
23856 stretched.
23857 \end_layout
23858
23859 \end_inset
23860
23861
23862 \end_layout
23863
23864 \begin_layout Standard
23865 If you haven't set an 
23866 \family sans
23867 Inner\InsetSpace ~
23868 Box
23869 \family default
23870 , you can align the box content horizontally in the box dialog.
23871 \end_layout
23872
23873 \begin_layout Standard
23874 \align center
23875 \begin_inset Box Boxed
23876 position "c"
23877 hor_pos "s"
23878 has_inner_box 0
23879 inner_pos "s"
23880 use_parbox 0
23881 width "90col%"
23882 special "none"
23883 height "1.25in"
23884 height_special "totalheight"
23885 status collapsed
23886
23887 \begin_layout Standard
23888 \align left
23889 This box text is horizontally stretched.
23890 \end_layout
23891
23892 \end_inset
23893
23894
23895 \end_layout
23896
23897 \begin_layout Section
23898 Framed Boxes
23899 \begin_inset LatexCommand label
23900 name "sec:Framed-Boxes"
23901
23902 \end_inset
23903
23904
23905 \begin_inset LatexCommand index
23906 name "Boxes ! Frames"
23907
23908 \end_inset
23909
23910
23911 \end_layout
23912
23913 \begin_layout Standard
23914 The frame style of the box can be specified in the box-dialog in the drop-down
23915  list 
23916 \family sans
23917 Type
23918 \family default
23919 .
23920  The following frame types are possible:
23921 \end_layout
23922
23923 \begin_layout Description
23924 Rectangular\InsetSpace ~
23925 box This draws a rectangle frame around the box.
23926  The frame line thickness has the size of 
23927 \series bold
23928
23929 \backslash
23930 fboxrule
23931 \series default
23932 .
23933  
23934 \begin_inset Box Boxed
23935 position "c"
23936 hor_pos "c"
23937 has_inner_box 1
23938 inner_pos "c"
23939 use_parbox 0
23940 width "20col%"
23941 special "none"
23942 height "1in"
23943 height_special "totalheight"
23944 status collapsed
23945
23946 \begin_layout Standard
23947 \align center
23948 Rectangular box
23949 \end_layout
23950
23951 \end_inset
23952
23953
23954 \end_layout
23955
23956 \begin_layout Description
23957 Oval\InsetSpace ~
23958 box,\InsetSpace ~
23959 thin This draws an oval frame around the box.
23960  The frame line thickness has the size 0.4\InsetSpace \thinspace{}
23961 pt.
23962  
23963 \begin_inset Box ovalbox
23964 position "c"
23965 hor_pos "c"
23966 has_inner_box 1
23967 inner_pos "c"
23968 use_parbox 0
23969 width "20col%"
23970 special "none"
23971 height "1in"
23972 height_special "totalheight"
23973 status collapsed
23974
23975 \begin_layout Standard
23976 \align center
23977 Oval box, thin
23978 \end_layout
23979
23980 \end_inset
23981
23982
23983 \end_layout
23984
23985 \begin_layout Description
23986 Oval\InsetSpace ~
23987 box,\InsetSpace ~
23988 thick This draws an oval frame around the box.
23989  The frame line thickness has the size 0.8\InsetSpace \thinspace{}
23990 pt.
23991  
23992 \begin_inset Box Ovalbox
23993 position "c"
23994 hor_pos "c"
23995 has_inner_box 1
23996 inner_pos "c"
23997 use_parbox 0
23998 width "20col%"
23999 special "none"
24000 height "1in"
24001 height_special "totalheight"
24002 status collapsed
24003
24004 \begin_layout Standard
24005 \align center
24006 Oval box, thick
24007 \end_layout
24008
24009 \end_inset
24010
24011
24012 \end_layout
24013
24014 \begin_layout Description
24015 Shadow\InsetSpace ~
24016 box This draws a rectangle frame with a shadow around the box.
24017  The frame line thickness has the size of 
24018 \series bold
24019
24020 \backslash
24021 fboxrule
24022 \series default
24023 , the shadow has a width of 4\InsetSpace \thinspace{}
24024 pt.
24025  
24026 \begin_inset Box Shadowbox
24027 position "c"
24028 hor_pos "c"
24029 has_inner_box 1
24030 inner_pos "c"
24031 use_parbox 0
24032 width "20col%"
24033 special "none"
24034 height "1in"
24035 height_special "totalheight"
24036 status collapsed
24037
24038 \begin_layout Standard
24039 \align center
24040 Shadow box
24041 \end_layout
24042
24043 \end_inset
24044
24045
24046 \end_layout
24047
24048 \begin_layout Description
24049 Double\InsetSpace ~
24050 box This draws a double-line rectangle frame around the box.
24051  The line thickness of the inner frame is 0.75\InsetSpace \thinspace{}
24052
24053 \series bold
24054
24055 \backslash
24056 fboxrule
24057 \series default
24058 , the thickness of the outer frame is 1.5\InsetSpace \thinspace{}
24059
24060 \series bold
24061
24062 \backslash
24063 fboxrule
24064 \series default
24065 .
24066  The distance between the lines is 1.5\InsetSpace \thinspace{}
24067
24068 \series bold
24069
24070 \backslash
24071 fboxrule
24072 \series default
24073 \InsetSpace \thinspace{}
24074 +\InsetSpace \thinspace{}
24075 0.5\InsetSpace \thinspace{}
24076 pt.
24077  
24078 \begin_inset Box Doublebox
24079 position "c"
24080 hor_pos "c"
24081 has_inner_box 1
24082 inner_pos "c"
24083 use_parbox 0
24084 width "20col%"
24085 special "none"
24086 height "1in"
24087 height_special "totalheight"
24088 status collapsed
24089
24090 \begin_layout Standard
24091 \align center
24092 Double box
24093 \end_layout
24094
24095 \end_inset
24096
24097
24098 \end_layout
24099
24100 \begin_layout Standard
24101 \begin_inset VSpace bigskip
24102 \end_inset
24103
24104 LyX's box label will change to the used frame style when you set a frame.
24105  To be able to use the different frame styles, the LaTeX-package 
24106 \series bold
24107 fancybox
24108 \series default
24109
24110 \begin_inset LatexCommand index
24111 name "LaTeX-packages ! fancybox"
24112
24113 \end_inset
24114
24115  must be installed.
24116 \end_layout
24117
24118 \begin_layout Standard
24119 \begin_inset VSpace bigskip
24120 \end_inset
24121
24122 The default value for the size 
24123 \series bold
24124
24125 \backslash
24126 fboxrule
24127 \series default
24128  is 0.4\InsetSpace \thinspace{}
24129 pt.
24130  It can be changed with the following command in ERT to e.\InsetSpace \thinspace{}
24131 g.\InsetSpace ~
24132 2\InsetSpace \thinspace{}
24133 pt:
24134 \end_layout
24135
24136 \begin_layout Standard
24137
24138 \series bold
24139
24140 \backslash
24141 setlength{
24142 \backslash
24143 fboxrule}{2pt}
24144 \end_layout
24145
24146 \begin_layout Standard
24147 \begin_inset ERT
24148 status collapsed
24149
24150 \begin_layout Standard
24151
24152
24153 \backslash
24154 setlength{
24155 \backslash
24156 fboxrule}{2pt}
24157 \end_layout
24158
24159 \end_inset
24160
24161
24162 \begin_inset Box Boxed
24163 position "c"
24164 hor_pos "c"
24165 has_inner_box 1
24166 inner_pos "c"
24167 use_parbox 0
24168 width "25col%"
24169 special "none"
24170 height "1in"
24171 height_special "totalheight"
24172 status collapsed
24173
24174 \begin_layout Standard
24175 \align center
24176 Rectangular box with 
24177 \series bold
24178
24179 \backslash
24180 fboxrule
24181 \series default
24182 \InsetSpace \thinspace{}
24183 =\InsetSpace \thinspace{}
24184 2\InsetSpace \thinspace{}
24185 pt
24186 \end_layout
24187
24188 \end_inset
24189
24190
24191 \begin_inset ERT
24192 status collapsed
24193
24194 \begin_layout Standard
24195
24196
24197 \backslash
24198 setlength{
24199 \backslash
24200 fboxrule}{0.4pt}
24201 \end_layout
24202
24203 \end_inset
24204
24205
24206 \end_layout
24207
24208 \begin_layout Standard
24209 \begin_inset VSpace bigskip
24210 \end_inset
24211
24212 The space between the frame and the box content is for all frame styles
24213  by default 3\InsetSpace \thinspace{}
24214 pt.
24215  You can change it by setting the length 
24216 \series bold
24217
24218 \backslash
24219 fboxsep
24220 \series default
24221  to another value.
24222  For example the command
24223 \end_layout
24224
24225 \begin_layout Standard
24226
24227 \series bold
24228
24229 \backslash
24230 setlength{
24231 \backslash
24232 fboxsep}{10pt}
24233 \end_layout
24234
24235 \begin_layout Standard
24236 sets the value to 10\InsetSpace \thinspace{}
24237 pt, like for the following box:
24238 \end_layout
24239
24240 \begin_layout Standard
24241 \begin_inset ERT
24242 status collapsed
24243
24244 \begin_layout Standard
24245
24246
24247 \backslash
24248 setlength{
24249 \backslash
24250 fboxsep}{10pt}
24251 \end_layout
24252
24253 \end_inset
24254
24255
24256 \begin_inset Box Boxed
24257 position "c"
24258 hor_pos "c"
24259 has_inner_box 1
24260 inner_pos "c"
24261 use_parbox 0
24262 width "25col%"
24263 special "none"
24264 height "1in"
24265 height_special "totalheight"
24266 status collapsed
24267
24268 \begin_layout Standard
24269 \align center
24270 Rectangular box with 
24271 \series bold
24272
24273 \backslash
24274 fboxsep
24275 \series default
24276 \InsetSpace \thinspace{}
24277 =\InsetSpace \thinspace{}
24278 10\InsetSpace \thinspace{}
24279 pt
24280 \end_layout
24281
24282 \end_inset
24283
24284
24285 \begin_inset ERT
24286 status collapsed
24287
24288 \begin_layout Standard
24289
24290
24291 \backslash
24292 setlength{
24293 \backslash
24294 fboxsep}{3pt}
24295 \end_layout
24296
24297 \end_inset
24298
24299
24300 \end_layout
24301
24302 \begin_layout Standard
24303 \begin_inset VSpace bigskip
24304 \end_inset
24305
24306 The diameter of the round corners of the oval boxes can be set with the
24307  command 
24308 \series bold
24309
24310 \backslash
24311 cornersize
24312 \series default
24313 .
24314  The command
24315 \end_layout
24316
24317 \begin_layout Standard
24318
24319 \series bold
24320
24321 \backslash
24322 cornersize*{1cm}
24323 \end_layout
24324
24325 \begin_layout Standard
24326 sets the diameter to 1\InsetSpace \thinspace{}
24327 cm.
24328  The command
24329 \end_layout
24330
24331 \begin_layout Standard
24332
24333 \series bold
24334
24335 \backslash
24336 cornersize{num}
24337 \end_layout
24338
24339 \begin_layout Standard
24340 sets the diameter to 
24341 \family sans
24342 num\InsetSpace \thinspace{}
24343 ×\InsetSpace \thinspace{}
24344 minimum(width and heigth of box)
24345 \family default
24346 .
24347  The default is 
24348 \series bold
24349
24350 \backslash
24351 cornersize{0.5}
24352 \series default
24353 .
24354 \end_layout
24355
24356 \begin_layout Standard
24357 \begin_inset ERT
24358 status collapsed
24359
24360 \begin_layout Standard
24361
24362
24363 \backslash
24364 cornersize*{1.5cm}
24365 \end_layout
24366
24367 \end_inset
24368
24369
24370 \begin_inset Box Ovalbox
24371 position "c"
24372 hor_pos "c"
24373 has_inner_box 1
24374 inner_pos "c"
24375 use_parbox 0
24376 width "25col%"
24377 special "none"
24378 height "1in"
24379 height_special "totalheight"
24380 status collapsed
24381
24382 \begin_layout Standard
24383 \align center
24384 Oval box with 
24385 \series bold
24386
24387 \backslash
24388 cornersize
24389 \series default
24390 \InsetSpace \thinspace{}
24391 =\InsetSpace \thinspace{}
24392 1.5\InsetSpace \thinspace{}
24393 cm
24394 \end_layout
24395
24396 \end_inset
24397
24398
24399 \begin_inset ERT
24400 status collapsed
24401
24402 \begin_layout Standard
24403
24404
24405 \backslash
24406 cornersize{0.5}
24407 \end_layout
24408
24409 \end_inset
24410
24411
24412 \end_layout
24413
24414 \begin_layout Standard
24415 \begin_inset VSpace bigskip
24416 \end_inset
24417
24418 The size of the shadow can be adjusted by changing the length 
24419 \series bold
24420
24421 \backslash
24422 shadowsize
24423 \series default
24424 .
24425  It it set to 2\InsetSpace \thinspace{}
24426 pt for the following box by this command:
24427 \end_layout
24428
24429 \begin_layout Standard
24430
24431 \series bold
24432
24433 \backslash
24434 setlength{
24435 \backslash
24436 shadowsize}{2pt}
24437 \end_layout
24438
24439 \begin_layout Standard
24440 \begin_inset ERT
24441 status collapsed
24442
24443 \begin_layout Standard
24444
24445
24446 \backslash
24447 setlength{
24448 \backslash
24449 shadowsize}{2pt}
24450 \end_layout
24451
24452 \end_inset
24453
24454
24455 \begin_inset Box Shadowbox
24456 position "c"
24457 hor_pos "c"
24458 has_inner_box 1
24459 inner_pos "c"
24460 use_parbox 0
24461 width "25col%"
24462 special "none"
24463 height "1in"
24464 height_special "totalheight"
24465 status collapsed
24466
24467 \begin_layout Standard
24468 \align center
24469 Shadow box with 
24470 \series bold
24471
24472 \backslash
24473 shadowsize
24474 \series default
24475 \InsetSpace \thinspace{}
24476 =\InsetSpace \thinspace{}
24477 2\InsetSpace \thinspace{}
24478 pt
24479 \end_layout
24480
24481 \end_inset
24482
24483
24484 \begin_inset ERT
24485 status collapsed
24486
24487 \begin_layout Standard
24488
24489
24490 \backslash
24491 setlength{
24492 \backslash
24493 shadowsize}{4pt}
24494 \end_layout
24495
24496 \end_inset
24497
24498
24499 \end_layout
24500
24501 \begin_layout Standard
24502 \begin_inset VSpace bigskip
24503 \end_inset
24504
24505 Changed lengths and widths are valid for all boxes following the commands
24506  that change them.
24507 \end_layout
24508
24509 \begin_layout Section
24510 Minipages
24511 \begin_inset LatexCommand label
24512 name "sec:Minipages"
24513
24514 \end_inset
24515
24516
24517 \begin_inset LatexCommand index
24518 name "Boxes ! Minipages"
24519
24520 \end_inset
24521
24522
24523 \end_layout
24524
24525 \begin_layout Standard
24526 Minipages are treated by LaTeX as pages within pages and can therefore for
24527  example have their own footnotes.
24528 \end_layout
24529
24530 \begin_layout Standard
24531 Minipages are useful when you write documents with different languages.
24532 \end_layout
24533
24534 \begin_layout Standard
24535 Below are two example minipages side by side.
24536  Their width is set to 45\InsetSpace \thinspace{}
24537 col% and they are separated by a horizontal fill,
24538  that was inserted via the menu 
24539 \family sans
24540 Insert\SpecialChar \menuseparator
24541 Special\InsetSpace ~
24542 Formatting\SpecialChar \menuseparator
24543 Horizontal\InsetSpace ~
24544 Fill
24545 \family default
24546 .
24547 \end_layout
24548
24549 \begin_layout Standard
24550 \begin_inset Box Frameless
24551 position "t"
24552 hor_pos "c"
24553 has_inner_box 1
24554 inner_pos "c"
24555 use_parbox 0
24556 width "45col%"
24557 special "none"
24558 height "1in"
24559 height_special "totalheight"
24560 status open
24561
24562 \begin_layout Standard
24563
24564 \lang german
24565 Dies ist ein deutscher Text.
24566  Dies ist ein deutscher Text.
24567  Dies ist ein deutscher Text.
24568  Dies ist ein deutscher Text.
24569  Dies ist ein deutscher Text.
24570  Dies ist ein deutscher Text.
24571  Dies ist ein deutscher Text.
24572  Dies ist ein deutscher Text.
24573  Dies ist ein deutscher Text.
24574  Dies ist ein deutscher Text.
24575  Dies ist ein deutscher Text.
24576  Dies ist ein deutscher Text.
24577  Dies ist ein deutscher Text
24578 \begin_inset Foot
24579 status collapsed
24580
24581 \begin_layout Standard
24582
24583 \lang german
24584 Dies ist eine deutsche Fußnote.
24585 \end_layout
24586
24587 \end_inset
24588
24589 .
24590  Dies ist ein deutscher Text.
24591  Dies ist ein deutscher Text.
24592 \end_layout
24593
24594 \end_inset
24595
24596
24597 \hfill
24598
24599 \begin_inset Box Frameless
24600 position "t"
24601 hor_pos "c"
24602 has_inner_box 1
24603 inner_pos "c"
24604 use_parbox 0
24605 width "45col%"
24606 special "none"
24607 height "1in"
24608 height_special "totalheight"
24609 status open
24610
24611 \begin_layout Standard
24612 This is an English Text.
24613  This is an English Text.
24614  This is an English Text.
24615  This is an English Text.
24616  This is an English Text.
24617  This is an English Text.
24618  This is an English Text.
24619  This is an English Text.
24620  This is an English Text.
24621  This is an English Text.
24622  This is an English Text.
24623  This is an English Text.
24624  This is an English Text.
24625  This is an English Text.
24626  This is an English Text.
24627  This is an English Text.
24628 \begin_inset Foot
24629 status collapsed
24630
24631 \begin_layout Standard
24632 This is an English footnote.
24633 \end_layout
24634
24635 \end_inset
24636
24637  This is an English Text.
24638  
24639 \end_layout
24640
24641 \end_inset
24642
24643
24644 \end_layout
24645
24646 \begin_layout Standard
24647 \begin_inset VSpace bigskip
24648 \end_inset
24649
24650 Another application for minipages are footnotes within tables.
24651  Due to a LaTeX restriction footnotes within tables doesn't appear at the
24652  bottom of the current page.
24653  But when you put the table with the footnote to a minipage, the footnote
24654  will appear at its bottom, numbered with Latin letters.
24655  The footnote number is reset to 1 in every minipage but not outside the
24656  minipages.
24657 \end_layout
24658
24659 \begin_layout Standard
24660 The footnote of this table doesn't appear: 
24661 \begin_inset Tabular
24662 <lyxtabular version="3" rows="3" columns="4">
24663 <features>
24664 <column alignment="center" valignment="top" leftline="true" width="0pt">
24665 <column alignment="center" valignment="top" leftline="true" width="0pt">
24666 <column alignment="center" valignment="top" leftline="true" width="0pt">
24667 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
24668 <row topline="true">
24669 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24670 \begin_inset Text
24671
24672 \begin_layout Standard
24673 1
24674 \end_layout
24675
24676 \end_inset
24677 </cell>
24678 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24679 \begin_inset Text
24680
24681 \begin_layout Standard
24682 2
24683 \end_layout
24684
24685 \end_inset
24686 </cell>
24687 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24688 \begin_inset Text
24689
24690 \begin_layout Standard
24691 3
24692 \begin_inset Foot
24693 status collapsed
24694
24695 \begin_layout Standard
24696 This is a footnote within a table.
24697 \end_layout
24698
24699 \end_inset
24700
24701
24702 \end_layout
24703
24704 \end_inset
24705 </cell>
24706 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24707 \begin_inset Text
24708
24709 \begin_layout Standard
24710 4
24711 \end_layout
24712
24713 \end_inset
24714 </cell>
24715 </row>
24716 <row topline="true">
24717 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24718 \begin_inset Text
24719
24720 \begin_layout Standard
24721 a
24722 \end_layout
24723
24724 \end_inset
24725 </cell>
24726 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24727 \begin_inset Text
24728
24729 \begin_layout Standard
24730 b
24731 \end_layout
24732
24733 \end_inset
24734 </cell>
24735 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24736 \begin_inset Text
24737
24738 \begin_layout Standard
24739 c
24740 \end_layout
24741
24742 \end_inset
24743 </cell>
24744 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24745 \begin_inset Text
24746
24747 \begin_layout Standard
24748 d
24749 \end_layout
24750
24751 \end_inset
24752 </cell>
24753 </row>
24754 <row topline="true" bottomline="true">
24755 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24756 \begin_inset Text
24757
24758 \begin_layout Standard
24759 e
24760 \end_layout
24761
24762 \end_inset
24763 </cell>
24764 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24765 \begin_inset Text
24766
24767 \begin_layout Standard
24768 f
24769 \end_layout
24770
24771 \end_inset
24772 </cell>
24773 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24774 \begin_inset Text
24775
24776 \begin_layout Standard
24777 g
24778 \end_layout
24779
24780 \end_inset
24781 </cell>
24782 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24783 \begin_inset Text
24784
24785 \begin_layout Standard
24786 h
24787 \end_layout
24788
24789 \end_inset
24790 </cell>
24791 </row>
24792 </lyxtabular>
24793
24794 \end_inset
24795
24796
24797 \end_layout
24798
24799 \begin_layout Standard
24800 \align center
24801 \begin_inset Box Frameless
24802 position "t"
24803 hor_pos "c"
24804 has_inner_box 1
24805 inner_pos "c"
24806 use_parbox 0
24807 width "30col%"
24808 special "none"
24809 height "1in"
24810 height_special "totalheight"
24811 status open
24812
24813 \begin_layout Standard
24814 \align center
24815 \begin_inset Tabular
24816 <lyxtabular version="3" rows="3" columns="4">
24817 <features>
24818 <column alignment="center" valignment="top" leftline="true" width="0pt">
24819 <column alignment="center" valignment="top" leftline="true" width="0pt">
24820 <column alignment="center" valignment="top" leftline="true" width="0pt">
24821 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
24822 <row topline="true">
24823 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24824 \begin_inset Text
24825
24826 \begin_layout Standard
24827 1
24828 \end_layout
24829
24830 \end_inset
24831 </cell>
24832 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24833 \begin_inset Text
24834
24835 \begin_layout Standard
24836 2
24837 \end_layout
24838
24839 \end_inset
24840 </cell>
24841 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24842 \begin_inset Text
24843
24844 \begin_layout Standard
24845 3
24846 \begin_inset Foot
24847 status collapsed
24848
24849 \begin_layout Standard
24850 This is a footnote within a table.
24851 \end_layout
24852
24853 \end_inset
24854
24855
24856 \end_layout
24857
24858 \end_inset
24859 </cell>
24860 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24861 \begin_inset Text
24862
24863 \begin_layout Standard
24864 4
24865 \end_layout
24866
24867 \end_inset
24868 </cell>
24869 </row>
24870 <row topline="true">
24871 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24872 \begin_inset Text
24873
24874 \begin_layout Standard
24875 a
24876 \end_layout
24877
24878 \end_inset
24879 </cell>
24880 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24881 \begin_inset Text
24882
24883 \begin_layout Standard
24884 b
24885 \end_layout
24886
24887 \end_inset
24888 </cell>
24889 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24890 \begin_inset Text
24891
24892 \begin_layout Standard
24893 c
24894 \end_layout
24895
24896 \end_inset
24897 </cell>
24898 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24899 \begin_inset Text
24900
24901 \begin_layout Standard
24902 d
24903 \end_layout
24904
24905 \end_inset
24906 </cell>
24907 </row>
24908 <row topline="true" bottomline="true">
24909 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24910 \begin_inset Text
24911
24912 \begin_layout Standard
24913 e
24914 \end_layout
24915
24916 \end_inset
24917 </cell>
24918 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24919 \begin_inset Text
24920
24921 \begin_layout Standard
24922 f
24923 \end_layout
24924
24925 \end_inset
24926 </cell>
24927 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24928 \begin_inset Text
24929
24930 \begin_layout Standard
24931 g
24932 \end_layout
24933
24934 \end_inset
24935 </cell>
24936 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24937 \begin_inset Text
24938
24939 \begin_layout Standard
24940 h
24941 \end_layout
24942
24943 \end_inset
24944 </cell>
24945 </row>
24946 </lyxtabular>
24947
24948 \end_inset
24949
24950
24951 \end_layout
24952
24953 \end_inset
24954
24955
24956 \end_layout
24957
24958 \begin_layout Standard
24959 \begin_inset VSpace bigskip
24960 \end_inset
24961
24962 The document-wide paragraph settings are ignored within minipages.
24963  That means that there will be no space between paragraphs in minipages
24964  although you set it to e.\InsetSpace \thinspace{}
24965 g.\InsetSpace ~
24966
24967 \family sans
24968 MedSkip
24969 \family default
24970  in the document settings.
24971 \end_layout
24972
24973 \begin_layout Standard
24974 Minipages can also be used to set a background color for text parts, see
24975  section\InsetSpace ~
24976
24977 \begin_inset LatexCommand ref
24978 reference "sub:Color-for-Paragraphs"
24979
24980 \end_inset
24981
24982 .
24983 \end_layout
24984
24985 \begin_layout Standard
24986 \begin_inset Note Greyedout
24987 status open
24988
24989 \begin_layout Standard
24990
24991 \series bold
24992 Note:
24993 \series default
24994  You cannot have floats or margin notes inside minipages but minipages can
24995  be used inside tables, floats, and other boxes.
24996 \end_layout
24997
24998 \end_inset
24999
25000
25001 \end_layout
25002
25003 \begin_layout Section
25004 Parboxes
25005 \begin_inset LatexCommand label
25006 name "sec:Parboxes"
25007
25008 \end_inset
25009
25010
25011 \begin_inset LatexCommand index
25012 name "Boxes ! Parboxes"
25013
25014 \end_inset
25015
25016
25017 \end_layout
25018
25019 \begin_layout Standard
25020 Parboxes are very similar to minipages with the difference that they cannot
25021  have footnotes.
25022  The main difference to minipages is that minipages are in contrary to parboxes
25023  no real boxes but LaTeX-environments.
25024 \end_layout
25025
25026 \begin_layout Standard
25027 \align center
25028 \begin_inset Box Frameless
25029 position "t"
25030 hor_pos "c"
25031 has_inner_box 1
25032 inner_pos "t"
25033 use_parbox 1
25034 width "33col%"
25035 special "none"
25036 height "1in"
25037 height_special "totalheight"
25038 status collapsed
25039
25040 \begin_layout Standard
25041 This a text within a parbox.
25042  This a text within a parbox.
25043 \end_layout
25044
25045 \begin_layout Standard
25046 This footnote won't appear:
25047 \begin_inset Foot
25048 status collapsed
25049
25050 \begin_layout Standard
25051 This footnote is inside a parbox and will therefore not appear.
25052 \end_layout
25053
25054 \end_inset
25055
25056
25057 \end_layout
25058
25059 \end_inset
25060
25061
25062 \end_layout
25063
25064 \begin_layout Section
25065 Boxes for Words and Characters
25066 \begin_inset LatexCommand index
25067 name "Boxes ! for Characters"
25068
25069 \end_inset
25070
25071
25072 \end_layout
25073
25074 \begin_layout Subsection
25075 Prevent Hyphenation
25076 \begin_inset LatexCommand label
25077 name "sec:Prevent-Hyphenation"
25078
25079 \end_inset
25080
25081
25082 \begin_inset LatexCommand index
25083 name "Boxes ! to Prevent Hyphenation"
25084
25085 \end_inset
25086
25087
25088 \end_layout
25089
25090 \begin_layout Standard
25091 You can use a special kind of boxes to prevent words or text to be hyphenated.
25092 \newline
25093 Her
25094 e is an example text:
25095 \end_layout
25096
25097 \begin_layout Standard
25098 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25099 g.\InsetSpace ~
25100 veryver
25101 ylongwords.
25102 \end_layout
25103
25104 \begin_layout Standard
25105 To prevent the hyphenation of the word 
25106 \begin_inset Quotes eld
25107 \end_inset
25108
25109 veryverylongwords
25110 \begin_inset Quotes erd
25111 \end_inset
25112
25113 , add the command
25114 \end_layout
25115
25116 \begin_layout Standard
25117
25118 \series bold
25119
25120 \backslash
25121 mbox{
25122 \end_layout
25123
25124 \begin_layout Standard
25125 in ERT before the word.
25126  Behind the word insert a closing brace 
25127 \begin_inset Quotes eld
25128 \end_inset
25129
25130
25131 \series bold
25132 }
25133 \series default
25134
25135 \begin_inset Quotes erd
25136 \end_inset
25137
25138  in ERT.
25139 \begin_inset ERT
25140 status collapsed
25141
25142 \begin_layout Standard
25143
25144
25145 \backslash
25146 pagebreak 
25147 \end_layout
25148
25149 \end_inset
25150
25151
25152 \end_layout
25153
25154 \begin_layout Standard
25155 This is the result:
25156 \end_layout
25157
25158 \begin_layout Standard
25159 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25160 g.\InsetSpace ~
25161
25162 \begin_inset ERT
25163 status collapsed
25164
25165 \begin_layout Standard
25166
25167
25168 \backslash
25169 mbox{
25170 \end_layout
25171
25172 \end_inset
25173
25174 veryverylongwords.
25175 \begin_inset ERT
25176 status collapsed
25177
25178 \begin_layout Standard
25179
25180 }
25181 \end_layout
25182
25183 \end_inset
25184
25185
25186 \end_layout
25187
25188 \begin_layout Standard
25189 Of course the word now protrudes over the side margin.
25190  To avoid this, add via the menu 
25191 \family sans
25192 Insert\SpecialChar \menuseparator
25193 Special\InsetSpace ~
25194 Formatting\SpecialChar \menuseparator
25195 Line\InsetSpace ~
25196 Break
25197 \family default
25198  (shortcut 
25199 \series bold
25200 Ctrl-Return
25201 \series default
25202 ) a line break before the word:
25203 \end_layout
25204
25205 \begin_layout Standard
25206 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25207 g.\InsetSpace ~
25208
25209 \newline
25210
25211 \begin_inset ERT
25212 status collapsed
25213
25214 \begin_layout Standard
25215
25216
25217 \backslash
25218 mbox{
25219 \end_layout
25220
25221 \end_inset
25222
25223 veryverylongwords.
25224 \begin_inset ERT
25225 status collapsed
25226
25227 \begin_layout Standard
25228
25229 }
25230 \end_layout
25231
25232 \end_inset
25233
25234
25235 \end_layout
25236
25237 \begin_layout Subsection
25238 Vertical Alignment
25239 \begin_inset LatexCommand label
25240 name "sub:Vertical-Alignment"
25241
25242 \end_inset
25243
25244
25245 \begin_inset LatexCommand index
25246 name "Boxes ! for Vertical Alignment"
25247
25248 \end_inset
25249
25250
25251 \begin_inset LatexCommand index
25252 name "Boxes ! Raiseboxes"
25253
25254 \end_inset
25255
25256
25257 \end_layout
25258
25259 \begin_layout Standard
25260 With the help of the command 
25261 \series bold
25262
25263 \backslash
25264 raisebox
25265 \series default
25266  you can align words, characters or other boxes vertically to the surrounding
25267  text.
25268  
25269 \series bold
25270
25271 \backslash
25272 raisebox
25273 \series default
25274  is used with the following scheme:
25275 \end_layout
25276
25277 \begin_layout Standard
25278
25279 \series bold
25280
25281 \backslash
25282 raisebox{lift}[height][depth]{box content}
25283 \end_layout
25284
25285 \begin_layout Standard
25286 The lift can be a positive value to raise the box or a negative value to
25287  lower the box.
25288 \end_layout
25289
25290 \begin_layout Standard
25291 To align for example the word 
25292 \begin_inset Quotes eld
25293 \end_inset
25294
25295 preventing
25296 \begin_inset Quotes erd
25297 \end_inset
25298
25299  so that the bottom of the 
25300 \begin_inset Quotes eld
25301 \end_inset
25302
25303 deepest
25304 \begin_inset Quotes erd
25305 \end_inset
25306
25307  character 
25308 \begin_inset Quotes eld
25309 \end_inset
25310
25311 p
25312 \begin_inset Quotes erd
25313 \end_inset
25314
25315  is at the baseline, insert the command
25316 \end_layout
25317
25318 \begin_layout Standard
25319
25320 \series bold
25321
25322 \backslash
25323 raisebox{
25324 \backslash
25325 depth}{
25326 \end_layout
25327
25328 \begin_layout Standard
25329 in ERT before the word.
25330  Behind the word insert a closing brace 
25331 \begin_inset Quotes eld
25332 \end_inset
25333
25334
25335 \series bold
25336 }
25337 \series default
25338
25339 \begin_inset Quotes erd
25340 \end_inset
25341
25342  in ERT.
25343 \newline
25344 This is the result:
25345 \end_layout
25346
25347 \begin_layout Standard
25348 This is a text line with the word 
25349 \begin_inset ERT
25350 status collapsed
25351
25352 \begin_layout Standard
25353
25354
25355 \backslash
25356 raisebox{
25357 \backslash
25358 depth}{
25359 \end_layout
25360
25361 \end_inset
25362
25363
25364 \begin_inset Quotes eld
25365 \end_inset
25366
25367 preventing
25368 \begin_inset Quotes erd
25369 \end_inset
25370
25371
25372 \begin_inset ERT
25373 status collapsed
25374
25375 \begin_layout Standard
25376
25377 }
25378 \end_layout
25379
25380 \end_inset
25381
25382  as raised word.
25383 \end_layout
25384
25385 \begin_layout Standard
25386 \begin_inset VSpace bigskip
25387 \end_inset
25388
25389 When you raise or lower characters in a line, the line distance will be
25390  spread:
25391 \end_layout
25392
25393 \begin_layout Standard
25394 This is a text line with the word 
25395 \begin_inset ERT
25396 status collapsed
25397
25398 \begin_layout Standard
25399
25400
25401 \backslash
25402 raisebox{-
25403 \backslash
25404 depth}{
25405 \end_layout
25406
25407 \end_inset
25408
25409
25410 \begin_inset Quotes eld
25411 \end_inset
25412
25413 preventing
25414 \begin_inset Quotes erd
25415 \end_inset
25416
25417
25418 \begin_inset ERT
25419 status collapsed
25420
25421 \begin_layout Standard
25422
25423 }
25424 \end_layout
25425
25426 \end_inset
25427
25428  as lowered word.
25429 \newline
25430 This is a text line with the word 
25431 \begin_inset ERT
25432 status collapsed
25433
25434 \begin_layout Standard
25435
25436
25437 \backslash
25438 raisebox{0.5cm}{
25439 \end_layout
25440
25441 \end_inset
25442
25443
25444 \begin_inset Quotes eld
25445 \end_inset
25446
25447 testing
25448 \begin_inset Quotes erd
25449 \end_inset
25450
25451
25452 \begin_inset ERT
25453 status collapsed
25454
25455 \begin_layout Standard
25456
25457 }
25458 \end_layout
25459
25460 \end_inset
25461
25462  as raised word.
25463 \end_layout
25464
25465 \begin_layout Standard
25466 If you want to prevent this for a certain reason, set the box height to
25467  a zero value.
25468  For example use
25469 \end_layout
25470
25471 \begin_layout Standard
25472
25473 \series bold
25474
25475 \backslash
25476 raisebox{-
25477 \backslash
25478 depth}[0pt]{
25479 \end_layout
25480
25481 \begin_layout Standard
25482 This is a text line with the word 
25483 \begin_inset ERT
25484 status collapsed
25485
25486 \begin_layout Standard
25487
25488
25489 \backslash
25490 raisebox{-
25491 \backslash
25492 depth}[0pt]{
25493 \end_layout
25494
25495 \end_inset
25496
25497
25498 \begin_inset Quotes eld
25499 \end_inset
25500
25501 preventing
25502 \begin_inset Quotes erd
25503 \end_inset
25504
25505
25506 \begin_inset ERT
25507 status collapsed
25508
25509 \begin_layout Standard
25510
25511 }
25512 \end_layout
25513
25514 \end_inset
25515
25516  as lowered word.
25517 \newline
25518 This is a text line with the word 
25519 \begin_inset ERT
25520 status collapsed
25521
25522 \begin_layout Standard
25523
25524
25525 \backslash
25526 raisebox{0.5cm}[0pt]{
25527 \end_layout
25528
25529 \end_inset
25530
25531
25532 \begin_inset Quotes eld
25533 \end_inset
25534
25535 testing
25536 \begin_inset Quotes erd
25537 \end_inset
25538
25539
25540 \begin_inset ERT
25541 status collapsed
25542
25543 \begin_layout Standard
25544
25545 }
25546 \end_layout
25547
25548 \end_inset
25549
25550  as raised word.
25551 \end_layout
25552
25553 \begin_layout Section
25554 Colored Boxes
25555 \begin_inset LatexCommand label
25556 name "sec:Colored-Boxes"
25557
25558 \end_inset
25559
25560
25561 \begin_inset LatexCommand index
25562 name "Boxes ! Color"
25563
25564 \end_inset
25565
25566
25567 \end_layout
25568
25569 \begin_layout Subsection
25570 Color for Text
25571 \begin_inset LatexCommand index
25572 name "Color ! for Text"
25573
25574 \end_inset
25575
25576
25577 \end_layout
25578
25579 \begin_layout Standard
25580 To color the background of text the text must be put into a so called colorbox.
25581  This requires that the LaTeX-package 
25582 \series bold
25583 color
25584 \series default
25585
25586 \begin_inset LatexCommand index
25587 name "LaTeX-packages ! color"
25588
25589 \end_inset
25590
25591  is loaded in the document preamble with the command
25592 \end_layout
25593
25594 \begin_layout Standard
25595
25596 \series bold
25597
25598 \backslash
25599 @ifundef\SpecialChar \textcompwordmark{}
25600 ined{textcolor}
25601 \newline
25602
25603 \begin_inset ERT
25604 status collapsed
25605
25606 \begin_layout Standard
25607
25608
25609 \backslash
25610 hphantom{ }
25611 \end_layout
25612
25613 \end_inset
25614
25615 {
25616 \backslash
25617 usepackage{color}}{}
25618 \end_layout
25619
25620 \begin_layout Standard
25621 The package 
25622 \series bold
25623 color
25624 \series default
25625  will be loaded automatically by LyX when you color text
25626 \begin_inset Foot
25627 status collapsed
25628
25629 \begin_layout Standard
25630 To avoid that it is loaded twice the command 
25631 \series bold
25632
25633 \backslash
25634 @ifundef\SpecialChar \textcompwordmark{}
25635 ined
25636 \series default
25637  is used.
25638 \end_layout
25639
25640 \end_inset
25641
25642 .
25643 \end_layout
25644
25645 \begin_layout Standard
25646 \begin_inset VSpace medskip
25647 \end_inset
25648
25649 Colorboxes are created with the command 
25650 \series bold
25651
25652 \backslash
25653 colorbox
25654 \series default
25655 .
25656  This will be used with the following scheme:
25657 \end_layout
25658
25659 \begin_layout Standard
25660
25661 \series bold
25662
25663 \backslash
25664 colorbox{color}{box content}
25665 \end_layout
25666
25667 \begin_layout Standard
25668 The box content can also be a box and colorboxes can also be within other
25669  boxes.
25670 \end_layout
25671
25672 \begin_layout Standard
25673 The following colors are predefined:
25674 \newline
25675
25676 \family sans
25677 black
25678 \family default
25679
25680 \family sans
25681 blue
25682 \family default
25683
25684 \family sans
25685 cyan
25686 \family default
25687 \series bold
25688
25689 \family sans
25690 \series default
25691 green
25692 \family default
25693
25694 \family sans
25695 magenta
25696 \family default
25697
25698 \family sans
25699 red
25700 \family default
25701
25702 \family sans
25703 white
25704 \family default
25705 , and 
25706 \family sans
25707 yellow
25708 \family default
25709 .
25710 \newline
25711 You can also define your own color as described in section\InsetSpace ~
25712
25713 \begin_inset LatexCommand ref
25714 reference "sec:Colored-Tables"
25715
25716 \end_inset
25717
25718 .
25719 \end_layout
25720
25721 \begin_layout Standard
25722 To have e.\InsetSpace \thinspace{}
25723 g.\InsetSpace ~
25724 a red background for a word, insert the command
25725 \end_layout
25726
25727 \begin_layout Standard
25728
25729 \series bold
25730
25731 \backslash
25732 colorbox{red}{
25733 \end_layout
25734
25735 \begin_layout Standard
25736 before the word in ERT.
25737  Behind the word insert a closing brace 
25738 \begin_inset Quotes eld
25739 \end_inset
25740
25741
25742 \series bold
25743 }
25744 \series default
25745
25746 \begin_inset Quotes erd
25747 \end_inset
25748
25749  in ERT.
25750 \newline
25751 This is the result:
25752 \end_layout
25753
25754 \begin_layout Standard
25755 This is a line where the word 
25756 \begin_inset ERT
25757 status collapsed
25758
25759 \begin_layout Standard
25760
25761
25762 \backslash
25763 colorbox{red}{
25764 \end_layout
25765
25766 \end_inset
25767
25768
25769 \begin_inset Quotes eld
25770 \end_inset
25771
25772 Attention!
25773 \begin_inset Quotes erd
25774 \end_inset
25775
25776
25777 \begin_inset ERT
25778 status collapsed
25779
25780 \begin_layout Standard
25781
25782 }
25783 \end_layout
25784
25785 \end_inset
25786
25787  has a red background.
25788 \end_layout
25789
25790 \begin_layout Standard
25791 \begin_inset VSpace bigskip
25792 \end_inset
25793
25794 If you would have the box frame in a different color, you can use the command
25795  
25796 \series bold
25797
25798 \backslash
25799 fcolorbox
25800 \series default
25801  with the following scheme:
25802 \end_layout
25803
25804 \begin_layout Standard
25805
25806 \series bold
25807
25808 \backslash
25809 fcolorbox{frame color}{box color}{box content}
25810 \end_layout
25811
25812 \begin_layout Standard
25813
25814 \series bold
25815
25816 \backslash
25817 fcolorbox
25818 \series default
25819  is an extension to 
25820 \series bold
25821
25822 \backslash
25823 colorbox
25824 \series default
25825 .
25826  The frame thickness and the space between the frame and the box content
25827  can be adjusted with the lengths 
25828 \series bold
25829
25830 \backslash
25831 fboxrule
25832 \series default
25833  and 
25834 \series bold
25835
25836 \backslash
25837 fboxsep
25838 \series default
25839 , respectively, as described in section\InsetSpace ~
25840
25841 \begin_inset LatexCommand ref
25842 reference "sec:Framed-Boxes"
25843
25844 \end_inset
25845
25846 .
25847 \end_layout
25848
25849 \begin_layout Standard
25850 For the following example the command
25851 \end_layout
25852
25853 \begin_layout Standard
25854
25855 \series bold
25856
25857 \backslash
25858 fcolorbox{cyan}{magenta}{
25859 \end_layout
25860
25861 \begin_layout Standard
25862 was used.
25863 \end_layout
25864
25865 \begin_layout Standard
25866 Here is an example where the frame line thickness was set to 1\InsetSpace \thinspace{}
25867 mm:
25868 \newline
25869
25870 \begin_inset ERT
25871 status collapsed
25872
25873 \begin_layout Standard
25874
25875
25876 \backslash
25877 fboxrule 1mm 
25878 \backslash
25879 fboxsep 1mm
25880 \end_layout
25881
25882 \end_inset
25883
25884
25885 \begin_inset ERT
25886 status collapsed
25887
25888 \begin_layout Standard
25889
25890
25891 \backslash
25892 fcolorbox{cyan}{magenta}{
25893 \end_layout
25894
25895 \end_inset
25896
25897 This is text within a colored, framed box.
25898 \begin_inset ERT
25899 status collapsed
25900
25901 \begin_layout Standard
25902
25903 }
25904 \end_layout
25905
25906 \end_inset
25907
25908
25909 \end_layout
25910
25911 \begin_layout Standard
25912 \begin_inset VSpace bigskip
25913 \end_inset
25914
25915 Of course you can also have colored text inside a colorbox:
25916 \newline
25917
25918 \begin_inset ERT
25919 status collapsed
25920
25921 \begin_layout Standard
25922
25923
25924 \backslash
25925 fcolorbox{cyan}{magenta}{
25926 \end_layout
25927
25928 \end_inset
25929
25930
25931 \color yellow
25932 This is colored text within a colored, framed box.
25933 \color none
25934
25935 \begin_inset ERT
25936 status collapsed
25937
25938 \begin_layout Standard
25939
25940 }
25941 \end_layout
25942
25943 \end_inset
25944
25945
25946 \begin_inset ERT
25947 status collapsed
25948
25949 \begin_layout Standard
25950
25951
25952 \backslash
25953 fboxrule 0.4pt 
25954 \backslash
25955 fboxsep 3pt
25956 \end_layout
25957
25958 \end_inset
25959
25960
25961 \end_layout
25962
25963 \begin_layout Standard
25964
25965 \series bold
25966 \begin_inset VSpace medskip
25967 \end_inset
25968
25969
25970 \end_layout
25971
25972 \begin_layout Standard
25973 \begin_inset Note Greyedout
25974 status open
25975
25976 \begin_layout Standard
25977
25978 \series bold
25979 Note:
25980 \series default
25981  Text in colorboxes cannot have line breaks.
25982  To color multiple text lines or paragraphs, use a box inside a colorbox
25983  as described in the following.
25984 \end_layout
25985
25986 \end_inset
25987
25988
25989 \end_layout
25990
25991 \begin_layout Subsection
25992 Color for Paragraphs
25993 \begin_inset LatexCommand label
25994 name "sub:Color-for-Paragraphs"
25995
25996 \end_inset
25997
25998
25999 \begin_inset LatexCommand index
26000 name "Color ! for Paragraphs"
26001
26002 \end_inset
26003
26004
26005 \end_layout
26006
26007 \begin_layout Standard
26008 To set the background color for more than one text line, put the text into
26009  a minipage.
26010  Before the minipage insert the 
26011 \series bold
26012
26013 \backslash
26014 colorbox
26015 \series default
26016  command
26017 \end_layout
26018
26019 \begin_layout Standard
26020
26021 \series bold
26022
26023 \backslash
26024 colorbox{color}{
26025 \end_layout
26026
26027 \begin_layout Standard
26028 in ERT.
26029  Behind the minipage insert a closing brace 
26030 \begin_inset Quotes eld
26031 \end_inset
26032
26033
26034 \series bold
26035 }
26036 \series default
26037
26038 \begin_inset Quotes erd
26039 \end_inset
26040
26041  in ERT.
26042 \end_layout
26043
26044 \begin_layout Standard
26045 \begin_inset ERT
26046 status collapsed
26047
26048 \begin_layout Standard
26049
26050
26051 \backslash
26052 colorbox{lightgrey}{
26053 \end_layout
26054
26055 \end_inset
26056
26057
26058 \begin_inset Box Frameless
26059 position "t"
26060 hor_pos "c"
26061 has_inner_box 1
26062 inner_pos "t"
26063 use_parbox 0
26064 width "100col%"
26065 special "none"
26066 height "1in"
26067 height_special "totalheight"
26068 status collapsed
26069
26070 \begin_layout Standard
26071 This is text with background color.
26072  This is text with background color.
26073 \end_layout
26074
26075 \begin_layout Standard
26076 \begin_inset VSpace defskip
26077 \end_inset
26078
26079 The text can have footnotes
26080 \begin_inset Foot
26081 status collapsed
26082
26083 \begin_layout Standard
26084 Another example footnote
26085 \end_layout
26086
26087 \end_inset
26088
26089  and can include tables and figures.
26090 \end_layout
26091
26092 \begin_layout Standard
26093 \align center
26094 \begin_inset Tabular
26095 <lyxtabular version="3" rows="3" columns="3">
26096 <features>
26097 <column alignment="center" valignment="top" leftline="true" width="0">
26098 <column alignment="center" valignment="top" leftline="true" width="0">
26099 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
26100 <row topline="true">
26101 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26102 \begin_inset Text
26103
26104 \begin_layout Standard
26105 a
26106 \end_layout
26107
26108 \end_inset
26109 </cell>
26110 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26111 \begin_inset Text
26112
26113 \begin_layout Standard
26114 !
26115 \end_layout
26116
26117 \end_inset
26118 </cell>
26119 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26120 \begin_inset Text
26121
26122 \begin_layout Standard
26123 3
26124 \end_layout
26125
26126 \end_inset
26127 </cell>
26128 </row>
26129 <row topline="true">
26130 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26131 \begin_inset Text
26132
26133 \begin_layout Standard
26134 <
26135 \end_layout
26136
26137 \end_inset
26138 </cell>
26139 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26140 \begin_inset Text
26141
26142 \begin_layout Standard
26143 b2
26144 \begin_inset Quotes erd
26145 \end_inset
26146
26147 |
26148 \end_layout
26149
26150 \end_inset
26151 </cell>
26152 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26153 \begin_inset Text
26154
26155 \begin_layout Standard
26156 >
26157 \end_layout
26158
26159 \end_inset
26160 </cell>
26161 </row>
26162 <row topline="true" bottomline="true">
26163 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26164 \begin_inset Text
26165
26166 \begin_layout Standard
26167 1
26168 \end_layout
26169
26170 \end_inset
26171 </cell>
26172 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26173 \begin_inset Text
26174
26175 \begin_layout Standard
26176 §
26177 \end_layout
26178
26179 \end_inset
26180 </cell>
26181 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26182 \begin_inset Text
26183
26184 \begin_layout Standard
26185 c
26186 \end_layout
26187
26188 \end_inset
26189 </cell>
26190 </row>
26191 </lyxtabular>
26192
26193 \end_inset
26194
26195
26196 \end_layout
26197
26198 \end_inset
26199
26200
26201 \begin_inset ERT
26202 status collapsed
26203
26204 \begin_layout Standard
26205
26206 }
26207 \end_layout
26208
26209 \end_inset
26210
26211
26212 \end_layout
26213
26214 \begin_layout Section
26215 URLs (Uniform Resource Locators)
26216 \begin_inset LatexCommand index
26217 name "URLs"
26218
26219 \end_inset
26220
26221
26222 \end_layout
26223
26224 \begin_layout Standard
26225 Links to web pages or email addresses can be inserted via the menu 
26226 \family sans
26227 Insert\SpecialChar \menuseparator
26228 URL
26229 \family default
26230 .
26231  The appearing URL dialog has two fields; the 
26232 \family sans
26233 URL
26234 \family default
26235  field and the 
26236 \family sans
26237 Name
26238 \family default
26239  field for the URL description, which will be typeset as plain text immediately
26240  before the URL.
26241 \end_layout
26242
26243 \begin_layout Standard
26244 Here is an example URL: 
26245 \begin_inset LatexCommand url
26246 name "LyX's homepage"
26247 target "http://www.lyx.org"
26248
26249 \end_inset
26250
26251
26252 \end_layout
26253
26254 \begin_layout Standard
26255 The option 
26256 \family sans
26257 Generate\InsetSpace ~
26258 hyperlink
26259 \family default
26260  in the URL dialog has only an affect when you export your document to the
26261  format 
26262 \begin_inset Quotes eld
26263 \end_inset
26264
26265
26266 \family sans
26267 LinuxDoc
26268 \family default
26269
26270 \begin_inset Quotes erd
26271 \end_inset
26272
26273 .
26274 \end_layout
26275
26276 \begin_layout Standard
26277 You cannot change the style of the link text.
26278  The text of the 
26279 \family sans
26280 Name
26281 \family default
26282  field will have the default text style of the document while the text of
26283  the 
26284 \family sans
26285 URL
26286 \family default
26287  field will have the style 
26288 \begin_inset Quotes eld
26289 \end_inset
26290
26291
26292 \family sans
26293 Typewriter
26294 \family default
26295
26296 \begin_inset Quotes erd
26297 \end_inset
26298
26299 .
26300 \end_layout
26301
26302 \begin_layout Standard
26303 When you use the LaTeX-package 
26304 \series bold
26305 hyperref
26306 \series default
26307
26308 \begin_inset LatexCommand index
26309 name "LaTeX-packages ! hyperref"
26310
26311 \end_inset
26312
26313  to link cross-references in the output, URLs will automatically become
26314  clickable hyperlinks in DVI and PDF-output.
26315 \end_layout
26316
26317 \begin_layout Standard
26318 \begin_inset Note Greyedout
26319 status open
26320
26321 \begin_layout Standard
26322
26323 \series bold
26324 Note: 
26325 \series default
26326 When you use the following characters: "%", "#", "^", you have to write
26327  them with a preceding backslash, e.\InsetSpace \thinspace{}
26328 g.\InsetSpace ~
26329
26330 \begin_inset Quotes eld
26331 \end_inset
26332
26333
26334 \backslash
26335 #
26336 \begin_inset Quotes erd
26337 \end_inset
26338
26339 .
26340  URLs must not end with a backslash.
26341 \end_layout
26342
26343 \end_inset
26344
26345
26346 \end_layout
26347
26348 \begin_layout Standard
26349 \begin_inset VSpace bigskip
26350 \end_inset
26351
26352 To create real hyperlinks without the force to write the link location to
26353  the text, you can use the command
26354 \end_layout
26355
26356 \begin_layout Standard
26357
26358 \series bold
26359
26360 \backslash
26361 href{link location}{link text}
26362 \end_layout
26363
26364 \begin_layout Standard
26365 in ERT.
26366  To get for example a link to LyX's web page, write the command
26367 \end_layout
26368
26369 \begin_layout Standard
26370
26371 \series bold
26372
26373 \backslash
26374 href{http://www.lyx.org}{
26375 \end_layout
26376
26377 \begin_layout Standard
26378 in ERT.
26379  Insert after the command the link text 
26380 \begin_inset Quotes eld
26381 \end_inset
26382
26383 LyX's homepage
26384 \begin_inset Quotes erd
26385 \end_inset
26386
26387  as normal text followed by a closing brace 
26388 \begin_inset Quotes eld
26389 \end_inset
26390
26391
26392 \series bold
26393 }
26394 \series default
26395
26396 \begin_inset Quotes erd
26397 \end_inset
26398
26399  in ERT.
26400  This is the result: 
26401 \begin_inset ERT
26402 status collapsed
26403
26404 \begin_layout Standard
26405
26406
26407 \backslash
26408 href{http://www.lyx.org}{
26409 \end_layout
26410
26411 \end_inset
26412
26413 LyX's homepage
26414 \begin_inset ERT
26415 status collapsed
26416
26417 \begin_layout Standard
26418
26419 }
26420 \end_layout
26421
26422 \end_inset
26423
26424
26425 \end_layout
26426
26427 \begin_layout Standard
26428 To link to email addresses, add the prefix 
26429 \begin_inset Quotes eld
26430 \end_inset
26431
26432
26433 \family sans
26434 mailto:
26435 \family default
26436
26437 \begin_inset Quotes erd
26438 \end_inset
26439
26440  to the link location:
26441 \newline
26442 Email to 
26443 \begin_inset ERT
26444 status collapsed
26445
26446 \begin_layout Standard
26447
26448
26449 \backslash
26450 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's documentation}{
26451 \end_layout
26452
26453 \end_inset
26454
26455 lyx-docs mailing list
26456 \begin_inset ERT
26457 status collapsed
26458
26459 \begin_layout Standard
26460
26461 }
26462 \end_layout
26463
26464 \end_inset
26465
26466 .
26467 \end_layout
26468
26469 \begin_layout Standard
26470 Using 
26471 \series bold
26472
26473 \backslash
26474 href
26475 \series default
26476  instead of LyX's URL box has the advantage that you can specify the text
26477  style of the link text like for all other text parts.
26478  You can therefore set hyphenation points and forced linebreaks to have
26479  long link text broken at the page margin.
26480  You are furthermore able to change the text style for all URLs in your
26481  document with an option in 
26482 \series bold
26483 hyperref
26484 \series default
26485 's load command and the restrictions mentioned above doesn't apply for 
26486 \series bold
26487
26488 \backslash
26489 href
26490 \series default
26491 .
26492 \end_layout
26493
26494 \begin_layout Standard
26495
26496 \newpage
26497
26498 \end_layout
26499
26500 \begin_layout Chapter
26501 \start_of_appendix
26502 Units available in 
26503 \begin_inset ERT
26504 status collapsed
26505
26506 \begin_layout Standard
26507
26508
26509 \backslash
26510 texorpdfstring{
26511 \end_layout
26512
26513 \end_inset
26514
26515 LyX
26516 \begin_inset ERT
26517 status collapsed
26518
26519 \begin_layout Standard
26520
26521 }{LyX}
26522 \end_layout
26523
26524 \end_inset
26525
26526
26527 \begin_inset LatexCommand index
26528 name "Units"
26529
26530 \end_inset
26531
26532
26533 \begin_inset LatexCommand label
26534 name "cha:Units-available-in"
26535
26536 \end_inset
26537
26538
26539 \begin_inset Note Note
26540 status collapsed
26541
26542 \begin_layout Standard
26543 The command 
26544 \backslash
26545 texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures
26546  are displayed wrongly in PDF-bookmarks.
26547  For more information about this, have a look at 
26548 \begin_inset LatexCommand cite
26549 key "hyperref"
26550
26551 \end_inset
26552
26553 .
26554 \end_layout
26555
26556 \end_inset
26557
26558
26559 \end_layout
26560
26561 \begin_layout Standard
26562 To understand the units described in this documentation, Table\InsetSpace ~
26563
26564 \begin_inset LatexCommand ref
26565 reference "tab:Units"
26566
26567 \end_inset
26568
26569  explains all units available in LyX.
26570 \end_layout
26571
26572 \begin_layout Standard
26573 \begin_inset Float table
26574 placement h
26575 wide false
26576 sideways false
26577 status open
26578
26579 \begin_layout Standard
26580 \begin_inset Caption
26581
26582 \begin_layout Standard
26583 \begin_inset LatexCommand label
26584 name "tab:Units"
26585
26586 \end_inset
26587
26588 Units
26589 \end_layout
26590
26591 \end_inset
26592
26593
26594 \end_layout
26595
26596 \begin_layout Standard
26597 \begin_inset VSpace medskip
26598 \end_inset
26599
26600
26601 \end_layout
26602
26603 \begin_layout Standard
26604 \align center
26605 \begin_inset Tabular
26606 <lyxtabular version="3" rows="20" columns="2">
26607 <features>
26608 <column alignment="center" valignment="top" leftline="true" width="0">
26609 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
26610 <row topline="true" bottomline="true">
26611 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26612 \begin_inset Text
26613
26614 \begin_layout Standard
26615 unit
26616 \end_layout
26617
26618 \end_inset
26619 </cell>
26620 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26621 \begin_inset Text
26622
26623 \begin_layout Standard
26624 name/description
26625 \end_layout
26626
26627 \end_inset
26628 </cell>
26629 </row>
26630 <row topline="true">
26631 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26632 \begin_inset Text
26633
26634 \begin_layout Standard
26635 mm
26636 \end_layout
26637
26638 \end_inset
26639 </cell>
26640 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26641 \begin_inset Text
26642
26643 \begin_layout Standard
26644 millimeter
26645 \end_layout
26646
26647 \end_inset
26648 </cell>
26649 </row>
26650 <row topline="true">
26651 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26652 \begin_inset Text
26653
26654 \begin_layout Standard
26655 cm
26656 \end_layout
26657
26658 \end_inset
26659 </cell>
26660 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26661 \begin_inset Text
26662
26663 \begin_layout Standard
26664 centimeter
26665 \end_layout
26666
26667 \end_inset
26668 </cell>
26669 </row>
26670 <row topline="true">
26671 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26672 \begin_inset Text
26673
26674 \begin_layout Standard
26675 in
26676 \end_layout
26677
26678 \end_inset
26679 </cell>
26680 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26681 \begin_inset Text
26682
26683 \begin_layout Standard
26684 inch
26685 \end_layout
26686
26687 \end_inset
26688 </cell>
26689 </row>
26690 <row topline="true">
26691 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26692 \begin_inset Text
26693
26694 \begin_layout Standard
26695 pt
26696 \end_layout
26697
26698 \end_inset
26699 </cell>
26700 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26701 \begin_inset Text
26702
26703 \begin_layout Standard
26704 point (72.27\InsetSpace \thinspace{}
26705 pt = 1\InsetSpace \thinspace{}
26706 in)
26707 \end_layout
26708
26709 \end_inset
26710 </cell>
26711 </row>
26712 <row topline="true">
26713 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26714 \begin_inset Text
26715
26716 \begin_layout Standard
26717 pc
26718 \end_layout
26719
26720 \end_inset
26721 </cell>
26722 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26723 \begin_inset Text
26724
26725 \begin_layout Standard
26726 pica (1\InsetSpace \thinspace{}
26727 pc = 12\InsetSpace \thinspace{}
26728 pt)
26729 \end_layout
26730
26731 \end_inset
26732 </cell>
26733 </row>
26734 <row topline="true">
26735 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26736 \begin_inset Text
26737
26738 \begin_layout Standard
26739 sp
26740 \end_layout
26741
26742 \end_inset
26743 </cell>
26744 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26745 \begin_inset Text
26746
26747 \begin_layout Standard
26748 scaled point (65536\InsetSpace \thinspace{}
26749 sp = 1\InsetSpace \thinspace{}
26750 pt)
26751 \end_layout
26752
26753 \end_inset
26754 </cell>
26755 </row>
26756 <row topline="true">
26757 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26758 \begin_inset Text
26759
26760 \begin_layout Standard
26761 bp
26762 \end_layout
26763
26764 \end_inset
26765 </cell>
26766 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26767 \begin_inset Text
26768
26769 \begin_layout Standard
26770 big point (72\InsetSpace \thinspace{}
26771 bp = 1\InsetSpace \thinspace{}
26772 in)
26773 \end_layout
26774
26775 \end_inset
26776 </cell>
26777 </row>
26778 <row topline="true">
26779 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26780 \begin_inset Text
26781
26782 \begin_layout Standard
26783 dd
26784 \end_layout
26785
26786 \end_inset
26787 </cell>
26788 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26789 \begin_inset Text
26790
26791 \begin_layout Standard
26792 didot (72\InsetSpace \thinspace{}
26793 dd 
26794 \begin_inset Formula $\approx$
26795 \end_inset
26796
26797  37.6\InsetSpace \thinspace{}
26798 mm)
26799 \end_layout
26800
26801 \end_inset
26802 </cell>
26803 </row>
26804 <row topline="true">
26805 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26806 \begin_inset Text
26807
26808 \begin_layout Standard
26809 cc
26810 \end_layout
26811
26812 \end_inset
26813 </cell>
26814 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26815 \begin_inset Text
26816
26817 \begin_layout Standard
26818 cicero (1\InsetSpace \thinspace{}
26819 cc = 12\InsetSpace \thinspace{}
26820 dd)
26821 \end_layout
26822
26823 \end_inset
26824 </cell>
26825 </row>
26826 <row topline="true">
26827 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26828 \begin_inset Text
26829
26830 \begin_layout Standard
26831 Scale%
26832 \end_layout
26833
26834 \end_inset
26835 </cell>
26836 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26837 \begin_inset Text
26838
26839 \begin_layout Standard
26840 % of original image width
26841 \end_layout
26842
26843 \end_inset
26844 </cell>
26845 </row>
26846 <row topline="true">
26847 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26848 \begin_inset Text
26849
26850 \begin_layout Standard
26851 text%
26852 \end_layout
26853
26854 \end_inset
26855 </cell>
26856 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26857 \begin_inset Text
26858
26859 \begin_layout Standard
26860 % of text width
26861 \end_layout
26862
26863 \end_inset
26864 </cell>
26865 </row>
26866 <row topline="true">
26867 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26868 \begin_inset Text
26869
26870 \begin_layout Standard
26871 col%
26872 \end_layout
26873
26874 \end_inset
26875 </cell>
26876 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26877 \begin_inset Text
26878
26879 \begin_layout Standard
26880 % of column width
26881 \end_layout
26882
26883 \end_inset
26884 </cell>
26885 </row>
26886 <row topline="true">
26887 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26888 \begin_inset Text
26889
26890 \begin_layout Standard
26891 page%
26892 \end_layout
26893
26894 \end_inset
26895 </cell>
26896 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26897 \begin_inset Text
26898
26899 \begin_layout Standard
26900 % of paper width
26901 \end_layout
26902
26903 \end_inset
26904 </cell>
26905 </row>
26906 <row topline="true">
26907 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26908 \begin_inset Text
26909
26910 \begin_layout Standard
26911 line%
26912 \end_layout
26913
26914 \end_inset
26915 </cell>
26916 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26917 \begin_inset Text
26918
26919 \begin_layout Standard
26920 % of line width
26921 \end_layout
26922
26923 \end_inset
26924 </cell>
26925 </row>
26926 <row topline="true">
26927 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26928 \begin_inset Text
26929
26930 \begin_layout Standard
26931 theight%
26932 \end_layout
26933
26934 \end_inset
26935 </cell>
26936 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26937 \begin_inset Text
26938
26939 \begin_layout Standard
26940 % of text height
26941 \end_layout
26942
26943 \end_inset
26944 </cell>
26945 </row>
26946 <row topline="true">
26947 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26948 \begin_inset Text
26949
26950 \begin_layout Standard
26951 pheight%
26952 \end_layout
26953
26954 \end_inset
26955 </cell>
26956 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26957 \begin_inset Text
26958
26959 \begin_layout Standard
26960 % of paper height
26961 \end_layout
26962
26963 \end_inset
26964 </cell>
26965 </row>
26966 <row topline="true">
26967 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26968 \begin_inset Text
26969
26970 \begin_layout Standard
26971 ex
26972 \end_layout
26973
26974 \end_inset
26975 </cell>
26976 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26977 \begin_inset Text
26978
26979 \begin_layout Standard
26980 height of letter 
26981 \emph on
26982 x
26983 \emph default
26984  in current font
26985 \end_layout
26986
26987 \end_inset
26988 </cell>
26989 </row>
26990 <row topline="true">
26991 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26992 \begin_inset Text
26993
26994 \begin_layout Standard
26995 em
26996 \end_layout
26997
26998 \end_inset
26999 </cell>
27000 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27001 \begin_inset Text
27002
27003 \begin_layout Standard
27004 width of letter 
27005 \emph on
27006 M
27007 \emph default
27008  in current font
27009 \end_layout
27010
27011 \end_inset
27012 </cell>
27013 </row>
27014 <row topline="true" bottomline="true">
27015 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27016 \begin_inset Text
27017
27018 \begin_layout Standard
27019 mu
27020 \end_layout
27021
27022 \end_inset
27023 </cell>
27024 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27025 \begin_inset Text
27026
27027 \begin_layout Standard
27028 math unit (1\InsetSpace \thinspace{}
27029 mu = 1/18\InsetSpace \thinspace{}
27030 em)
27031 \end_layout
27032
27033 \end_inset
27034 </cell>
27035 </row>
27036 </lyxtabular>
27037
27038 \end_inset
27039
27040
27041 \end_layout
27042
27043 \end_inset
27044
27045
27046 \end_layout
27047
27048 \begin_layout Chapter
27049 Output File Formats with Graphics
27050 \begin_inset LatexCommand label
27051 name "cha:Output-File-Formats"
27052
27053 \end_inset
27054
27055
27056 \end_layout
27057
27058 \begin_layout Section
27059 DVI
27060 \begin_inset LatexCommand index
27061 name "File Formats ! DVI"
27062
27063 \end_inset
27064
27065
27066 \begin_inset LatexCommand index
27067 name "DVI|see{File Formats}"
27068
27069 \end_inset
27070
27071
27072 \end_layout
27073
27074 \begin_layout Standard
27075 This file type has the extension 
27076 \begin_inset Quotes eld
27077 \end_inset
27078
27079
27080 \family typewriter
27081 .dvi
27082 \family default
27083
27084 \begin_inset Quotes erd
27085 \end_inset
27086
27087 .
27088  It is called 
27089 \begin_inset Quotes eld
27090 \end_inset
27091
27092 device-independent
27093 \begin_inset Quotes erd
27094 \end_inset
27095
27096  (DVI), because it is completely portable; you can move them from one machine
27097  to another without needing to do any sort of conversion.
27098  At the time when this file-format was developed, this was no matter of
27099  course.
27100  DVIs are used for quick previews and as pre-stage for other output formats,
27101  like PostScript.
27102 \end_layout
27103
27104 \begin_layout Standard
27105 \begin_inset Note Greyedout
27106 status open
27107
27108 \begin_layout Standard
27109
27110 \series bold
27111 Note:
27112 \series default
27113  DVI-files doesn't contain images, they will only be a linked.
27114 \end_layout
27115
27116 \end_inset
27117
27118  So don't forget this, if you move your 
27119 \family typewriter
27120 .dvi
27121 \family default
27122  file to another computer.
27123  This property can also slow down your computer when you view the DVI.
27124  Because the DVI-viewer has to convert the image in the background to make
27125  it visible when you scroll in the DVI.
27126  So we recommend to use PDF for files with many images.
27127 \end_layout
27128
27129 \begin_layout Standard
27130 You can export your document to DVI by using the menu 
27131 \family sans
27132 File\SpecialChar \menuseparator
27133 Export\SpecialChar \menuseparator
27134 DVI
27135 \family default
27136 .
27137  You can view your document as PostScript via the 
27138 \family sans
27139 View
27140 \family default
27141  menu or by using the toolbar button 
27142 \begin_inset Graphics
27143         filename ../images/buffer-view_dvi.xpm
27144         scale 85
27145
27146 \end_inset
27147
27148 .
27149 \end_layout
27150
27151 \begin_layout Section
27152 PostScript
27153 \begin_inset LatexCommand label
27154 name "sec:PostScript"
27155
27156 \end_inset
27157
27158
27159 \begin_inset LatexCommand index
27160 name "File Formats ! PostScript\\protect\\pagebreak"
27161
27162 \end_inset
27163
27164
27165 \begin_inset LatexCommand index
27166 name "PostScript|see{File Formats}"
27167
27168 \end_inset
27169
27170
27171 \end_layout
27172
27173 \begin_layout Standard
27174 This file type has the extension 
27175 \begin_inset Quotes eld
27176 \end_inset
27177
27178
27179 \family typewriter
27180 .ps
27181 \family default
27182
27183 \begin_inset Quotes erd
27184 \end_inset
27185
27186 .
27187  PostScript was developed by the company 
27188 \family typewriter
27189 Adobe
27190 \family default
27191  as printer language.
27192  The file contains therefore commands that the printer uses to print the
27193  file.
27194  PostScript can be seen as 
27195 \begin_inset Quotes eld
27196 \end_inset
27197
27198 programming language
27199 \begin_inset Quotes erd
27200 \end_inset
27201
27202 ; you can calculate with it and draw diagrams and images
27203 \begin_inset Foot
27204 status collapsed
27205
27206 \begin_layout Standard
27207 If you are interested to learn more about this, have a look at the LaTeX-package
27208  
27209 \series bold
27210 PSTricks
27211 \series default
27212  
27213 \begin_inset LatexCommand cite
27214 key "pstricks"
27215
27216 \end_inset
27217
27218 .
27219 \end_layout
27220
27221 \end_inset
27222
27223 .
27224  Due to this ability, the files are often bigger than PDFs.
27225 \end_layout
27226
27227 \begin_layout Standard
27228 PostScript can only contain images in the format 
27229 \begin_inset Quotes eld
27230 \end_inset
27231
27232 Encapsulated PostScript
27233 \begin_inset Quotes erd
27234 \end_inset
27235
27236  (EPS, file extension 
27237 \begin_inset Quotes eld
27238 \end_inset
27239
27240
27241 \family typewriter
27242 .eps
27243 \family default
27244
27245 \begin_inset Quotes erd
27246 \end_inset
27247
27248 ).
27249  As LyX allows you to use any known image format in your document, it has
27250  to convert images in the background to EPS.
27251  If you have e.g 50 images in your document, LyX has to do 50 conversions
27252  whenever you view or export your document.
27253  This will slow down your work flow with LyX drastically.
27254  So if you plan to use PostScript, you can insert your images directly as
27255  EPS to avoid this problem.
27256 \end_layout
27257
27258 \begin_layout Standard
27259 You can export your document to PostScript using the menu 
27260 \family sans
27261 File\SpecialChar \menuseparator
27262 Export\SpecialChar \menuseparator
27263 Postscript
27264 \family default
27265 .
27266  You can view your document as PostScript via the 
27267 \family sans
27268 View
27269 \family default
27270  menu or by using the toolbar button 
27271 \begin_inset Graphics
27272         filename ../images/buffer-view_ps.xpm
27273         scale 85
27274
27275 \end_inset
27276
27277 .
27278 \end_layout
27279
27280 \begin_layout Section
27281 PDF
27282 \begin_inset LatexCommand label
27283 name "sec:PDF"
27284
27285 \end_inset
27286
27287
27288 \begin_inset LatexCommand index
27289 name "File Formats ! PDF"
27290
27291 \end_inset
27292
27293
27294 \begin_inset LatexCommand index
27295 name "PDF"
27296
27297 \end_inset
27298
27299
27300 \end_layout
27301
27302 \begin_layout Standard
27303 This file type has the extension 
27304 \begin_inset Quotes eld
27305 \end_inset
27306
27307
27308 \family typewriter
27309 .pdf
27310 \family default
27311
27312 \begin_inset Quotes erd
27313 \end_inset
27314
27315 .
27316  The 
27317 \begin_inset Quotes eld
27318 \end_inset
27319
27320 Portable Document Format
27321 \begin_inset Quotes erd
27322 \end_inset
27323
27324  (PDF) is developed by 
27325 \family typewriter
27326 Adobe
27327 \family default
27328  as derivative from PostScript.
27329  It is more compressed and it uses much less commands than PostScript.
27330  As the name 
27331 \begin_inset Quotes eld
27332 \end_inset
27333
27334 portable
27335 \begin_inset Quotes erd
27336 \end_inset
27337
27338  implies, it can be processed at any computer system and the printed output
27339  looks exactly the same.
27340 \end_layout
27341
27342 \begin_layout Standard
27343 PDF can contain images in its own PDF format, in the format 
27344 \begin_inset Quotes eld
27345 \end_inset
27346
27347 Joint Photographic Experts Group
27348 \begin_inset Quotes erd
27349 \end_inset
27350
27351  (JPG, file extension 
27352 \begin_inset Quotes eld
27353 \end_inset
27354
27355
27356 \family typewriter
27357 .jpg
27358 \family default
27359
27360 \begin_inset Quotes erd
27361 \end_inset
27362
27363  or 
27364 \begin_inset Quotes eld
27365 \end_inset
27366
27367
27368 \family typewriter
27369 .jpeg
27370 \family default
27371
27372 \begin_inset Quotes erd
27373 \end_inset
27374
27375 ), and in the format 
27376 \begin_inset Quotes eld
27377 \end_inset
27378
27379 Portable Network Graphics
27380 \begin_inset Quotes erd
27381 \end_inset
27382
27383  (PNG, file extension 
27384 \begin_inset Quotes eld
27385 \end_inset
27386
27387
27388 \family typewriter
27389 .png
27390 \family default
27391
27392 \begin_inset Quotes erd
27393 \end_inset
27394
27395 ).
27396  You can although use any other image format, because LyX converts them
27397  in the background to one of these formats.
27398  But as described in the section about PostScript, the image conversion
27399  will slow down your work flow.
27400  So it is recommended to use images in one of the three mentioned formats.
27401 \end_layout
27402
27403 \begin_layout Standard
27404 You can export your document to PDF via the menu 
27405 \family sans
27406 File\SpecialChar \menuseparator
27407 Export
27408 \family default
27409  in three different ways:
27410 \end_layout
27411
27412 \begin_layout Description
27413 PDF This uses the program 
27414 \family typewriter
27415 ps2pdf
27416 \family default
27417  that creates a PDF from a PostScript-version of your file.
27418  The PostScript-version is produced by the program 
27419 \family typewriter
27420 dvips
27421 \family default
27422  which uses a DVI-version as intermediate step.
27423  So this export variant consist of three conversions.
27424 \end_layout
27425
27426 \begin_layout Description
27427 PDF\InsetSpace ~
27428 (dvipdfm) This uses the program 
27429 \family typewriter
27430 dvipdfm
27431 \family default
27432  that converts your file in the background to DVI and in a second step to
27433  PDF.
27434 \end_layout
27435
27436 \begin_layout Description
27437 PDF\InsetSpace ~
27438 (pdflatex) This uses the program 
27439 \family typewriter
27440 pdftex
27441 \family default
27442  that converts your file directly to PDF.
27443 \end_layout
27444
27445 \begin_layout Standard
27446 It is recommended to use 
27447 \family sans
27448 PDF\InsetSpace ~
27449 (pdflatex)
27450 \family default
27451  because 
27452 \family typewriter
27453 pdftex
27454 \family default
27455  supports all features of actual PDF-versions, is quick and works stable
27456  without problems.
27457  The program 
27458 \family typewriter
27459 dvipdfm
27460 \family default
27461  is not under development and therefore a bit outdated.
27462 \end_layout
27463
27464 \begin_layout Standard
27465 You can view your document as PDF via the 
27466 \family sans
27467 View
27468 \family default
27469  menu or by using the toolbar button 
27470 \begin_inset Graphics
27471         filename ../images/buffer-view_pdf2.xpm
27472         scale 85
27473
27474 \end_inset
27475
27476  
27477 \family sans
27478 (
27479 \family default
27480 that uses 
27481 \family sans
27482 PDF\InsetSpace ~
27483 (pdflatex)
27484 \family default
27485 ).
27486 \end_layout
27487
27488 \begin_layout Chapter
27489 Explanation of Equation\InsetSpace ~
27490
27491 \begin_inset LatexCommand eqref
27492 reference "eq:Wgn"
27493
27494 \end_inset
27495
27496
27497 \begin_inset LatexCommand label
27498 name "cha:Explanation-of-Equation"
27499
27500 \end_inset
27501
27502
27503 \end_layout
27504
27505 \begin_layout Standard
27506 The total width of 
27507 \emph on
27508 n
27509 \emph default
27510  table cells 
27511 \begin_inset Formula $W_{\mathrm{tot\, n}}$
27512 \end_inset
27513
27514  can be calculated to
27515 \end_layout
27516
27517 \begin_layout Standard
27518 \begin_inset Formula \begin{equation}
27519 W_{\mathrm{tot}\, n}=n·(W_{g\, n}+2·\backslash\mbox{tabcolsep})+(n+1)·\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}\end{equation}
27520
27521 \end_inset
27522
27523
27524 \end_layout
27525
27526 \begin_layout Standard
27527 Where 
27528 \begin_inset Formula $W_{g\, n}$
27529 \end_inset
27530
27531  is the given width of all cells.
27532  
27533 \series bold
27534
27535 \backslash
27536 tabcolsep
27537 \series default
27538  is the LaTeX-length between the cell text and the cell border, its default
27539  value is 6\InsetSpace \thinspace{}
27540 pt.
27541  
27542 \series bold
27543
27544 \backslash
27545 arrayrulewidth
27546 \series default
27547  is the thickness of the cell border line, the default is 0.4\InsetSpace \thinspace{}
27548 pt.
27549 \end_layout
27550
27551 \begin_layout Standard
27552 Following equation\InsetSpace ~
27553
27554 \begin_inset LatexCommand eqref
27555 reference "eq:Wtot_n"
27556
27557 \end_inset
27558
27559 , the total width of a multicolumn 
27560 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
27561 \end_inset
27562
27563  is
27564 \end_layout
27565
27566 \begin_layout Standard
27567 \begin_inset Formula \begin{equation}
27568 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2·\backslash\mbox{tabcolsep}+2·\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}\end{equation}
27569
27570 \end_inset
27571
27572
27573 \end_layout
27574
27575 \begin_layout Standard
27576 By setting equation\InsetSpace ~
27577
27578 \begin_inset LatexCommand eqref
27579 reference "eq:Wtot_n"
27580
27581 \end_inset
27582
27583  and 
27584 \begin_inset LatexCommand eqref
27585 reference "eq:Wtot_mult"
27586
27587 \end_inset
27588
27589  equal we can calculate the needed given width 
27590 \begin_inset Formula $W_{g\, n}$
27591 \end_inset
27592
27593  when 
27594 \emph on
27595 n
27596 \emph default
27597  columns are spanned, so that each column has a total width of 
27598 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
27599 \end_inset
27600
27601 :
27602 \end_layout
27603
27604 \begin_layout Standard
27605 \begin_inset Formula \begin{equation}
27606 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)·(2·\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n\end{equation}
27607
27608 \end_inset
27609
27610
27611 \end_layout
27612
27613 \begin_layout Bibliography
27614 \begin_inset LatexCommand bibitem
27615 key "latexcompanion"
27616
27617 \end_inset
27618
27619 Frank Mittelbach and Michel Goossens: 
27620 \emph on
27621 The LaTeX Companion Second Edition.
27622  
27623 \emph default
27624 Addison-Wesley, 2004
27625 \end_layout
27626
27627 \begin_layout Bibliography
27628 \begin_inset LatexCommand bibitem
27629 key "latexguide"
27630
27631 \end_inset
27632
27633 Helmut Kopka and Patrick W.
27634  Daly: 
27635 \emph on
27636 A Guide to LaTeX Fourth Edition.
27637  
27638 \emph default
27639 Addison-Wesley, 2003
27640 \end_layout
27641
27642 \begin_layout Bibliography
27643 \begin_inset LatexCommand bibitem
27644 key "latexbook"
27645
27646 \end_inset
27647
27648 Leslie Lamport: 
27649 \emph on
27650 LaTeX: A Document Preparation System.
27651  
27652 \emph default
27653 Addison-Wesley, second edition, 1994
27654 \end_layout
27655
27656 \begin_layout Bibliography
27657 \begin_inset LatexCommand bibitem
27658 key "booktabs"
27659
27660 \end_inset
27661
27662
27663 \begin_inset ERT
27664 status collapsed
27665
27666 \begin_layout Standard
27667
27668
27669 \backslash
27670 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf}
27671 {
27672 \end_layout
27673
27674 \end_inset
27675
27676 Documentation
27677 \begin_inset ERT
27678 status collapsed
27679
27680 \begin_layout Standard
27681
27682 }
27683 \end_layout
27684
27685 \end_inset
27686
27687  of the LaTeX-package 
27688 \series bold
27689 booktabs
27690 \series default
27691
27692 \begin_inset LatexCommand index
27693 name "LaTeX-packages ! booktabs"
27694
27695 \end_inset
27696
27697
27698 \end_layout
27699
27700 \begin_layout Bibliography
27701 \begin_inset LatexCommand bibitem
27702 key "caption"
27703
27704 \end_inset
27705
27706
27707 \begin_inset ERT
27708 status collapsed
27709
27710 \begin_layout Standard
27711
27712
27713 \backslash
27714 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf}{
27715 \end_layout
27716
27717 \end_inset
27718
27719 Documentation
27720 \begin_inset ERT
27721 status collapsed
27722
27723 \begin_layout Standard
27724
27725 }
27726 \end_layout
27727
27728 \end_inset
27729
27730  of the LaTeX-package 
27731 \series bold
27732 caption
27733 \series default
27734
27735 \begin_inset LatexCommand index
27736 name "LaTeX-packages ! caption"
27737
27738 \end_inset
27739
27740
27741 \end_layout
27742
27743 \begin_layout Bibliography
27744 \begin_inset LatexCommand bibitem
27745 key "caption-de"
27746
27747 \end_inset
27748
27749 German 
27750 \begin_inset ERT
27751 status collapsed
27752
27753 \begin_layout Standard
27754
27755
27756 \backslash
27757 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/anleitung.pdf}
27758 {
27759 \end_layout
27760
27761 \end_inset
27762
27763 documentation
27764 \begin_inset ERT
27765 status collapsed
27766
27767 \begin_layout Standard
27768
27769 }
27770 \end_layout
27771
27772 \end_inset
27773
27774  of the LaTeX-package 
27775 \series bold
27776 caption
27777 \end_layout
27778
27779 \begin_layout Bibliography
27780 \begin_inset LatexCommand bibitem
27781 key "endfloat"
27782
27783 \end_inset
27784
27785
27786 \begin_inset ERT
27787 status collapsed
27788
27789 \begin_layout Standard
27790
27791
27792 \backslash
27793 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf}
27794 {
27795 \end_layout
27796
27797 \end_inset
27798
27799 Documentation
27800 \begin_inset ERT
27801 status collapsed
27802
27803 \begin_layout Standard
27804
27805 }
27806 \end_layout
27807
27808 \end_inset
27809
27810  of the LaTeX-package 
27811 \series bold
27812 endf\SpecialChar \textcompwordmark{}
27813 loat
27814 \series default
27815
27816 \begin_inset LatexCommand index
27817 name "LaTeX-packages ! endfloat"
27818
27819 \end_inset
27820
27821
27822 \end_layout
27823
27824 \begin_layout Bibliography
27825 \begin_inset LatexCommand bibitem
27826 key "floatflt"
27827
27828 \end_inset
27829
27830
27831 \begin_inset ERT
27832 status collapsed
27833
27834 \begin_layout Standard
27835
27836
27837 \backslash
27838 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/floatflt/floatflt.pdf}
27839 {
27840 \end_layout
27841
27842 \end_inset
27843
27844 Documentation
27845 \begin_inset ERT
27846 status collapsed
27847
27848 \begin_layout Standard
27849
27850 }
27851 \end_layout
27852
27853 \end_inset
27854
27855  of the LaTeX-package 
27856 \series bold
27857 floatf\SpecialChar \textcompwordmark{}
27858 lt
27859 \series default
27860
27861 \begin_inset LatexCommand index
27862 name "LaTeX-packages ! floatflt"
27863
27864 \end_inset
27865
27866
27867 \end_layout
27868
27869 \begin_layout Bibliography
27870 \begin_inset LatexCommand bibitem
27871 key "footmisc"
27872
27873 \end_inset
27874
27875
27876 \begin_inset ERT
27877 status collapsed
27878
27879 \begin_layout Standard
27880
27881
27882 \backslash
27883 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf}
27884 {
27885 \end_layout
27886
27887 \end_inset
27888
27889 Documentation
27890 \begin_inset ERT
27891 status collapsed
27892
27893 \begin_layout Standard
27894
27895 }
27896 \end_layout
27897
27898 \end_inset
27899
27900  of the LaTeX-package 
27901 \series bold
27902 footmisc
27903 \series default
27904
27905 \begin_inset LatexCommand index
27906 name "LaTeX-packages ! footmisc"
27907
27908 \end_inset
27909
27910
27911 \end_layout
27912
27913 \begin_layout Bibliography
27914 \begin_inset LatexCommand bibitem
27915 key "hypcap"
27916
27917 \end_inset
27918
27919
27920 \begin_inset ERT
27921 status collapsed
27922
27923 \begin_layout Standard
27924
27925
27926 \backslash
27927 href{http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf}{
27928 \end_layout
27929
27930 \end_inset
27931
27932 Documentation
27933 \begin_inset ERT
27934 status collapsed
27935
27936 \begin_layout Standard
27937
27938 }
27939 \end_layout
27940
27941 \end_inset
27942
27943  of the LaTeX-package 
27944 \series bold
27945 hypcap
27946 \series default
27947
27948 \begin_inset LatexCommand index
27949 name "LaTeX-packages ! hyperref"
27950
27951 \end_inset
27952
27953
27954 \end_layout
27955
27956 \begin_layout Bibliography
27957 \begin_inset LatexCommand bibitem
27958 key "hyperref"
27959
27960 \end_inset
27961
27962
27963 \begin_inset ERT
27964 status collapsed
27965
27966 \begin_layout Standard
27967
27968
27969 \backslash
27970 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf}
27971 {
27972 \end_layout
27973
27974 \end_inset
27975
27976 Documentation
27977 \begin_inset ERT
27978 status collapsed
27979
27980 \begin_layout Standard
27981
27982 }
27983 \end_layout
27984
27985 \end_inset
27986
27987  of the LaTeX-package 
27988 \series bold
27989 hyperref
27990 \series default
27991
27992 \begin_inset LatexCommand index
27993 name "LaTeX-packages ! hyperref"
27994
27995 \end_inset
27996
27997
27998 \end_layout
27999
28000 \begin_layout Bibliography
28001 \begin_inset LatexCommand bibitem
28002 key "koma-script"
28003
28004 \end_inset
28005
28006
28007 \begin_inset ERT
28008 status collapsed
28009
28010 \begin_layout Standard
28011
28012
28013 \backslash
28014 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.p
28015 df}{
28016 \end_layout
28017
28018 \end_inset
28019
28020 Documentation
28021 \begin_inset ERT
28022 status collapsed
28023
28024 \begin_layout Standard
28025
28026 }
28027 \end_layout
28028
28029 \end_inset
28030
28031  of the LaTeX-package 
28032 \series bold
28033 koma-script
28034 \series default
28035
28036 \begin_inset LatexCommand index
28037 name "LaTeX-packages ! koma-script"
28038
28039 \end_inset
28040
28041
28042 \end_layout
28043
28044 \begin_layout Bibliography
28045 \begin_inset LatexCommand bibitem
28046 key "koma-script-de"
28047
28048 \end_inset
28049
28050 German 
28051 \begin_inset ERT
28052 status collapsed
28053
28054 \begin_layout Standard
28055
28056
28057 \backslash
28058 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguide.p
28059 df}{
28060 \end_layout
28061
28062 \end_inset
28063
28064 documentation
28065 \begin_inset ERT
28066 status collapsed
28067
28068 \begin_layout Standard
28069
28070 }
28071 \end_layout
28072
28073 \end_inset
28074
28075  of the LaTeX-package 
28076 \series bold
28077 koma-script
28078 \series default
28079
28080 \begin_inset LatexCommand index
28081 name "LaTeX-packages ! koma-script"
28082
28083 \end_inset
28084
28085
28086 \end_layout
28087
28088 \begin_layout Bibliography
28089 \begin_inset LatexCommand bibitem
28090 key "marginnote"
28091
28092 \end_inset
28093
28094
28095 \begin_inset ERT
28096 status collapsed
28097
28098 \begin_layout Standard
28099
28100
28101 \backslash
28102 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.
28103 pdf}{
28104 \end_layout
28105
28106 \end_inset
28107
28108 Documentation
28109 \begin_inset ERT
28110 status collapsed
28111
28112 \begin_layout Standard
28113
28114 }
28115 \end_layout
28116
28117 \end_inset
28118
28119  of the LaTeX-package 
28120 \series bold
28121 marginnote
28122 \series default
28123
28124 \begin_inset LatexCommand index
28125 name "LaTeX-packages ! marginnote"
28126
28127 \end_inset
28128
28129
28130 \end_layout
28131
28132 \begin_layout Bibliography
28133 \begin_inset LatexCommand bibitem
28134 key "pstricks"
28135
28136 \end_inset
28137
28138
28139 \begin_inset ERT
28140 status collapsed
28141
28142 \begin_layout Standard
28143
28144
28145 \backslash
28146 href{http://tug.org/PSTricks/main.cgi/}{
28147 \end_layout
28148
28149 \end_inset
28150
28151 Web page
28152 \begin_inset ERT
28153 status collapsed
28154
28155 \begin_layout Standard
28156
28157 }
28158 \end_layout
28159
28160 \end_inset
28161
28162  of the LaTeX-package 
28163 \series bold
28164 PSTricks
28165 \series default
28166
28167 \begin_inset LatexCommand index
28168 name "LaTeX-packages ! PSTricks"
28169
28170 \end_inset
28171
28172
28173 \end_layout
28174
28175 \begin_layout Bibliography
28176 \begin_inset LatexCommand bibitem
28177 key "sidecap"
28178
28179 \end_inset
28180
28181
28182 \begin_inset ERT
28183 status collapsed
28184
28185 \begin_layout Standard
28186
28187
28188 \backslash
28189 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf}{
28190 \end_layout
28191
28192 \end_inset
28193
28194 Documentation
28195 \begin_inset ERT
28196 status collapsed
28197
28198 \begin_layout Standard
28199
28200 }
28201 \end_layout
28202
28203 \end_inset
28204
28205  of the LaTeX-package 
28206 \series bold
28207 sidecap
28208 \series default
28209
28210 \begin_inset LatexCommand index
28211 name "LaTeX-packages ! sidecap"
28212
28213 \end_inset
28214
28215
28216 \end_layout
28217
28218 \begin_layout Bibliography
28219 \begin_inset LatexCommand bibitem
28220 key "NewInLyX15"
28221
28222 \end_inset
28223
28224
28225 \begin_inset ERT
28226 status collapsed
28227
28228 \begin_layout Standard
28229
28230
28231 \backslash
28232 href{http://wiki.lyx.org/LyX/NewInLyX15}{
28233 \end_layout
28234
28235 \end_inset
28236
28237 Wiki page
28238 \begin_inset ERT
28239 status collapsed
28240
28241 \begin_layout Standard
28242
28243 }
28244 \end_layout
28245
28246 \end_inset
28247
28248  about new LyX-features planned for the release 
28249 \family sans
28250 LyX 1.5
28251 \family default
28252 .
28253 \end_layout
28254
28255 \begin_layout Standard
28256 \begin_inset LatexCommand printindex
28257
28258 \end_inset
28259
28260
28261 \end_layout
28262
28263 \begin_layout Standard
28264 \begin_inset FloatList figure
28265
28266 \end_inset
28267
28268
28269 \end_layout
28270
28271 \begin_layout Standard
28272 \begin_inset FloatList table
28273
28274 \end_inset
28275
28276
28277 \end_layout
28278
28279 \end_body
28280 \end_document