]> git.lyx.org Git - lyx.git/blob - lib/doc/EmbeddedObjects.lyx
b0f664959d43b6aacaa1dce945994737c3377921
[lyx.git] / lib / doc / EmbeddedObjects.lyx
1 #LyX 1.5.0svn created this file. For more info see http://www.lyx.org/
2 \lyxformat 263
3 \begin_document
4 \begin_header
5 \textclass scrbook
6 \begin_preamble
7 % if pdflatex is used
8 \usepackage{ifpdf}
9 \ifpdf
10
11 % set fonts for nicer pdf view
12 \IfFileExists{lmodern.sty}
13  {\usepackage{lmodern}} % if it exists
14  {% if it exists not
15   \usepackage[scaled=0.92]{helvet}
16   \usepackage{mathptmx}
17   \usepackage{courier}
18  } % end if it exists not
19
20 % link all cross references and URLs
21 % in pdf output
22  \usepackage[colorlinks=true, bookmarks, bookmarksnumbered, bookmarksopen, bookmarksopenlevel=1,
23   linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,
24   pdfpagelayout=OneColumn, pdfnewwindow=true,
25   pdfstartview=XYZ, plainpages=false, pdfpagelabels,
26   pdfauthor={LyX Team}, pdftex,
27   pdftitle={LyX's Figure, Table, Floats, Notes, and Boxes manual},
28   pdfsubject={LyX-documentation about figures, tables, floats, notes, and boxes},
29   pdfkeywords={LyX, Tables, Figures, Floats, Boxes, Notes}]{hyperref}
30  
31 \else % if dvi or ps is produced
32
33  % link all cross references and URLs in DVI output
34  \usepackage[ps2pdf, colorlinks=true,
35   linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue]{hyperref}
36
37 \fi % end if pdflatex is used
38
39 % that links to image floats jumps
40 % to the beginning of the float and 
41 % not to its caption
42 \usepackage[figure]{hypcap}
43
44 % the pages of the TOC are numbered roman
45 % and a PDF-bookmark for the TOC is added
46 \pagenumbering{roman}
47 \let\myTOC\tableofcontents
48 \renewcommand{\tableofcontents}{%
49  \pdfbookmark[1]{Contents}{}
50  \myTOC
51  \cleardoublepage
52  \pagenumbering{arabic}}
53
54 % provides caption formatting
55 \usepackage[labelfont={bf,sf}, tableposition=top]{caption}[2004/07/16]
56
57 % provides commands to set caption
58 % beside tables/images
59 \usepackage{sidecap}
60
61 \newcommand{\TabBesBeg}{%
62  \let\MyTable\table
63  \let\MyEndtable\endtable
64  \renewenvironment{table}{\begin{SCtable}}{\end{SCtable}}}
65
66 \newcommand{\TabBesEnd}{%
67  \let\table\MyTable
68  \let\endtable\MyEndtable}
69
70 \newcommand{\FigBesBeg}{%
71  \let\MyFigure\figure
72  \let\MyEndfigure\endfigure
73  \renewenvironment{figure}{\begin{SCfigure}}{\end{SCfigure}}}
74
75 \newcommand{\FigBesEnd}{%
76  \let\figure\MyFigure
77  \let\endfigure\MyEndfigure}
78
79 % enables calculation of values,
80 \usepackage{calc}
81
82 % provides special table cell alignments
83 \usepackage{dcolumn}
84
85 % increase the bottom float placement fraction
86 \renewcommand{\bottomfraction}{0.5}
87
88 % avoids that floats are placed before their
89 % corresponding section starts
90 \let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}
91
92 % speed up the longtable calculation
93 \setcounter{LTchunksize}{100}
94
95 % used for colored tables
96 \@ifundefined{textcolor}
97  {\usepackage{color}}{}
98 \usepackage{colortbl}
99 \definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
100 \definecolor{lightgrey}{gray}{0.8}
101
102 % used for multirows
103 \usepackage{multirow}
104 %\renewcommand{\multirowsetup}{\centering}
105
106 % used for book-style tables
107 \usepackage{booktabs}
108
109 % used to have extra space in table cells,
110 \setlength{\extrarowheight}{2pt}
111
112 % used for customized tables
113 % ---
114 \newcolumntype{M}[1]
115  {>{\centering\hspace{0pt}}m{#1}}
116
117 \newcolumntype{S}[2]
118  {>{\centering\hspace{0pt}}m{(#1+(2\tabcolsep+\arrayrulewidth)*(1-#2))/#2}}
119
120 \newcolumntype{K}[1]
121  {>{\columncolor{#1}\hspace{0pt}}c}
122
123 \newcolumntype{V}{!{\vrule width 1.5pt}}
124
125 \newcolumntype{W}{!{\color{green}\vline}}
126 % ---
127
128 % To be able to enter the characters ° and · directly in LyX
129 \DeclareInputText{176}{\ifmmode^\circ\else\textdegree\fi}
130 \DeclareInputText{183}{\ifmmode\cdot\else\textperiodcentered\fi}
131
132 % insert additional vertical space of
133 % 1.5 mm between footnotes
134 \let\myFoot\footnote
135 \renewcommand{\footnote}[1]{\myFoot{#1\vspace{1.5mm}}}
136
137 % enable algorithm floats to be referenced
138 \newfloat{Xalgorithm}{tbp}{loa}
139 \floatname{Xalgorithm}{Algorithm}
140 \newcommand{\theHalgorithm}{\theHXalgorithm}
141 \renewenvironment{algorithm}[1][tbp]
142  {\begin{Xalgorithm}[#1]}{\end{Xalgorithm}}
143
144 % number algorithm floats within chapters
145 \numberwithin{Xalgorithm}{chapter}
146
147 % redefine the greyed out note
148 \renewenvironment{lyxgreyedout}
149  {\textcolor{blue}\bgroup}{\egroup}
150
151 % ------------------------------------
152 % used to check for needed LaTeX packages
153 \usepackage{ifthen}
154
155 % check for package arydshln
156 % used for tables with dashed lines
157 \newboolean{arydshln}
158 \IfFileExists{arydshln.sty}
159  {\usepackage{arydshln}
160   \setboolean{arydshln}{true}}
161  {\setboolean{arydshln}{false}}
162
163 % check for package marginnote
164 % used for margin notes
165 \newboolean{marginnote}
166 \IfFileExists{marginnote.sty}
167  {\usepackage{marginnote}
168   \let\marginpar\marginnote
169   \setboolean{marginnote}{true}}
170  {\setboolean{marginnote}{false}}
171 \end_preamble
172 \options fleqn,liststotoc,bibtotoc,idxtotoc,BCOR7.5mm,titlepage,tablecaptionabove
173 \language english
174 \inputencoding auto
175 \font_roman default
176 \font_sans default
177 \font_typewriter default
178 \font_default_family default
179 \font_sc false
180 \font_osf false
181 \font_sf_scale 100
182 \font_tt_scale 100
183 \graphics default
184 \paperfontsize 12
185 \spacing single
186 \papersize default
187 \use_geometry false
188 \use_amsmath 2
189 \use_esint 0
190 \cite_engine basic
191 \use_bibtopic false
192 \paperorientation portrait
193 \secnumdepth 3
194 \tocdepth 3
195 \paragraph_separation skip
196 \defskip medskip
197 \quotes_language english
198 \papercolumns 1
199 \papersides 2
200 \paperpagestyle default
201 \bullet 1 1 34 -1
202 \bullet 2 2 35 -1
203 \bullet 3 2 7 -1
204 \tracking_changes false
205 \output_changes false
206 \author "usti" 
207 \author "Uwe Stöhr" 
208 \end_header
209
210 \begin_body
211
212 \begin_layout Title
213 LyX's detailed Figure, Table, Floats, Notes, Boxes and External Material
214  manual
215 \end_layout
216
217 \begin_layout Author
218 by the LyX Team
219 \begin_inset Foot
220 status collapsed
221
222 \begin_layout Standard
223 \noindent
224 If you have comments or error corrections, please send them to the LyX Documenta
225 tion mailing list: 
226 \family typewriter
227
228 \begin_inset ERT
229 status open
230
231 \begin_layout Standard
232
233
234 \backslash
235 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's ExtendedInsets manual}{
236 \end_layout
237
238 \end_inset
239
240 lyx-docs@lists.lyx.org
241 \begin_inset ERT
242 status collapsed
243
244 \begin_layout Standard
245
246 }
247 \end_layout
248
249 \end_inset
250
251
252 \end_layout
253
254 \end_inset
255
256
257 \begin_inset Note Note
258 status collapsed
259
260 \begin_layout Standard
261 original author: Uwe Stöhr
262 \end_layout
263
264 \end_inset
265
266
267 \newline
268
269 \newline
270
271 \family sans
272 Version 1.5.0-
273 \family default
274 1
275 \end_layout
276
277 \begin_layout Standard
278 \begin_inset LatexCommand tableofcontents
279
280 \end_inset
281
282
283 \end_layout
284
285 \begin_layout Standard
286 \begin_inset Note Note
287 status open
288
289 \begin_layout Standard
290 To export all parts of this document to PDF, PS, or DVI the LaTeX-packages
291  
292 \series bold
293 arydshln
294 \series default
295  and 
296 \series bold
297 marginnote
298 \series default
299  must be installed.
300  If they are not installed you can export the document anyway but the sections
301  where the packages are required won't appear in the output.
302 \end_layout
303
304 \begin_layout Standard
305 The latest PDF-version of this document can be found here:
306 \newline
307
308 \series bold
309 http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
310 \end_layout
311
312 \end_inset
313
314
315 \end_layout
316
317 \begin_layout Chapter
318 Figures
319 \begin_inset LatexCommand label
320 name "cha:Figures"
321
322 \end_inset
323
324
325 \begin_inset LatexCommand index
326 name "Figures"
327
328 \end_inset
329
330
331 \begin_inset LatexCommand index
332 name "Graphics|see{Figures}"
333
334 \end_inset
335
336
337 \end_layout
338
339 \begin_layout Section
340 Graphics Dialog
341 \begin_inset LatexCommand index
342 name "Figures ! Graphics Dialog"
343
344 \end_inset
345
346
347 \begin_inset LatexCommand label
348 name "sec:Graphics-Dialog"
349
350 \end_inset
351
352
353 \end_layout
354
355 \begin_layout Standard
356 To insert an image into your document, place the cursor at the text position
357  you want and click on the toolbar icon 
358 \begin_inset Graphics
359         filename ../images/dialog-show-new-inset_graphics.xpm
360         scale 85
361
362 \end_inset
363
364  or use the menu 
365 \family sans
366 Insert\SpecialChar \menuseparator
367 Graphics
368 \family default
369 .
370  Then a dialog will appear to choose the file to load.
371  The image will appear in the output exactly at the position where it is
372  in the text.
373 \end_layout
374
375 \begin_layout Standard
376 The graphics dialog can be called at any time by right-clicking on an image.
377  This dialog has three tabs:
378 \end_layout
379
380 \begin_layout Description
381
382 \family sans
383 Graphics
384 \family default
385  Here you can choose an image file and adjust its appearance in the output.
386  The available units for the image size are explained in appendix\InsetSpace ~
387
388 \begin_inset LatexCommand ref
389 reference "cha:Units-available-in"
390
391 \end_inset
392
393 .
394 \newline
395 You can rotate images counter-clockwise by setting a rotation angle and
396  a rotation origin.
397  The image will also be rotated inside LyX.
398 \newline
399 Images can be scaled by using
400  a percentage value or by setting the width and height explicitly.
401  If you set only the width or only the height, the other size will be determined
402  automatically.
403  If you set both, then the image will be transformed to the given size,
404  possibly distorting it.
405  To prevent the image from distortion, use the option 
406 \family sans
407 Maintain aspect ratio
408 \family default
409 .
410  The image will then be scaled so that its width and height don't exceed
411  the specified dimensions.
412 \newline
413 Images can be opened in a program of your choice
414  when pressing the 
415 \family sans
416 Edit
417 \family default
418  button.
419  The program can be set for every image format in the file format settings
420  in LyX's preferences.
421 \end_layout
422
423 \begin_layout Description
424
425 \family sans
426 Clipping
427 \family default
428  Alternatively to the usage of scaling units it is possible to set image
429  coordinates to adjust the height and width of the image in the output.
430  The coordinates can also be calculated automatically by pressing the button
431  
432 \family sans
433 Get\InsetSpace ~
434 from\InsetSpace ~
435 File
436 \family default
437 .
438  The option 
439 \family sans
440 Clip\InsetSpace ~
441 to\InsetSpace ~
442 bounding\InsetSpace ~
443 box
444 \family default
445  will only print the image region within the given coordinates.
446  Normally you don't need to take care about image coordinates and can ignore
447  this tab.
448 \end_layout
449
450 \begin_layout Description
451
452 \family sans
453 Extra\InsetSpace ~
454 options
455 \family default
456  In this tab you can modify the appearance of the image within LyX and set
457  the image to be a subfigure of a figure float with an own caption.
458  Subfigures are explained in section\InsetSpace ~
459
460 \begin_inset LatexCommand ref
461 reference "sec:Figure-Floats"
462
463 \end_inset
464
465 .
466 \newline
467  LaTeX experts can also specify on this tab additional LaTeX options.
468 \newline
469  The
470  option 
471 \family sans
472 Draft\InsetSpace ~
473 mode
474 \family default
475  makes the image appear in the output only as a frame with the size of the
476  image.
477 \newline
478 The 
479 \family sans
480 Don't\InsetSpace ~
481 unzip\InsetSpace ~
482 on\InsetSpace ~
483 export
484 \family default
485  option only affects zipped EPS-graphics, e.\InsetSpace \thinspace{}
486 g.\InsetSpace ~
487
488 \emph on
489 x.eps.gz
490 \emph default
491 .
492  When the option is used the images will not be unzipped on export, since
493  LaTeX can handle them as they are.
494 \newline
495 Zipped EPS-graphics are useful to save
496  disk space when you choose PostScript as output format, see appendix\InsetSpace ~
497
498 \begin_inset LatexCommand ref
499 reference "sec:PostScript"
500
501 \end_inset
502
503 .
504  To zip EPS-graphics, use the following commands in a UNIX-shell or a Windows
505  console:
506 \newline
507
508 \series bold
509 gzip x.eps
510 \series default
511
512 \newline
513
514 \series bold
515 zgrep %%Bounding x.eps.gz > x.eps.bb
516 \series default
517
518 \newline
519 The second command creates the bounding box file 
520 \begin_inset Quotes eld
521 \end_inset
522
523 x.eps.bb
524 \begin_inset Quotes erd
525 \end_inset
526
527  that is needed by LaTeX for zipped graphics.
528 \end_layout
529
530 \begin_layout Standard
531 \begin_inset VSpace bigskip
532 \end_inset
533
534
535 \end_layout
536
537 \begin_layout Standard
538 This is an example image in EPS format
539 \begin_inset Foot
540 status collapsed
541
542 \begin_layout Standard
543 Image formats are explained in section\InsetSpace ~
544
545 \begin_inset LatexCommand ref
546 reference "sec:Image-Formats"
547
548 \end_inset
549
550 .
551 \end_layout
552
553 \end_inset
554
555  within a separate, horizontally centered paragraph:
556 \end_layout
557
558 \begin_layout Standard
559 \align center
560 \begin_inset Graphics
561         filename clipart/mobius.eps
562         display color
563         scale 70
564         rotateOrigin center
565
566 \end_inset
567
568
569 \end_layout
570
571 \begin_layout Standard
572 This is the same image like the one above but in draft mode:
573 \end_layout
574
575 \begin_layout Standard
576 \align center
577 \begin_inset Graphics
578         filename clipart/mobius.eps
579         display color
580         scale 70
581         draft
582         rotateOrigin center
583
584 \end_inset
585
586
587 \end_layout
588
589 \begin_layout Section
590 Figure Floats
591 \begin_inset LatexCommand label
592 name "sec:Figure-Floats"
593
594 \end_inset
595
596
597 \begin_inset LatexCommand index
598 name "Floats ! Figure Floats"
599
600 \end_inset
601
602
603 \begin_inset LatexCommand index
604 name "Figures ! Floats"
605
606 \end_inset
607
608
609 \end_layout
610
611 \begin_layout Standard
612 For general explanations about floats, have a look at section\InsetSpace ~
613
614 \begin_inset LatexCommand ref
615 reference "sec:FloatIntroduction"
616
617 \end_inset
618
619 .
620 \end_layout
621
622 \begin_layout Standard
623 The toolbar button 
624 \begin_inset Graphics
625         filename ../images/float-insert_figure.xpm
626         scale 85
627
628 \end_inset
629
630  and the menu 
631 \family sans
632 Insert\SpecialChar \menuseparator
633 Float\SpecialChar \menuseparator
634 Figure
635 \family default
636  inserts a float with a caption that has the label 
637 \begin_inset Quotes eld
638 \end_inset
639
640 Figure\InsetSpace ~
641 #:
642 \begin_inset Quotes erd
643 \end_inset
644
645  (# is the actual number).
646  You can insert the image above the caption, like in Figure\InsetSpace ~
647
648 \begin_inset LatexCommand ref
649 reference "fig:kill-plat"
650
651 \end_inset
652
653  or below the caption, like in Figure\InsetSpace ~
654
655 \begin_inset LatexCommand ref
656 reference "fig:escher"
657
658 \end_inset
659
660 .
661  More about the caption placement is described in section\InsetSpace ~
662
663 \begin_inset LatexCommand ref
664 reference "sec:Caption-Placement"
665
666 \end_inset
667
668 .
669 \end_layout
670
671 \begin_layout Standard
672 \begin_inset Float figure
673 wide false
674 sideways false
675 status open
676
677 \begin_layout Standard
678 \align center
679 \begin_inset Graphics
680         filename clipart/platypus.eps
681         display color
682         width 50col%
683         rotateOrigin center
684
685 \end_inset
686
687
688 \end_layout
689
690 \begin_layout Standard
691 \begin_inset Caption
692
693 \begin_layout Standard
694 \begin_inset LatexCommand label
695 name "fig:kill-plat"
696
697 \end_inset
698
699 A severely distorted platypus in a float.
700 \end_layout
701
702 \end_inset
703
704
705 \end_layout
706
707 \end_inset
708
709
710 \end_layout
711
712 \begin_layout Standard
713 \begin_inset Float figure
714 wide false
715 sideways false
716 status open
717
718 \begin_layout Standard
719 \begin_inset Caption
720
721 \begin_layout Standard
722 \begin_inset LatexCommand label
723 name "fig:escher"
724
725 \end_inset
726
727 M.C.
728  Escher on acid.
729 \end_layout
730
731 \end_inset
732
733
734 \end_layout
735
736 \begin_layout Standard
737 \align center
738 \begin_inset Graphics
739         filename clipart/escher-lsd.eps
740         display color
741         scale 80
742         rotateOrigin center
743
744 \end_inset
745
746
747 \end_layout
748
749 \end_inset
750
751
752 \end_layout
753
754 \begin_layout Standard
755 \begin_inset LatexCommand index
756 name "References ! to Figures"
757
758 \end_inset
759
760 Figure\InsetSpace ~
761
762 \begin_inset LatexCommand ref
763 reference "fig:kill-plat"
764
765 \end_inset
766
767  and 
768 \begin_inset LatexCommand ref
769 reference "fig:escher"
770
771 \end_inset
772
773  are examples of referenced figures.
774  Figures can be referenced in the text by referencing their label.
775  To do this insert a label in the caption using the menu 
776 \family sans
777 Insert\SpecialChar \menuseparator
778 Label
779 \family default
780  or the toolbar button 
781 \begin_inset Graphics
782         filename ../images/label-insert.xpm
783         scale 85
784
785 \end_inset
786
787 .
788  You can now refer to the label using the menu 
789 \family sans
790 Insert\SpecialChar \menuseparator
791 Cross\InsetSpace ~
792 reference
793 \family default
794  or the toolbar button 
795 \begin_inset Graphics
796         filename ../images/dialog-show-new-inset_ref.xpm
797         scale 85
798
799 \end_inset
800
801 .
802  It is important to use references to floats, rather than using vague references
803  like 
804 \begin_inset Quotes eld
805 \end_inset
806
807 the figure above
808 \begin_inset Quotes erd
809 \end_inset
810
811 , because as LaTeX will reposition the floats in the final document, it
812  might not be 
813 \begin_inset Quotes eld
814 \end_inset
815
816 above
817 \begin_inset Quotes erd
818 \end_inset
819
820  at all.
821 \newline
822 Referencing is explained in detail in section\InsetSpace ~
823
824 \begin_inset LatexCommand ref
825 reference "sec:Referencing-Floats"
826
827 \end_inset
828
829 .
830 \end_layout
831
832 \begin_layout Standard
833 Normally only one image is inserted to a figure float, but sometimes you
834  might want to use two images with separate subcaptions.
835  This can be set in the tab 
836 \family sans
837 Extra\InsetSpace ~
838 options
839 \family default
840  of the graphics dialog.
841  Choose there the option 
842 \family sans
843 Subfigure
844 \family default
845  and enter the subcaption for the image in the caption field.
846  Note that only the main caption of the float is added to the List of Figures.
847 \newline
848 Ref
849 erencing subfigures is explained in section\InsetSpace ~
850
851 \begin_inset LatexCommand ref
852 reference "sub:Referencing-Subfigures"
853
854 \end_inset
855
856 .
857 \end_layout
858
859 \begin_layout Standard
860 Figure\InsetSpace ~
861
862 \begin_inset LatexCommand ref
863 reference "fig:Two-distorted-images"
864
865 \end_inset
866
867  is an example of a figure float with two images set side by side.
868  You can also set the images one below the other.
869 \end_layout
870
871 \begin_layout Standard
872 \begin_inset Float figure
873 wide false
874 sideways false
875 status open
876
877 \begin_layout Standard
878
879 \hfill
880
881 \begin_inset Graphics
882         filename clipart/escher-lsd.eps
883         width 45col%
884         subcaption
885         subcaptionText "Undefinable structure"
886
887 \end_inset
888
889
890 \hfill
891
892 \begin_inset Graphics
893         filename clipart/platypus.eps
894         lyxscale 60
895         width 45col%
896         subcaption
897         subcaptionText "\label{fig:Platypus} Platypus"
898
899 \end_inset
900
901
902 \hfill
903
904 \end_layout
905
906 \begin_layout Standard
907 \begin_inset Caption
908
909 \begin_layout Standard
910 \begin_inset LatexCommand label
911 name "fig:Two-distorted-images"
912
913 \end_inset
914
915 Two distorted images.
916 \end_layout
917
918 \end_inset
919
920
921 \end_layout
922
923 \end_inset
924
925
926 \end_layout
927
928 \begin_layout Section
929 Image Formats
930 \begin_inset LatexCommand label
931 name "sec:Image-Formats"
932
933 \end_inset
934
935
936 \begin_inset LatexCommand index
937 name "Image Formats"
938
939 \end_inset
940
941
942 \begin_inset LatexCommand index
943 name "Figures ! Image Formats"
944
945 \end_inset
946
947
948 \end_layout
949
950 \begin_layout Standard
951 You can insert images in any known file format.
952  But as explained in appendix\InsetSpace ~
953
954 \begin_inset LatexCommand ref
955 reference "cha:Output-File-Formats"
956
957 \end_inset
958
959 , every output document format allows only a few image formats.
960  LyX uses therefore the program 
961 \family typewriter
962 Imagemagick
963 \family default
964  in the background to convert the images to the right format.
965  To increase your work flow by avoiding these conversions in the background,
966  you can use only the image formats that can directly be embedded in the
967  output file format.
968  The output file formats are explained in appendix\InsetSpace ~
969
970 \begin_inset LatexCommand ref
971 reference "cha:Output-File-Formats"
972
973 \end_inset
974
975 .
976 \end_layout
977
978 \begin_layout Standard
979 Similar to fonts there are two types of image formats:
980 \end_layout
981
982 \begin_layout Description
983 Bitmap\InsetSpace ~
984 images consist of pixel values, often in a compressed form.
985  They are therefore not fully scalable and look pixeled in large zooms.
986  Well-known bitmap image formats are 
987 \begin_inset Quotes eld
988 \end_inset
989
990 Graphics Interchange Format
991 \begin_inset Quotes erd
992 \end_inset
993
994  (GIF, file extension 
995 \begin_inset Quotes eld
996 \end_inset
997
998
999 \family typewriter
1000 .gif
1001 \family default
1002
1003 \begin_inset Quotes erd
1004 \end_inset
1005
1006 )
1007 \begin_inset LatexCommand index
1008 name "GIF|see{Image formats}"
1009
1010 \end_inset
1011
1012
1013 \begin_inset Quotes eld
1014 \end_inset
1015
1016 Portable Network Graphics
1017 \begin_inset Quotes erd
1018 \end_inset
1019
1020  (PNG, file extension 
1021 \begin_inset Quotes eld
1022 \end_inset
1023
1024
1025 \family typewriter
1026 .png
1027 \family default
1028
1029 \begin_inset Quotes erd
1030 \end_inset
1031
1032 )
1033 \begin_inset LatexCommand index
1034 name "PNG|see{Image formats}"
1035
1036 \end_inset
1037
1038 , and 
1039 \begin_inset Quotes eld
1040 \end_inset
1041
1042 Joint Photographic Experts Group
1043 \begin_inset Quotes erd
1044 \end_inset
1045
1046  (JPG, file extension 
1047 \begin_inset Quotes eld
1048 \end_inset
1049
1050
1051 \family typewriter
1052 .jpg
1053 \family default
1054
1055 \begin_inset Quotes erd
1056 \end_inset
1057
1058  or 
1059 \begin_inset Quotes eld
1060 \end_inset
1061
1062
1063 \family typewriter
1064 .jpeg
1065 \family default
1066
1067 \begin_inset Quotes erd
1068 \end_inset
1069
1070 )
1071 \begin_inset LatexCommand index
1072 name "JPG|see{Image formats}"
1073
1074 \end_inset
1075
1076 .
1077 \end_layout
1078
1079 \begin_layout Description
1080 Vector\InsetSpace ~
1081 images consist of vectors and can therefore be scaled to any size
1082  without data loss.
1083  The scaling ability is necessary if you want to create presentations, because
1084  presentations are always scaled by the video projector.
1085  Scaling is also useful for online documents to let the user zoom into diagrams.
1086 \newline
1087 W
1088 ell-known scalable image formats are 
1089 \begin_inset Quotes eld
1090 \end_inset
1091
1092 Scalable Vector Graphics
1093 \begin_inset Quotes erd
1094 \end_inset
1095
1096  (SVG, file extension 
1097 \begin_inset Quotes eld
1098 \end_inset
1099
1100
1101 \family typewriter
1102 .svg
1103 \family default
1104
1105 \begin_inset Quotes erd
1106 \end_inset
1107
1108 )
1109 \begin_inset LatexCommand index
1110 name "SVG|see{Image formats}"
1111
1112 \end_inset
1113
1114
1115 \begin_inset Quotes eld
1116 \end_inset
1117
1118 Encapsulated PostScript
1119 \begin_inset Quotes erd
1120 \end_inset
1121
1122  (EPS, file extension 
1123 \begin_inset Quotes eld
1124 \end_inset
1125
1126
1127 \family typewriter
1128 .eps
1129 \family default
1130
1131 \begin_inset Quotes erd
1132 \end_inset
1133
1134 )
1135 \begin_inset LatexCommand index
1136 name "EPS|see{Image formats}"
1137
1138 \end_inset
1139
1140
1141 \begin_inset Quotes eld
1142 \end_inset
1143
1144 Portable Document Format
1145 \begin_inset Quotes erd
1146 \end_inset
1147
1148  (PDF, file extension 
1149 \begin_inset Quotes eld
1150 \end_inset
1151
1152
1153 \family typewriter
1154 .pdf
1155 \family default
1156
1157 \begin_inset Quotes erd
1158 \end_inset
1159
1160 )
1161 \begin_inset LatexCommand index
1162 name "PDF"
1163
1164 \end_inset
1165
1166 , and 
1167 \begin_inset Quotes eld
1168 \end_inset
1169
1170 Windows Metafile
1171 \begin_inset Quotes erd
1172 \end_inset
1173
1174  (WMF, file extension 
1175 \begin_inset Quotes eld
1176 \end_inset
1177
1178
1179 \family typewriter
1180 .wmf
1181 \family default
1182
1183 \begin_inset Quotes erd
1184 \end_inset
1185
1186 )
1187 \begin_inset LatexCommand index
1188 name "SVG|see{Image formats}"
1189
1190 \end_inset
1191
1192 .
1193  We wrote 
1194 \begin_inset Quotes eld
1195 \end_inset
1196
1197 can be
1198 \begin_inset Quotes erd
1199 \end_inset
1200
1201 , because you can convert any bitmap image to a PDF or EPS-image and the
1202  result will still be a bitmap image.
1203  In this cases only a header with the image properties is added to the original
1204  image
1205 \begin_inset Foot
1206 status open
1207
1208 \begin_layout Standard
1209 In the case of PDF, the original image is additionally compressed.
1210 \end_layout
1211
1212 \end_inset
1213
1214 .
1215  The PDF-files generated by 
1216 \family typewriter
1217 Adobe Photoshop
1218 \family default
1219  are for example bitmap images.
1220 \end_layout
1221
1222 \begin_layout Standard
1223 Normally it is not possible to convert a bitmap image into a scalable one,
1224  only vice versa.
1225  Only the image formats PDF and EPS can directly be embedded to PDF and
1226  PostScript output files, respectively.
1227  SVG and WMF-images are currently recalculated to bitmaps when the output
1228  file is generated because there is currently no adequate WMF/SVG
1229 \begin_inset Formula $\to$
1230 \end_inset
1231
1232 PDF/EPS converter available.
1233 \end_layout
1234
1235 \begin_layout Chapter
1236 Tables
1237 \begin_inset LatexCommand label
1238 name "cha:Tables"
1239
1240 \end_inset
1241
1242
1243 \begin_inset LatexCommand index
1244 name "Table"
1245
1246 \end_inset
1247
1248
1249 \end_layout
1250
1251 \begin_layout Section
1252 Introduction
1253 \begin_inset LatexCommand index
1254 name "Table ! Introduction"
1255
1256 \end_inset
1257
1258
1259 \end_layout
1260
1261 \begin_layout Standard
1262 You can insert a table using either the toolbar button 
1263 \begin_inset Graphics
1264         filename ../images/tabular-insert.xpm
1265         scale 85
1266
1267 \end_inset
1268
1269  or the menu 
1270 \family sans
1271 Insert\SpecialChar \menuseparator
1272 Table
1273 \family default
1274 .
1275  The toolbar button offers you a graphical selection: Move the mouse to
1276  set the column/row number of the table that should be created and then
1277  press a mouse button.
1278  When you use the menu to create a table, a dialog will appear, asking you
1279  for the number of rows and columns.
1280 \newline
1281  The default table has lines around any
1282  cell and the first row appears separated from the rest of the table.
1283  This separation occurs due to a double line: The cells of the first row
1284  have a line below them and the cells of the second row have a line above
1285  them.
1286  Here is an example table:
1287 \end_layout
1288
1289 \begin_layout Standard
1290 \align center
1291 \begin_inset Tabular
1292 <lyxtabular version="3" rows="4" columns="4">
1293 <features>
1294 <column alignment="center" valignment="top" leftline="true" width="0">
1295 <column alignment="center" valignment="top" leftline="true" width="0">
1296 <column alignment="center" valignment="top" leftline="true" width="0">
1297 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
1298 <row topline="true" bottomline="true">
1299 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1300 \begin_inset Text
1301
1302 \begin_layout Standard
1303
1304 \end_layout
1305
1306 \end_inset
1307 </cell>
1308 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1309 \begin_inset Text
1310
1311 \begin_layout Standard
1312
1313 \family roman
1314 \series medium
1315 \shape up
1316 \size normal
1317 \emph off
1318 \bar no
1319 \noun off
1320 \color none
1321 1
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 2
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 3
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 A
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">
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 B
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 <row topline="true" bottomline="true">
1440 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1441 \begin_inset Text
1442
1443 \begin_layout Standard
1444
1445 \family roman
1446 \series medium
1447 \shape up
1448 \size normal
1449 \emph off
1450 \bar no
1451 \noun off
1452 \color none
1453 C
1454 \end_layout
1455
1456 \end_inset
1457 </cell>
1458 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1459 \begin_inset Text
1460
1461 \begin_layout Standard
1462
1463 \end_layout
1464
1465 \end_inset
1466 </cell>
1467 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1468 \begin_inset Text
1469
1470 \begin_layout Standard
1471
1472 \end_layout
1473
1474 \end_inset
1475 </cell>
1476 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1477 \begin_inset Text
1478
1479 \begin_layout Standard
1480
1481 \end_layout
1482
1483 \end_inset
1484 </cell>
1485 </row>
1486 </lyxtabular>
1487
1488 \end_inset
1489
1490
1491 \end_layout
1492
1493 \begin_layout Section
1494 Table Dialog
1495 \begin_inset LatexCommand index
1496 name "Table ! Dialog"
1497
1498 \end_inset
1499
1500
1501 \end_layout
1502
1503 \begin_layout Standard
1504 You can alter a table by clicking on it with the right mouse button, which
1505  brings up the table dialog.
1506  Here you can adjust the settings of that cell and row/column respectively
1507  where the cursor is currently placed.
1508  Most of the dialog options also work on selections.
1509  This means if you select more cells, columns or rows, the action is done
1510  for the whole selection.
1511  Note that there is a difference between selecting the 
1512 \emph on
1513 contents
1514 \emph default
1515  of the cell, and the cell itself.
1516  You can alter tables with the following tabs of the table dialog:
1517 \end_layout
1518
1519 \begin_layout Description
1520
1521 \family sans
1522 Table\InsetSpace ~
1523 Settings
1524 \family default
1525  Here you can set the horizontal alignment for the current row and the width
1526  of the current column.
1527  When you have set a width you can also adjust the vertical alignment of
1528  the current column.
1529  A given width will allow the cell to have line breaks and multiple paragraphs
1530  of text, see section\InsetSpace ~
1531
1532 \begin_inset LatexCommand ref
1533 reference "sub:Multiple-Lines-in"
1534
1535 \end_inset
1536
1537 .
1538  If you set no width, the column is as wide as their widest cell content
1539  is.
1540 \newline
1541 Furthermore, you can mark one or multiple cells of one row as a multicolumn
1542  cell, see section\InsetSpace ~
1543
1544 \begin_inset LatexCommand ref
1545 reference "sub:Multicolumns"
1546
1547 \end_inset
1548
1549 .
1550 \newline
1551 The rotate check boxes rotates the current cell, a selection, or the whole
1552  table counter-clockwise by 90°.
1553  The rotation is not shown within LyX, only in the output.
1554 \newline
1555
1556 \begin_inset Note Greyedout
1557 status open
1558
1559 \begin_layout Standard
1560
1561 \series bold
1562 Note:
1563 \series default
1564  Not all DVI-viewers are able to display rotations.
1565 \end_layout
1566
1567 \end_inset
1568
1569
1570 \newline
1571 It is also possible to enter a LaTeX-argument which is needed for special
1572  table formattings, see section\InsetSpace ~
1573
1574 \begin_inset LatexCommand ref
1575 reference "sub:Multicolumn-Calculations"
1576
1577 \end_inset
1578
1579  and 
1580 \begin_inset LatexCommand ref
1581 reference "sec:Colored-Tables"
1582
1583 \end_inset
1584
1585 .
1586 \end_layout
1587
1588 \begin_layout Description
1589
1590 \family sans
1591 Borders
1592 \family default
1593  In this tab you can add and delete border lines for the current row/column.
1594 \newline
1595 Using
1596  the style option 
1597 \family sans
1598 Formal
1599 \family default
1600  will convert the table to a formal table as described in section\InsetSpace ~
1601
1602 \begin_inset LatexCommand ref
1603 reference "sec:Formal-Tables"
1604
1605 \end_inset
1606
1607 .
1608 \newline
1609 You can also add here space to table rows as decribed in section\InsetSpace ~
1610
1611 \begin_inset LatexCommand ref
1612 reference "sub:Row-Spacing"
1613
1614 \end_inset
1615
1616 .
1617 \end_layout
1618
1619 \begin_layout Description
1620
1621 \family sans
1622 Longtable
1623 \family default
1624  This tab is to make a table a so called 
1625 \begin_inset Quotes eld
1626 \end_inset
1627
1628
1629 \emph on
1630 longtable
1631 \emph default
1632
1633 \begin_inset Quotes erd
1634 \end_inset
1635
1636  that can run over several pages.
1637  Section\InsetSpace ~
1638
1639 \begin_inset LatexCommand ref
1640 reference "sec:Longtables"
1641
1642 \end_inset
1643
1644  and 
1645 \begin_inset LatexCommand ref
1646 reference "sec:Special-Longtable-Issues"
1647
1648 \end_inset
1649
1650  describe the longtable features in detail.
1651 \end_layout
1652
1653 \begin_layout Standard
1654 When the table toolbar is opened, you can move the cursor with the arrow
1655  keys from cell to cell and the property of the current cell will immediately
1656  be displayed in the dialog.
1657 \end_layout
1658
1659 \begin_layout Section
1660 Table Toolbar
1661 \begin_inset LatexCommand index
1662 name "Table ! Toolbar"
1663
1664 \end_inset
1665
1666
1667 \end_layout
1668
1669 \begin_layout Standard
1670 The table toolbar is an alternative to the table dialog to be able to alter
1671  tables faster.
1672  It should normally appear at the bottom of LyX's main window when the cursor
1673  is inside a table.
1674  You can alternatively switch it on to appear always, by right-clicking
1675  in LyX's main menu bar.
1676 \end_layout
1677
1678 \begin_layout Standard
1679 The toolbar has the following icons:
1680 \end_layout
1681
1682 \begin_layout Labeling
1683 \labelwidthstring 00.00.0000
1684 \begin_inset Graphics
1685         filename ../images/tabular-feature_append-row.xpm
1686
1687 \end_inset
1688
1689  adds a row below the current cell or selection
1690 \end_layout
1691
1692 \begin_layout Labeling
1693 \labelwidthstring 00.00.0000
1694 \begin_inset Graphics
1695         filename ../images/tabular-feature_append-column.xpm
1696
1697 \end_inset
1698
1699  adds a column right beside the current cell or selection
1700 \end_layout
1701
1702 \begin_layout Labeling
1703 \labelwidthstring 00.00.0000
1704 \begin_inset Graphics
1705         filename ../images/tabular-feature_delete-row.xpm
1706
1707 \end_inset
1708
1709  deletes the current row or selection
1710 \end_layout
1711
1712 \begin_layout Labeling
1713 \labelwidthstring 00.00.0000
1714 \begin_inset Graphics
1715         filename ../images/tabular-feature_delete-column.xpm
1716
1717 \end_inset
1718
1719  deletes the current column or selection
1720 \end_layout
1721
1722 \begin_layout Labeling
1723 \labelwidthstring 00.00.0000
1724 \begin_inset Graphics
1725         filename ../images/tabular-feature_toggle-line-top.xpm
1726
1727 \end_inset
1728
1729  adds a line at the top of the current cell / row or of a selection
1730 \end_layout
1731
1732 \begin_layout Labeling
1733 \labelwidthstring 00.00.0000
1734 \begin_inset Graphics
1735         filename ../images/tabular-feature_toggle-line-bottom.xpm
1736
1737 \end_inset
1738
1739  adds a line at the bottom of the current cell / row or of a selection
1740 \end_layout
1741
1742 \begin_layout Labeling
1743 \labelwidthstring 00.00.0000
1744 \begin_inset Graphics
1745         filename ../images/tabular-feature_toggle-line-left.xpm
1746
1747 \end_inset
1748
1749  adds a line at the left side of the current cell / row or of a selection
1750 \end_layout
1751
1752 \begin_layout Labeling
1753 \labelwidthstring 00.00.0000
1754 \begin_inset Graphics
1755         filename ../images/tabular-feature_toggle-line-right.xpm
1756
1757 \end_inset
1758
1759  adds a line at the right side of the current cell / row or of a selection
1760 \end_layout
1761
1762 \begin_layout Labeling
1763 \labelwidthstring 00.00.0000
1764 \begin_inset Graphics
1765         filename ../images/tabular-feature_set-all-lines.xpm
1766
1767 \end_inset
1768
1769  adds lines around the current or selected cells - if the current cell no
1770  multicolumn this also affects the current row and column
1771 \end_layout
1772
1773 \begin_layout Labeling
1774 \labelwidthstring 00.00.0000
1775 \begin_inset Graphics
1776         filename ../images/tabular-feature_unset-all-lines.xpm
1777
1778 \end_inset
1779
1780  deletes all lines of the current or selected cells - if the current cell
1781  no multicolumn this also affects the current row and column
1782 \end_layout
1783
1784 \begin_layout Labeling
1785 \labelwidthstring 00.00.0000
1786 \begin_inset Graphics
1787         filename ../images/tabular-feature_align-left.xpm
1788
1789 \end_inset
1790
1791  left-aligns the content of the current cell / column
1792 \end_layout
1793
1794 \begin_layout Labeling
1795 \labelwidthstring 00.00.0000
1796 \begin_inset Graphics
1797         filename ../images/tabular-feature_align-center.xpm
1798
1799 \end_inset
1800
1801  centers the content of the current cell / column horizontally
1802 \end_layout
1803
1804 \begin_layout Labeling
1805 \labelwidthstring 00.00.0000
1806 \begin_inset Graphics
1807         filename ../images/tabular-feature_align-right.xpm
1808
1809 \end_inset
1810
1811  right-aligns the content of the current cell / column
1812 \end_layout
1813
1814 \begin_layout Labeling
1815 \labelwidthstring 00.00.0000
1816 \begin_inset Graphics
1817         filename ../images/tabular-feature_valign-top.xpm
1818
1819 \end_inset
1820
1821  aligns the content of the current cell vertically to the top
1822 \end_layout
1823
1824 \begin_layout Labeling
1825 \labelwidthstring 00.00.0000
1826 \begin_inset Graphics
1827         filename ../images/tabular-feature_valign-middle.xpm
1828
1829 \end_inset
1830
1831  centers the content of the current cell vertically
1832 \end_layout
1833
1834 \begin_layout Labeling
1835 \labelwidthstring 00.00.0000
1836 \begin_inset Graphics
1837         filename ../images/tabular-feature_valign-bottom.xpm
1838
1839 \end_inset
1840
1841  aligns the content of the current cell vertically to the bottom
1842 \end_layout
1843
1844 \begin_layout Labeling
1845 \labelwidthstring 00.00.0000
1846 \begin_inset Graphics
1847         filename ../images/tabular-feature_set-rotate-cell.xpm
1848
1849 \end_inset
1850
1851  rotates the current cell or selection counter-clockwise by 90°
1852 \end_layout
1853
1854 \begin_layout Labeling
1855 \labelwidthstring 00.00.0000
1856 \begin_inset Graphics
1857         filename ../images/tabular-feature_set-rotate-tabular.xpm
1858
1859 \end_inset
1860
1861  rotates the whole table counter-clockwise by 90°
1862 \end_layout
1863
1864 \begin_layout Labeling
1865 \labelwidthstring 00.00.0000
1866 \begin_inset Graphics
1867         filename ../images/tabular-feature_multicolumn.xpm
1868
1869 \end_inset
1870
1871  sets the current cell or selection as a multicolumn
1872 \end_layout
1873
1874 \begin_layout Section
1875 Edit Table Menu
1876 \begin_inset LatexCommand index
1877 name "Table ! Edit Menu"
1878
1879 \end_inset
1880
1881
1882 \end_layout
1883
1884 \begin_layout Standard
1885 Additionally to the table dialog and toolbar, the menu 
1886 \family sans
1887 Edit\SpecialChar \menuseparator
1888 Table
1889 \family default
1890  allows you to add and delete border lines for the current row/column and
1891  to set the current selection as multicolumn.
1892  The menu is only available when the cursor is inside a table.
1893 \end_layout
1894
1895 \begin_layout Section
1896 Table Floats
1897 \begin_inset LatexCommand label
1898 name "sec:Table-Floats"
1899
1900 \end_inset
1901
1902
1903 \begin_inset LatexCommand index
1904 name "Floats ! Tables"
1905
1906 \end_inset
1907
1908
1909 \begin_inset LatexCommand index
1910 name "Table ! Floats"
1911
1912 \end_inset
1913
1914
1915 \end_layout
1916
1917 \begin_layout Standard
1918 For general explanations about floats, have a look at section\InsetSpace ~
1919
1920 \begin_inset LatexCommand ref
1921 reference "sec:FloatIntroduction"
1922
1923 \end_inset
1924
1925 .
1926 \end_layout
1927
1928 \begin_layout Standard
1929 \begin_inset Float table
1930 placement h
1931 wide false
1932 sideways false
1933 status open
1934
1935 \begin_layout Standard
1936 \begin_inset Caption
1937
1938 \begin_layout Standard
1939 \begin_inset LatexCommand label
1940 name "tab:a table float"
1941
1942 \end_inset
1943
1944 A table float.
1945 \end_layout
1946
1947 \end_inset
1948
1949
1950 \end_layout
1951
1952 \begin_layout Standard
1953 \align center
1954 \begin_inset Tabular
1955 <lyxtabular version="3" rows="3" columns="3">
1956 <features>
1957 <column alignment="center" valignment="top" leftline="true" width="0pt">
1958 <column alignment="center" valignment="top" leftline="true" width="0pt">
1959 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
1960 <row topline="true" bottomline="true">
1961 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1962 \begin_inset Text
1963
1964 \begin_layout Standard
1965
1966 \family roman
1967 \series medium
1968 \shape up
1969 \size normal
1970 \emph off
1971 \bar no
1972 \noun off
1973 \color none
1974 1
1975 \end_layout
1976
1977 \end_inset
1978 </cell>
1979 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1980 \begin_inset Text
1981
1982 \begin_layout Standard
1983
1984 \family roman
1985 \series medium
1986 \shape up
1987 \size normal
1988 \emph off
1989 \bar no
1990 \noun off
1991 \color none
1992 2
1993 \end_layout
1994
1995 \end_inset
1996 </cell>
1997 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1998 \begin_inset Text
1999
2000 \begin_layout Standard
2001
2002 \family roman
2003 \series medium
2004 \shape up
2005 \size normal
2006 \emph off
2007 \bar no
2008 \noun off
2009 \color none
2010 3
2011 \end_layout
2012
2013 \end_inset
2014 </cell>
2015 </row>
2016 <row topline="true">
2017 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2018 \begin_inset Text
2019
2020 \begin_layout Standard
2021
2022 \family roman
2023 \series medium
2024 \shape up
2025 \size normal
2026 \emph off
2027 \bar no
2028 \noun off
2029 \color none
2030 Joe
2031 \end_layout
2032
2033 \end_inset
2034 </cell>
2035 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2036 \begin_inset Text
2037
2038 \begin_layout Standard
2039
2040 \family roman
2041 \series medium
2042 \shape up
2043 \size normal
2044 \emph off
2045 \bar no
2046 \noun off
2047 \color none
2048 Mary
2049 \end_layout
2050
2051 \end_inset
2052 </cell>
2053 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2054 \begin_inset Text
2055
2056 \begin_layout Standard
2057
2058 \family roman
2059 \series medium
2060 \shape up
2061 \size normal
2062 \emph off
2063 \bar no
2064 \noun off
2065 \color none
2066 Ted
2067 \end_layout
2068
2069 \end_inset
2070 </cell>
2071 </row>
2072 <row topline="true" bottomline="true">
2073 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2074 \begin_inset Text
2075
2076 \begin_layout Standard
2077
2078 \family roman
2079 \series medium
2080 \shape up
2081 \size normal
2082 \emph off
2083 \bar no
2084 \noun off
2085 \color none
2086 \begin_inset Formula $\int x^{2}dx$
2087 \end_inset
2088
2089
2090 \end_layout
2091
2092 \end_inset
2093 </cell>
2094 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2095 \begin_inset Text
2096
2097 \begin_layout Standard
2098
2099 \family roman
2100 \series medium
2101 \shape up
2102 \size normal
2103 \emph off
2104 \bar no
2105 \noun off
2106 \color none
2107 \begin_inset Formula $\left[\begin{array}{cc}
2108 a & b\\
2109 c & d\end{array}\right]$
2110 \end_inset
2111
2112
2113 \end_layout
2114
2115 \end_inset
2116 </cell>
2117 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2118 \begin_inset Text
2119
2120 \begin_layout Standard
2121
2122 \family roman
2123 \series medium
2124 \shape up
2125 \size normal
2126 \emph off
2127 \bar no
2128 \noun off
2129 \color none
2130 \begin_inset Formula $1+1=2$
2131 \end_inset
2132
2133
2134 \end_layout
2135
2136 \end_inset
2137 </cell>
2138 </row>
2139 </lyxtabular>
2140
2141 \end_inset
2142
2143
2144 \end_layout
2145
2146 \end_inset
2147
2148
2149 \end_layout
2150
2151 \begin_layout Standard
2152 Table floats can be inserted using the menu 
2153 \family sans
2154 Insert\SpecialChar \menuseparator
2155 Float\SpecialChar \menuseparator
2156 Table
2157 \family default
2158  or the toolbar button 
2159 \begin_inset Graphics
2160         filename ../images/float-insert_table.xpm
2161         scale 85
2162
2163 \end_inset
2164
2165 .
2166 \end_layout
2167
2168 \begin_layout Standard
2169 The float appears as a collapsible box with a caption that has the label
2170  
2171 \begin_inset Quotes eld
2172 \end_inset
2173
2174 Table\InsetSpace ~
2175 #:
2176 \begin_inset Quotes erd
2177 \end_inset
2178
2179  (# is the actual table number).
2180  You can insert tables to the float above or below the caption.
2181 \end_layout
2182
2183 \begin_layout Standard
2184 Table\InsetSpace ~
2185
2186 \begin_inset LatexCommand ref
2187 reference "tab:a table float"
2188
2189 \end_inset
2190
2191  is an example table within a table float.
2192 \end_layout
2193
2194 \begin_layout Standard
2195 Having the caption above the table is the common rule that is unfortunately
2196  not supported in LaTeX's standard classes.
2197  That means if you are using the document classes 
2198 \family sans
2199 article
2200 \family default
2201
2202 \family sans
2203 book
2204 \family default
2205
2206 \family sans
2207 letter
2208 \family default
2209 , or 
2210 \family sans
2211 report
2212 \family default
2213  there will be no space between the caption and the table.
2214  To insert the needed space, add the following option to the load command
2215  of the LaTeX-package 
2216 \series bold
2217 caption
2218 \series default
2219
2220 \begin_inset LatexCommand index
2221 name "LaTeX-packages ! caption"
2222
2223 \end_inset
2224
2225  in your document preamble
2226 \begin_inset Foot
2227 status collapsed
2228
2229 \begin_layout Standard
2230 For more information have a look at section\InsetSpace ~
2231
2232 \begin_inset LatexCommand ref
2233 reference "sec:Caption-Placement"
2234
2235 \end_inset
2236
2237 .
2238 \end_layout
2239
2240 \end_inset
2241
2242 :
2243 \end_layout
2244
2245 \begin_layout Standard
2246
2247 \series bold
2248 tableposition=top
2249 \end_layout
2250
2251 \begin_layout Standard
2252 The package 
2253 \series bold
2254 caption
2255 \series default
2256 , which is described in section\InsetSpace ~
2257
2258 \begin_inset LatexCommand ref
2259 reference "sec:Caption-Formatting"
2260
2261 \end_inset
2262
2263 , is used to adjust the caption format.
2264 \end_layout
2265
2266 \begin_layout Standard
2267 \begin_inset LatexCommand index
2268 name "References ! to Tables"
2269
2270 \end_inset
2271
2272 Tables can be cross-referenced in the text by referencing their label.
2273  To do this insert a label in the caption using the menu 
2274 \family sans
2275 Insert\SpecialChar \menuseparator
2276 Label
2277 \family default
2278  or the toolbar button 
2279 \begin_inset Graphics
2280         filename ../images/label-insert.xpm
2281         scale 85
2282
2283 \end_inset
2284
2285 .
2286  You can now refer to the label using the menu 
2287 \family sans
2288 Insert\SpecialChar \menuseparator
2289 Cross\InsetSpace ~
2290 reference
2291 \family default
2292  or the toolbar button 
2293 \begin_inset Graphics
2294         filename ../images/dialog-show-new-inset_ref.xpm
2295         scale 85
2296
2297 \end_inset
2298
2299 .
2300 \newline
2301 Referencing is explained in detail in section\InsetSpace ~
2302
2303 \begin_inset LatexCommand ref
2304 reference "sec:Referencing-Floats"
2305
2306 \end_inset
2307
2308 .
2309 \end_layout
2310
2311 \begin_layout Section
2312 Longtables
2313 \begin_inset LatexCommand label
2314 name "sec:Longtables"
2315
2316 \end_inset
2317
2318
2319 \begin_inset LatexCommand index
2320 name "Longtables"
2321
2322 \end_inset
2323
2324
2325 \begin_inset LatexCommand index
2326 name "Table ! Longtables"
2327
2328 \end_inset
2329
2330
2331 \end_layout
2332
2333 \begin_layout Standard
2334 If the table is too long to fit on one page, you can use the option 
2335 \family sans
2336 Use\InsetSpace ~
2337 long\InsetSpace ~
2338 table
2339 \family default
2340  in the tab 
2341 \family sans
2342 Longtable
2343 \family default
2344  of the table dialog to split the table automatically over more pages.
2345  Doing this enables some check boxes and you can now define:
2346 \end_layout
2347
2348 \begin_layout Description
2349
2350 \family sans
2351 Header
2352 \family default
2353 : The current row and all rows above, that don't have any special options
2354  defined, are defined to be the header rows of all pages of the longtable;
2355  except for the first page, if 
2356 \family sans
2357 First\InsetSpace ~
2358 header
2359 \family default
2360  is defined.
2361  This therefore called the main header.
2362 \end_layout
2363
2364 \begin_layout Description
2365
2366 \family sans
2367 First\InsetSpace ~
2368 header
2369 \family default
2370 : The current row and all rows above, that don't have any special options
2371  defined, are defined to be the header rows of the first page of the longtable.
2372 \end_layout
2373
2374 \begin_layout Description
2375
2376 \family sans
2377 Footer
2378 \family default
2379 : The current row and all rows below, that don't have any special options
2380  defined, are defined to be the footer rows of all pages of the longtable;
2381  except for the last page, if 
2382 \family sans
2383 Last\InsetSpace ~
2384 footer
2385 \family default
2386  is defined.
2387 \end_layout
2388
2389 \begin_layout Description
2390
2391 \family sans
2392 Last\InsetSpace ~
2393 footer
2394 \family default
2395 : The current row and all rows below, that don't have any special options
2396  defined, are defined to be the footer rows of the last page of the longtable.
2397 \end_layout
2398
2399 \begin_layout Standard
2400 You can also specify a row where the table is splitted.
2401  If you set more than one option in the same table row, you should be aware
2402  of the fact that only the first one is used in the given table row.
2403  The others will then be defined as 
2404 \emph on
2405 empty
2406 \emph default
2407 .
2408  In this context, first means first in this order: 
2409 \family sans
2410 Footer, Last\InsetSpace ~
2411 footer,
2412 \family default
2413  
2414 \family sans
2415 Header,
2416 \family default
2417  
2418 \family sans
2419 First\InsetSpace ~
2420 header.
2421
2422 \family default
2423  See the following longtable to see how it works:
2424 \end_layout
2425
2426 \begin_layout Standard
2427 \align center
2428 \begin_inset Tabular
2429 <lyxtabular version="3" rows="69" columns="3">
2430 <features islongtable="true">
2431 <column alignment="left" valignment="top" leftline="true" width="0cm">
2432 <column alignment="left" valignment="top" width="0pt">
2433 <column alignment="right" valignment="top" leftline="true" rightline="true" width="0pt">
2434 <row topline="true" bottomline="true" endfirsthead="true">
2435 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2436 \begin_inset Text
2437
2438 \begin_layout Standard
2439
2440 \series bold
2441 Example Phone List (ignore the names)
2442 \end_layout
2443
2444 \end_inset
2445 </cell>
2446 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2447 \begin_inset Text
2448
2449 \begin_layout Standard
2450
2451 \end_layout
2452
2453 \end_inset
2454 </cell>
2455 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2456 \begin_inset Text
2457
2458 \begin_layout Standard
2459
2460 \end_layout
2461
2462 \end_inset
2463 </cell>
2464 </row>
2465 <row topline="true" bottomline="true" endfirsthead="true">
2466 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2467 \begin_inset Text
2468
2469 \begin_layout Standard
2470
2471 \series bold
2472 NAME
2473 \end_layout
2474
2475 \end_inset
2476 </cell>
2477 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2478 \begin_inset Text
2479
2480 \begin_layout Standard
2481
2482 \end_layout
2483
2484 \end_inset
2485 </cell>
2486 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2487 \begin_inset Text
2488
2489 \begin_layout Standard
2490
2491 \series bold
2492 TEL.
2493 \end_layout
2494
2495 \end_inset
2496 </cell>
2497 </row>
2498 <row topline="true" bottomline="true" endhead="true">
2499 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2500 \begin_inset Text
2501
2502 \begin_layout Standard
2503
2504 \series bold
2505 Example Phone List
2506 \end_layout
2507
2508 \end_inset
2509 </cell>
2510 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2511 \begin_inset Text
2512
2513 \begin_layout Standard
2514
2515 \end_layout
2516
2517 \end_inset
2518 </cell>
2519 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2520 \begin_inset Text
2521
2522 \begin_layout Standard
2523
2524 \end_layout
2525
2526 \end_inset
2527 </cell>
2528 </row>
2529 <row topline="true" bottomline="true" endhead="true">
2530 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2531 \begin_inset Text
2532
2533 \begin_layout Standard
2534
2535 \series bold
2536 NAME
2537 \end_layout
2538
2539 \end_inset
2540 </cell>
2541 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2542 \begin_inset Text
2543
2544 \begin_layout Standard
2545
2546 \end_layout
2547
2548 \end_inset
2549 </cell>
2550 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2551 \begin_inset Text
2552
2553 \begin_layout Standard
2554
2555 \series bold
2556 TEL.
2557 \end_layout
2558
2559 \end_inset
2560 </cell>
2561 </row>
2562 <row topline="true" bottomline="true" endfoot="true">
2563 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
2564 \begin_inset Text
2565
2566 \begin_layout Standard
2567  continued on next page
2568 \end_layout
2569
2570 \end_inset
2571 </cell>
2572 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2573 \begin_inset Text
2574
2575 \begin_layout Standard
2576
2577 \end_layout
2578
2579 \end_inset
2580 </cell>
2581 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2582 \begin_inset Text
2583
2584 \begin_layout Standard
2585
2586 \end_layout
2587
2588 \end_inset
2589 </cell>
2590 </row>
2591 <row>
2592 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2593 \begin_inset Text
2594
2595 \begin_layout Standard
2596
2597 \series bold
2598 Annovi
2599 \end_layout
2600
2601 \end_inset
2602 </cell>
2603 <cell alignment="center" valignment="top" topline="true" usebox="none">
2604 \begin_inset Text
2605
2606 \begin_layout Standard
2607 Silvia
2608 \end_layout
2609
2610 \end_inset
2611 </cell>
2612 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2613 \begin_inset Text
2614
2615 \begin_layout Standard
2616 111
2617 \end_layout
2618
2619 \end_inset
2620 </cell>
2621 </row>
2622 <row>
2623 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2624 \begin_inset Text
2625
2626 \begin_layout Standard
2627
2628 \series bold
2629 Bertoli
2630 \end_layout
2631
2632 \end_inset
2633 </cell>
2634 <cell alignment="center" valignment="top" topline="true" usebox="none">
2635 \begin_inset Text
2636
2637 \begin_layout Standard
2638 Stefano
2639 \end_layout
2640
2641 \end_inset
2642 </cell>
2643 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2644 \begin_inset Text
2645
2646 \begin_layout Standard
2647 111
2648 \end_layout
2649
2650 \end_inset
2651 </cell>
2652 </row>
2653 <row>
2654 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2655 \begin_inset Text
2656
2657 \begin_layout Standard
2658
2659 \series bold
2660 Bozzi
2661 \end_layout
2662
2663 \end_inset
2664 </cell>
2665 <cell alignment="center" valignment="top" topline="true" usebox="none">
2666 \begin_inset Text
2667
2668 \begin_layout Standard
2669 Walter
2670 \end_layout
2671
2672 \end_inset
2673 </cell>
2674 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2675 \begin_inset Text
2676
2677 \begin_layout Standard
2678 111
2679 \end_layout
2680
2681 \end_inset
2682 </cell>
2683 </row>
2684 <row>
2685 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2686 \begin_inset Text
2687
2688 \begin_layout Standard
2689
2690 \series bold
2691 Cachia
2692 \end_layout
2693
2694 \end_inset
2695 </cell>
2696 <cell alignment="center" valignment="top" topline="true" usebox="none">
2697 \begin_inset Text
2698
2699 \begin_layout Standard
2700 Maria
2701 \end_layout
2702
2703 \end_inset
2704 </cell>
2705 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2706 \begin_inset Text
2707
2708 \begin_layout Standard
2709 111
2710 \end_layout
2711
2712 \end_inset
2713 </cell>
2714 </row>
2715 <row>
2716 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2717 \begin_inset Text
2718
2719 \begin_layout Standard
2720
2721 \series bold
2722 Cachia
2723 \end_layout
2724
2725 \end_inset
2726 </cell>
2727 <cell alignment="center" valignment="top" topline="true" usebox="none">
2728 \begin_inset Text
2729
2730 \begin_layout Standard
2731 Maurizio
2732 \end_layout
2733
2734 \end_inset
2735 </cell>
2736 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2737 \begin_inset Text
2738
2739 \begin_layout Standard
2740 111
2741 \end_layout
2742
2743 \end_inset
2744 </cell>
2745 </row>
2746 <row>
2747 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2748 \begin_inset Text
2749
2750 \begin_layout Standard
2751
2752 \series bold
2753 Cinquemani
2754 \end_layout
2755
2756 \end_inset
2757 </cell>
2758 <cell alignment="center" valignment="top" topline="true" usebox="none">
2759 \begin_inset Text
2760
2761 \begin_layout Standard
2762 Giusi
2763 \end_layout
2764
2765 \end_inset
2766 </cell>
2767 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2768 \begin_inset Text
2769
2770 \begin_layout Standard
2771 111
2772 \end_layout
2773
2774 \end_inset
2775 </cell>
2776 </row>
2777 <row>
2778 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2779 \begin_inset Text
2780
2781 \begin_layout Standard
2782
2783 \series bold
2784 Colin
2785 \end_layout
2786
2787 \end_inset
2788 </cell>
2789 <cell alignment="center" valignment="top" topline="true" usebox="none">
2790 \begin_inset Text
2791
2792 \begin_layout Standard
2793 Bernard
2794 \end_layout
2795
2796 \end_inset
2797 </cell>
2798 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2799 \begin_inset Text
2800
2801 \begin_layout Standard
2802 111
2803 \end_layout
2804
2805 \end_inset
2806 </cell>
2807 </row>
2808 <row>
2809 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2810 \begin_inset Text
2811
2812 \begin_layout Standard
2813
2814 \series bold
2815 Concli
2816 \end_layout
2817
2818 \end_inset
2819 </cell>
2820 <cell alignment="center" valignment="top" topline="true" usebox="none">
2821 \begin_inset Text
2822
2823 \begin_layout Standard
2824 Gianfranco
2825 \end_layout
2826
2827 \end_inset
2828 </cell>
2829 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2830 \begin_inset Text
2831
2832 \begin_layout Standard
2833 111
2834 \end_layout
2835
2836 \end_inset
2837 </cell>
2838 </row>
2839 <row>
2840 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2841 \begin_inset Text
2842
2843 \begin_layout Standard
2844
2845 \series bold
2846 Dal Bosco
2847 \end_layout
2848
2849 \end_inset
2850 </cell>
2851 <cell alignment="center" valignment="top" topline="true" usebox="none">
2852 \begin_inset Text
2853
2854 \begin_layout Standard
2855 Carolina
2856 \end_layout
2857
2858 \end_inset
2859 </cell>
2860 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2861 \begin_inset Text
2862
2863 \begin_layout Standard
2864 111
2865 \end_layout
2866
2867 \end_inset
2868 </cell>
2869 </row>
2870 <row>
2871 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2872 \begin_inset Text
2873
2874 \begin_layout Standard
2875
2876 \series bold
2877 Dalpiaz
2878 \end_layout
2879
2880 \end_inset
2881 </cell>
2882 <cell alignment="center" valignment="top" topline="true" usebox="none">
2883 \begin_inset Text
2884
2885 \begin_layout Standard
2886 Annamaria
2887 \end_layout
2888
2889 \end_inset
2890 </cell>
2891 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2892 \begin_inset Text
2893
2894 \begin_layout Standard
2895 111
2896 \end_layout
2897
2898 \end_inset
2899 </cell>
2900 </row>
2901 <row>
2902 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2903 \begin_inset Text
2904
2905 \begin_layout Standard
2906
2907 \series bold
2908 Feliciello
2909 \end_layout
2910
2911 \end_inset
2912 </cell>
2913 <cell alignment="center" valignment="top" topline="true" usebox="none">
2914 \begin_inset Text
2915
2916 \begin_layout Standard
2917 Domenico
2918 \end_layout
2919
2920 \end_inset
2921 </cell>
2922 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2923 \begin_inset Text
2924
2925 \begin_layout Standard
2926 111
2927 \end_layout
2928
2929 \end_inset
2930 </cell>
2931 </row>
2932 <row>
2933 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2934 \begin_inset Text
2935
2936 \begin_layout Standard
2937
2938 \series bold
2939 Focarelli
2940 \end_layout
2941
2942 \end_inset
2943 </cell>
2944 <cell alignment="center" valignment="top" topline="true" usebox="none">
2945 \begin_inset Text
2946
2947 \begin_layout Standard
2948 Paola
2949 \end_layout
2950
2951 \end_inset
2952 </cell>
2953 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2954 \begin_inset Text
2955
2956 \begin_layout Standard
2957 111
2958 \end_layout
2959
2960 \end_inset
2961 </cell>
2962 </row>
2963 <row>
2964 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2965 \begin_inset Text
2966
2967 \begin_layout Standard
2968
2969 \series bold
2970 Galletti
2971 \end_layout
2972
2973 \end_inset
2974 </cell>
2975 <cell alignment="center" valignment="top" topline="true" usebox="none">
2976 \begin_inset Text
2977
2978 \begin_layout Standard
2979 Oreste
2980 \end_layout
2981
2982 \end_inset
2983 </cell>
2984 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2985 \begin_inset Text
2986
2987 \begin_layout Standard
2988 111
2989 \end_layout
2990
2991 \end_inset
2992 </cell>
2993 </row>
2994 <row>
2995 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2996 \begin_inset Text
2997
2998 \begin_layout Standard
2999
3000 \series bold
3001 Gasparini
3002 \end_layout
3003
3004 \end_inset
3005 </cell>
3006 <cell alignment="center" valignment="top" topline="true" usebox="none">
3007 \begin_inset Text
3008
3009 \begin_layout Standard
3010 Franca
3011 \end_layout
3012
3013 \end_inset
3014 </cell>
3015 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3016 \begin_inset Text
3017
3018 \begin_layout Standard
3019 111
3020 \end_layout
3021
3022 \end_inset
3023 </cell>
3024 </row>
3025 <row>
3026 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3027 \begin_inset Text
3028
3029 \begin_layout Standard
3030
3031 \series bold
3032 Rizzardi
3033 \end_layout
3034
3035 \end_inset
3036 </cell>
3037 <cell alignment="center" valignment="top" topline="true" usebox="none">
3038 \begin_inset Text
3039
3040 \begin_layout Standard
3041 Paola
3042 \end_layout
3043
3044 \end_inset
3045 </cell>
3046 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3047 \begin_inset Text
3048
3049 \begin_layout Standard
3050 111
3051 \end_layout
3052
3053 \end_inset
3054 </cell>
3055 </row>
3056 <row>
3057 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3058 \begin_inset Text
3059
3060 \begin_layout Standard
3061
3062 \series bold
3063 Lassini
3064 \end_layout
3065
3066 \end_inset
3067 </cell>
3068 <cell alignment="center" valignment="top" topline="true" usebox="none">
3069 \begin_inset Text
3070
3071 \begin_layout Standard
3072 Giancarlo
3073 \end_layout
3074
3075 \end_inset
3076 </cell>
3077 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3078 \begin_inset Text
3079
3080 \begin_layout Standard
3081 111
3082 \end_layout
3083
3084 \end_inset
3085 </cell>
3086 </row>
3087 <row>
3088 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3089 \begin_inset Text
3090
3091 \begin_layout Standard
3092
3093 \series bold
3094 Malfatti
3095 \end_layout
3096
3097 \end_inset
3098 </cell>
3099 <cell alignment="center" valignment="top" topline="true" usebox="none">
3100 \begin_inset Text
3101
3102 \begin_layout Standard
3103 Luciano
3104 \end_layout
3105
3106 \end_inset
3107 </cell>
3108 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3109 \begin_inset Text
3110
3111 \begin_layout Standard
3112 111
3113 \end_layout
3114
3115 \end_inset
3116 </cell>
3117 </row>
3118 <row>
3119 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3120 \begin_inset Text
3121
3122 \begin_layout Standard
3123
3124 \series bold
3125 Malfatti
3126 \end_layout
3127
3128 \end_inset
3129 </cell>
3130 <cell alignment="center" valignment="top" topline="true" usebox="none">
3131 \begin_inset Text
3132
3133 \begin_layout Standard
3134 Valeriano
3135 \end_layout
3136
3137 \end_inset
3138 </cell>
3139 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3140 \begin_inset Text
3141
3142 \begin_layout Standard
3143 111
3144 \end_layout
3145
3146 \end_inset
3147 </cell>
3148 </row>
3149 <row>
3150 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3151 \begin_inset Text
3152
3153 \begin_layout Standard
3154
3155 \series bold
3156 Meneguzzo
3157 \end_layout
3158
3159 \end_inset
3160 </cell>
3161 <cell alignment="center" valignment="top" topline="true" usebox="none">
3162 \begin_inset Text
3163
3164 \begin_layout Standard
3165 Roberto
3166 \end_layout
3167
3168 \end_inset
3169 </cell>
3170 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3171 \begin_inset Text
3172
3173 \begin_layout Standard
3174 111
3175 \end_layout
3176
3177 \end_inset
3178 </cell>
3179 </row>
3180 <row>
3181 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3182 \begin_inset Text
3183
3184 \begin_layout Standard
3185
3186 \series bold
3187 Mezzadra
3188 \end_layout
3189
3190 \end_inset
3191 </cell>
3192 <cell alignment="center" valignment="top" topline="true" usebox="none">
3193 \begin_inset Text
3194
3195 \begin_layout Standard
3196 Roberto
3197 \end_layout
3198
3199 \end_inset
3200 </cell>
3201 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3202 \begin_inset Text
3203
3204 \begin_layout Standard
3205 111
3206 \end_layout
3207
3208 \end_inset
3209 </cell>
3210 </row>
3211 <row>
3212 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3213 \begin_inset Text
3214
3215 \begin_layout Standard
3216
3217 \series bold
3218 Pirpamer
3219 \end_layout
3220
3221 \end_inset
3222 </cell>
3223 <cell alignment="center" valignment="top" topline="true" usebox="none">
3224 \begin_inset Text
3225
3226 \begin_layout Standard
3227 Erich
3228 \end_layout
3229
3230 \end_inset
3231 </cell>
3232 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3233 \begin_inset Text
3234
3235 \begin_layout Standard
3236 111
3237 \end_layout
3238
3239 \end_inset
3240 </cell>
3241 </row>
3242 <row>
3243 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3244 \begin_inset Text
3245
3246 \begin_layout Standard
3247
3248 \series bold
3249 Pochiesa
3250 \end_layout
3251
3252 \end_inset
3253 </cell>
3254 <cell alignment="center" valignment="top" topline="true" usebox="none">
3255 \begin_inset Text
3256
3257 \begin_layout Standard
3258 Paolo
3259 \end_layout
3260
3261 \end_inset
3262 </cell>
3263 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3264 \begin_inset Text
3265
3266 \begin_layout Standard
3267 111, 222
3268 \end_layout
3269
3270 \end_inset
3271 </cell>
3272 </row>
3273 <row>
3274 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3275 \begin_inset Text
3276
3277 \begin_layout Standard
3278
3279 \series bold
3280 Radina
3281 \end_layout
3282
3283 \end_inset
3284 </cell>
3285 <cell alignment="center" valignment="top" topline="true" usebox="none">
3286 \begin_inset Text
3287
3288 \begin_layout Standard
3289 Claudio
3290 \end_layout
3291
3292 \end_inset
3293 </cell>
3294 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3295 \begin_inset Text
3296
3297 \begin_layout Standard
3298 111
3299 \end_layout
3300
3301 \end_inset
3302 </cell>
3303 </row>
3304 <row>
3305 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3306 \begin_inset Text
3307
3308 \begin_layout Standard
3309
3310 \series bold
3311 Stuffer
3312 \end_layout
3313
3314 \end_inset
3315 </cell>
3316 <cell alignment="center" valignment="top" topline="true" usebox="none">
3317 \begin_inset Text
3318
3319 \begin_layout Standard
3320 Oskar
3321 \end_layout
3322
3323 \end_inset
3324 </cell>
3325 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3326 \begin_inset Text
3327
3328 \begin_layout Standard
3329 111
3330 \end_layout
3331
3332 \end_inset
3333 </cell>
3334 </row>
3335 <row>
3336 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3337 \begin_inset Text
3338
3339 \begin_layout Standard
3340
3341 \series bold
3342 Tacchelli
3343 \end_layout
3344
3345 \end_inset
3346 </cell>
3347 <cell alignment="center" valignment="top" topline="true" usebox="none">
3348 \begin_inset Text
3349
3350 \begin_layout Standard
3351 Ugo
3352 \end_layout
3353
3354 \end_inset
3355 </cell>
3356 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3357 \begin_inset Text
3358
3359 \begin_layout Standard
3360 111
3361 \end_layout
3362
3363 \end_inset
3364 </cell>
3365 </row>
3366 <row>
3367 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3368 \begin_inset Text
3369
3370 \begin_layout Standard
3371
3372 \series bold
3373 Tezzele
3374 \end_layout
3375
3376 \end_inset
3377 </cell>
3378 <cell alignment="center" valignment="top" topline="true" usebox="none">
3379 \begin_inset Text
3380
3381 \begin_layout Standard
3382 Margit
3383 \end_layout
3384
3385 \end_inset
3386 </cell>
3387 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3388 \begin_inset Text
3389
3390 \begin_layout Standard
3391 111
3392 \end_layout
3393
3394 \end_inset
3395 </cell>
3396 </row>
3397 <row>
3398 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3399 \begin_inset Text
3400
3401 \begin_layout Standard
3402
3403 \series bold
3404 Unterkalmsteiner
3405 \end_layout
3406
3407 \end_inset
3408 </cell>
3409 <cell alignment="center" valignment="top" topline="true" usebox="none">
3410 \begin_inset Text
3411
3412 \begin_layout Standard
3413 Frieda
3414 \end_layout
3415
3416 \end_inset
3417 </cell>
3418 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3419 \begin_inset Text
3420
3421 \begin_layout Standard
3422 111
3423 \end_layout
3424
3425 \end_inset
3426 </cell>
3427 </row>
3428 <row>
3429 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3430 \begin_inset Text
3431
3432 \begin_layout Standard
3433
3434 \series bold
3435 Vieider
3436 \end_layout
3437
3438 \end_inset
3439 </cell>
3440 <cell alignment="center" valignment="top" topline="true" usebox="none">
3441 \begin_inset Text
3442
3443 \begin_layout Standard
3444 Hilde
3445 \end_layout
3446
3447 \end_inset
3448 </cell>
3449 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3450 \begin_inset Text
3451
3452 \begin_layout Standard
3453 111
3454 \end_layout
3455
3456 \end_inset
3457 </cell>
3458 </row>
3459 <row>
3460 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3461 \begin_inset Text
3462
3463 \begin_layout Standard
3464
3465 \series bold
3466 Vigna
3467 \end_layout
3468
3469 \end_inset
3470 </cell>
3471 <cell alignment="center" valignment="top" topline="true" usebox="none">
3472 \begin_inset Text
3473
3474 \begin_layout Standard
3475 Jürgen
3476 \end_layout
3477
3478 \end_inset
3479 </cell>
3480 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3481 \begin_inset Text
3482
3483 \begin_layout Standard
3484 111
3485 \end_layout
3486
3487 \end_inset
3488 </cell>
3489 </row>
3490 <row>
3491 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3492 \begin_inset Text
3493
3494 \begin_layout Standard
3495
3496 \series bold
3497 Weber
3498 \end_layout
3499
3500 \end_inset
3501 </cell>
3502 <cell alignment="center" valignment="top" topline="true" usebox="none">
3503 \begin_inset Text
3504
3505 \begin_layout Standard
3506 Maurizio
3507 \end_layout
3508
3509 \end_inset
3510 </cell>
3511 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3512 \begin_inset Text
3513
3514 \begin_layout Standard
3515 111
3516 \end_layout
3517
3518 \end_inset
3519 </cell>
3520 </row>
3521 <row bottomline="true">
3522 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3523 \begin_inset Text
3524
3525 \begin_layout Standard
3526
3527 \series bold
3528 Winkler
3529 \end_layout
3530
3531 \end_inset
3532 </cell>
3533 <cell alignment="center" valignment="top" topline="true" usebox="none">
3534 \begin_inset Text
3535
3536 \begin_layout Standard
3537 Franz
3538 \end_layout
3539
3540 \end_inset
3541 </cell>
3542 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3543 \begin_inset Text
3544
3545 \begin_layout Standard
3546 111
3547 \end_layout
3548
3549 \end_inset
3550 </cell>
3551 </row>
3552 <row bottomline="true">
3553 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3554 \begin_inset Text
3555
3556 \begin_layout Standard
3557  
3558 \end_layout
3559
3560 \end_inset
3561 </cell>
3562 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
3563 \begin_inset Text
3564
3565 \begin_layout Standard
3566
3567 \end_layout
3568
3569 \end_inset
3570 </cell>
3571 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3572 \begin_inset Text
3573
3574 \begin_layout Standard
3575
3576 \end_layout
3577
3578 \end_inset
3579 </cell>
3580 </row>
3581 <row>
3582 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3583 \begin_inset Text
3584
3585 \begin_layout Standard
3586
3587 \series bold
3588 Annovi
3589 \end_layout
3590
3591 \end_inset
3592 </cell>
3593 <cell alignment="center" valignment="top" topline="true" usebox="none">
3594 \begin_inset Text
3595
3596 \begin_layout Standard
3597 Silvia
3598 \end_layout
3599
3600 \end_inset
3601 </cell>
3602 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3603 \begin_inset Text
3604
3605 \begin_layout Standard
3606 555
3607 \end_layout
3608
3609 \end_inset
3610 </cell>
3611 </row>
3612 <row>
3613 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3614 \begin_inset Text
3615
3616 \begin_layout Standard
3617
3618 \series bold
3619 Bertoli
3620 \end_layout
3621
3622 \end_inset
3623 </cell>
3624 <cell alignment="center" valignment="top" topline="true" usebox="none">
3625 \begin_inset Text
3626
3627 \begin_layout Standard
3628 Stefano
3629 \end_layout
3630
3631 \end_inset
3632 </cell>
3633 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3634 \begin_inset Text
3635
3636 \begin_layout Standard
3637 555
3638 \end_layout
3639
3640 \end_inset
3641 </cell>
3642 </row>
3643 <row>
3644 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3645 \begin_inset Text
3646
3647 \begin_layout Standard
3648
3649 \series bold
3650 Bozzi
3651 \end_layout
3652
3653 \end_inset
3654 </cell>
3655 <cell alignment="center" valignment="top" topline="true" usebox="none">
3656 \begin_inset Text
3657
3658 \begin_layout Standard
3659 Walter
3660 \end_layout
3661
3662 \end_inset
3663 </cell>
3664 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3665 \begin_inset Text
3666
3667 \begin_layout Standard
3668 555
3669 \end_layout
3670
3671 \end_inset
3672 </cell>
3673 </row>
3674 <row>
3675 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3676 \begin_inset Text
3677
3678 \begin_layout Standard
3679
3680 \series bold
3681 Cachia
3682 \end_layout
3683
3684 \end_inset
3685 </cell>
3686 <cell alignment="center" valignment="top" topline="true" usebox="none">
3687 \begin_inset Text
3688
3689 \begin_layout Standard
3690 Maria
3691 \end_layout
3692
3693 \end_inset
3694 </cell>
3695 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3696 \begin_inset Text
3697
3698 \begin_layout Standard
3699 555
3700 \end_layout
3701
3702 \end_inset
3703 </cell>
3704 </row>
3705 <row>
3706 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3707 \begin_inset Text
3708
3709 \begin_layout Standard
3710
3711 \series bold
3712 Cachia
3713 \end_layout
3714
3715 \end_inset
3716 </cell>
3717 <cell alignment="center" valignment="top" topline="true" usebox="none">
3718 \begin_inset Text
3719
3720 \begin_layout Standard
3721 Maurizio
3722 \end_layout
3723
3724 \end_inset
3725 </cell>
3726 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3727 \begin_inset Text
3728
3729 \begin_layout Standard
3730 555
3731 \end_layout
3732
3733 \end_inset
3734 </cell>
3735 </row>
3736 <row>
3737 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3738 \begin_inset Text
3739
3740 \begin_layout Standard
3741
3742 \series bold
3743 Cinquemani
3744 \end_layout
3745
3746 \end_inset
3747 </cell>
3748 <cell alignment="center" valignment="top" topline="true" usebox="none">
3749 \begin_inset Text
3750
3751 \begin_layout Standard
3752 Giusi
3753 \end_layout
3754
3755 \end_inset
3756 </cell>
3757 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3758 \begin_inset Text
3759
3760 \begin_layout Standard
3761 555
3762 \end_layout
3763
3764 \end_inset
3765 </cell>
3766 </row>
3767 <row>
3768 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3769 \begin_inset Text
3770
3771 \begin_layout Standard
3772
3773 \series bold
3774 Colin
3775 \end_layout
3776
3777 \end_inset
3778 </cell>
3779 <cell alignment="center" valignment="top" topline="true" usebox="none">
3780 \begin_inset Text
3781
3782 \begin_layout Standard
3783 Bernard
3784 \end_layout
3785
3786 \end_inset
3787 </cell>
3788 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3789 \begin_inset Text
3790
3791 \begin_layout Standard
3792 555
3793 \end_layout
3794
3795 \end_inset
3796 </cell>
3797 </row>
3798 <row>
3799 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3800 \begin_inset Text
3801
3802 \begin_layout Standard
3803
3804 \series bold
3805 Concli
3806 \end_layout
3807
3808 \end_inset
3809 </cell>
3810 <cell alignment="center" valignment="top" topline="true" usebox="none">
3811 \begin_inset Text
3812
3813 \begin_layout Standard
3814 Gianfranco
3815 \end_layout
3816
3817 \end_inset
3818 </cell>
3819 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3820 \begin_inset Text
3821
3822 \begin_layout Standard
3823 555
3824 \end_layout
3825
3826 \end_inset
3827 </cell>
3828 </row>
3829 <row>
3830 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3831 \begin_inset Text
3832
3833 \begin_layout Standard
3834
3835 \series bold
3836 Dal Bosco
3837 \end_layout
3838
3839 \end_inset
3840 </cell>
3841 <cell alignment="center" valignment="top" topline="true" usebox="none">
3842 \begin_inset Text
3843
3844 \begin_layout Standard
3845 Carolina
3846 \end_layout
3847
3848 \end_inset
3849 </cell>
3850 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3851 \begin_inset Text
3852
3853 \begin_layout Standard
3854 555
3855 \end_layout
3856
3857 \end_inset
3858 </cell>
3859 </row>
3860 <row>
3861 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3862 \begin_inset Text
3863
3864 \begin_layout Standard
3865
3866 \series bold
3867 Dalpiaz
3868 \end_layout
3869
3870 \end_inset
3871 </cell>
3872 <cell alignment="center" valignment="top" topline="true" usebox="none">
3873 \begin_inset Text
3874
3875 \begin_layout Standard
3876 Annamaria
3877 \end_layout
3878
3879 \end_inset
3880 </cell>
3881 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3882 \begin_inset Text
3883
3884 \begin_layout Standard
3885 555
3886 \end_layout
3887
3888 \end_inset
3889 </cell>
3890 </row>
3891 <row>
3892 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3893 \begin_inset Text
3894
3895 \begin_layout Standard
3896
3897 \series bold
3898 Feliciello
3899 \end_layout
3900
3901 \end_inset
3902 </cell>
3903 <cell alignment="center" valignment="top" topline="true" usebox="none">
3904 \begin_inset Text
3905
3906 \begin_layout Standard
3907 Domenico
3908 \end_layout
3909
3910 \end_inset
3911 </cell>
3912 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3913 \begin_inset Text
3914
3915 \begin_layout Standard
3916 555
3917 \end_layout
3918
3919 \end_inset
3920 </cell>
3921 </row>
3922 <row>
3923 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3924 \begin_inset Text
3925
3926 \begin_layout Standard
3927
3928 \series bold
3929 Focarelli
3930 \end_layout
3931
3932 \end_inset
3933 </cell>
3934 <cell alignment="center" valignment="top" topline="true" usebox="none">
3935 \begin_inset Text
3936
3937 \begin_layout Standard
3938 Paola
3939 \end_layout
3940
3941 \end_inset
3942 </cell>
3943 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3944 \begin_inset Text
3945
3946 \begin_layout Standard
3947 555
3948 \end_layout
3949
3950 \end_inset
3951 </cell>
3952 </row>
3953 <row>
3954 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3955 \begin_inset Text
3956
3957 \begin_layout Standard
3958
3959 \series bold
3960 Galletti
3961 \end_layout
3962
3963 \end_inset
3964 </cell>
3965 <cell alignment="center" valignment="top" topline="true" usebox="none">
3966 \begin_inset Text
3967
3968 \begin_layout Standard
3969 Oreste
3970 \end_layout
3971
3972 \end_inset
3973 </cell>
3974 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3975 \begin_inset Text
3976
3977 \begin_layout Standard
3978 555
3979 \end_layout
3980
3981 \end_inset
3982 </cell>
3983 </row>
3984 <row>
3985 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3986 \begin_inset Text
3987
3988 \begin_layout Standard
3989
3990 \series bold
3991 Gasparini
3992 \end_layout
3993
3994 \end_inset
3995 </cell>
3996 <cell alignment="center" valignment="top" topline="true" usebox="none">
3997 \begin_inset Text
3998
3999 \begin_layout Standard
4000 Franca
4001 \end_layout
4002
4003 \end_inset
4004 </cell>
4005 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4006 \begin_inset Text
4007
4008 \begin_layout Standard
4009 555
4010 \end_layout
4011
4012 \end_inset
4013 </cell>
4014 </row>
4015 <row>
4016 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4017 \begin_inset Text
4018
4019 \begin_layout Standard
4020
4021 \series bold
4022 Rizzardi
4023 \end_layout
4024
4025 \end_inset
4026 </cell>
4027 <cell alignment="center" valignment="top" topline="true" usebox="none">
4028 \begin_inset Text
4029
4030 \begin_layout Standard
4031 Paola
4032 \end_layout
4033
4034 \end_inset
4035 </cell>
4036 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4037 \begin_inset Text
4038
4039 \begin_layout Standard
4040 555
4041 \end_layout
4042
4043 \end_inset
4044 </cell>
4045 </row>
4046 <row>
4047 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4048 \begin_inset Text
4049
4050 \begin_layout Standard
4051
4052 \series bold
4053 Lassini
4054 \end_layout
4055
4056 \end_inset
4057 </cell>
4058 <cell alignment="center" valignment="top" topline="true" usebox="none">
4059 \begin_inset Text
4060
4061 \begin_layout Standard
4062 Giancarlo
4063 \end_layout
4064
4065 \end_inset
4066 </cell>
4067 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4068 \begin_inset Text
4069
4070 \begin_layout Standard
4071 555
4072 \end_layout
4073
4074 \end_inset
4075 </cell>
4076 </row>
4077 <row>
4078 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4079 \begin_inset Text
4080
4081 \begin_layout Standard
4082
4083 \series bold
4084 Malfatti
4085 \end_layout
4086
4087 \end_inset
4088 </cell>
4089 <cell alignment="center" valignment="top" topline="true" usebox="none">
4090 \begin_inset Text
4091
4092 \begin_layout Standard
4093 Luciano
4094 \end_layout
4095
4096 \end_inset
4097 </cell>
4098 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4099 \begin_inset Text
4100
4101 \begin_layout Standard
4102 555
4103 \end_layout
4104
4105 \end_inset
4106 </cell>
4107 </row>
4108 <row>
4109 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4110 \begin_inset Text
4111
4112 \begin_layout Standard
4113
4114 \series bold
4115 Malfatti
4116 \end_layout
4117
4118 \end_inset
4119 </cell>
4120 <cell alignment="center" valignment="top" topline="true" usebox="none">
4121 \begin_inset Text
4122
4123 \begin_layout Standard
4124 Valeriano
4125 \end_layout
4126
4127 \end_inset
4128 </cell>
4129 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4130 \begin_inset Text
4131
4132 \begin_layout Standard
4133 555
4134 \end_layout
4135
4136 \end_inset
4137 </cell>
4138 </row>
4139 <row>
4140 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4141 \begin_inset Text
4142
4143 \begin_layout Standard
4144
4145 \series bold
4146 Meneguzzo
4147 \end_layout
4148
4149 \end_inset
4150 </cell>
4151 <cell alignment="center" valignment="top" topline="true" usebox="none">
4152 \begin_inset Text
4153
4154 \begin_layout Standard
4155 Roberto
4156 \end_layout
4157
4158 \end_inset
4159 </cell>
4160 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4161 \begin_inset Text
4162
4163 \begin_layout Standard
4164 555
4165 \end_layout
4166
4167 \end_inset
4168 </cell>
4169 </row>
4170 <row>
4171 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4172 \begin_inset Text
4173
4174 \begin_layout Standard
4175
4176 \series bold
4177 Mezzadra
4178 \end_layout
4179
4180 \end_inset
4181 </cell>
4182 <cell alignment="center" valignment="top" topline="true" usebox="none">
4183 \begin_inset Text
4184
4185 \begin_layout Standard
4186 Roberto
4187 \end_layout
4188
4189 \end_inset
4190 </cell>
4191 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4192 \begin_inset Text
4193
4194 \begin_layout Standard
4195 555
4196 \end_layout
4197
4198 \end_inset
4199 </cell>
4200 </row>
4201 <row>
4202 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4203 \begin_inset Text
4204
4205 \begin_layout Standard
4206
4207 \series bold
4208 Pirpamer
4209 \end_layout
4210
4211 \end_inset
4212 </cell>
4213 <cell alignment="center" valignment="top" topline="true" usebox="none">
4214 \begin_inset Text
4215
4216 \begin_layout Standard
4217 Erich
4218 \end_layout
4219
4220 \end_inset
4221 </cell>
4222 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4223 \begin_inset Text
4224
4225 \begin_layout Standard
4226 555
4227 \end_layout
4228
4229 \end_inset
4230 </cell>
4231 </row>
4232 <row>
4233 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4234 \begin_inset Text
4235
4236 \begin_layout Standard
4237
4238 \series bold
4239 Pochiesa
4240 \end_layout
4241
4242 \end_inset
4243 </cell>
4244 <cell alignment="center" valignment="top" topline="true" usebox="none">
4245 \begin_inset Text
4246
4247 \begin_layout Standard
4248 Paolo
4249 \end_layout
4250
4251 \end_inset
4252 </cell>
4253 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4254 \begin_inset Text
4255
4256 \begin_layout Standard
4257 555, 222
4258 \end_layout
4259
4260 \end_inset
4261 </cell>
4262 </row>
4263 <row>
4264 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4265 \begin_inset Text
4266
4267 \begin_layout Standard
4268
4269 \series bold
4270 Radina
4271 \end_layout
4272
4273 \end_inset
4274 </cell>
4275 <cell alignment="center" valignment="top" topline="true" usebox="none">
4276 \begin_inset Text
4277
4278 \begin_layout Standard
4279 Claudio
4280 \end_layout
4281
4282 \end_inset
4283 </cell>
4284 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4285 \begin_inset Text
4286
4287 \begin_layout Standard
4288 555
4289 \end_layout
4290
4291 \end_inset
4292 </cell>
4293 </row>
4294 <row>
4295 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4296 \begin_inset Text
4297
4298 \begin_layout Standard
4299
4300 \series bold
4301 Stuffer
4302 \end_layout
4303
4304 \end_inset
4305 </cell>
4306 <cell alignment="center" valignment="top" topline="true" usebox="none">
4307 \begin_inset Text
4308
4309 \begin_layout Standard
4310 Oskar
4311 \end_layout
4312
4313 \end_inset
4314 </cell>
4315 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4316 \begin_inset Text
4317
4318 \begin_layout Standard
4319 555
4320 \end_layout
4321
4322 \end_inset
4323 </cell>
4324 </row>
4325 <row>
4326 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4327 \begin_inset Text
4328
4329 \begin_layout Standard
4330
4331 \series bold
4332 Tacchelli
4333 \end_layout
4334
4335 \end_inset
4336 </cell>
4337 <cell alignment="center" valignment="top" topline="true" usebox="none">
4338 \begin_inset Text
4339
4340 \begin_layout Standard
4341 Ugo
4342 \end_layout
4343
4344 \end_inset
4345 </cell>
4346 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4347 \begin_inset Text
4348
4349 \begin_layout Standard
4350 555
4351 \end_layout
4352
4353 \end_inset
4354 </cell>
4355 </row>
4356 <row>
4357 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4358 \begin_inset Text
4359
4360 \begin_layout Standard
4361
4362 \series bold
4363 Tezzele
4364 \end_layout
4365
4366 \end_inset
4367 </cell>
4368 <cell alignment="center" valignment="top" topline="true" usebox="none">
4369 \begin_inset Text
4370
4371 \begin_layout Standard
4372 Margit
4373 \end_layout
4374
4375 \end_inset
4376 </cell>
4377 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4378 \begin_inset Text
4379
4380 \begin_layout Standard
4381 555
4382 \end_layout
4383
4384 \end_inset
4385 </cell>
4386 </row>
4387 <row>
4388 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4389 \begin_inset Text
4390
4391 \begin_layout Standard
4392
4393 \series bold
4394 Unterkalmsteiner
4395 \end_layout
4396
4397 \end_inset
4398 </cell>
4399 <cell alignment="center" valignment="top" topline="true" usebox="none">
4400 \begin_inset Text
4401
4402 \begin_layout Standard
4403 Frieda
4404 \end_layout
4405
4406 \end_inset
4407 </cell>
4408 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4409 \begin_inset Text
4410
4411 \begin_layout Standard
4412 555
4413 \end_layout
4414
4415 \end_inset
4416 </cell>
4417 </row>
4418 <row>
4419 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4420 \begin_inset Text
4421
4422 \begin_layout Standard
4423
4424 \series bold
4425 Vieider
4426 \end_layout
4427
4428 \end_inset
4429 </cell>
4430 <cell alignment="center" valignment="top" topline="true" usebox="none">
4431 \begin_inset Text
4432
4433 \begin_layout Standard
4434 Hilde
4435 \end_layout
4436
4437 \end_inset
4438 </cell>
4439 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4440 \begin_inset Text
4441
4442 \begin_layout Standard
4443 555
4444 \end_layout
4445
4446 \end_inset
4447 </cell>
4448 </row>
4449 <row>
4450 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4451 \begin_inset Text
4452
4453 \begin_layout Standard
4454
4455 \series bold
4456 Vigna
4457 \end_layout
4458
4459 \end_inset
4460 </cell>
4461 <cell alignment="center" valignment="top" topline="true" usebox="none">
4462 \begin_inset Text
4463
4464 \begin_layout Standard
4465 Jürgen
4466 \end_layout
4467
4468 \end_inset
4469 </cell>
4470 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4471 \begin_inset Text
4472
4473 \begin_layout Standard
4474 999
4475 \end_layout
4476
4477 \end_inset
4478 </cell>
4479 </row>
4480 <row>
4481 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4482 \begin_inset Text
4483
4484 \begin_layout Standard
4485
4486 \series bold
4487 Weber
4488 \end_layout
4489
4490 \end_inset
4491 </cell>
4492 <cell alignment="center" valignment="top" topline="true" usebox="none">
4493 \begin_inset Text
4494
4495 \begin_layout Standard
4496 Maurizio
4497 \end_layout
4498
4499 \end_inset
4500 </cell>
4501 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4502 \begin_inset Text
4503
4504 \begin_layout Standard
4505 555
4506 \end_layout
4507
4508 \end_inset
4509 </cell>
4510 </row>
4511 <row bottomline="true">
4512 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4513 \begin_inset Text
4514
4515 \begin_layout Standard
4516
4517 \series bold
4518 Winkler
4519 \end_layout
4520
4521 \end_inset
4522 </cell>
4523 <cell alignment="center" valignment="top" topline="true" usebox="none">
4524 \begin_inset Text
4525
4526 \begin_layout Standard
4527 Franz
4528 \end_layout
4529
4530 \end_inset
4531 </cell>
4532 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4533 \begin_inset Text
4534
4535 \begin_layout Standard
4536 555
4537 \end_layout
4538
4539 \end_inset
4540 </cell>
4541 </row>
4542 <row bottomline="true" endlastfoot="true">
4543 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
4544 \begin_inset Text
4545
4546 \begin_layout Standard
4547 end
4548 \end_layout
4549
4550 \end_inset
4551 </cell>
4552 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4553 \begin_inset Text
4554
4555 \begin_layout Standard
4556
4557 \end_layout
4558
4559 \end_inset
4560 </cell>
4561 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4562 \begin_inset Text
4563
4564 \begin_layout Standard
4565
4566 \end_layout
4567
4568 \end_inset
4569 </cell>
4570 </row>
4571 </lyxtabular>
4572
4573 \end_inset
4574
4575
4576 \begin_inset ERT
4577 status collapsed
4578
4579 \begin_layout Standard
4580
4581
4582 \backslash
4583 addtocounter{table}{-1}
4584 \end_layout
4585
4586 \end_inset
4587
4588
4589 \begin_inset Note Note
4590 status collapsed
4591
4592 \begin_layout Standard
4593 See greyed-out note in section 2.6.2 for an explanation of this command.
4594 \end_layout
4595
4596 \end_inset
4597
4598
4599 \end_layout
4600
4601 \begin_layout Subsection
4602 Footnotes in Longtables
4603 \begin_inset LatexCommand label
4604 name "sub:Footnotes-in-Longtables"
4605
4606 \end_inset
4607
4608
4609 \begin_inset LatexCommand index
4610 name "Longtables ! Footnotes"
4611
4612 \end_inset
4613
4614
4615 \end_layout
4616
4617 \begin_layout Standard
4618 Footnotes can be inserted to every longtable cell.
4619  They appear at the bottom of the page where the table cell with the footnote
4620  appears.
4621  Table\InsetSpace ~
4622
4623 \begin_inset LatexCommand ref
4624 reference "tab:DiffCaptions"
4625
4626 \end_inset
4627
4628  has for example a footnote.
4629 \end_layout
4630
4631 \begin_layout Subsection
4632 Longtable Captions
4633 \begin_inset LatexCommand index
4634 name "Longtables ! Captions"
4635
4636 \end_inset
4637
4638
4639 \end_layout
4640
4641 \begin_layout Standard
4642 A longtable cannot be put into a table float because floats can only be
4643  on one page but the caption environment of floats can also be used for
4644  longtables.
4645 \end_layout
4646
4647 \begin_layout Standard
4648 As LyX does not yet fully support captions in longtables, a hack is needed
4649  to create them:
4650 \end_layout
4651
4652 \begin_layout Enumerate
4653 Create a longtable
4654 \family sans
4655 .
4656 \end_layout
4657
4658 \begin_layout Enumerate
4659 Mark the first row an disable its upper line.
4660 \end_layout
4661
4662 \begin_layout Enumerate
4663 Insert a caption via the menu 
4664 \family sans
4665 Insert\SpecialChar \menuseparator
4666 Caption
4667 \family default
4668  into the first table cell.
4669 \newline
4670 You can also add a short title for the caption.
4671 \end_layout
4672
4673 \begin_layout Enumerate
4674 Insert a 
4675 \begin_inset Quotes eld
4676 \end_inset
4677
4678
4679 \series bold
4680
4681 \backslash
4682
4683 \backslash
4684 %
4685 \series default
4686
4687 \begin_inset Quotes erd
4688 \end_inset
4689
4690  as ERT behind the caption.
4691 \end_layout
4692
4693 \begin_layout Standard
4694 A short title that will appear in the LOT instead of the full title.
4695  The 
4696 \series bold
4697
4698 \backslash
4699
4700 \backslash
4701 %
4702 \series default
4703  behind the caption omits the vertical lines between the following cells
4704  in the row.
4705  The first table row is now only a dummy row for the caption, the actual
4706  table starts with the second row.
4707 \end_layout
4708
4709 \begin_layout Standard
4710 Here is a short longtable to see how it works:
4711 \end_layout
4712
4713 \begin_layout Standard
4714 \begin_inset Tabular
4715 <lyxtabular version="3" rows="6" columns="5">
4716 <features islongtable="true">
4717 <column alignment="center" valignment="top" leftline="true" width="0">
4718 <column alignment="center" valignment="top" leftline="true" width="0">
4719 <column alignment="center" valignment="top" leftline="true" width="0">
4720 <column alignment="center" valignment="top" leftline="true" width="0">
4721 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
4722 <row>
4723 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4724 \begin_inset Text
4725
4726 \begin_layout Standard
4727 \begin_inset Caption
4728
4729 \begin_layout Standard
4730 Longtable with caption
4731 \begin_inset OptArg
4732 status open
4733
4734 \begin_layout Standard
4735 Longtable
4736 \end_layout
4737
4738 \end_inset
4739
4740
4741 \end_layout
4742
4743 \end_inset
4744
4745
4746 \begin_inset ERT
4747 status collapsed
4748
4749 \begin_layout Standard
4750
4751
4752 \backslash
4753
4754 \backslash
4755 %
4756 \end_layout
4757
4758 \end_inset
4759
4760
4761 \end_layout
4762
4763 \end_inset
4764 </cell>
4765 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4766 \begin_inset Text
4767
4768 \begin_layout Standard
4769
4770 \end_layout
4771
4772 \end_inset
4773 </cell>
4774 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4775 \begin_inset Text
4776
4777 \begin_layout Standard
4778
4779 \end_layout
4780
4781 \end_inset
4782 </cell>
4783 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4784 \begin_inset Text
4785
4786 \begin_layout Standard
4787
4788 \end_layout
4789
4790 \end_inset
4791 </cell>
4792 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4793 \begin_inset Text
4794
4795 \begin_layout Standard
4796
4797 \end_layout
4798
4799 \end_inset
4800 </cell>
4801 </row>
4802 <row topline="true">
4803 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4804 \begin_inset Text
4805
4806 \begin_layout Standard
4807 1
4808 \end_layout
4809
4810 \end_inset
4811 </cell>
4812 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4813 \begin_inset Text
4814
4815 \begin_layout Standard
4816 2
4817 \end_layout
4818
4819 \end_inset
4820 </cell>
4821 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4822 \begin_inset Text
4823
4824 \begin_layout Standard
4825 3
4826 \end_layout
4827
4828 \end_inset
4829 </cell>
4830 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4831 \begin_inset Text
4832
4833 \begin_layout Standard
4834 4
4835 \end_layout
4836
4837 \end_inset
4838 </cell>
4839 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4840 \begin_inset Text
4841
4842 \begin_layout Standard
4843 5
4844 \end_layout
4845
4846 \end_inset
4847 </cell>
4848 </row>
4849 <row topline="true">
4850 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4851 \begin_inset Text
4852
4853 \begin_layout Standard
4854 asd
4855 \end_layout
4856
4857 \end_inset
4858 </cell>
4859 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4860 \begin_inset Text
4861
4862 \begin_layout Standard
4863 s
4864 \end_layout
4865
4866 \end_inset
4867 </cell>
4868 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4869 \begin_inset Text
4870
4871 \begin_layout Standard
4872 s
4873 \end_layout
4874
4875 \end_inset
4876 </cell>
4877 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4878 \begin_inset Text
4879
4880 \begin_layout Standard
4881 s
4882 \end_layout
4883
4884 \end_inset
4885 </cell>
4886 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4887 \begin_inset Text
4888
4889 \begin_layout Standard
4890 asd
4891 \end_layout
4892
4893 \end_inset
4894 </cell>
4895 </row>
4896 <row topline="true">
4897 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4898 \begin_inset Text
4899
4900 \begin_layout Standard
4901 asd
4902 \end_layout
4903
4904 \end_inset
4905 </cell>
4906 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4907 \begin_inset Text
4908
4909 \begin_layout Standard
4910 s
4911 \end_layout
4912
4913 \end_inset
4914 </cell>
4915 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4916 \begin_inset Text
4917
4918 \begin_layout Standard
4919 s
4920 \end_layout
4921
4922 \end_inset
4923 </cell>
4924 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4925 \begin_inset Text
4926
4927 \begin_layout Standard
4928 s
4929 \end_layout
4930
4931 \end_inset
4932 </cell>
4933 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4934 \begin_inset Text
4935
4936 \begin_layout Standard
4937 asd
4938 \end_layout
4939
4940 \end_inset
4941 </cell>
4942 </row>
4943 <row topline="true">
4944 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4945 \begin_inset Text
4946
4947 \begin_layout Standard
4948 asd
4949 \end_layout
4950
4951 \end_inset
4952 </cell>
4953 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4954 \begin_inset Text
4955
4956 \begin_layout Standard
4957 s
4958 \end_layout
4959
4960 \end_inset
4961 </cell>
4962 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4963 \begin_inset Text
4964
4965 \begin_layout Standard
4966 s
4967 \end_layout
4968
4969 \end_inset
4970 </cell>
4971 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4972 \begin_inset Text
4973
4974 \begin_layout Standard
4975 s
4976 \end_layout
4977
4978 \end_inset
4979 </cell>
4980 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4981 \begin_inset Text
4982
4983 \begin_layout Standard
4984 asd
4985 \end_layout
4986
4987 \end_inset
4988 </cell>
4989 </row>
4990 <row topline="true" bottomline="true">
4991 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4992 \begin_inset Text
4993
4994 \begin_layout Standard
4995 asd
4996 \end_layout
4997
4998 \end_inset
4999 </cell>
5000 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5001 \begin_inset Text
5002
5003 \begin_layout Standard
5004 asd
5005 \end_layout
5006
5007 \end_inset
5008 </cell>
5009 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5010 \begin_inset Text
5011
5012 \begin_layout Standard
5013 asd
5014 \end_layout
5015
5016 \end_inset
5017 </cell>
5018 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5019 \begin_inset Text
5020
5021 \begin_layout Standard
5022 asd
5023 \end_layout
5024
5025 \end_inset
5026 </cell>
5027 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5028 \begin_inset Text
5029
5030 \begin_layout Standard
5031 asd
5032 \end_layout
5033
5034 \end_inset
5035 </cell>
5036 </row>
5037 </lyxtabular>
5038
5039 \end_inset
5040
5041
5042 \end_layout
5043
5044 \begin_layout Standard
5045 \begin_inset VSpace medskip
5046 \end_inset
5047
5048
5049 \begin_inset Note Greyedout
5050 status open
5051
5052 \begin_layout Standard
5053
5054 \series bold
5055 Note:
5056 \series default
5057  The table number is increased for every longtable, also if you didn't set
5058  a caption for it.
5059  For this reason you could have the case that e.g.
5060  Table\InsetSpace ~
5061 2.4 follows on Table\InsetSpace ~
5062 2.1 in the list of tables if there are two longtables
5063  without captions.
5064  To avoid this you can add the following command in ERT behind every longtable
5065  without a caption:
5066 \end_layout
5067
5068 \begin_layout Standard
5069
5070 \series bold
5071
5072 \backslash
5073 addtocounter{table}{-1}
5074 \end_layout
5075
5076 \end_inset
5077
5078
5079 \end_layout
5080
5081 \begin_layout Standard
5082 \begin_inset Note Greyedout
5083 status open
5084
5085 \begin_layout Standard
5086
5087 \series bold
5088 Note:
5089 \series default
5090  If you are using the LaTeX-package 
5091 \series bold
5092 hyperref
5093 \series default
5094
5095 \begin_inset LatexCommand index
5096 name "LaTeX-packages ! hyperref"
5097
5098 \end_inset
5099
5100  to link cross-references, the link to a longtable caption will always point
5101  to the beginning of the document.
5102 \end_layout
5103
5104 \end_inset
5105
5106
5107 \end_layout
5108
5109 \begin_layout Subsubsection
5110 References to Longtables
5111 \begin_inset LatexCommand index
5112 name "Longtables ! References"
5113
5114 \end_inset
5115
5116
5117 \end_layout
5118
5119 \begin_layout Standard
5120 \begin_inset Tabular
5121 <lyxtabular version="3" rows="6" columns="5">
5122 <features islongtable="true">
5123 <column alignment="center" valignment="top" leftline="true" width="0">
5124 <column alignment="center" valignment="top" leftline="true" width="0">
5125 <column alignment="center" valignment="top" leftline="true" width="0">
5126 <column alignment="center" valignment="top" leftline="true" width="0">
5127 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5128 <row>
5129 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5130 \begin_inset Text
5131
5132 \begin_layout Standard
5133 \begin_inset Caption
5134
5135 \begin_layout Standard
5136 Referenced longtable
5137 \begin_inset LatexCommand label
5138 name "tab:RefExample"
5139
5140 \end_inset
5141
5142
5143 \end_layout
5144
5145 \end_inset
5146
5147
5148 \begin_inset ERT
5149 status collapsed
5150
5151 \begin_layout Standard
5152
5153
5154 \backslash
5155
5156 \backslash
5157 %
5158 \end_layout
5159
5160 \end_inset
5161
5162
5163 \end_layout
5164
5165 \end_inset
5166 </cell>
5167 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5168 \begin_inset Text
5169
5170 \begin_layout Standard
5171
5172 \end_layout
5173
5174 \end_inset
5175 </cell>
5176 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5177 \begin_inset Text
5178
5179 \begin_layout Standard
5180
5181 \end_layout
5182
5183 \end_inset
5184 </cell>
5185 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5186 \begin_inset Text
5187
5188 \begin_layout Standard
5189
5190 \end_layout
5191
5192 \end_inset
5193 </cell>
5194 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5195 \begin_inset Text
5196
5197 \begin_layout Standard
5198
5199 \end_layout
5200
5201 \end_inset
5202 </cell>
5203 </row>
5204 <row topline="true">
5205 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5206 \begin_inset Text
5207
5208 \begin_layout Standard
5209 1
5210 \end_layout
5211
5212 \end_inset
5213 </cell>
5214 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5215 \begin_inset Text
5216
5217 \begin_layout Standard
5218 2
5219 \end_layout
5220
5221 \end_inset
5222 </cell>
5223 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5224 \begin_inset Text
5225
5226 \begin_layout Standard
5227 3
5228 \end_layout
5229
5230 \end_inset
5231 </cell>
5232 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5233 \begin_inset Text
5234
5235 \begin_layout Standard
5236 4
5237 \end_layout
5238
5239 \end_inset
5240 </cell>
5241 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5242 \begin_inset Text
5243
5244 \begin_layout Standard
5245 5
5246 \end_layout
5247
5248 \end_inset
5249 </cell>
5250 </row>
5251 <row topline="true">
5252 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5253 \begin_inset Text
5254
5255 \begin_layout Standard
5256 asd
5257 \end_layout
5258
5259 \end_inset
5260 </cell>
5261 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5262 \begin_inset Text
5263
5264 \begin_layout Standard
5265 s
5266 \end_layout
5267
5268 \end_inset
5269 </cell>
5270 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5271 \begin_inset Text
5272
5273 \begin_layout Standard
5274 s
5275 \end_layout
5276
5277 \end_inset
5278 </cell>
5279 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5280 \begin_inset Text
5281
5282 \begin_layout Standard
5283 s
5284 \end_layout
5285
5286 \end_inset
5287 </cell>
5288 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5289 \begin_inset Text
5290
5291 \begin_layout Standard
5292 asd
5293 \end_layout
5294
5295 \end_inset
5296 </cell>
5297 </row>
5298 <row topline="true">
5299 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5300 \begin_inset Text
5301
5302 \begin_layout Standard
5303 asd
5304 \end_layout
5305
5306 \end_inset
5307 </cell>
5308 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5309 \begin_inset Text
5310
5311 \begin_layout Standard
5312 s
5313 \end_layout
5314
5315 \end_inset
5316 </cell>
5317 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5318 \begin_inset Text
5319
5320 \begin_layout Standard
5321 s
5322 \end_layout
5323
5324 \end_inset
5325 </cell>
5326 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5327 \begin_inset Text
5328
5329 \begin_layout Standard
5330 s
5331 \end_layout
5332
5333 \end_inset
5334 </cell>
5335 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5336 \begin_inset Text
5337
5338 \begin_layout Standard
5339 asd
5340 \end_layout
5341
5342 \end_inset
5343 </cell>
5344 </row>
5345 <row topline="true">
5346 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5347 \begin_inset Text
5348
5349 \begin_layout Standard
5350 asd
5351 \end_layout
5352
5353 \end_inset
5354 </cell>
5355 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5356 \begin_inset Text
5357
5358 \begin_layout Standard
5359 s
5360 \end_layout
5361
5362 \end_inset
5363 </cell>
5364 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5365 \begin_inset Text
5366
5367 \begin_layout Standard
5368 s
5369 \end_layout
5370
5371 \end_inset
5372 </cell>
5373 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5374 \begin_inset Text
5375
5376 \begin_layout Standard
5377 s
5378 \end_layout
5379
5380 \end_inset
5381 </cell>
5382 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5383 \begin_inset Text
5384
5385 \begin_layout Standard
5386 asd
5387 \end_layout
5388
5389 \end_inset
5390 </cell>
5391 </row>
5392 <row topline="true" bottomline="true">
5393 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5394 \begin_inset Text
5395
5396 \begin_layout Standard
5397 asd
5398 \end_layout
5399
5400 \end_inset
5401 </cell>
5402 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5403 \begin_inset Text
5404
5405 \begin_layout Standard
5406 sad
5407 \end_layout
5408
5409 \end_inset
5410 </cell>
5411 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5412 \begin_inset Text
5413
5414 \begin_layout Standard
5415 asd
5416 \end_layout
5417
5418 \end_inset
5419 </cell>
5420 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5421 \begin_inset Text
5422
5423 \begin_layout Standard
5424 asd
5425 \end_layout
5426
5427 \end_inset
5428 </cell>
5429 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5430 \begin_inset Text
5431
5432 \begin_layout Standard
5433 asd
5434 \end_layout
5435
5436 \end_inset
5437 </cell>
5438 </row>
5439 </lyxtabular>
5440
5441 \end_inset
5442
5443
5444 \end_layout
5445
5446 \begin_layout Standard
5447 To reference a longtable, insert a label into the caption.
5448  Note that you have to add the label prefix 
5449 \begin_inset Quotes eld
5450 \end_inset
5451
5452
5453 \emph on
5454 tab:
5455 \emph default
5456
5457 \begin_inset Quotes eld
5458 \end_inset
5459
5460  manually in the label field.
5461 \end_layout
5462
5463 \begin_layout Standard
5464 This is a reference to Table\InsetSpace ~
5465
5466 \begin_inset LatexCommand ref
5467 reference "tab:RefExample"
5468
5469 \end_inset
5470
5471 .
5472 \end_layout
5473
5474 \begin_layout Standard
5475 The caption layout can be set together with all other caption of your document
5476  using the LaTeX-package 
5477 \series bold
5478 caption
5479 \series default
5480
5481 \begin_inset LatexCommand index
5482 name "LaTeX-packages ! caption"
5483
5484 \end_inset
5485
5486 , see section\InsetSpace ~
5487
5488 \begin_inset LatexCommand ref
5489 reference "sec:Caption-Formatting"
5490
5491 \end_inset
5492
5493 .
5494 \end_layout
5495
5496 \begin_layout Subsubsection
5497 Caption Width
5498 \begin_inset LatexCommand index
5499 name "Longtables ! Caption Width"
5500
5501 \end_inset
5502
5503
5504 \end_layout
5505
5506 \begin_layout Standard
5507 The maximal width of of caption lines is defined by the length 
5508 \series bold
5509
5510 \backslash
5511 LTcapwidth
5512 \series default
5513 .
5514  Its default value is 4\InsetSpace \thinspace{}
5515 in.
5516  To change it add the following command to your document preamble or as
5517  ERT into your document before the longtable that should be affected
5518 \end_layout
5519
5520 \begin_layout Standard
5521
5522 \series bold
5523
5524 \backslash
5525 setlength{
5526 \backslash
5527 LTcapwidth}{width}
5528 \end_layout
5529
5530 \begin_layout Standard
5531 where the width could have one of the units listed in appendix\InsetSpace ~
5532
5533 \begin_inset LatexCommand ref
5534 reference "cha:Units-available-in"
5535
5536 \end_inset
5537
5538 .
5539 \end_layout
5540
5541 \begin_layout Standard
5542 The following tables show the difference:
5543 \end_layout
5544
5545 \begin_layout Standard
5546 \begin_inset Tabular
5547 <lyxtabular version="3" rows="6" columns="5">
5548 <features islongtable="true">
5549 <column alignment="center" valignment="top" leftline="true" width="0">
5550 <column alignment="center" valignment="top" leftline="true" width="0">
5551 <column alignment="center" valignment="top" leftline="true" width="0">
5552 <column alignment="center" valignment="top" leftline="true" width="0">
5553 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5554 <row>
5555 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5556 \begin_inset Text
5557
5558 \begin_layout Standard
5559 \begin_inset Caption
5560
5561 \begin_layout Standard
5562 long full title with default width long full title with default width long
5563  full title with default width
5564 \begin_inset OptArg
5565 status collapsed
5566
5567 \begin_layout Standard
5568 caption with default width
5569 \end_layout
5570
5571 \end_inset
5572
5573
5574 \end_layout
5575
5576 \end_inset
5577
5578
5579 \begin_inset ERT
5580 status collapsed
5581
5582 \begin_layout Standard
5583
5584
5585 \backslash
5586
5587 \backslash
5588 %
5589 \end_layout
5590
5591 \end_inset
5592
5593
5594 \end_layout
5595
5596 \end_inset
5597 </cell>
5598 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5599 \begin_inset Text
5600
5601 \begin_layout Standard
5602
5603 \end_layout
5604
5605 \end_inset
5606 </cell>
5607 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5608 \begin_inset Text
5609
5610 \begin_layout Standard
5611
5612 \end_layout
5613
5614 \end_inset
5615 </cell>
5616 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5617 \begin_inset Text
5618
5619 \begin_layout Standard
5620
5621 \end_layout
5622
5623 \end_inset
5624 </cell>
5625 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5626 \begin_inset Text
5627
5628 \begin_layout Standard
5629
5630 \end_layout
5631
5632 \end_inset
5633 </cell>
5634 </row>
5635 <row topline="true">
5636 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5637 \begin_inset Text
5638
5639 \begin_layout Standard
5640 1
5641 \end_layout
5642
5643 \end_inset
5644 </cell>
5645 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5646 \begin_inset Text
5647
5648 \begin_layout Standard
5649 2
5650 \end_layout
5651
5652 \end_inset
5653 </cell>
5654 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5655 \begin_inset Text
5656
5657 \begin_layout Standard
5658 3
5659 \end_layout
5660
5661 \end_inset
5662 </cell>
5663 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5664 \begin_inset Text
5665
5666 \begin_layout Standard
5667 4
5668 \end_layout
5669
5670 \end_inset
5671 </cell>
5672 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5673 \begin_inset Text
5674
5675 \begin_layout Standard
5676 5
5677 \end_layout
5678
5679 \end_inset
5680 </cell>
5681 </row>
5682 <row topline="true">
5683 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5684 \begin_inset Text
5685
5686 \begin_layout Standard
5687 asd
5688 \end_layout
5689
5690 \end_inset
5691 </cell>
5692 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5693 \begin_inset Text
5694
5695 \begin_layout Standard
5696 s
5697 \end_layout
5698
5699 \end_inset
5700 </cell>
5701 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5702 \begin_inset Text
5703
5704 \begin_layout Standard
5705 s
5706 \end_layout
5707
5708 \end_inset
5709 </cell>
5710 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5711 \begin_inset Text
5712
5713 \begin_layout Standard
5714 s
5715 \end_layout
5716
5717 \end_inset
5718 </cell>
5719 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5720 \begin_inset Text
5721
5722 \begin_layout Standard
5723 asd
5724 \end_layout
5725
5726 \end_inset
5727 </cell>
5728 </row>
5729 <row topline="true">
5730 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5731 \begin_inset Text
5732
5733 \begin_layout Standard
5734 asd
5735 \end_layout
5736
5737 \end_inset
5738 </cell>
5739 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5740 \begin_inset Text
5741
5742 \begin_layout Standard
5743 s
5744 \end_layout
5745
5746 \end_inset
5747 </cell>
5748 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5749 \begin_inset Text
5750
5751 \begin_layout Standard
5752 s
5753 \end_layout
5754
5755 \end_inset
5756 </cell>
5757 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5758 \begin_inset Text
5759
5760 \begin_layout Standard
5761 s
5762 \end_layout
5763
5764 \end_inset
5765 </cell>
5766 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5767 \begin_inset Text
5768
5769 \begin_layout Standard
5770 asd
5771 \end_layout
5772
5773 \end_inset
5774 </cell>
5775 </row>
5776 <row topline="true">
5777 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5778 \begin_inset Text
5779
5780 \begin_layout Standard
5781 asd
5782 \end_layout
5783
5784 \end_inset
5785 </cell>
5786 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5787 \begin_inset Text
5788
5789 \begin_layout Standard
5790 s
5791 \end_layout
5792
5793 \end_inset
5794 </cell>
5795 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5796 \begin_inset Text
5797
5798 \begin_layout Standard
5799 s
5800 \end_layout
5801
5802 \end_inset
5803 </cell>
5804 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5805 \begin_inset Text
5806
5807 \begin_layout Standard
5808 s
5809 \end_layout
5810
5811 \end_inset
5812 </cell>
5813 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5814 \begin_inset Text
5815
5816 \begin_layout Standard
5817 asd
5818 \end_layout
5819
5820 \end_inset
5821 </cell>
5822 </row>
5823 <row topline="true" bottomline="true">
5824 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5825 \begin_inset Text
5826
5827 \begin_layout Standard
5828 asd
5829 \end_layout
5830
5831 \end_inset
5832 </cell>
5833 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5834 \begin_inset Text
5835
5836 \begin_layout Standard
5837 sad
5838 \end_layout
5839
5840 \end_inset
5841 </cell>
5842 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5843 \begin_inset Text
5844
5845 \begin_layout Standard
5846 asd
5847 \end_layout
5848
5849 \end_inset
5850 </cell>
5851 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5852 \begin_inset Text
5853
5854 \begin_layout Standard
5855 asd
5856 \end_layout
5857
5858 \end_inset
5859 </cell>
5860 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5861 \begin_inset Text
5862
5863 \begin_layout Standard
5864 asd
5865 \end_layout
5866
5867 \end_inset
5868 </cell>
5869 </row>
5870 </lyxtabular>
5871
5872 \end_inset
5873
5874
5875 \end_layout
5876
5877 \begin_layout Standard
5878 \begin_inset ERT
5879 status collapsed
5880
5881 \begin_layout Standard
5882
5883
5884 \backslash
5885 setlength{
5886 \backslash
5887 LTcapwidth}{5cm}
5888 \end_layout
5889
5890 \end_inset
5891
5892
5893 \begin_inset Tabular
5894 <lyxtabular version="3" rows="6" columns="5">
5895 <features islongtable="true">
5896 <column alignment="center" valignment="top" leftline="true" width="0">
5897 <column alignment="center" valignment="top" leftline="true" width="0">
5898 <column alignment="center" valignment="top" leftline="true" width="0">
5899 <column alignment="center" valignment="top" leftline="true" width="0">
5900 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5901 <row>
5902 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5903 \begin_inset Text
5904
5905 \begin_layout Standard
5906 \begin_inset Caption
5907
5908 \begin_layout Standard
5909 long full title with width set to 5\InsetSpace \thinspace{}
5910 cm long full title with width set to
5911  5\InsetSpace \thinspace{}
5912 cm long full title with width set to 5\InsetSpace \thinspace{}
5913 cm
5914 \begin_inset OptArg
5915 status collapsed
5916
5917 \begin_layout Standard
5918 caption with width\InsetSpace \thinspace{}
5919 =\InsetSpace \thinspace{}
5920 5\InsetSpace \thinspace{}
5921 cm
5922 \end_layout
5923
5924 \end_inset
5925
5926
5927 \end_layout
5928
5929 \end_inset
5930
5931
5932 \begin_inset ERT
5933 status collapsed
5934
5935 \begin_layout Standard
5936
5937
5938 \backslash
5939
5940 \backslash
5941 %
5942 \end_layout
5943
5944 \end_inset
5945
5946
5947 \end_layout
5948
5949 \end_inset
5950 </cell>
5951 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5952 \begin_inset Text
5953
5954 \begin_layout Standard
5955
5956 \end_layout
5957
5958 \end_inset
5959 </cell>
5960 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5961 \begin_inset Text
5962
5963 \begin_layout Standard
5964
5965 \end_layout
5966
5967 \end_inset
5968 </cell>
5969 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5970 \begin_inset Text
5971
5972 \begin_layout Standard
5973
5974 \end_layout
5975
5976 \end_inset
5977 </cell>
5978 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5979 \begin_inset Text
5980
5981 \begin_layout Standard
5982
5983 \end_layout
5984
5985 \end_inset
5986 </cell>
5987 </row>
5988 <row topline="true">
5989 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5990 \begin_inset Text
5991
5992 \begin_layout Standard
5993 1
5994 \end_layout
5995
5996 \end_inset
5997 </cell>
5998 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5999 \begin_inset Text
6000
6001 \begin_layout Standard
6002 2
6003 \end_layout
6004
6005 \end_inset
6006 </cell>
6007 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6008 \begin_inset Text
6009
6010 \begin_layout Standard
6011 3
6012 \end_layout
6013
6014 \end_inset
6015 </cell>
6016 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6017 \begin_inset Text
6018
6019 \begin_layout Standard
6020 4
6021 \end_layout
6022
6023 \end_inset
6024 </cell>
6025 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6026 \begin_inset Text
6027
6028 \begin_layout Standard
6029 5
6030 \end_layout
6031
6032 \end_inset
6033 </cell>
6034 </row>
6035 <row topline="true">
6036 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6037 \begin_inset Text
6038
6039 \begin_layout Standard
6040 asd
6041 \end_layout
6042
6043 \end_inset
6044 </cell>
6045 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6046 \begin_inset Text
6047
6048 \begin_layout Standard
6049 s
6050 \end_layout
6051
6052 \end_inset
6053 </cell>
6054 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6055 \begin_inset Text
6056
6057 \begin_layout Standard
6058 s
6059 \end_layout
6060
6061 \end_inset
6062 </cell>
6063 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6064 \begin_inset Text
6065
6066 \begin_layout Standard
6067 s
6068 \end_layout
6069
6070 \end_inset
6071 </cell>
6072 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6073 \begin_inset Text
6074
6075 \begin_layout Standard
6076 asd
6077 \end_layout
6078
6079 \end_inset
6080 </cell>
6081 </row>
6082 <row topline="true">
6083 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6084 \begin_inset Text
6085
6086 \begin_layout Standard
6087 asd
6088 \end_layout
6089
6090 \end_inset
6091 </cell>
6092 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6093 \begin_inset Text
6094
6095 \begin_layout Standard
6096 s
6097 \end_layout
6098
6099 \end_inset
6100 </cell>
6101 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6102 \begin_inset Text
6103
6104 \begin_layout Standard
6105 s
6106 \end_layout
6107
6108 \end_inset
6109 </cell>
6110 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6111 \begin_inset Text
6112
6113 \begin_layout Standard
6114 s
6115 \end_layout
6116
6117 \end_inset
6118 </cell>
6119 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6120 \begin_inset Text
6121
6122 \begin_layout Standard
6123 asd
6124 \end_layout
6125
6126 \end_inset
6127 </cell>
6128 </row>
6129 <row topline="true">
6130 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6131 \begin_inset Text
6132
6133 \begin_layout Standard
6134 asd
6135 \end_layout
6136
6137 \end_inset
6138 </cell>
6139 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6140 \begin_inset Text
6141
6142 \begin_layout Standard
6143 s
6144 \end_layout
6145
6146 \end_inset
6147 </cell>
6148 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6149 \begin_inset Text
6150
6151 \begin_layout Standard
6152 s
6153 \end_layout
6154
6155 \end_inset
6156 </cell>
6157 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6158 \begin_inset Text
6159
6160 \begin_layout Standard
6161 s
6162 \end_layout
6163
6164 \end_inset
6165 </cell>
6166 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6167 \begin_inset Text
6168
6169 \begin_layout Standard
6170 asd
6171 \end_layout
6172
6173 \end_inset
6174 </cell>
6175 </row>
6176 <row topline="true" bottomline="true">
6177 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6178 \begin_inset Text
6179
6180 \begin_layout Standard
6181 asd
6182 \end_layout
6183
6184 \end_inset
6185 </cell>
6186 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6187 \begin_inset Text
6188
6189 \begin_layout Standard
6190 sad
6191 \end_layout
6192
6193 \end_inset
6194 </cell>
6195 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6196 \begin_inset Text
6197
6198 \begin_layout Standard
6199 asd
6200 \end_layout
6201
6202 \end_inset
6203 </cell>
6204 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6205 \begin_inset Text
6206
6207 \begin_layout Standard
6208 asd
6209 \end_layout
6210
6211 \end_inset
6212 </cell>
6213 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6214 \begin_inset Text
6215
6216 \begin_layout Standard
6217 asd
6218 \end_layout
6219
6220 \end_inset
6221 </cell>
6222 </row>
6223 </lyxtabular>
6224
6225 \end_inset
6226
6227
6228 \begin_inset ERT
6229 status collapsed
6230
6231 \begin_layout Standard
6232
6233
6234 \backslash
6235 setlength{
6236 \backslash
6237 LTcapwidth}{4in}
6238 \end_layout
6239
6240 \end_inset
6241
6242
6243 \end_layout
6244
6245 \begin_layout Standard
6246
6247 \end_layout
6248
6249 \begin_layout Subsubsection
6250 Different Captions for Table Pages
6251 \begin_inset LatexCommand index
6252 name "Longtables ! Different Captions for Pages"
6253
6254 \end_inset
6255
6256
6257 \end_layout
6258
6259 \begin_layout Standard
6260 When the other captions should differ from the one of the first table page,
6261  insert a caption with a non-empty short title in a dummy caption row marked
6262  as first header.
6263  The caption used for the other table pages is inserted as caption without
6264  a short title in a dummy caption row that is marked as main header.
6265  When this caption shouldn't include the table number, use the command
6266 \end_layout
6267
6268 \begin_layout Standard
6269
6270 \series bold
6271
6272 \backslash
6273 caption*{caption text}
6274 \end_layout
6275
6276 \begin_layout Standard
6277 instead of LyX's caption box.
6278  The label to reference the table is inserted into the caption of the first
6279  header.
6280  Table\InsetSpace ~
6281
6282 \begin_inset LatexCommand ref
6283 reference "tab:DiffCaptions"
6284
6285 \end_inset
6286
6287  is an example for a longtable with different heading where the second caption
6288  doesn't include the table number.
6289 \end_layout
6290
6291 \begin_layout Standard
6292 \align center
6293 \begin_inset Tabular
6294 <lyxtabular version="3" rows="60" columns="3">
6295 <features islongtable="true">
6296 <column alignment="left" valignment="top" leftline="true" width="0cm">
6297 <column alignment="left" valignment="top" rightline="true" width="0pt">
6298 <column alignment="right" valignment="top" rightline="true" width="0pt">
6299 <row endfirsthead="true">
6300 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6301 \begin_inset Text
6302
6303 \begin_layout Standard
6304 \begin_inset Caption
6305
6306 \begin_layout Standard
6307 Example Phone List
6308 \begin_inset LatexCommand label
6309 name "tab:DiffCaptions"
6310
6311 \end_inset
6312
6313
6314 \begin_inset OptArg
6315 status collapsed
6316
6317 \begin_layout Standard
6318 Example Phone List
6319 \end_layout
6320
6321 \end_inset
6322
6323
6324 \end_layout
6325
6326 \end_inset
6327
6328
6329 \begin_inset ERT
6330 status collapsed
6331
6332 \begin_layout Standard
6333
6334
6335 \backslash
6336
6337 \backslash
6338 %
6339 \end_layout
6340
6341 \end_inset
6342
6343
6344 \end_layout
6345
6346 \end_inset
6347 </cell>
6348 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6349 \begin_inset Text
6350
6351 \begin_layout Standard
6352
6353 \end_layout
6354
6355 \end_inset
6356 </cell>
6357 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6358 \begin_inset Text
6359
6360 \begin_layout Standard
6361
6362 \end_layout
6363
6364 \end_inset
6365 </cell>
6366 </row>
6367 <row topline="true" bottomline="true" endfirsthead="true">
6368 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6369 \begin_inset Text
6370
6371 \begin_layout Standard
6372
6373 \series bold
6374 Example Phone List (ignore the names)
6375 \end_layout
6376
6377 \end_inset
6378 </cell>
6379 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6380 \begin_inset Text
6381
6382 \begin_layout Standard
6383
6384 \end_layout
6385
6386 \end_inset
6387 </cell>
6388 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6389 \begin_inset Text
6390
6391 \begin_layout Standard
6392
6393 \end_layout
6394
6395 \end_inset
6396 </cell>
6397 </row>
6398 <row topline="true" bottomline="true" endfirsthead="true">
6399 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6400 \begin_inset Text
6401
6402 \begin_layout Standard
6403
6404 \series bold
6405 NAME
6406 \end_layout
6407
6408 \end_inset
6409 </cell>
6410 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6411 \begin_inset Text
6412
6413 \begin_layout Standard
6414
6415 \end_layout
6416
6417 \end_inset
6418 </cell>
6419 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6420 \begin_inset Text
6421
6422 \begin_layout Standard
6423
6424 \series bold
6425 TEL.
6426 \end_layout
6427
6428 \end_inset
6429 </cell>
6430 </row>
6431 <row bottomline="true" endhead="true">
6432 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6433 \begin_inset Text
6434
6435 \begin_layout Standard
6436 \begin_inset ERT
6437 status collapsed
6438
6439 \begin_layout Standard
6440
6441
6442 \backslash
6443 caption*{Continued Example Phone List}
6444 \backslash
6445
6446 \backslash
6447 %
6448 \end_layout
6449
6450 \end_inset
6451
6452
6453 \end_layout
6454
6455 \end_inset
6456 </cell>
6457 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6458 \begin_inset Text
6459
6460 \begin_layout Standard
6461
6462 \end_layout
6463
6464 \end_inset
6465 </cell>
6466 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6467 \begin_inset Text
6468
6469 \begin_layout Standard
6470
6471 \end_layout
6472
6473 \end_inset
6474 </cell>
6475 </row>
6476 <row topline="true" bottomline="true" endhead="true">
6477 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6478 \begin_inset Text
6479
6480 \begin_layout Standard
6481
6482 \series bold
6483 Example Phone List
6484 \end_layout
6485
6486 \end_inset
6487 </cell>
6488 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6489 \begin_inset Text
6490
6491 \begin_layout Standard
6492
6493 \end_layout
6494
6495 \end_inset
6496 </cell>
6497 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6498 \begin_inset Text
6499
6500 \begin_layout Standard
6501
6502 \end_layout
6503
6504 \end_inset
6505 </cell>
6506 </row>
6507 <row topline="true" bottomline="true" endhead="true">
6508 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6509 \begin_inset Text
6510
6511 \begin_layout Standard
6512
6513 \series bold
6514 NAME
6515 \end_layout
6516
6517 \end_inset
6518 </cell>
6519 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6520 \begin_inset Text
6521
6522 \begin_layout Standard
6523
6524 \end_layout
6525
6526 \end_inset
6527 </cell>
6528 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6529 \begin_inset Text
6530
6531 \begin_layout Standard
6532
6533 \series bold
6534 TEL.
6535 \end_layout
6536
6537 \end_inset
6538 </cell>
6539 </row>
6540 <row topline="true" bottomline="true" endfoot="true">
6541 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
6542 \begin_inset Text
6543
6544 \begin_layout Standard
6545 continued on next page
6546 \end_layout
6547
6548 \end_inset
6549 </cell>
6550 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6551 \begin_inset Text
6552
6553 \begin_layout Standard
6554
6555 \end_layout
6556
6557 \end_inset
6558 </cell>
6559 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6560 \begin_inset Text
6561
6562 \begin_layout Standard
6563
6564 \end_layout
6565
6566 \end_inset
6567 </cell>
6568 </row>
6569 <row>
6570 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6571 \begin_inset Text
6572
6573 \begin_layout Standard
6574
6575 \series bold
6576 Annovi
6577 \end_layout
6578
6579 \end_inset
6580 </cell>
6581 <cell alignment="center" valignment="top" topline="true" usebox="none">
6582 \begin_inset Text
6583
6584 \begin_layout Standard
6585 Silvia
6586 \end_layout
6587
6588 \end_inset
6589 </cell>
6590 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6591 \begin_inset Text
6592
6593 \begin_layout Standard
6594 111
6595 \end_layout
6596
6597 \end_inset
6598 </cell>
6599 </row>
6600 <row>
6601 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6602 \begin_inset Text
6603
6604 \begin_layout Standard
6605
6606 \series bold
6607 Bertoli
6608 \end_layout
6609
6610 \end_inset
6611 </cell>
6612 <cell alignment="center" valignment="top" topline="true" usebox="none">
6613 \begin_inset Text
6614
6615 \begin_layout Standard
6616 Stefano
6617 \end_layout
6618
6619 \end_inset
6620 </cell>
6621 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6622 \begin_inset Text
6623
6624 \begin_layout Standard
6625 111
6626 \end_layout
6627
6628 \end_inset
6629 </cell>
6630 </row>
6631 <row>
6632 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6633 \begin_inset Text
6634
6635 \begin_layout Standard
6636
6637 \series bold
6638 Bozzi
6639 \end_layout
6640
6641 \end_inset
6642 </cell>
6643 <cell alignment="center" valignment="top" topline="true" usebox="none">
6644 \begin_inset Text
6645
6646 \begin_layout Standard
6647 Walter
6648 \end_layout
6649
6650 \end_inset
6651 </cell>
6652 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6653 \begin_inset Text
6654
6655 \begin_layout Standard
6656 111
6657 \end_layout
6658
6659 \end_inset
6660 </cell>
6661 </row>
6662 <row>
6663 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6664 \begin_inset Text
6665
6666 \begin_layout Standard
6667
6668 \series bold
6669 Cachia
6670 \end_layout
6671
6672 \end_inset
6673 </cell>
6674 <cell alignment="center" valignment="top" topline="true" usebox="none">
6675 \begin_inset Text
6676
6677 \begin_layout Standard
6678 Maria
6679 \end_layout
6680
6681 \end_inset
6682 </cell>
6683 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6684 \begin_inset Text
6685
6686 \begin_layout Standard
6687 111
6688 \end_layout
6689
6690 \end_inset
6691 </cell>
6692 </row>
6693 <row>
6694 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6695 \begin_inset Text
6696
6697 \begin_layout Standard
6698
6699 \series bold
6700 Cachia
6701 \end_layout
6702
6703 \end_inset
6704 </cell>
6705 <cell alignment="center" valignment="top" topline="true" usebox="none">
6706 \begin_inset Text
6707
6708 \begin_layout Standard
6709 Maurizio
6710 \end_layout
6711
6712 \end_inset
6713 </cell>
6714 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6715 \begin_inset Text
6716
6717 \begin_layout Standard
6718 111
6719 \end_layout
6720
6721 \end_inset
6722 </cell>
6723 </row>
6724 <row>
6725 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6726 \begin_inset Text
6727
6728 \begin_layout Standard
6729
6730 \series bold
6731 Cinquemani
6732 \end_layout
6733
6734 \end_inset
6735 </cell>
6736 <cell alignment="center" valignment="top" topline="true" usebox="none">
6737 \begin_inset Text
6738
6739 \begin_layout Standard
6740 Giusi
6741 \end_layout
6742
6743 \end_inset
6744 </cell>
6745 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6746 \begin_inset Text
6747
6748 \begin_layout Standard
6749 111
6750 \end_layout
6751
6752 \end_inset
6753 </cell>
6754 </row>
6755 <row>
6756 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6757 \begin_inset Text
6758
6759 \begin_layout Standard
6760
6761 \series bold
6762 Colin
6763 \end_layout
6764
6765 \end_inset
6766 </cell>
6767 <cell alignment="center" valignment="top" topline="true" usebox="none">
6768 \begin_inset Text
6769
6770 \begin_layout Standard
6771 Bernard
6772 \end_layout
6773
6774 \end_inset
6775 </cell>
6776 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6777 \begin_inset Text
6778
6779 \begin_layout Standard
6780 111
6781 \end_layout
6782
6783 \end_inset
6784 </cell>
6785 </row>
6786 <row>
6787 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6788 \begin_inset Text
6789
6790 \begin_layout Standard
6791
6792 \series bold
6793 Concli
6794 \end_layout
6795
6796 \end_inset
6797 </cell>
6798 <cell alignment="center" valignment="top" topline="true" usebox="none">
6799 \begin_inset Text
6800
6801 \begin_layout Standard
6802 Gianfranco
6803 \end_layout
6804
6805 \end_inset
6806 </cell>
6807 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6808 \begin_inset Text
6809
6810 \begin_layout Standard
6811 111
6812 \end_layout
6813
6814 \end_inset
6815 </cell>
6816 </row>
6817 <row>
6818 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6819 \begin_inset Text
6820
6821 \begin_layout Standard
6822
6823 \series bold
6824 Dal Bosco
6825 \end_layout
6826
6827 \end_inset
6828 </cell>
6829 <cell alignment="center" valignment="top" topline="true" usebox="none">
6830 \begin_inset Text
6831
6832 \begin_layout Standard
6833 Carolina
6834 \end_layout
6835
6836 \end_inset
6837 </cell>
6838 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6839 \begin_inset Text
6840
6841 \begin_layout Standard
6842 111
6843 \end_layout
6844
6845 \end_inset
6846 </cell>
6847 </row>
6848 <row>
6849 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6850 \begin_inset Text
6851
6852 \begin_layout Standard
6853
6854 \series bold
6855 Dalpiaz
6856 \end_layout
6857
6858 \end_inset
6859 </cell>
6860 <cell alignment="center" valignment="top" topline="true" usebox="none">
6861 \begin_inset Text
6862
6863 \begin_layout Standard
6864 Annamaria
6865 \end_layout
6866
6867 \end_inset
6868 </cell>
6869 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6870 \begin_inset Text
6871
6872 \begin_layout Standard
6873 111
6874 \end_layout
6875
6876 \end_inset
6877 </cell>
6878 </row>
6879 <row>
6880 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6881 \begin_inset Text
6882
6883 \begin_layout Standard
6884
6885 \series bold
6886 Feliciello
6887 \end_layout
6888
6889 \end_inset
6890 </cell>
6891 <cell alignment="center" valignment="top" topline="true" usebox="none">
6892 \begin_inset Text
6893
6894 \begin_layout Standard
6895 Domenico
6896 \end_layout
6897
6898 \end_inset
6899 </cell>
6900 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6901 \begin_inset Text
6902
6903 \begin_layout Standard
6904 111
6905 \end_layout
6906
6907 \end_inset
6908 </cell>
6909 </row>
6910 <row>
6911 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6912 \begin_inset Text
6913
6914 \begin_layout Standard
6915
6916 \series bold
6917 Focarelli
6918 \end_layout
6919
6920 \end_inset
6921 </cell>
6922 <cell alignment="center" valignment="top" topline="true" usebox="none">
6923 \begin_inset Text
6924
6925 \begin_layout Standard
6926 Paola
6927 \end_layout
6928
6929 \end_inset
6930 </cell>
6931 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6932 \begin_inset Text
6933
6934 \begin_layout Standard
6935 111
6936 \end_layout
6937
6938 \end_inset
6939 </cell>
6940 </row>
6941 <row>
6942 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6943 \begin_inset Text
6944
6945 \begin_layout Standard
6946
6947 \series bold
6948 Galletti
6949 \end_layout
6950
6951 \end_inset
6952 </cell>
6953 <cell alignment="center" valignment="top" topline="true" usebox="none">
6954 \begin_inset Text
6955
6956 \begin_layout Standard
6957 Oreste
6958 \end_layout
6959
6960 \end_inset
6961 </cell>
6962 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6963 \begin_inset Text
6964
6965 \begin_layout Standard
6966 111
6967 \end_layout
6968
6969 \end_inset
6970 </cell>
6971 </row>
6972 <row>
6973 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6974 \begin_inset Text
6975
6976 \begin_layout Standard
6977
6978 \series bold
6979 Gasparini
6980 \end_layout
6981
6982 \end_inset
6983 </cell>
6984 <cell alignment="center" valignment="top" topline="true" usebox="none">
6985 \begin_inset Text
6986
6987 \begin_layout Standard
6988 Franca
6989 \end_layout
6990
6991 \end_inset
6992 </cell>
6993 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6994 \begin_inset Text
6995
6996 \begin_layout Standard
6997 111
6998 \end_layout
6999
7000 \end_inset
7001 </cell>
7002 </row>
7003 <row>
7004 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7005 \begin_inset Text
7006
7007 \begin_layout Standard
7008
7009 \series bold
7010 Rizzardi
7011 \series default
7012
7013 \begin_inset Foot
7014 status collapsed
7015
7016 \begin_layout Standard
7017 Example footnote
7018 \end_layout
7019
7020 \end_inset
7021
7022
7023 \end_layout
7024
7025 \end_inset
7026 </cell>
7027 <cell alignment="center" valignment="top" topline="true" usebox="none">
7028 \begin_inset Text
7029
7030 \begin_layout Standard
7031 Paola
7032 \end_layout
7033
7034 \end_inset
7035 </cell>
7036 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7037 \begin_inset Text
7038
7039 \begin_layout Standard
7040 111
7041 \end_layout
7042
7043 \end_inset
7044 </cell>
7045 </row>
7046 <row>
7047 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7048 \begin_inset Text
7049
7050 \begin_layout Standard
7051
7052 \series bold
7053 Lassini
7054 \end_layout
7055
7056 \end_inset
7057 </cell>
7058 <cell alignment="center" valignment="top" topline="true" usebox="none">
7059 \begin_inset Text
7060
7061 \begin_layout Standard
7062 Giancarlo
7063 \end_layout
7064
7065 \end_inset
7066 </cell>
7067 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7068 \begin_inset Text
7069
7070 \begin_layout Standard
7071 111
7072 \end_layout
7073
7074 \end_inset
7075 </cell>
7076 </row>
7077 <row>
7078 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7079 \begin_inset Text
7080
7081 \begin_layout Standard
7082
7083 \series bold
7084 Malfatti
7085 \end_layout
7086
7087 \end_inset
7088 </cell>
7089 <cell alignment="center" valignment="top" topline="true" usebox="none">
7090 \begin_inset Text
7091
7092 \begin_layout Standard
7093 Luciano
7094 \end_layout
7095
7096 \end_inset
7097 </cell>
7098 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7099 \begin_inset Text
7100
7101 \begin_layout Standard
7102 111
7103 \end_layout
7104
7105 \end_inset
7106 </cell>
7107 </row>
7108 <row>
7109 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7110 \begin_inset Text
7111
7112 \begin_layout Standard
7113
7114 \series bold
7115 Malfatti
7116 \end_layout
7117
7118 \end_inset
7119 </cell>
7120 <cell alignment="center" valignment="top" topline="true" usebox="none">
7121 \begin_inset Text
7122
7123 \begin_layout Standard
7124 Valeriano
7125 \end_layout
7126
7127 \end_inset
7128 </cell>
7129 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7130 \begin_inset Text
7131
7132 \begin_layout Standard
7133 111
7134 \end_layout
7135
7136 \end_inset
7137 </cell>
7138 </row>
7139 <row>
7140 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7141 \begin_inset Text
7142
7143 \begin_layout Standard
7144
7145 \series bold
7146 Meneguzzo
7147 \end_layout
7148
7149 \end_inset
7150 </cell>
7151 <cell alignment="center" valignment="top" topline="true" usebox="none">
7152 \begin_inset Text
7153
7154 \begin_layout Standard
7155 Roberto
7156 \end_layout
7157
7158 \end_inset
7159 </cell>
7160 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7161 \begin_inset Text
7162
7163 \begin_layout Standard
7164 111
7165 \end_layout
7166
7167 \end_inset
7168 </cell>
7169 </row>
7170 <row>
7171 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7172 \begin_inset Text
7173
7174 \begin_layout Standard
7175
7176 \series bold
7177 Mezzadra
7178 \end_layout
7179
7180 \end_inset
7181 </cell>
7182 <cell alignment="center" valignment="top" topline="true" usebox="none">
7183 \begin_inset Text
7184
7185 \begin_layout Standard
7186 Roberto
7187 \end_layout
7188
7189 \end_inset
7190 </cell>
7191 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7192 \begin_inset Text
7193
7194 \begin_layout Standard
7195 111
7196 \end_layout
7197
7198 \end_inset
7199 </cell>
7200 </row>
7201 <row>
7202 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7203 \begin_inset Text
7204
7205 \begin_layout Standard
7206
7207 \series bold
7208 Pirpamer
7209 \end_layout
7210
7211 \end_inset
7212 </cell>
7213 <cell alignment="center" valignment="top" topline="true" usebox="none">
7214 \begin_inset Text
7215
7216 \begin_layout Standard
7217 Erich
7218 \end_layout
7219
7220 \end_inset
7221 </cell>
7222 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7223 \begin_inset Text
7224
7225 \begin_layout Standard
7226 111
7227 \end_layout
7228
7229 \end_inset
7230 </cell>
7231 </row>
7232 <row>
7233 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7234 \begin_inset Text
7235
7236 \begin_layout Standard
7237
7238 \series bold
7239 Pochiesa
7240 \end_layout
7241
7242 \end_inset
7243 </cell>
7244 <cell alignment="center" valignment="top" topline="true" usebox="none">
7245 \begin_inset Text
7246
7247 \begin_layout Standard
7248 Paolo
7249 \end_layout
7250
7251 \end_inset
7252 </cell>
7253 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7254 \begin_inset Text
7255
7256 \begin_layout Standard
7257 111, 222
7258 \end_layout
7259
7260 \end_inset
7261 </cell>
7262 </row>
7263 <row>
7264 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7265 \begin_inset Text
7266
7267 \begin_layout Standard
7268
7269 \series bold
7270 Radina
7271 \end_layout
7272
7273 \end_inset
7274 </cell>
7275 <cell alignment="center" valignment="top" topline="true" usebox="none">
7276 \begin_inset Text
7277
7278 \begin_layout Standard
7279 Claudio
7280 \end_layout
7281
7282 \end_inset
7283 </cell>
7284 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7285 \begin_inset Text
7286
7287 \begin_layout Standard
7288 111
7289 \end_layout
7290
7291 \end_inset
7292 </cell>
7293 </row>
7294 <row>
7295 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7296 \begin_inset Text
7297
7298 \begin_layout Standard
7299
7300 \series bold
7301 Stuffer
7302 \end_layout
7303
7304 \end_inset
7305 </cell>
7306 <cell alignment="center" valignment="top" topline="true" usebox="none">
7307 \begin_inset Text
7308
7309 \begin_layout Standard
7310 Oskar
7311 \end_layout
7312
7313 \end_inset
7314 </cell>
7315 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7316 \begin_inset Text
7317
7318 \begin_layout Standard
7319 111
7320 \end_layout
7321
7322 \end_inset
7323 </cell>
7324 </row>
7325 <row>
7326 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7327 \begin_inset Text
7328
7329 \begin_layout Standard
7330
7331 \series bold
7332 Tacchelli
7333 \end_layout
7334
7335 \end_inset
7336 </cell>
7337 <cell alignment="center" valignment="top" topline="true" usebox="none">
7338 \begin_inset Text
7339
7340 \begin_layout Standard
7341 Ugo
7342 \end_layout
7343
7344 \end_inset
7345 </cell>
7346 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7347 \begin_inset Text
7348
7349 \begin_layout Standard
7350 111
7351 \end_layout
7352
7353 \end_inset
7354 </cell>
7355 </row>
7356 <row>
7357 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7358 \begin_inset Text
7359
7360 \begin_layout Standard
7361
7362 \series bold
7363 Tezzele
7364 \end_layout
7365
7366 \end_inset
7367 </cell>
7368 <cell alignment="center" valignment="top" topline="true" usebox="none">
7369 \begin_inset Text
7370
7371 \begin_layout Standard
7372 Margit
7373 \end_layout
7374
7375 \end_inset
7376 </cell>
7377 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7378 \begin_inset Text
7379
7380 \begin_layout Standard
7381 111
7382 \end_layout
7383
7384 \end_inset
7385 </cell>
7386 </row>
7387 <row>
7388 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7389 \begin_inset Text
7390
7391 \begin_layout Standard
7392
7393 \series bold
7394 Unterkalmsteiner
7395 \end_layout
7396
7397 \end_inset
7398 </cell>
7399 <cell alignment="center" valignment="top" topline="true" usebox="none">
7400 \begin_inset Text
7401
7402 \begin_layout Standard
7403 Frieda
7404 \end_layout
7405
7406 \end_inset
7407 </cell>
7408 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7409 \begin_inset Text
7410
7411 \begin_layout Standard
7412 111
7413 \end_layout
7414
7415 \end_inset
7416 </cell>
7417 </row>
7418 <row>
7419 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7420 \begin_inset Text
7421
7422 \begin_layout Standard
7423
7424 \series bold
7425 Vieider
7426 \end_layout
7427
7428 \end_inset
7429 </cell>
7430 <cell alignment="center" valignment="top" topline="true" usebox="none">
7431 \begin_inset Text
7432
7433 \begin_layout Standard
7434 Hilde
7435 \end_layout
7436
7437 \end_inset
7438 </cell>
7439 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7440 \begin_inset Text
7441
7442 \begin_layout Standard
7443 111
7444 \end_layout
7445
7446 \end_inset
7447 </cell>
7448 </row>
7449 <row>
7450 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7451 \begin_inset Text
7452
7453 \begin_layout Standard
7454
7455 \series bold
7456 Vigna
7457 \end_layout
7458
7459 \end_inset
7460 </cell>
7461 <cell alignment="center" valignment="top" topline="true" usebox="none">
7462 \begin_inset Text
7463
7464 \begin_layout Standard
7465 Jürgen
7466 \end_layout
7467
7468 \end_inset
7469 </cell>
7470 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7471 \begin_inset Text
7472
7473 \begin_layout Standard
7474 111
7475 \end_layout
7476
7477 \end_inset
7478 </cell>
7479 </row>
7480 <row>
7481 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7482 \begin_inset Text
7483
7484 \begin_layout Standard
7485
7486 \series bold
7487 Weber
7488 \end_layout
7489
7490 \end_inset
7491 </cell>
7492 <cell alignment="center" valignment="top" topline="true" usebox="none">
7493 \begin_inset Text
7494
7495 \begin_layout Standard
7496 Maurizio
7497 \end_layout
7498
7499 \end_inset
7500 </cell>
7501 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7502 \begin_inset Text
7503
7504 \begin_layout Standard
7505 111
7506 \end_layout
7507
7508 \end_inset
7509 </cell>
7510 </row>
7511 <row bottomline="true">
7512 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7513 \begin_inset Text
7514
7515 \begin_layout Standard
7516
7517 \series bold
7518 Winkler
7519 \end_layout
7520
7521 \end_inset
7522 </cell>
7523 <cell alignment="center" valignment="top" topline="true" usebox="none">
7524 \begin_inset Text
7525
7526 \begin_layout Standard
7527 Franz
7528 \end_layout
7529
7530 \end_inset
7531 </cell>
7532 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7533 \begin_inset Text
7534
7535 \begin_layout Standard
7536 111
7537 \end_layout
7538
7539 \end_inset
7540 </cell>
7541 </row>
7542 <row bottomline="true">
7543 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7544 \begin_inset Text
7545
7546 \begin_layout Standard
7547  
7548 \end_layout
7549
7550 \end_inset
7551 </cell>
7552 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
7553 \begin_inset Text
7554
7555 \begin_layout Standard
7556
7557 \end_layout
7558
7559 \end_inset
7560 </cell>
7561 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7562 \begin_inset Text
7563
7564 \begin_layout Standard
7565
7566 \end_layout
7567
7568 \end_inset
7569 </cell>
7570 </row>
7571 <row>
7572 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7573 \begin_inset Text
7574
7575 \begin_layout Standard
7576
7577 \series bold
7578 Annovi
7579 \end_layout
7580
7581 \end_inset
7582 </cell>
7583 <cell alignment="center" valignment="top" topline="true" usebox="none">
7584 \begin_inset Text
7585
7586 \begin_layout Standard
7587 Silvia
7588 \end_layout
7589
7590 \end_inset
7591 </cell>
7592 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7593 \begin_inset Text
7594
7595 \begin_layout Standard
7596 555
7597 \end_layout
7598
7599 \end_inset
7600 </cell>
7601 </row>
7602 <row>
7603 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7604 \begin_inset Text
7605
7606 \begin_layout Standard
7607
7608 \series bold
7609 Bertoli
7610 \end_layout
7611
7612 \end_inset
7613 </cell>
7614 <cell alignment="center" valignment="top" topline="true" usebox="none">
7615 \begin_inset Text
7616
7617 \begin_layout Standard
7618 Stefano
7619 \end_layout
7620
7621 \end_inset
7622 </cell>
7623 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7624 \begin_inset Text
7625
7626 \begin_layout Standard
7627 555
7628 \end_layout
7629
7630 \end_inset
7631 </cell>
7632 </row>
7633 <row>
7634 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7635 \begin_inset Text
7636
7637 \begin_layout Standard
7638
7639 \series bold
7640 Bozzi
7641 \end_layout
7642
7643 \end_inset
7644 </cell>
7645 <cell alignment="center" valignment="top" topline="true" usebox="none">
7646 \begin_inset Text
7647
7648 \begin_layout Standard
7649 Walter
7650 \end_layout
7651
7652 \end_inset
7653 </cell>
7654 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7655 \begin_inset Text
7656
7657 \begin_layout Standard
7658 555
7659 \end_layout
7660
7661 \end_inset
7662 </cell>
7663 </row>
7664 <row>
7665 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7666 \begin_inset Text
7667
7668 \begin_layout Standard
7669
7670 \series bold
7671 Cachia
7672 \end_layout
7673
7674 \end_inset
7675 </cell>
7676 <cell alignment="center" valignment="top" topline="true" usebox="none">
7677 \begin_inset Text
7678
7679 \begin_layout Standard
7680 Maria
7681 \end_layout
7682
7683 \end_inset
7684 </cell>
7685 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7686 \begin_inset Text
7687
7688 \begin_layout Standard
7689 555
7690 \end_layout
7691
7692 \end_inset
7693 </cell>
7694 </row>
7695 <row>
7696 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7697 \begin_inset Text
7698
7699 \begin_layout Standard
7700
7701 \series bold
7702 Cachia
7703 \end_layout
7704
7705 \end_inset
7706 </cell>
7707 <cell alignment="center" valignment="top" topline="true" usebox="none">
7708 \begin_inset Text
7709
7710 \begin_layout Standard
7711 Maurizio
7712 \end_layout
7713
7714 \end_inset
7715 </cell>
7716 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7717 \begin_inset Text
7718
7719 \begin_layout Standard
7720 555
7721 \end_layout
7722
7723 \end_inset
7724 </cell>
7725 </row>
7726 <row>
7727 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7728 \begin_inset Text
7729
7730 \begin_layout Standard
7731
7732 \series bold
7733 Cinquemani
7734 \end_layout
7735
7736 \end_inset
7737 </cell>
7738 <cell alignment="center" valignment="top" topline="true" usebox="none">
7739 \begin_inset Text
7740
7741 \begin_layout Standard
7742 Giusi
7743 \end_layout
7744
7745 \end_inset
7746 </cell>
7747 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7748 \begin_inset Text
7749
7750 \begin_layout Standard
7751 555
7752 \end_layout
7753
7754 \end_inset
7755 </cell>
7756 </row>
7757 <row>
7758 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7759 \begin_inset Text
7760
7761 \begin_layout Standard
7762
7763 \series bold
7764 Colin
7765 \end_layout
7766
7767 \end_inset
7768 </cell>
7769 <cell alignment="center" valignment="top" topline="true" usebox="none">
7770 \begin_inset Text
7771
7772 \begin_layout Standard
7773 Bernard
7774 \end_layout
7775
7776 \end_inset
7777 </cell>
7778 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7779 \begin_inset Text
7780
7781 \begin_layout Standard
7782 555
7783 \end_layout
7784
7785 \end_inset
7786 </cell>
7787 </row>
7788 <row>
7789 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7790 \begin_inset Text
7791
7792 \begin_layout Standard
7793
7794 \series bold
7795 Concli
7796 \end_layout
7797
7798 \end_inset
7799 </cell>
7800 <cell alignment="center" valignment="top" topline="true" usebox="none">
7801 \begin_inset Text
7802
7803 \begin_layout Standard
7804 Gianfranco
7805 \end_layout
7806
7807 \end_inset
7808 </cell>
7809 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7810 \begin_inset Text
7811
7812 \begin_layout Standard
7813 555
7814 \end_layout
7815
7816 \end_inset
7817 </cell>
7818 </row>
7819 <row>
7820 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7821 \begin_inset Text
7822
7823 \begin_layout Standard
7824
7825 \series bold
7826 Dal Bosco
7827 \end_layout
7828
7829 \end_inset
7830 </cell>
7831 <cell alignment="center" valignment="top" topline="true" usebox="none">
7832 \begin_inset Text
7833
7834 \begin_layout Standard
7835 Carolina
7836 \end_layout
7837
7838 \end_inset
7839 </cell>
7840 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7841 \begin_inset Text
7842
7843 \begin_layout Standard
7844 555
7845 \end_layout
7846
7847 \end_inset
7848 </cell>
7849 </row>
7850 <row>
7851 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7852 \begin_inset Text
7853
7854 \begin_layout Standard
7855
7856 \series bold
7857 Dalpiaz
7858 \end_layout
7859
7860 \end_inset
7861 </cell>
7862 <cell alignment="center" valignment="top" topline="true" usebox="none">
7863 \begin_inset Text
7864
7865 \begin_layout Standard
7866 Annamaria
7867 \end_layout
7868
7869 \end_inset
7870 </cell>
7871 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7872 \begin_inset Text
7873
7874 \begin_layout Standard
7875 555
7876 \end_layout
7877
7878 \end_inset
7879 </cell>
7880 </row>
7881 <row>
7882 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7883 \begin_inset Text
7884
7885 \begin_layout Standard
7886
7887 \series bold
7888 Feliciello
7889 \end_layout
7890
7891 \end_inset
7892 </cell>
7893 <cell alignment="center" valignment="top" topline="true" usebox="none">
7894 \begin_inset Text
7895
7896 \begin_layout Standard
7897 Domenico
7898 \end_layout
7899
7900 \end_inset
7901 </cell>
7902 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7903 \begin_inset Text
7904
7905 \begin_layout Standard
7906 555
7907 \end_layout
7908
7909 \end_inset
7910 </cell>
7911 </row>
7912 <row>
7913 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7914 \begin_inset Text
7915
7916 \begin_layout Standard
7917
7918 \series bold
7919 Focarelli
7920 \end_layout
7921
7922 \end_inset
7923 </cell>
7924 <cell alignment="center" valignment="top" topline="true" usebox="none">
7925 \begin_inset Text
7926
7927 \begin_layout Standard
7928 Paola
7929 \end_layout
7930
7931 \end_inset
7932 </cell>
7933 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7934 \begin_inset Text
7935
7936 \begin_layout Standard
7937 555
7938 \end_layout
7939
7940 \end_inset
7941 </cell>
7942 </row>
7943 <row>
7944 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7945 \begin_inset Text
7946
7947 \begin_layout Standard
7948
7949 \series bold
7950 Galletti
7951 \end_layout
7952
7953 \end_inset
7954 </cell>
7955 <cell alignment="center" valignment="top" topline="true" usebox="none">
7956 \begin_inset Text
7957
7958 \begin_layout Standard
7959 Oreste
7960 \end_layout
7961
7962 \end_inset
7963 </cell>
7964 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7965 \begin_inset Text
7966
7967 \begin_layout Standard
7968 555
7969 \end_layout
7970
7971 \end_inset
7972 </cell>
7973 </row>
7974 <row>
7975 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7976 \begin_inset Text
7977
7978 \begin_layout Standard
7979
7980 \series bold
7981 Gasparini
7982 \end_layout
7983
7984 \end_inset
7985 </cell>
7986 <cell alignment="center" valignment="top" topline="true" usebox="none">
7987 \begin_inset Text
7988
7989 \begin_layout Standard
7990 Franca
7991 \end_layout
7992
7993 \end_inset
7994 </cell>
7995 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7996 \begin_inset Text
7997
7998 \begin_layout Standard
7999 555
8000 \end_layout
8001
8002 \end_inset
8003 </cell>
8004 </row>
8005 <row>
8006 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8007 \begin_inset Text
8008
8009 \begin_layout Standard
8010
8011 \series bold
8012 Rizzardi
8013 \end_layout
8014
8015 \end_inset
8016 </cell>
8017 <cell alignment="center" valignment="top" topline="true" usebox="none">
8018 \begin_inset Text
8019
8020 \begin_layout Standard
8021 Paola
8022 \end_layout
8023
8024 \end_inset
8025 </cell>
8026 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8027 \begin_inset Text
8028
8029 \begin_layout Standard
8030 555
8031 \end_layout
8032
8033 \end_inset
8034 </cell>
8035 </row>
8036 <row>
8037 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8038 \begin_inset Text
8039
8040 \begin_layout Standard
8041
8042 \series bold
8043 Lassini
8044 \end_layout
8045
8046 \end_inset
8047 </cell>
8048 <cell alignment="center" valignment="top" topline="true" usebox="none">
8049 \begin_inset Text
8050
8051 \begin_layout Standard
8052 Giancarlo
8053 \end_layout
8054
8055 \end_inset
8056 </cell>
8057 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8058 \begin_inset Text
8059
8060 \begin_layout Standard
8061 555
8062 \end_layout
8063
8064 \end_inset
8065 </cell>
8066 </row>
8067 <row>
8068 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8069 \begin_inset Text
8070
8071 \begin_layout Standard
8072
8073 \series bold
8074 Malfatti
8075 \end_layout
8076
8077 \end_inset
8078 </cell>
8079 <cell alignment="center" valignment="top" topline="true" usebox="none">
8080 \begin_inset Text
8081
8082 \begin_layout Standard
8083 Luciano
8084 \end_layout
8085
8086 \end_inset
8087 </cell>
8088 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8089 \begin_inset Text
8090
8091 \begin_layout Standard
8092 555
8093 \end_layout
8094
8095 \end_inset
8096 </cell>
8097 </row>
8098 <row>
8099 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8100 \begin_inset Text
8101
8102 \begin_layout Standard
8103
8104 \series bold
8105 Malfatti
8106 \end_layout
8107
8108 \end_inset
8109 </cell>
8110 <cell alignment="center" valignment="top" topline="true" usebox="none">
8111 \begin_inset Text
8112
8113 \begin_layout Standard
8114 Valeriano
8115 \end_layout
8116
8117 \end_inset
8118 </cell>
8119 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8120 \begin_inset Text
8121
8122 \begin_layout Standard
8123 555
8124 \end_layout
8125
8126 \end_inset
8127 </cell>
8128 </row>
8129 <row>
8130 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8131 \begin_inset Text
8132
8133 \begin_layout Standard
8134
8135 \series bold
8136 Meneguzzo
8137 \end_layout
8138
8139 \end_inset
8140 </cell>
8141 <cell alignment="center" valignment="top" topline="true" usebox="none">
8142 \begin_inset Text
8143
8144 \begin_layout Standard
8145 Roberto
8146 \end_layout
8147
8148 \end_inset
8149 </cell>
8150 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8151 \begin_inset Text
8152
8153 \begin_layout Standard
8154 555
8155 \end_layout
8156
8157 \end_inset
8158 </cell>
8159 </row>
8160 <row bottomline="true">
8161 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8162 \begin_inset Text
8163
8164 \begin_layout Standard
8165
8166 \series bold
8167 Mezzadra
8168 \end_layout
8169
8170 \end_inset
8171 </cell>
8172 <cell alignment="center" valignment="top" topline="true" usebox="none">
8173 \begin_inset Text
8174
8175 \begin_layout Standard
8176 Roberto
8177 \end_layout
8178
8179 \end_inset
8180 </cell>
8181 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8182 \begin_inset Text
8183
8184 \begin_layout Standard
8185 555
8186 \end_layout
8187
8188 \end_inset
8189 </cell>
8190 </row>
8191 <row bottomline="true" endlastfoot="true">
8192 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
8193 \begin_inset Text
8194
8195 \begin_layout Standard
8196
8197 \end_layout
8198
8199 \end_inset
8200 </cell>
8201 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8202 \begin_inset Text
8203
8204 \begin_layout Standard
8205
8206 \end_layout
8207
8208 \end_inset
8209 </cell>
8210 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8211 \begin_inset Text
8212
8213 \begin_layout Standard
8214
8215 \end_layout
8216
8217 \end_inset
8218 </cell>
8219 </row>
8220 </lyxtabular>
8221
8222 \end_inset
8223
8224
8225 \end_layout
8226
8227 \begin_layout Section
8228 Special Longtable Issues
8229 \begin_inset LatexCommand label
8230 name "sec:Special-Longtable-Issues"
8231
8232 \end_inset
8233
8234
8235 \end_layout
8236
8237 \begin_layout Subsection
8238 Longtable Calculation
8239 \begin_inset LatexCommand index
8240 name "Longtables ! Calculation"
8241
8242 \end_inset
8243
8244
8245 \end_layout
8246
8247 \begin_layout Standard
8248 LaTeX calculates the height of table pages and their page breaks using so
8249  called chunks.
8250  Chunks are pieces of the tables that are at once in LaTeX's memory.
8251  The default value is historically set to only 20 table rows.
8252  If you are using longtables with many pages this may slow down the creation
8253  of your document.
8254  You can safely increase the chunk size to values of 100-1000 by adding
8255  this command line to your document preamble:
8256 \end_layout
8257
8258 \begin_layout Standard
8259
8260 \series bold
8261
8262 \backslash
8263 setcounter{LTchunksize}{100}
8264 \end_layout
8265
8266 \begin_layout Subsection
8267 Floats and Longtables
8268 \begin_inset LatexCommand index
8269 name "Longtables ! Floats"
8270
8271 \end_inset
8272
8273
8274 \end_layout
8275
8276 \begin_layout Standard
8277 There might be problems when a float appears on the same page where a longtable
8278  starts.
8279  To avoid such situation, add the command 
8280 \series bold
8281
8282 \backslash
8283 clearpage
8284 \series default
8285  as ERT before your longtable.
8286 \end_layout
8287
8288 \begin_layout Subsection
8289 Forced Page Breaks
8290 \begin_inset LatexCommand index
8291 name "Longtables ! Forced Page Breaks"
8292
8293 \end_inset
8294
8295
8296 \end_layout
8297
8298 \begin_layout Standard
8299 By default tables are only broken between rows.
8300  If you have a cell with multiples lines and want to have a page break within
8301  the cell, insert the new line command 
8302 \begin_inset Quotes eld
8303 \end_inset
8304
8305
8306 \series bold
8307
8308 \backslash
8309
8310 \backslash
8311
8312 \series default
8313
8314 \begin_inset Quotes erd
8315 \end_inset
8316
8317  as ERT at this point of the cell where it should be broken.
8318  Before the 
8319 \series bold
8320
8321 \backslash
8322
8323 \backslash
8324
8325 \series default
8326  command you have to insert in ERT so many 
8327 \begin_inset Quotes eld
8328 \end_inset
8329
8330
8331 \series bold
8332 &
8333 \series default
8334
8335 \begin_inset Quotes erd
8336 \end_inset
8337
8338  characters like the number of the following table columns.
8339  The 
8340 \series bold
8341 &
8342 \series default
8343  is the character to separate table cells.
8344  Write in ERT after each 
8345 \series bold
8346 &
8347 \series default
8348  the content of the corresponding following cell and delete the content
8349  of these cells.
8350 \newline
8351 Behind the the 
8352 \series bold
8353
8354 \backslash
8355
8356 \backslash
8357
8358 \series default
8359  command, insert so many 
8360 \series bold
8361 &
8362 \series default
8363  characters like the number of table columns before the current column.
8364  In Table\InsetSpace ~
8365
8366 \begin_inset LatexCommand ref
8367 reference "tab:ForcedPagebreak"
8368
8369 \end_inset
8370
8371  the cell that should be broken is in the second column followed by another
8372  column.
8373  Therefore the following command was inserted in the cell as ERT behind
8374  
8375 \begin_inset Quotes eld
8376 \end_inset
8377
8378
8379 \emph on
8380 Castelchiodato,
8381 \emph default
8382
8383 \begin_inset Quotes erd
8384 \end_inset
8385
8386 :
8387 \end_layout
8388
8389 \begin_layout Standard
8390
8391 \series bold
8392 & 111
8393 \backslash
8394
8395 \backslash
8396
8397 \newline
8398 &
8399 \end_layout
8400
8401 \begin_layout Standard
8402 The 
8403 \begin_inset Quotes eld
8404 \end_inset
8405
8406 111
8407 \begin_inset Quotes erd
8408 \end_inset
8409
8410  in the third columns of the row was deleted.
8411  If your footer row of the longtable has for a certain reason no upper line
8412  but you would have a horizontal line where the cell is broken, use this
8413  command instead:
8414 \end_layout
8415
8416 \begin_layout Standard
8417
8418 \series bold
8419 & 111
8420 \backslash
8421
8422 \backslash
8423
8424 \newline
8425
8426 \backslash
8427 hline &
8428 \end_layout
8429
8430 \begin_layout Standard
8431 When the cell to be broken is in the last column, the command
8432 \end_layout
8433
8434 \begin_layout Standard
8435
8436 \series bold
8437
8438 \backslash
8439 setlength{
8440 \backslash
8441 parf\SpecialChar \textcompwordmark{}
8442 illskip}{0pt}
8443 \end_layout
8444
8445 \begin_layout Standard
8446 must be inserted as ERT at the beginning of the cell.
8447  This assures that the part of the cell that will be displayed on the new
8448  page appears with the full width.
8449  
8450 \end_layout
8451
8452 \begin_layout Standard
8453 \align center
8454 \begin_inset Tabular
8455 <lyxtabular version="3" rows="39" columns="3">
8456 <features islongtable="true">
8457 <column alignment="left" valignment="top" leftline="true" width="0cm">
8458 <column alignment="left" valignment="top" rightline="true" width="3cm">
8459 <column alignment="right" valignment="top" rightline="true" width="0pt">
8460 <row endfirsthead="true">
8461 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8462 \begin_inset Text
8463
8464 \begin_layout Standard
8465 \begin_inset Caption
8466
8467 \begin_layout Standard
8468 Table with forced page break in table cell
8469 \begin_inset LatexCommand label
8470 name "tab:ForcedPagebreak"
8471
8472 \end_inset
8473
8474
8475 \begin_inset OptArg
8476 status collapsed
8477
8478 \begin_layout Standard
8479 Table with forced page break in table cell
8480 \end_layout
8481
8482 \end_inset
8483
8484
8485 \end_layout
8486
8487 \end_inset
8488
8489
8490 \begin_inset ERT
8491 status collapsed
8492
8493 \begin_layout Standard
8494
8495
8496 \backslash
8497
8498 \backslash
8499 %
8500 \end_layout
8501
8502 \end_inset
8503
8504
8505 \end_layout
8506
8507 \end_inset
8508 </cell>
8509 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8510 \begin_inset Text
8511
8512 \begin_layout Standard
8513
8514 \end_layout
8515
8516 \end_inset
8517 </cell>
8518 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8519 \begin_inset Text
8520
8521 \begin_layout Standard
8522
8523 \end_layout
8524
8525 \end_inset
8526 </cell>
8527 </row>
8528 <row topline="true" bottomline="true" endfirsthead="true">
8529 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8530 \begin_inset Text
8531
8532 \begin_layout Standard
8533
8534 \series bold
8535 Example Phone List (ignore the names)
8536 \end_layout
8537
8538 \end_inset
8539 </cell>
8540 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8541 \begin_inset Text
8542
8543 \begin_layout Standard
8544
8545 \end_layout
8546
8547 \end_inset
8548 </cell>
8549 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8550 \begin_inset Text
8551
8552 \begin_layout Standard
8553
8554 \end_layout
8555
8556 \end_inset
8557 </cell>
8558 </row>
8559 <row topline="true" bottomline="true" endfirsthead="true">
8560 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8561 \begin_inset Text
8562
8563 \begin_layout Standard
8564
8565 \series bold
8566 NAME
8567 \end_layout
8568
8569 \end_inset
8570 </cell>
8571 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8572 \begin_inset Text
8573
8574 \begin_layout Standard
8575
8576 \end_layout
8577
8578 \end_inset
8579 </cell>
8580 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8581 \begin_inset Text
8582
8583 \begin_layout Standard
8584
8585 \series bold
8586 TEL.
8587 \end_layout
8588
8589 \end_inset
8590 </cell>
8591 </row>
8592 <row bottomline="true" endhead="true">
8593 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8594 \begin_inset Text
8595
8596 \begin_layout Standard
8597 \begin_inset ERT
8598 status collapsed
8599
8600 \begin_layout Standard
8601
8602
8603 \backslash
8604 caption*{Continued table with forced page break in table cell}
8605 \backslash
8606
8607 \backslash
8608 %
8609 \end_layout
8610
8611 \end_inset
8612
8613
8614 \end_layout
8615
8616 \end_inset
8617 </cell>
8618 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8619 \begin_inset Text
8620
8621 \begin_layout Standard
8622
8623 \end_layout
8624
8625 \end_inset
8626 </cell>
8627 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8628 \begin_inset Text
8629
8630 \begin_layout Standard
8631
8632 \end_layout
8633
8634 \end_inset
8635 </cell>
8636 </row>
8637 <row topline="true" bottomline="true" endhead="true">
8638 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8639 \begin_inset Text
8640
8641 \begin_layout Standard
8642  
8643 \series bold
8644 Example Phone List
8645 \end_layout
8646
8647 \end_inset
8648 </cell>
8649 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8650 \begin_inset Text
8651
8652 \begin_layout Standard
8653
8654 \end_layout
8655
8656 \end_inset
8657 </cell>
8658 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8659 \begin_inset Text
8660
8661 \begin_layout Standard
8662
8663 \end_layout
8664
8665 \end_inset
8666 </cell>
8667 </row>
8668 <row topline="true" bottomline="true" endhead="true">
8669 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8670 \begin_inset Text
8671
8672 \begin_layout Standard
8673
8674 \series bold
8675 NAME
8676 \end_layout
8677
8678 \end_inset
8679 </cell>
8680 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8681 \begin_inset Text
8682
8683 \begin_layout Standard
8684
8685 \end_layout
8686
8687 \end_inset
8688 </cell>
8689 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8690 \begin_inset Text
8691
8692 \begin_layout Standard
8693
8694 \series bold
8695 TEL.
8696 \end_layout
8697
8698 \end_inset
8699 </cell>
8700 </row>
8701 <row topline="true" bottomline="true" endfoot="true">
8702 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
8703 \begin_inset Text
8704
8705 \begin_layout Standard
8706 continued on next page
8707 \end_layout
8708
8709 \end_inset
8710 </cell>
8711 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8712 \begin_inset Text
8713
8714 \begin_layout Standard
8715
8716 \end_layout
8717
8718 \end_inset
8719 </cell>
8720 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8721 \begin_inset Text
8722
8723 \begin_layout Standard
8724
8725 \end_layout
8726
8727 \end_inset
8728 </cell>
8729 </row>
8730 <row>
8731 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8732 \begin_inset Text
8733
8734 \begin_layout Standard
8735
8736 \series bold
8737 Annovi
8738 \end_layout
8739
8740 \end_inset
8741 </cell>
8742 <cell alignment="center" valignment="top" topline="true" usebox="none">
8743 \begin_inset Text
8744
8745 \begin_layout Standard
8746 Silvia
8747 \end_layout
8748
8749 \end_inset
8750 </cell>
8751 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8752 \begin_inset Text
8753
8754 \begin_layout Standard
8755 111
8756 \end_layout
8757
8758 \end_inset
8759 </cell>
8760 </row>
8761 <row>
8762 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8763 \begin_inset Text
8764
8765 \begin_layout Standard
8766
8767 \series bold
8768 Bertoli
8769 \end_layout
8770
8771 \end_inset
8772 </cell>
8773 <cell alignment="center" valignment="top" topline="true" usebox="none">
8774 \begin_inset Text
8775
8776 \begin_layout Standard
8777 Stefano
8778 \end_layout
8779
8780 \end_inset
8781 </cell>
8782 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8783 \begin_inset Text
8784
8785 \begin_layout Standard
8786 111
8787 \end_layout
8788
8789 \end_inset
8790 </cell>
8791 </row>
8792 <row>
8793 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8794 \begin_inset Text
8795
8796 \begin_layout Standard
8797
8798 \series bold
8799 Bozzi
8800 \end_layout
8801
8802 \end_inset
8803 </cell>
8804 <cell alignment="center" valignment="top" topline="true" usebox="none">
8805 \begin_inset Text
8806
8807 \begin_layout Standard
8808 Walter
8809 \end_layout
8810
8811 \end_inset
8812 </cell>
8813 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8814 \begin_inset Text
8815
8816 \begin_layout Standard
8817 111
8818 \end_layout
8819
8820 \end_inset
8821 </cell>
8822 </row>
8823 <row>
8824 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8825 \begin_inset Text
8826
8827 \begin_layout Standard
8828
8829 \series bold
8830 Cachia
8831 \end_layout
8832
8833 \end_inset
8834 </cell>
8835 <cell alignment="center" valignment="top" topline="true" usebox="none">
8836 \begin_inset Text
8837
8838 \begin_layout Standard
8839 Maria
8840 \end_layout
8841
8842 \end_inset
8843 </cell>
8844 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8845 \begin_inset Text
8846
8847 \begin_layout Standard
8848 111
8849 \end_layout
8850
8851 \end_inset
8852 </cell>
8853 </row>
8854 <row>
8855 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8856 \begin_inset Text
8857
8858 \begin_layout Standard
8859
8860 \series bold
8861 Cachia
8862 \end_layout
8863
8864 \end_inset
8865 </cell>
8866 <cell alignment="center" valignment="top" topline="true" usebox="none">
8867 \begin_inset Text
8868
8869 \begin_layout Standard
8870 Maurizio
8871 \end_layout
8872
8873 \end_inset
8874 </cell>
8875 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8876 \begin_inset Text
8877
8878 \begin_layout Standard
8879 111
8880 \end_layout
8881
8882 \end_inset
8883 </cell>
8884 </row>
8885 <row>
8886 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8887 \begin_inset Text
8888
8889 \begin_layout Standard
8890
8891 \series bold
8892 Cinquemani
8893 \end_layout
8894
8895 \end_inset
8896 </cell>
8897 <cell alignment="center" valignment="top" topline="true" usebox="none">
8898 \begin_inset Text
8899
8900 \begin_layout Standard
8901 Giusi
8902 \end_layout
8903
8904 \end_inset
8905 </cell>
8906 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8907 \begin_inset Text
8908
8909 \begin_layout Standard
8910 111
8911 \end_layout
8912
8913 \end_inset
8914 </cell>
8915 </row>
8916 <row>
8917 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8918 \begin_inset Text
8919
8920 \begin_layout Standard
8921
8922 \series bold
8923 Colin
8924 \end_layout
8925
8926 \end_inset
8927 </cell>
8928 <cell alignment="center" valignment="top" topline="true" usebox="none">
8929 \begin_inset Text
8930
8931 \begin_layout Standard
8932 Bernard
8933 \end_layout
8934
8935 \end_inset
8936 </cell>
8937 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8938 \begin_inset Text
8939
8940 \begin_layout Standard
8941 111
8942 \end_layout
8943
8944 \end_inset
8945 </cell>
8946 </row>
8947 <row>
8948 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8949 \begin_inset Text
8950
8951 \begin_layout Standard
8952
8953 \series bold
8954 Concli
8955 \end_layout
8956
8957 \end_inset
8958 </cell>
8959 <cell alignment="center" valignment="top" topline="true" usebox="none">
8960 \begin_inset Text
8961
8962 \begin_layout Standard
8963 Gianfranco
8964 \end_layout
8965
8966 \end_inset
8967 </cell>
8968 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8969 \begin_inset Text
8970
8971 \begin_layout Standard
8972 111
8973 \end_layout
8974
8975 \end_inset
8976 </cell>
8977 </row>
8978 <row>
8979 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8980 \begin_inset Text
8981
8982 \begin_layout Standard
8983
8984 \series bold
8985 Dal Bosco
8986 \end_layout
8987
8988 \end_inset
8989 </cell>
8990 <cell alignment="center" valignment="top" topline="true" usebox="none">
8991 \begin_inset Text
8992
8993 \begin_layout Standard
8994 Carolina
8995 \end_layout
8996
8997 \end_inset
8998 </cell>
8999 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9000 \begin_inset Text
9001
9002 \begin_layout Standard
9003 111
9004 \end_layout
9005
9006 \end_inset
9007 </cell>
9008 </row>
9009 <row>
9010 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9011 \begin_inset Text
9012
9013 \begin_layout Standard
9014
9015 \series bold
9016 Dalpiaz
9017 \end_layout
9018
9019 \end_inset
9020 </cell>
9021 <cell alignment="center" valignment="top" topline="true" usebox="none">
9022 \begin_inset Text
9023
9024 \begin_layout Standard
9025 Annamaria
9026 \end_layout
9027
9028 \end_inset
9029 </cell>
9030 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9031 \begin_inset Text
9032
9033 \begin_layout Standard
9034 111
9035 \end_layout
9036
9037 \end_inset
9038 </cell>
9039 </row>
9040 <row>
9041 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9042 \begin_inset Text
9043
9044 \begin_layout Standard
9045
9046 \series bold
9047 Feliciello
9048 \end_layout
9049
9050 \end_inset
9051 </cell>
9052 <cell alignment="center" valignment="top" topline="true" usebox="none">
9053 \begin_inset Text
9054
9055 \begin_layout Standard
9056 Domenico
9057 \end_layout
9058
9059 \end_inset
9060 </cell>
9061 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9062 \begin_inset Text
9063
9064 \begin_layout Standard
9065 111
9066 \end_layout
9067
9068 \end_inset
9069 </cell>
9070 </row>
9071 <row>
9072 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9073 \begin_inset Text
9074
9075 \begin_layout Standard
9076
9077 \series bold
9078 Focarelli
9079 \end_layout
9080
9081 \end_inset
9082 </cell>
9083 <cell alignment="center" valignment="top" topline="true" usebox="none">
9084 \begin_inset Text
9085
9086 \begin_layout Standard
9087 Paola
9088 \end_layout
9089
9090 \end_inset
9091 </cell>
9092 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9093 \begin_inset Text
9094
9095 \begin_layout Standard
9096 111
9097 \end_layout
9098
9099 \end_inset
9100 </cell>
9101 </row>
9102 <row>
9103 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9104 \begin_inset Text
9105
9106 \begin_layout Standard
9107
9108 \series bold
9109 Galletti
9110 \end_layout
9111
9112 \end_inset
9113 </cell>
9114 <cell alignment="center" valignment="top" topline="true" usebox="none">
9115 \begin_inset Text
9116
9117 \begin_layout Standard
9118 Oreste
9119 \end_layout
9120
9121 \end_inset
9122 </cell>
9123 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9124 \begin_inset Text
9125
9126 \begin_layout Standard
9127 111
9128 \end_layout
9129
9130 \end_inset
9131 </cell>
9132 </row>
9133 <row>
9134 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9135 \begin_inset Text
9136
9137 \begin_layout Standard
9138
9139 \series bold
9140 Gasparini
9141 \end_layout
9142
9143 \end_inset
9144 </cell>
9145 <cell alignment="center" valignment="top" topline="true" usebox="none">
9146 \begin_inset Text
9147
9148 \begin_layout Standard
9149 Franca
9150 \end_layout
9151
9152 \end_inset
9153 </cell>
9154 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9155 \begin_inset Text
9156
9157 \begin_layout Standard
9158 111
9159 \end_layout
9160
9161 \end_inset
9162 </cell>
9163 </row>
9164 <row>
9165 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9166 \begin_inset Text
9167
9168 \begin_layout Standard
9169
9170 \series bold
9171 Lassini
9172 \end_layout
9173
9174 \end_inset
9175 </cell>
9176 <cell alignment="center" valignment="top" topline="true" usebox="none">
9177 \begin_inset Text
9178
9179 \begin_layout Standard
9180 Giancarlo
9181 \end_layout
9182
9183 \end_inset
9184 </cell>
9185 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9186 \begin_inset Text
9187
9188 \begin_layout Standard
9189 111
9190 \end_layout
9191
9192 \end_inset
9193 </cell>
9194 </row>
9195 <row>
9196 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9197 \begin_inset Text
9198
9199 \begin_layout Standard
9200
9201 \series bold
9202 Malfatti
9203 \end_layout
9204
9205 \end_inset
9206 </cell>
9207 <cell alignment="center" valignment="top" topline="true" usebox="none">
9208 \begin_inset Text
9209
9210 \begin_layout Standard
9211 Luciano
9212 \end_layout
9213
9214 \end_inset
9215 </cell>
9216 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9217 \begin_inset Text
9218
9219 \begin_layout Standard
9220 111
9221 \end_layout
9222
9223 \end_inset
9224 </cell>
9225 </row>
9226 <row>
9227 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9228 \begin_inset Text
9229
9230 \begin_layout Standard
9231
9232 \series bold
9233 Malfatti
9234 \end_layout
9235
9236 \end_inset
9237 </cell>
9238 <cell alignment="center" valignment="top" topline="true" usebox="none">
9239 \begin_inset Text
9240
9241 \begin_layout Standard
9242 Valeriano
9243 \end_layout
9244
9245 \end_inset
9246 </cell>
9247 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9248 \begin_inset Text
9249
9250 \begin_layout Standard
9251 111
9252 \end_layout
9253
9254 \end_inset
9255 </cell>
9256 </row>
9257 <row>
9258 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9259 \begin_inset Text
9260
9261 \begin_layout Standard
9262
9263 \series bold
9264 Meneguzzo
9265 \end_layout
9266
9267 \end_inset
9268 </cell>
9269 <cell alignment="center" valignment="top" topline="true" usebox="none">
9270 \begin_inset Text
9271
9272 \begin_layout Standard
9273 Roberto
9274 \end_layout
9275
9276 \end_inset
9277 </cell>
9278 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9279 \begin_inset Text
9280
9281 \begin_layout Standard
9282 111
9283 \end_layout
9284
9285 \end_inset
9286 </cell>
9287 </row>
9288 <row>
9289 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9290 \begin_inset Text
9291
9292 \begin_layout Standard
9293
9294 \series bold
9295 Mezzadra
9296 \end_layout
9297
9298 \end_inset
9299 </cell>
9300 <cell alignment="center" valignment="top" topline="true" usebox="none">
9301 \begin_inset Text
9302
9303 \begin_layout Standard
9304 Roberto
9305 \end_layout
9306
9307 \end_inset
9308 </cell>
9309 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9310 \begin_inset Text
9311
9312 \begin_layout Standard
9313 111
9314 \end_layout
9315
9316 \end_inset
9317 </cell>
9318 </row>
9319 <row>
9320 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9321 \begin_inset Text
9322
9323 \begin_layout Standard
9324
9325 \series bold
9326 Pirpamer
9327 \end_layout
9328
9329 \end_inset
9330 </cell>
9331 <cell alignment="center" valignment="top" topline="true" usebox="none">
9332 \begin_inset Text
9333
9334 \begin_layout Standard
9335 Erich
9336 \end_layout
9337
9338 \end_inset
9339 </cell>
9340 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9341 \begin_inset Text
9342
9343 \begin_layout Standard
9344 111
9345 \end_layout
9346
9347 \end_inset
9348 </cell>
9349 </row>
9350 <row>
9351 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9352 \begin_inset Text
9353
9354 \begin_layout Standard
9355
9356 \series bold
9357 Pochiesa
9358 \end_layout
9359
9360 \end_inset
9361 </cell>
9362 <cell alignment="center" valignment="top" topline="true" usebox="none">
9363 \begin_inset Text
9364
9365 \begin_layout Standard
9366 Paolo
9367 \end_layout
9368
9369 \end_inset
9370 </cell>
9371 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9372 \begin_inset Text
9373
9374 \begin_layout Standard
9375 111, 222
9376 \end_layout
9377
9378 \end_inset
9379 </cell>
9380 </row>
9381 <row>
9382 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9383 \begin_inset Text
9384
9385 \begin_layout Standard
9386
9387 \series bold
9388 Radina
9389 \end_layout
9390
9391 \end_inset
9392 </cell>
9393 <cell alignment="center" valignment="top" topline="true" usebox="none">
9394 \begin_inset Text
9395
9396 \begin_layout Standard
9397 Claudio
9398 \end_layout
9399
9400 \end_inset
9401 </cell>
9402 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9403 \begin_inset Text
9404
9405 \begin_layout Standard
9406 111
9407 \end_layout
9408
9409 \end_inset
9410 </cell>
9411 </row>
9412 <row>
9413 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9414 \begin_inset Text
9415
9416 \begin_layout Standard
9417
9418 \series bold
9419 Rizzardi
9420 \end_layout
9421
9422 \end_inset
9423 </cell>
9424 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9425 \begin_inset Text
9426
9427 \begin_layout Standard
9428 Paolo, 11.
9429  Fürst von Montecompatri, 11.
9430  Fürst von Sulmona und Vivaro, 10.
9431  Fürst von Rossano, 5.
9432  Herzog von Canemorte, 11.
9433  Herzog von Palombara, 5.
9434  Herzog von Castelchiodato,
9435 \begin_inset ERT
9436 status collapsed
9437
9438 \begin_layout Standard
9439
9440 & 111
9441 \backslash
9442
9443 \backslash
9444
9445 \end_layout
9446
9447 \begin_layout Standard
9448
9449 &
9450 \end_layout
9451
9452 \end_inset
9453
9454  11.
9455  Herzog von Poggionativo, 11.
9456  Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
9457  Graf von Valinfreda, 11.
9458  Baron von Cropalati, 11.
9459  Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
9460 \end_layout
9461
9462 \end_inset
9463 </cell>
9464 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9465 \begin_inset Text
9466
9467 \begin_layout Standard
9468
9469 \end_layout
9470
9471 \end_inset
9472 </cell>
9473 </row>
9474 <row>
9475 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9476 \begin_inset Text
9477
9478 \begin_layout Standard
9479
9480 \series bold
9481 Stuffer
9482 \end_layout
9483
9484 \end_inset
9485 </cell>
9486 <cell alignment="center" valignment="top" topline="true" usebox="none">
9487 \begin_inset Text
9488
9489 \begin_layout Standard
9490 Oskar
9491 \end_layout
9492
9493 \end_inset
9494 </cell>
9495 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9496 \begin_inset Text
9497
9498 \begin_layout Standard
9499 111
9500 \end_layout
9501
9502 \end_inset
9503 </cell>
9504 </row>
9505 <row>
9506 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9507 \begin_inset Text
9508
9509 \begin_layout Standard
9510
9511 \series bold
9512 Tacchelli
9513 \end_layout
9514
9515 \end_inset
9516 </cell>
9517 <cell alignment="center" valignment="top" topline="true" usebox="none">
9518 \begin_inset Text
9519
9520 \begin_layout Standard
9521 Ugo
9522 \end_layout
9523
9524 \end_inset
9525 </cell>
9526 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9527 \begin_inset Text
9528
9529 \begin_layout Standard
9530 111
9531 \end_layout
9532
9533 \end_inset
9534 </cell>
9535 </row>
9536 <row>
9537 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9538 \begin_inset Text
9539
9540 \begin_layout Standard
9541
9542 \series bold
9543 Tezzele
9544 \end_layout
9545
9546 \end_inset
9547 </cell>
9548 <cell alignment="center" valignment="top" topline="true" usebox="none">
9549 \begin_inset Text
9550
9551 \begin_layout Standard
9552 Margit
9553 \end_layout
9554
9555 \end_inset
9556 </cell>
9557 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9558 \begin_inset Text
9559
9560 \begin_layout Standard
9561 111
9562 \end_layout
9563
9564 \end_inset
9565 </cell>
9566 </row>
9567 <row>
9568 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9569 \begin_inset Text
9570
9571 \begin_layout Standard
9572
9573 \series bold
9574 Unterkalmsteiner
9575 \end_layout
9576
9577 \end_inset
9578 </cell>
9579 <cell alignment="center" valignment="top" topline="true" usebox="none">
9580 \begin_inset Text
9581
9582 \begin_layout Standard
9583 Frieda
9584 \end_layout
9585
9586 \end_inset
9587 </cell>
9588 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9589 \begin_inset Text
9590
9591 \begin_layout Standard
9592 111
9593 \end_layout
9594
9595 \end_inset
9596 </cell>
9597 </row>
9598 <row>
9599 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9600 \begin_inset Text
9601
9602 \begin_layout Standard
9603
9604 \series bold
9605 Vieider
9606 \end_layout
9607
9608 \end_inset
9609 </cell>
9610 <cell alignment="center" valignment="top" topline="true" usebox="none">
9611 \begin_inset Text
9612
9613 \begin_layout Standard
9614 Hilde
9615 \end_layout
9616
9617 \end_inset
9618 </cell>
9619 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9620 \begin_inset Text
9621
9622 \begin_layout Standard
9623 111
9624 \end_layout
9625
9626 \end_inset
9627 </cell>
9628 </row>
9629 <row>
9630 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9631 \begin_inset Text
9632
9633 \begin_layout Standard
9634
9635 \series bold
9636 Vigna
9637 \end_layout
9638
9639 \end_inset
9640 </cell>
9641 <cell alignment="center" valignment="top" topline="true" usebox="none">
9642 \begin_inset Text
9643
9644 \begin_layout Standard
9645 Jürgen
9646 \end_layout
9647
9648 \end_inset
9649 </cell>
9650 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9651 \begin_inset Text
9652
9653 \begin_layout Standard
9654 111
9655 \end_layout
9656
9657 \end_inset
9658 </cell>
9659 </row>
9660 <row>
9661 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9662 \begin_inset Text
9663
9664 \begin_layout Standard
9665
9666 \series bold
9667 Weber
9668 \end_layout
9669
9670 \end_inset
9671 </cell>
9672 <cell alignment="center" valignment="top" topline="true" usebox="none">
9673 \begin_inset Text
9674
9675 \begin_layout Standard
9676 Maurizio
9677 \end_layout
9678
9679 \end_inset
9680 </cell>
9681 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9682 \begin_inset Text
9683
9684 \begin_layout Standard
9685 111
9686 \end_layout
9687
9688 \end_inset
9689 </cell>
9690 </row>
9691 <row bottomline="true">
9692 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9693 \begin_inset Text
9694
9695 \begin_layout Standard
9696
9697 \series bold
9698 Winkler
9699 \end_layout
9700
9701 \end_inset
9702 </cell>
9703 <cell alignment="center" valignment="top" topline="true" usebox="none">
9704 \begin_inset Text
9705
9706 \begin_layout Standard
9707 Franz
9708 \end_layout
9709
9710 \end_inset
9711 </cell>
9712 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9713 \begin_inset Text
9714
9715 \begin_layout Standard
9716 111
9717 \end_layout
9718
9719 \end_inset
9720 </cell>
9721 </row>
9722 <row endlastfoot="true">
9723 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
9724 \begin_inset Text
9725
9726 \begin_layout Standard
9727
9728 \end_layout
9729
9730 \end_inset
9731 </cell>
9732 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9733 \begin_inset Text
9734
9735 \begin_layout Standard
9736
9737 \end_layout
9738
9739 \end_inset
9740 </cell>
9741 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9742 \begin_inset Text
9743
9744 \begin_layout Standard
9745
9746 \end_layout
9747
9748 \end_inset
9749 </cell>
9750 </row>
9751 </lyxtabular>
9752
9753 \end_inset
9754
9755
9756 \end_layout
9757
9758 \begin_layout Section
9759 Multiple Lines Columns and Rows
9760 \end_layout
9761
9762 \begin_layout Subsection
9763 Multiple Lines in Table Cells
9764 \begin_inset LatexCommand label
9765 name "sub:Multiple-Lines-in"
9766
9767 \end_inset
9768
9769
9770 \begin_inset LatexCommand index
9771 name "Multiple Lines in Table Cells"
9772
9773 \end_inset
9774
9775
9776 \begin_inset LatexCommand index
9777 name "Table ! Linebreaks"
9778
9779 \end_inset
9780
9781
9782 \end_layout
9783
9784 \begin_layout Standard
9785 \align center
9786 \begin_inset Float table
9787 placement H
9788 wide false
9789 sideways false
9790 status collapsed
9791
9792 \begin_layout Standard
9793 \begin_inset Caption
9794
9795 \begin_layout Standard
9796 \begin_inset LatexCommand label
9797 name "tab:Table-with-multiple"
9798
9799 \end_inset
9800
9801 Table with multiple lines in cells
9802 \end_layout
9803
9804 \end_inset
9805
9806
9807 \end_layout
9808
9809 \begin_layout Standard
9810 \align center
9811 \begin_inset Tabular
9812 <lyxtabular version="3" rows="3" columns="3">
9813 <features>
9814 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
9815 <column alignment="center" valignment="middle" leftline="true" width="0.5cm">
9816 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0.5cm">
9817 <row topline="true">
9818 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9819 \begin_inset Text
9820
9821 \begin_layout Standard
9822 multiple
9823 \begin_inset ERT
9824 status collapsed
9825
9826 \begin_layout Standard
9827
9828
9829 \backslash
9830 linebreak 
9831 \end_layout
9832
9833 \end_inset
9834
9835  lines
9836 \end_layout
9837
9838 \end_inset
9839 </cell>
9840 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9841 \begin_inset Text
9842
9843 \begin_layout Standard
9844 b
9845 \end_layout
9846
9847 \end_inset
9848 </cell>
9849 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9850 \begin_inset Text
9851
9852 \begin_layout Standard
9853 c
9854 \end_layout
9855
9856 \end_inset
9857 </cell>
9858 </row>
9859 <row topline="true">
9860 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9861 \begin_inset Text
9862
9863 \begin_layout Standard
9864 d
9865 \end_layout
9866
9867 \end_inset
9868 </cell>
9869 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9870 \begin_inset Text
9871
9872 \begin_layout Standard
9873 e
9874 \end_layout
9875
9876 \end_inset
9877 </cell>
9878 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9879 \begin_inset Text
9880
9881 \begin_layout Standard
9882 f
9883 \end_layout
9884
9885 \end_inset
9886 </cell>
9887 </row>
9888 <row topline="true" bottomline="true">
9889 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9890 \begin_inset Text
9891
9892 \begin_layout Standard
9893 g
9894 \end_layout
9895
9896 \end_inset
9897 </cell>
9898 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9899 \begin_inset Text
9900
9901 \begin_layout Standard
9902 h
9903 \end_layout
9904
9905 \end_inset
9906 </cell>
9907 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9908 \begin_inset Text
9909
9910 \begin_layout Standard
9911 i
9912 \end_layout
9913
9914 \end_inset
9915 </cell>
9916 </row>
9917 </lyxtabular>
9918
9919 \end_inset
9920
9921
9922 \end_layout
9923
9924 \end_inset
9925
9926
9927 \end_layout
9928
9929 \begin_layout Standard
9930 Adjusting a fixed width for a column, enables to enter text as a paragraph
9931  with multiple lines and hyphenations.
9932 \end_layout
9933
9934 \begin_layout Standard
9935 To produce Table\InsetSpace ~
9936
9937 \begin_inset LatexCommand ref
9938 reference "tab:Table-with-multiple"
9939
9940 \end_inset
9941
9942 , create a 3×3 table, mark the first cell and right-click on it.
9943  In the appearing table dialog we set a cell width of 2.5\InsetSpace \thinspace{}
9944 cm and choose centered
9945  for the vertical and horizontal alignment.
9946  As our text is smaller than than 2.5\InsetSpace \thinspace{}
9947 cm, only one line will appear.
9948  To get two lines, we add a line break with the command
9949 \end_layout
9950
9951 \begin_layout Standard
9952
9953 \series bold
9954
9955 \backslash
9956 linebreak
9957 \end_layout
9958
9959 \begin_layout Standard
9960 in ERT.
9961  If the text is wider than the set cell width it will automatically be broken
9962  to several lines.
9963 \end_layout
9964
9965 \begin_layout Standard
9966 To center the text inside the two other cells of the first row vertically,
9967  right-click in the second cell, adjust a fixed width of 0.5\InsetSpace \thinspace{}
9968 cm and choose
9969  centered alignments.
9970  Then do the same for the third cell of the row.
9971 \end_layout
9972
9973 \begin_layout Standard
9974 If you have a long word in a cell with a fixed width, it cannot be hyphenated
9975  by LaTeX if it is the first entry.
9976  Therefore you need to insert something, to make the word not being the
9977  first entry: Add the command
9978 \end_layout
9979
9980 \begin_layout Standard
9981
9982 \series bold
9983
9984 \backslash
9985 hspace{0pt}
9986 \end_layout
9987
9988 \begin_layout Standard
9989 in ERT before the word.
9990  As the space is zero, it doesn't change the output.
9991  Table\InsetSpace ~
9992
9993 \begin_inset LatexCommand ref
9994 reference "tab:Table-with-and"
9995
9996 \end_inset
9997
9998  shows the effect.
9999 \end_layout
10000
10001 \begin_layout Standard
10002 \begin_inset Float table
10003 wide false
10004 sideways false
10005 status open
10006
10007 \begin_layout Standard
10008 \begin_inset Caption
10009
10010 \begin_layout Standard
10011 \begin_inset LatexCommand label
10012 name "tab:Table-with-and"
10013
10014 \end_inset
10015
10016 Table with and without hyphenation
10017 \end_layout
10018
10019 \end_inset
10020
10021
10022 \end_layout
10023
10024 \begin_layout Standard
10025
10026 \hfill
10027
10028 \begin_inset Tabular
10029 <lyxtabular version="3" rows="3" columns="3">
10030 <features>
10031 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10032 <column alignment="center" valignment="middle" leftline="true" width="0.5cm">
10033 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0.5cm">
10034 <row topline="true">
10035 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10036 \begin_inset Text
10037
10038 \begin_layout Standard
10039 verylongtablecellword
10040 \end_layout
10041
10042 \end_inset
10043 </cell>
10044 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10045 \begin_inset Text
10046
10047 \begin_layout Standard
10048 b
10049 \end_layout
10050
10051 \end_inset
10052 </cell>
10053 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10054 \begin_inset Text
10055
10056 \begin_layout Standard
10057 c
10058 \end_layout
10059
10060 \end_inset
10061 </cell>
10062 </row>
10063 <row topline="true">
10064 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10065 \begin_inset Text
10066
10067 \begin_layout Standard
10068 d
10069 \end_layout
10070
10071 \end_inset
10072 </cell>
10073 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10074 \begin_inset Text
10075
10076 \begin_layout Standard
10077 e
10078 \end_layout
10079
10080 \end_inset
10081 </cell>
10082 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10083 \begin_inset Text
10084
10085 \begin_layout Standard
10086 f
10087 \end_layout
10088
10089 \end_inset
10090 </cell>
10091 </row>
10092 <row topline="true" bottomline="true">
10093 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10094 \begin_inset Text
10095
10096 \begin_layout Standard
10097 g
10098 \end_layout
10099
10100 \end_inset
10101 </cell>
10102 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10103 \begin_inset Text
10104
10105 \begin_layout Standard
10106 h
10107 \end_layout
10108
10109 \end_inset
10110 </cell>
10111 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10112 \begin_inset Text
10113
10114 \begin_layout Standard
10115 i
10116 \end_layout
10117
10118 \end_inset
10119 </cell>
10120 </row>
10121 </lyxtabular>
10122
10123 \end_inset
10124
10125
10126 \hfill
10127
10128 \begin_inset Tabular
10129 <lyxtabular version="3" rows="3" columns="3">
10130 <features>
10131 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10132 <column alignment="center" valignment="middle" leftline="true" width="0.5cm">
10133 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0.5cm">
10134 <row topline="true">
10135 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10136 \begin_inset Text
10137
10138 \begin_layout Standard
10139 \begin_inset ERT
10140 status collapsed
10141
10142 \begin_layout Standard
10143
10144
10145 \backslash
10146 hspace{0pt}
10147 \end_layout
10148
10149 \end_inset
10150
10151 verylongtablecellword
10152 \end_layout
10153
10154 \end_inset
10155 </cell>
10156 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10157 \begin_inset Text
10158
10159 \begin_layout Standard
10160 b
10161 \end_layout
10162
10163 \end_inset
10164 </cell>
10165 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10166 \begin_inset Text
10167
10168 \begin_layout Standard
10169 c
10170 \end_layout
10171
10172 \end_inset
10173 </cell>
10174 </row>
10175 <row topline="true">
10176 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10177 \begin_inset Text
10178
10179 \begin_layout Standard
10180 d
10181 \end_layout
10182
10183 \end_inset
10184 </cell>
10185 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10186 \begin_inset Text
10187
10188 \begin_layout Standard
10189 e
10190 \end_layout
10191
10192 \end_inset
10193 </cell>
10194 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10195 \begin_inset Text
10196
10197 \begin_layout Standard
10198 f
10199 \end_layout
10200
10201 \end_inset
10202 </cell>
10203 </row>
10204 <row topline="true" bottomline="true">
10205 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10206 \begin_inset Text
10207
10208 \begin_layout Standard
10209 g
10210 \end_layout
10211
10212 \end_inset
10213 </cell>
10214 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10215 \begin_inset Text
10216
10217 \begin_layout Standard
10218 h
10219 \end_layout
10220
10221 \end_inset
10222 </cell>
10223 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10224 \begin_inset Text
10225
10226 \begin_layout Standard
10227 i
10228 \end_layout
10229
10230 \end_inset
10231 </cell>
10232 </row>
10233 </lyxtabular>
10234
10235 \end_inset
10236
10237
10238 \hfill
10239
10240 \end_layout
10241
10242 \end_inset
10243
10244
10245 \end_layout
10246
10247 \begin_layout Standard
10248
10249 \newpage
10250
10251 \end_layout
10252
10253 \begin_layout Subsection
10254 Multicolumns
10255 \begin_inset LatexCommand label
10256 name "sub:Multicolumns"
10257
10258 \end_inset
10259
10260
10261 \begin_inset LatexCommand index
10262 name "Multicolumns"
10263
10264 \end_inset
10265
10266
10267 \begin_inset LatexCommand index
10268 name "Table ! Multicolumns"
10269
10270 \end_inset
10271
10272
10273 \end_layout
10274
10275 \begin_layout Subsubsection
10276 Multicolumn Basics
10277 \end_layout
10278
10279 \begin_layout Standard
10280 To span a cell over multiple columns, mark as much cells within a line that
10281  should be one spanned cell and use either the table-toolbar button 
10282 \begin_inset Graphics
10283         filename ../images/tabular-feature_multicolumn.xpm
10284         scale 85
10285
10286 \end_inset
10287
10288 , or the menu 
10289 \family sans
10290 Edit\SpecialChar \menuseparator
10291 Table\SpecialChar \menuseparator
10292 Multicolumn
10293 \family default
10294 , or right click on the marked cells and choose multicolumn in the appearing
10295  table dialog under the tab 
10296 \family sans
10297 Table Settings
10298 \family default
10299 .
10300 \end_layout
10301
10302 \begin_layout Standard
10303 Multicolumns have there own cell settings.
10304  That means changing cell borders, cell alignment, and the width only affects
10305  the multicolumn.
10306  Here is an example table with a multicolumn cell in the first row and one
10307  in the last row without the upper border:
10308 \end_layout
10309
10310 \begin_layout Standard
10311 \align center
10312 \begin_inset Tabular
10313 <lyxtabular version="3" rows="3" columns="4">
10314 <features firstHeadTopDL="true" firstHeadBottomDL="true">
10315 <column alignment="center" valignment="top" leftline="true" width="0pt">
10316 <column alignment="center" valignment="middle" leftline="true" width="0">
10317 <column alignment="center" valignment="top" leftline="true" width="0in">
10318 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
10319 <row topline="true" bottomline="true">
10320 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10321 \begin_inset Text
10322
10323 \begin_layout Standard
10324 abc
10325 \end_layout
10326
10327 \end_inset
10328 </cell>
10329 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
10330 \begin_inset Text
10331
10332 \begin_layout Standard
10333 def
10334 \lang ngerman
10335  
10336 \lang english
10337 ghi
10338 \end_layout
10339
10340 \end_inset
10341 </cell>
10342 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10343 \begin_inset Text
10344
10345 \begin_layout Standard
10346
10347 \end_layout
10348
10349 \end_inset
10350 </cell>
10351 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10352 \begin_inset Text
10353
10354 \begin_layout Standard
10355 jkl
10356 \end_layout
10357
10358 \end_inset
10359 </cell>
10360 </row>
10361 <row topline="true">
10362 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10363 \begin_inset Text
10364
10365 \begin_layout Standard
10366
10367 \family roman
10368 \series medium
10369 \shape up
10370 \size normal
10371 \emph off
10372 \bar no
10373 \noun off
10374 \color none
10375 A
10376 \end_layout
10377
10378 \end_inset
10379 </cell>
10380 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10381 \begin_inset Text
10382
10383 \begin_layout Standard
10384 B
10385 \end_layout
10386
10387 \end_inset
10388 </cell>
10389 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10390 \begin_inset Text
10391
10392 \begin_layout Standard
10393 C
10394 \end_layout
10395
10396 \end_inset
10397 </cell>
10398 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10399 \begin_inset Text
10400
10401 \begin_layout Standard
10402 D
10403 \end_layout
10404
10405 \end_inset
10406 </cell>
10407 </row>
10408 <row topline="true" bottomline="true">
10409 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10410 \begin_inset Text
10411
10412 \begin_layout Standard
10413 1
10414 \end_layout
10415
10416 \end_inset
10417 </cell>
10418 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10419 \begin_inset Text
10420
10421 \begin_layout Standard
10422 2
10423 \end_layout
10424
10425 \end_inset
10426 </cell>
10427 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10428 \begin_inset Text
10429
10430 \begin_layout Standard
10431 3
10432 \end_layout
10433
10434 \end_inset
10435 </cell>
10436 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10437 \begin_inset Text
10438
10439 \begin_layout Standard
10440 4
10441 \end_layout
10442
10443 \end_inset
10444 </cell>
10445 </row>
10446 </lyxtabular>
10447
10448 \end_inset
10449
10450
10451 \end_layout
10452
10453 \begin_layout Subsubsection
10454 Multicolumn Calculations
10455 \begin_inset LatexCommand label
10456 name "sub:Multicolumn-Calculations"
10457
10458 \end_inset
10459
10460
10461 \begin_inset LatexCommand index
10462 name "Multicolumns ! Calculations"
10463
10464 \end_inset
10465
10466
10467 \end_layout
10468
10469 \begin_layout Standard
10470 LyX supports multicolumns directly, but we have to take notice of the cell
10471  width of the columns spanned by the multicolumn cell.
10472 \end_layout
10473
10474 \begin_layout Standard
10475 \begin_inset Float table
10476 wide false
10477 sideways false
10478 status open
10479
10480 \begin_layout Standard
10481 \begin_inset Caption
10482
10483 \begin_layout Standard
10484 \begin_inset LatexCommand label
10485 name "tab:Table-with-centered"
10486
10487 \end_inset
10488
10489 Table with centered multicolumn text above two columns that have exactly
10490  half the width of the multicolumn cell
10491 \begin_inset OptArg
10492 status collapsed
10493
10494 \begin_layout Standard
10495 Perfect multicolumn table
10496 \end_layout
10497
10498 \end_inset
10499
10500
10501 \end_layout
10502
10503 \end_inset
10504
10505
10506 \end_layout
10507
10508 \begin_layout Standard
10509 \align center
10510 \begin_inset Tabular
10511 <lyxtabular version="3" rows="3" columns="3">
10512 <features>
10513 <column alignment="center" valignment="middle" leftline="true" width="0" special="|>{\centering}m{1.25cm-6.2pt}">
10514 <column alignment="center" valignment="middle" leftline="true" width="0">
10515 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
10516 <row topline="true">
10517 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special="|>{\centering}m{2.5cm}|">
10518 \begin_inset Text
10519
10520 \begin_layout Standard
10521 multiple lines multicolumn
10522 \end_layout
10523
10524 \end_inset
10525 </cell>
10526 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10527 \begin_inset Text
10528
10529 \begin_layout Standard
10530
10531 \end_layout
10532
10533 \end_inset
10534 </cell>
10535 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10536 \begin_inset Text
10537
10538 \begin_layout Standard
10539 c
10540 \end_layout
10541
10542 \end_inset
10543 </cell>
10544 </row>
10545 <row topline="true">
10546 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10547 \begin_inset Text
10548
10549 \begin_layout Standard
10550 d
10551 \end_layout
10552
10553 \end_inset
10554 </cell>
10555 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10556 \begin_inset Text
10557
10558 \begin_layout Standard
10559 e
10560 \end_layout
10561
10562 \end_inset
10563 </cell>
10564 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10565 \begin_inset Text
10566
10567 \begin_layout Standard
10568 f
10569 \end_layout
10570
10571 \end_inset
10572 </cell>
10573 </row>
10574 <row topline="true" bottomline="true">
10575 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10576 \begin_inset Text
10577
10578 \begin_layout Standard
10579 g
10580 \end_layout
10581
10582 \end_inset
10583 </cell>
10584 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10585 \begin_inset Text
10586
10587 \begin_layout Standard
10588 h
10589 \end_layout
10590
10591 \end_inset
10592 </cell>
10593 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10594 \begin_inset Text
10595
10596 \begin_layout Standard
10597 i
10598 \end_layout
10599
10600 \end_inset
10601 </cell>
10602 </row>
10603 </lyxtabular>
10604
10605 \end_inset
10606
10607
10608 \end_layout
10609
10610 \end_inset
10611
10612
10613 \end_layout
10614
10615 \begin_layout Standard
10616 To create for example Table\InsetSpace ~
10617
10618 \begin_inset LatexCommand ref
10619 reference "tab:Table-with-centered"
10620
10621 \end_inset
10622
10623 , mark the first two cells in the first row a 3×3 table and right-click
10624  on them.
10625  Now choose for this cell 
10626 \emph on
10627 multicolumn
10628 \emph default
10629
10630 \emph on
10631 centered alignment
10632 \emph default
10633  and a width of 2.5\InsetSpace \thinspace{}
10634 cm in the table dialog.
10635  The spanned columns should have exactly half the width of the multicolumn
10636  cell, so that you would adjust a width of 1.25\InsetSpace \thinspace{}
10637 cm for the first column.
10638  The second column has then automatically a width of 1.25\InsetSpace \thinspace{}
10639 cm (multicolumn
10640  width - width of first column).
10641  This was done for Table\InsetSpace ~
10642
10643 \begin_inset LatexCommand ref
10644 reference "tab:Table-without-half"
10645
10646 \end_inset
10647
10648 .
10649 \end_layout
10650
10651 \begin_layout Standard
10652 \begin_inset Float table
10653 wide false
10654 sideways false
10655 status open
10656
10657 \begin_layout Standard
10658 \begin_inset Caption
10659
10660 \begin_layout Standard
10661 \begin_inset LatexCommand label
10662 name "tab:Table-without-half"
10663
10664 \end_inset
10665
10666 Table where the spanned table columns have not exactly half the width of
10667  the multicolumn cell
10668 \begin_inset OptArg
10669 status collapsed
10670
10671 \begin_layout Standard
10672 Imperfect multicolumn table
10673 \end_layout
10674
10675 \end_inset
10676
10677
10678 \end_layout
10679
10680 \end_inset
10681
10682
10683 \end_layout
10684
10685 \begin_layout Standard
10686 \align center
10687 \begin_inset Tabular
10688 <lyxtabular version="3" rows="3" columns="3">
10689 <features>
10690 <column alignment="center" valignment="top" leftline="true" width="1.25cm">
10691 <column alignment="center" valignment="top" leftline="true" width="0">
10692 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
10693 <row topline="true" bottomline="true">
10694 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
10695 \begin_inset Text
10696
10697 \begin_layout Standard
10698 multiple lines multicolumn
10699 \end_layout
10700
10701 \end_inset
10702 </cell>
10703 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10704 \begin_inset Text
10705
10706 \begin_layout Standard
10707
10708 \end_layout
10709
10710 \end_inset
10711 </cell>
10712 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10713 \begin_inset Text
10714
10715 \begin_layout Standard
10716 c
10717 \end_layout
10718
10719 \end_inset
10720 </cell>
10721 </row>
10722 <row topline="true">
10723 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10724 \begin_inset Text
10725
10726 \begin_layout Standard
10727 d
10728 \end_layout
10729
10730 \end_inset
10731 </cell>
10732 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10733 \begin_inset Text
10734
10735 \begin_layout Standard
10736 e
10737 \end_layout
10738
10739 \end_inset
10740 </cell>
10741 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10742 \begin_inset Text
10743
10744 \begin_layout Standard
10745 f
10746 \end_layout
10747
10748 \end_inset
10749 </cell>
10750 </row>
10751 <row topline="true" bottomline="true">
10752 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10753 \begin_inset Text
10754
10755 \begin_layout Standard
10756 g
10757 \end_layout
10758
10759 \end_inset
10760 </cell>
10761 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10762 \begin_inset Text
10763
10764 \begin_layout Standard
10765 h
10766 \end_layout
10767
10768 \end_inset
10769 </cell>
10770 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10771 \begin_inset Text
10772
10773 \begin_layout Standard
10774 i
10775 \end_layout
10776
10777 \end_inset
10778 </cell>
10779 </row>
10780 </lyxtabular>
10781
10782 \end_inset
10783
10784
10785 \end_layout
10786
10787 \end_inset
10788
10789
10790 \end_layout
10791
10792 \begin_layout Standard
10793 You can see that the first column has not the half width of the multicolumn
10794  cell, it is a bit bigger.
10795  The reason is that the given width of a cell 
10796 \begin_inset Formula $W_{g}$
10797 \end_inset
10798
10799  is not its total width 
10800 \begin_inset Formula $W_{\mathrm{tot}}$
10801 \end_inset
10802
10803  because a cell is always a bit larger than its given width.
10804  Appendix\InsetSpace ~
10805
10806 \begin_inset LatexCommand eqref
10807 reference "cha:Explanation-of-Equation"
10808
10809 \end_inset
10810
10811  explains it in detail.
10812 \end_layout
10813
10814 \begin_layout Standard
10815 The needed given width 
10816 \begin_inset Formula $W_{g\, n}$
10817 \end_inset
10818
10819  when 
10820 \emph on
10821 n
10822 \emph default
10823  columns are spanned columns can be calculated, so that each column has
10824  a total width of 
10825 \begin_inset Formula $W_{\mathrm{tot\, multicolumn}}/n$
10826 \end_inset
10827
10828 :
10829 \begin_inset Formula \begin{equation}
10830 W_{g\, n}=(W_{g\,\mathrm{multicolumn}}+(1-n)·(12.4\,\mathrm{pt}))/n\label{eq:Wgn}\end{equation}
10831
10832 \end_inset
10833
10834
10835 \end_layout
10836
10837 \begin_layout Standard
10838 In our case we have 
10839 \begin_inset Formula $n=2$
10840 \end_inset
10841
10842
10843 \begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$
10844 \end_inset
10845
10846 cm and the default values for the lengths, so that equation 
10847 \begin_inset LatexCommand ref
10848 reference "eq:Wgn"
10849
10850 \end_inset
10851
10852  becomes
10853 \begin_inset Formula \begin{equation}
10854 W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}\end{equation}
10855
10856 \end_inset
10857
10858
10859 \end_layout
10860
10861 \begin_layout Standard
10862 To enable calculations in LaTeX, the LaTeX-package 
10863 \series bold
10864 calc
10865 \series default
10866  must be loaded with the document preamble line
10867 \begin_inset LatexCommand index
10868 name "LaTeX-packages ! calc"
10869
10870 \end_inset
10871
10872
10873 \end_layout
10874
10875 \begin_layout Standard
10876
10877 \series bold
10878
10879 \backslash
10880 usepackage{calc}
10881 \end_layout
10882
10883 \begin_layout Standard
10884 LyX does not allow to calculate lengths in the width-field of the table
10885  dialog.
10886  Therefore you have to format the column by inserting a LaTeX-argument in
10887  the dialog.
10888  Here is an overview about the arguments:
10889 \end_layout
10890
10891 \begin_layout Itemize
10892
10893 \series bold
10894 p{width}
10895 \series default
10896  creates cell with a fixed width, its text is vertically top-aligned
10897 \end_layout
10898
10899 \begin_layout Itemize
10900
10901 \series bold
10902 m{width}
10903 \series default
10904  creates cell with a fixed width, its text is vertically centered
10905 \end_layout
10906
10907 \begin_layout Itemize
10908
10909 \series bold
10910 b{width}
10911 \series default
10912  creates cell with a fixed width, its text is vertically bottom-aligned
10913 \end_layout
10914
10915 \begin_layout Standard
10916 By entering a LaTeX-argument, all cell properties set in the table dialog
10917  are overwritten.
10918  
10919 \begin_inset Note Greyedout
10920 status open
10921
10922 \begin_layout Standard
10923
10924 \series bold
10925 Note:
10926 \series default
10927  Due to a bug, LyX shows the overwritten properties anyway.
10928 \end_layout
10929
10930 \end_inset
10931
10932  As the text should be horizontally centered, the command 
10933 \series bold
10934
10935 \backslash
10936 centering
10937 \series default
10938  is added.
10939  You can now enter the following LaTeX-argument for the first spanned column:
10940 \end_layout
10941
10942 \begin_layout Standard
10943
10944 \series bold
10945 |>{
10946 \backslash
10947 centering}m{1.25cm-6.2pt}
10948 \end_layout
10949
10950 \begin_layout Standard
10951 The bar 
10952 \begin_inset Quotes eld
10953 \end_inset
10954
10955
10956 \series bold
10957 |
10958 \series default
10959
10960 \begin_inset Quotes erd
10961 \end_inset
10962
10963  at the beginning draws the border line and the command 
10964 \series bold
10965 >{ }
10966 \series default
10967  means, that the commands inside the braces are applied before the cell
10968  is created.
10969 \end_layout
10970
10971 \begin_layout Standard
10972 Although we have chosen centered alignment for the text of the multicolumn
10973  cell, it is still left aligned.
10974  This is because LyX only applies the alignment to single columns.
10975  So we have to use for the multicolumn the LaTeX-argument
10976 \end_layout
10977
10978 \begin_layout Standard
10979
10980 \series bold
10981 |>{
10982 \backslash
10983 centering}m{2.5cm}|
10984 \end_layout
10985
10986 \begin_layout Subsection
10987 Multirows
10988 \begin_inset LatexCommand index
10989 name "Multirows"
10990
10991 \end_inset
10992
10993
10994 \begin_inset LatexCommand index
10995 name "Table ! Multirows"
10996
10997 \end_inset
10998
10999
11000 \begin_inset LatexCommand index
11001 name "LaTeX-packages ! multirow"
11002
11003 \end_inset
11004
11005
11006 \end_layout
11007
11008 \begin_layout Standard
11009 In contrary to multicolumns multirows are not yet supported by LyX so a
11010  bit of ERT needs to be used.
11011  To use multirows load the LaTeX-package 
11012 \series bold
11013 multirow
11014 \series default
11015  in your document preamble with the command
11016 \end_layout
11017
11018 \begin_layout Standard
11019
11020 \series bold
11021
11022 \backslash
11023 usepackage{multirow}
11024 \end_layout
11025
11026 \begin_layout Standard
11027 Multirows are created with the command
11028 \end_layout
11029
11030 \begin_layout Standard
11031
11032 \series bold
11033
11034 \backslash
11035 multirow{number of rows}{cell width}{cell entry}
11036 \end_layout
11037
11038 \begin_layout Standard
11039 To create the following table:
11040 \end_layout
11041
11042 \begin_layout Standard
11043 \align center
11044 \begin_inset ERT
11045 status collapsed
11046
11047 \begin_layout Standard
11048
11049
11050 \backslash
11051 renewcommand{
11052 \backslash
11053 multirowsetup}{
11054 \backslash
11055 centering}
11056 \end_layout
11057
11058 \end_inset
11059
11060
11061 \begin_inset Tabular
11062 <lyxtabular version="3" rows="3" columns="3">
11063 <features>
11064 <column alignment="center" valignment="top" leftline="true" width="0">
11065 <column alignment="center" valignment="top" leftline="true" width="0">
11066 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
11067 <row topline="true">
11068 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11069 \begin_inset Text
11070
11071 \begin_layout Standard
11072 a
11073 \end_layout
11074
11075 \end_inset
11076 </cell>
11077 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11078 \begin_inset Text
11079
11080 \begin_layout Standard
11081 b
11082 \end_layout
11083
11084 \end_inset
11085 </cell>
11086 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11087 \begin_inset Text
11088
11089 \begin_layout Standard
11090 c
11091 \end_layout
11092
11093 \end_inset
11094 </cell>
11095 </row>
11096 <row topline="true">
11097 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11098 \begin_inset Text
11099
11100 \begin_layout Standard
11101 \begin_inset ERT
11102 status collapsed
11103
11104 \begin_layout Standard
11105
11106
11107 \backslash
11108 multirow{2}{2.5cm}{
11109 \end_layout
11110
11111 \end_inset
11112
11113 multirow entry
11114 \begin_inset ERT
11115 status collapsed
11116
11117 \begin_layout Standard
11118
11119 }
11120 \end_layout
11121
11122 \end_inset
11123
11124
11125 \end_layout
11126
11127 \end_inset
11128 </cell>
11129 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11130 \begin_inset Text
11131
11132 \begin_layout Standard
11133 e
11134 \end_layout
11135
11136 \end_inset
11137 </cell>
11138 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11139 \begin_inset Text
11140
11141 \begin_layout Standard
11142 f
11143 \end_layout
11144
11145 \end_inset
11146 </cell>
11147 </row>
11148 <row topline="true" bottomline="true">
11149 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11150 \begin_inset Text
11151
11152 \begin_layout Standard
11153
11154 \end_layout
11155
11156 \end_inset
11157 </cell>
11158 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11159 \begin_inset Text
11160
11161 \begin_layout Standard
11162 h
11163 \end_layout
11164
11165 \end_inset
11166 </cell>
11167 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11168 \begin_inset Text
11169
11170 \begin_layout Standard
11171 i
11172 \end_layout
11173
11174 \end_inset
11175 </cell>
11176 </row>
11177 </lyxtabular>
11178
11179 \end_inset
11180
11181
11182 \begin_inset ERT
11183 status collapsed
11184
11185 \begin_layout Standard
11186
11187
11188 \backslash
11189 renewcommand{
11190 \backslash
11191 multirowsetup}{
11192 \backslash
11193 raggedright}
11194 \end_layout
11195
11196 \end_inset
11197
11198
11199 \end_layout
11200
11201 \begin_layout Standard
11202 create a 3×3 table.
11203  To get rid of the line above the last cell in the first column, the cell
11204  is marked as multicolumn and the upper border is unset.
11205  The multirow is now created in the second row of the first column by inserting
11206  there the command
11207 \end_layout
11208
11209 \begin_layout Standard
11210
11211 \series bold
11212
11213 \backslash
11214 multirow{2}{2.5cm}{
11215 \end_layout
11216
11217 \begin_layout Standard
11218 as ERT.
11219  According to the command parameters the multirow spans now two rows and
11220  has a width of 2.5\InsetSpace \thinspace{}
11221 cm.
11222  The content of the multirow cell follows outside the ERT box and the command
11223  is finished with a right brace 
11224 \series bold
11225 }
11226 \series default
11227  in another ERT-box behind the text.
11228 \end_layout
11229
11230 \begin_layout Standard
11231
11232 \series bold
11233
11234 \backslash
11235 multirow
11236 \series default
11237  left-aligns its content by default.
11238  To override the default, renew the command 
11239 \series bold
11240
11241 \backslash
11242 multirowsetup
11243 \series default
11244  with the command
11245 \end_layout
11246
11247 \begin_layout Standard
11248
11249 \series bold
11250
11251 \backslash
11252 renewcommand{
11253 \backslash
11254 multirowsetup}{
11255 \backslash
11256 centering}
11257 \end_layout
11258
11259 \begin_layout Standard
11260 in ERT in the document preamble.
11261  Then all entries of multirow cells in the document are centered.
11262  If centering is only needed for several tables, you can renew the command
11263  in an ERT box just before the table instead of the preamble.
11264  If the text should be right-aligned, replace 
11265 \series bold
11266
11267 \backslash
11268 centering
11269 \series default
11270  by 
11271 \series bold
11272
11273 \backslash
11274 raggedleft
11275 \series default
11276 .
11277  To return to left-alignment 
11278 \series bold
11279
11280 \backslash
11281 raggedright
11282 \series default
11283  is used.
11284 \end_layout
11285
11286 \begin_layout Section
11287 Formal Tables
11288 \begin_inset LatexCommand label
11289 name "sec:Formal-Tables"
11290
11291 \end_inset
11292
11293
11294 \begin_inset LatexCommand index
11295 name "Table ! Formal"
11296
11297 \end_inset
11298
11299
11300 \end_layout
11301
11302 \begin_layout Standard
11303 Tables are often typeset in books similar to Table\InsetSpace ~
11304
11305 \begin_inset LatexCommand ref
11306 reference "tab:Example-booktabs-table"
11307
11308 \end_inset
11309
11310 .
11311  This kind of tables is called 
11312 \begin_inset Quotes eld
11313 \end_inset
11314
11315
11316 \emph on
11317 formal
11318 \emph default
11319
11320 \begin_inset Quotes erd
11321 \end_inset
11322
11323 .
11324  To make a table a formal table use the option 
11325 \family sans
11326 Formal
11327 \family default
11328  in the 
11329 \family sans
11330 Borders
11331 \family default
11332  tab of the table dialog.
11333 \end_layout
11334
11335 \begin_layout Standard
11336 \begin_inset Float table
11337 placement h
11338 wide false
11339 sideways false
11340 status open
11341
11342 \begin_layout Standard
11343 \begin_inset Caption
11344
11345 \begin_layout Standard
11346 \begin_inset LatexCommand label
11347 name "tab:Example-booktabs-table"
11348
11349 \end_inset
11350
11351 Example booktabs-table
11352 \end_layout
11353
11354 \end_inset
11355
11356
11357 \end_layout
11358
11359 \begin_layout Standard
11360 \align center
11361 \begin_inset Tabular
11362 <lyxtabular version="3" rows="8" columns="4">
11363 <features booktabs="true">
11364 <column alignment="center" valignment="top" rightline="true" width="0">
11365 <column alignment="center" valignment="top" width="0">
11366 <column alignment="center" valignment="top" width="0">
11367 <column alignment="center" valignment="top" width="0">
11368 <row topline="true">
11369 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11370 \begin_inset Text
11371
11372 \begin_layout Standard
11373 System
11374 \end_layout
11375
11376 \end_inset
11377 </cell>
11378 <cell alignment="center" valignment="top" topline="true" usebox="none">
11379 \begin_inset Text
11380
11381 \begin_layout Standard
11382 Medipix
11383 \begin_inset Formula $\,$
11384 \end_inset
11385
11386 1
11387 \end_layout
11388
11389 \end_inset
11390 </cell>
11391 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
11392 \begin_inset Text
11393
11394 \begin_layout Standard
11395 Medipix
11396 \begin_inset Formula $\,$
11397 \end_inset
11398
11399 2
11400 \end_layout
11401
11402 \end_inset
11403 </cell>
11404 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11405 \begin_inset Text
11406
11407 \begin_layout Standard
11408
11409 \end_layout
11410
11411 \end_inset
11412 </cell>
11413 </row>
11414 <row>
11415 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11416 \begin_inset Text
11417
11418 \begin_layout Standard
11419 \begin_inset ERT
11420 status collapsed
11421
11422 \begin_layout Standard
11423
11424
11425 \backslash
11426 cmidrule(r){2-2}
11427 \end_layout
11428
11429 \end_inset
11430
11431
11432 \begin_inset ERT
11433 status collapsed
11434
11435 \begin_layout Standard
11436
11437
11438 \backslash
11439 cmidrule(l){3-4}
11440 \end_layout
11441
11442 \end_inset
11443
11444 Detector thickness [µm]
11445 \end_layout
11446
11447 \end_inset
11448 </cell>
11449 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11450 \begin_inset Text
11451
11452 \begin_layout Standard
11453 300
11454 \end_layout
11455
11456 \end_inset
11457 </cell>
11458 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11459 \begin_inset Text
11460
11461 \begin_layout Standard
11462 300
11463 \end_layout
11464
11465 \end_inset
11466 </cell>
11467 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11468 \begin_inset Text
11469
11470 \begin_layout Standard
11471 700
11472 \end_layout
11473
11474 \end_inset
11475 </cell>
11476 </row>
11477 <row topline="true">
11478 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11479 \begin_inset Text
11480
11481 \begin_layout Standard
11482 Edge angle [°]
11483 \end_layout
11484
11485 \end_inset
11486 </cell>
11487 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11488 \begin_inset Text
11489
11490 \begin_layout Standard
11491 3.55
11492 \end_layout
11493
11494 \end_inset
11495 </cell>
11496 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11497 \begin_inset Text
11498
11499 \begin_layout Standard
11500 2.71
11501 \end_layout
11502
11503 \end_inset
11504 </cell>
11505 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11506 \begin_inset Text
11507
11508 \begin_layout Standard
11509 7.99
11510 \end_layout
11511
11512 \end_inset
11513 </cell>
11514 </row>
11515 <row topspace="default">
11516 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11517 \begin_inset Text
11518
11519 \begin_layout Standard
11520 Spatial resolution [µm]
11521 \end_layout
11522
11523 \end_inset
11524 </cell>
11525 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11526 \begin_inset Text
11527
11528 \begin_layout Standard
11529 4.26
11530 \end_layout
11531
11532 \end_inset
11533 </cell>
11534 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11535 \begin_inset Text
11536
11537 \begin_layout Standard
11538 10.17
11539 \end_layout
11540
11541 \end_inset
11542 </cell>
11543 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11544 \begin_inset Text
11545
11546 \begin_layout Standard
11547 10.56
11548 \end_layout
11549
11550 \end_inset
11551 </cell>
11552 </row>
11553 <row topspace="default">
11554 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11555 \begin_inset Text
11556
11557 \begin_layout Standard
11558 MTF at 
11559 \begin_inset Formula $f_{\mathrm{max}}$
11560 \end_inset
11561
11562
11563 \end_layout
11564
11565 \end_inset
11566 </cell>
11567 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11568 \begin_inset Text
11569
11570 \begin_layout Standard
11571 0.53
11572 \end_layout
11573
11574 \end_inset
11575 </cell>
11576 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11577 \begin_inset Text
11578
11579 \begin_layout Standard
11580 0.37
11581 \end_layout
11582
11583 \end_inset
11584 </cell>
11585 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11586 \begin_inset Text
11587
11588 \begin_layout Standard
11589 0.39
11590 \end_layout
11591
11592 \end_inset
11593 </cell>
11594 </row>
11595 <row topspace="default">
11596 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11597 \begin_inset Text
11598
11599 \begin_layout Standard
11600 \begin_inset ERT
11601 status collapsed
11602
11603 \begin_layout Standard
11604
11605
11606 \backslash
11607 cmidrule(l{10pt}){1-1}
11608 \end_layout
11609
11610 \end_inset
11611
11612 LSF-spatial resolution
11613 \end_layout
11614
11615 \end_inset
11616 </cell>
11617 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11618 \begin_inset Text
11619
11620 \begin_layout Standard
11621
11622 \end_layout
11623
11624 \end_inset
11625 </cell>
11626 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11627 \begin_inset Text
11628
11629 \begin_layout Standard
11630
11631 \end_layout
11632
11633 \end_inset
11634 </cell>
11635 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11636 \begin_inset Text
11637
11638 \begin_layout Standard
11639
11640 \end_layout
11641
11642 \end_inset
11643 </cell>
11644 </row>
11645 <row>
11646 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11647 \begin_inset Text
11648
11649 \begin_layout Standard
11650 in µm
11651 \end_layout
11652
11653 \end_inset
11654 </cell>
11655 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11656 \begin_inset Text
11657
11658 \begin_layout Standard
11659 129.7
11660 \end_layout
11661
11662 \end_inset
11663 </cell>
11664 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11665 \begin_inset Text
11666
11667 \begin_layout Standard
11668 52.75
11669 \end_layout
11670
11671 \end_inset
11672 </cell>
11673 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11674 \begin_inset Text
11675
11676 \begin_layout Standard
11677 50.78
11678 \end_layout
11679
11680 \end_inset
11681 </cell>
11682 </row>
11683 <row bottomline="true">
11684 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11685 \begin_inset Text
11686
11687 \begin_layout Standard
11688 in % of pixel size
11689 \end_layout
11690
11691 \end_inset
11692 </cell>
11693 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11694 \begin_inset Text
11695
11696 \begin_layout Standard
11697 76.3
11698 \end_layout
11699
11700 \end_inset
11701 </cell>
11702 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11703 \begin_inset Text
11704
11705 \begin_layout Standard
11706 95.9
11707 \end_layout
11708
11709 \end_inset
11710 </cell>
11711 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11712 \begin_inset Text
11713
11714 \begin_layout Standard
11715 92.3
11716 \end_layout
11717
11718 \end_inset
11719 </cell>
11720 </row>
11721 </lyxtabular>
11722
11723 \end_inset
11724
11725
11726 \end_layout
11727
11728 \end_inset
11729
11730
11731 \end_layout
11732
11733 \begin_layout Standard
11734 Spaces to table rows can be added using the 
11735 \family sans
11736 Borders
11737 \family default
11738  tab of the table dialog as described in section\InsetSpace ~
11739
11740 \begin_inset LatexCommand ref
11741 reference "sub:Row-Spacing"
11742
11743 \end_inset
11744
11745 .
11746 \end_layout
11747
11748 \begin_layout Standard
11749 In contrary to normal tables, formal tables have no vertical table lines.
11750  The horizontal table lines can be set like for normal tables but they appear
11751  with different width in the output:
11752 \newline
11753 The first and the last table line have
11754  a default width of 0.08\InsetSpace \thinspace{}
11755 em while the other lines have a default width of
11756  0.05\InsetSpace \thinspace{}
11757 em.
11758 \end_layout
11759
11760 \begin_layout Standard
11761 The default widths can be changed with the following preamble lines
11762 \end_layout
11763
11764 \begin_layout Standard
11765
11766 \series bold
11767
11768 \backslash
11769 let
11770 \backslash
11771 mytoprule
11772 \backslash
11773 toprule
11774 \newline
11775
11776 \backslash
11777 renewcommand{
11778 \backslash
11779 toprule}{
11780 \backslash
11781 mytoprule[width]}
11782 \end_layout
11783
11784 \begin_layout Standard
11785 This example is for the first line, the so called toprule.
11786  If you want to change the width for the last line, replace 
11787 \series bold
11788 toprule
11789 \series default
11790  by 
11791 \series bold
11792 bottomrule
11793 \series default
11794 .
11795  To change the width for the other lines replace 
11796 \series bold
11797 toprule
11798 \series default
11799  by 
11800 \series bold
11801 midrule
11802 \series default
11803 .
11804  You can use all units listed in appendix\InsetSpace ~
11805
11806 \begin_inset LatexCommand ref
11807 reference "cha:Units-available-in"
11808
11809 \end_inset
11810
11811  to set the width.
11812 \end_layout
11813
11814 \begin_layout Standard
11815 Lines that don't span over all table columns can be created by setting a
11816  table line for multicolumn cells.
11817  LyX will then internally use the command 
11818 \series bold
11819
11820 \backslash
11821 cmidrule
11822 \series default
11823  to create this line.
11824  Its full scheme is
11825 \end_layout
11826
11827 \begin_layout Standard
11828
11829 \series bold
11830
11831 \backslash
11832 cmidrule[width](trim){startcol-endcol}
11833 \end_layout
11834
11835 \begin_layout Standard
11836 The options of 
11837 \series bold
11838
11839 \backslash
11840 cmidrule
11841 \series default
11842  are are currently not supported by LyX so you have to use ERT to be able
11843  to use them.
11844  
11845 \series bold
11846
11847 \backslash
11848 cmidrule
11849 \series default
11850 s can manually be created by inserting the command as ERT as first cell
11851  entry of the first cell of a row.
11852  The line is then drawn in the output above the current row.
11853 \end_layout
11854
11855 \begin_layout Standard
11856 The default for the width is 0.03\InsetSpace \thinspace{}
11857 em.
11858  Startcol is the number of the column where the line starts and endcol the
11859  column number where the line ends.
11860  The endcol always needs to be specified, also when the line should span
11861  only one column.
11862  The optional parameter trim could be either 
11863 \emph on
11864 l{trimwidth}
11865 \emph default
11866 , or 
11867 \emph on
11868 r{trimwidth}
11869 \emph default
11870  where the trimwidth is also optional.
11871  Using for example the parameter 
11872 \emph on
11873 l{2pt}
11874 \emph default
11875  means that the line is trimmed from its left end by 2\InsetSpace \thinspace{}
11876 pt.
11877  If you don't specify the trimwidth the lines are trimmed by the default
11878  of 0.5\InsetSpace \thinspace{}
11879 em.
11880 \end_layout
11881
11882 \begin_layout Standard
11883 \begin_inset VSpace bigskip
11884 \end_inset
11885
11886 Table\InsetSpace ~
11887
11888 \begin_inset LatexCommand ref
11889 reference "tab:Example-booktabs-table"
11890
11891 \end_inset
11892
11893  was created using the commands
11894 \end_layout
11895
11896 \begin_layout Standard
11897
11898 \series bold
11899
11900 \backslash
11901 cmidrule(r){2-2}
11902 \backslash
11903 cmidrule(l){3-4}
11904 \end_layout
11905
11906 \begin_layout Standard
11907 at the beginning of the in the second row and
11908 \end_layout
11909
11910 \begin_layout Standard
11911
11912 \series bold
11913
11914 \backslash
11915 cmidrule(l{10pt}){1-1}
11916 \end_layout
11917
11918 \begin_layout Standard
11919 in the sixth row.
11920 \end_layout
11921
11922 \begin_layout Standard
11923
11924 \end_layout
11925
11926 \begin_layout Standard
11927 \begin_inset VSpace bigskip
11928 \end_inset
11929
11930
11931 \end_layout
11932
11933 \begin_layout Standard
11934 You might want to have overlapping 
11935 \series bold
11936
11937 \backslash
11938 cmidrule
11939 \series default
11940 s like in Table\InsetSpace ~
11941
11942 \begin_inset LatexCommand ref
11943 reference "tab:Special-booktabs-table"
11944
11945 \end_inset
11946
11947 .
11948  This can be achieved with the ERT command
11949 \end_layout
11950
11951 \begin_layout Standard
11952
11953 \series bold
11954
11955 \backslash
11956 morecmidrules
11957 \end_layout
11958
11959 \begin_layout Standard
11960 The command that was used for the second row of Table\InsetSpace ~
11961
11962 \begin_inset LatexCommand ref
11963 reference "tab:Special-booktabs-table"
11964
11965 \end_inset
11966
11967  is
11968 \end_layout
11969
11970 \begin_layout Standard
11971
11972 \series bold
11973
11974 \backslash
11975 cmidrule(r){2-2}
11976 \backslash
11977 cmidrule(l){3-4}
11978 \backslash
11979 morecmidrules
11980 \backslash
11981 cmidrule{2-4}
11982 \end_layout
11983
11984 \begin_layout Standard
11985 The command for the sixth row is
11986 \end_layout
11987
11988 \begin_layout Standard
11989
11990 \series bold
11991
11992 \backslash
11993 midrule
11994 \backslash
11995 morecmidrules
11996 \backslash
11997 cmidrule{3-4}
11998 \end_layout
11999
12000 \begin_layout Standard
12001 \begin_inset VSpace bigskip
12002 \end_inset
12003
12004
12005 \end_layout
12006
12007 \begin_layout Standard
12008 If you are anyway not satisfied with the border line spacing, you can use
12009  the following command to produce lines that span over all table columns
12010 \series bold
12011 :
12012 \end_layout
12013
12014 \begin_layout Standard
12015
12016 \series bold
12017
12018 \backslash
12019 specialrule{width}{space above}{space below}
12020 \end_layout
12021
12022 \begin_layout Standard
12023 For more informations about these specialties, we refer to the manual of
12024  the LaTeX-package 
12025 \series bold
12026 booktabs
12027 \series default
12028  
12029 \begin_inset LatexCommand cite
12030 key "booktabs"
12031
12032 \end_inset
12033
12034 .
12035 \begin_inset LatexCommand index
12036 name "LaTeX-packages ! booktabs"
12037
12038 \end_inset
12039
12040
12041 \end_layout
12042
12043 \begin_layout Standard
12044 \begin_inset Float table
12045 placement h
12046 wide false
12047 sideways false
12048 status open
12049
12050 \begin_layout Standard
12051 \begin_inset Caption
12052
12053 \begin_layout Standard
12054 \begin_inset LatexCommand label
12055 name "tab:Special-booktabs-table"
12056
12057 \end_inset
12058
12059 Special booktabs-table
12060 \end_layout
12061
12062 \end_inset
12063
12064
12065 \end_layout
12066
12067 \begin_layout Standard
12068 \align center
12069 \begin_inset Tabular
12070 <lyxtabular version="3" rows="8" columns="4">
12071 <features booktabs="true">
12072 <column alignment="center" valignment="top" width="0">
12073 <column alignment="center" valignment="top" width="0">
12074 <column alignment="center" valignment="top" width="0">
12075 <column alignment="center" valignment="top" width="0">
12076 <row topline="true">
12077 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12078 \begin_inset Text
12079
12080 \begin_layout Standard
12081 System
12082 \end_layout
12083
12084 \end_inset
12085 </cell>
12086 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12087 \begin_inset Text
12088
12089 \begin_layout Standard
12090 Medipix\InsetSpace \thinspace{}
12091 1
12092 \end_layout
12093
12094 \end_inset
12095 </cell>
12096 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
12097 \begin_inset Text
12098
12099 \begin_layout Standard
12100 Medipix\InsetSpace \thinspace{}
12101 2
12102 \end_layout
12103
12104 \end_inset
12105 </cell>
12106 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12107 \begin_inset Text
12108
12109 \begin_layout Standard
12110
12111 \end_layout
12112
12113 \end_inset
12114 </cell>
12115 </row>
12116 <row>
12117 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12118 \begin_inset Text
12119
12120 \begin_layout Standard
12121 \begin_inset ERT
12122 status collapsed
12123
12124 \begin_layout Standard
12125
12126
12127 \backslash
12128 cmidrule(r){2-2}
12129 \end_layout
12130
12131 \end_inset
12132
12133
12134 \begin_inset ERT
12135 status collapsed
12136
12137 \begin_layout Standard
12138
12139
12140 \backslash
12141 cmidrule(l){3-4}
12142 \end_layout
12143
12144 \end_inset
12145
12146
12147 \begin_inset ERT
12148 status collapsed
12149
12150 \begin_layout Standard
12151
12152
12153 \backslash
12154 morecmidrules 
12155 \end_layout
12156
12157 \end_inset
12158
12159
12160 \begin_inset ERT
12161 status collapsed
12162
12163 \begin_layout Standard
12164
12165
12166 \backslash
12167 cmidrule{2-4}
12168 \end_layout
12169
12170 \end_inset
12171
12172 Detector thickness [µm]
12173 \end_layout
12174
12175 \end_inset
12176 </cell>
12177 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12178 \begin_inset Text
12179
12180 \begin_layout Standard
12181 300
12182 \end_layout
12183
12184 \end_inset
12185 </cell>
12186 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12187 \begin_inset Text
12188
12189 \begin_layout Standard
12190 300
12191 \end_layout
12192
12193 \end_inset
12194 </cell>
12195 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12196 \begin_inset Text
12197
12198 \begin_layout Standard
12199 700
12200 \end_layout
12201
12202 \end_inset
12203 </cell>
12204 </row>
12205 <row topline="true">
12206 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12207 \begin_inset Text
12208
12209 \begin_layout Standard
12210 Edge angle [°]
12211 \end_layout
12212
12213 \end_inset
12214 </cell>
12215 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12216 \begin_inset Text
12217
12218 \begin_layout Standard
12219 3.55
12220 \end_layout
12221
12222 \end_inset
12223 </cell>
12224 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12225 \begin_inset Text
12226
12227 \begin_layout Standard
12228 2.71
12229 \end_layout
12230
12231 \end_inset
12232 </cell>
12233 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12234 \begin_inset Text
12235
12236 \begin_layout Standard
12237 7.99
12238 \end_layout
12239
12240 \end_inset
12241 </cell>
12242 </row>
12243 <row topspace="default">
12244 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12245 \begin_inset Text
12246
12247 \begin_layout Standard
12248 Spatial resolution [µm]
12249 \end_layout
12250
12251 \end_inset
12252 </cell>
12253 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12254 \begin_inset Text
12255
12256 \begin_layout Standard
12257 4.26
12258 \end_layout
12259
12260 \end_inset
12261 </cell>
12262 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12263 \begin_inset Text
12264
12265 \begin_layout Standard
12266 10.17
12267 \end_layout
12268
12269 \end_inset
12270 </cell>
12271 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12272 \begin_inset Text
12273
12274 \begin_layout Standard
12275 10.56
12276 \end_layout
12277
12278 \end_inset
12279 </cell>
12280 </row>
12281 <row topspace="default">
12282 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12283 \begin_inset Text
12284
12285 \begin_layout Standard
12286 MTF at 
12287 \begin_inset Formula $f_{\mathrm{max}}$
12288 \end_inset
12289
12290
12291 \end_layout
12292
12293 \end_inset
12294 </cell>
12295 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12296 \begin_inset Text
12297
12298 \begin_layout Standard
12299 0.53
12300 \end_layout
12301
12302 \end_inset
12303 </cell>
12304 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12305 \begin_inset Text
12306
12307 \begin_layout Standard
12308 0.37
12309 \end_layout
12310
12311 \end_inset
12312 </cell>
12313 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12314 \begin_inset Text
12315
12316 \begin_layout Standard
12317 0.39
12318 \end_layout
12319
12320 \end_inset
12321 </cell>
12322 </row>
12323 <row topline="true">
12324 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12325 \begin_inset Text
12326
12327 \begin_layout Standard
12328 \begin_inset ERT
12329 status collapsed
12330
12331 \begin_layout Standard
12332
12333
12334 \backslash
12335 morecmidrules 
12336 \end_layout
12337
12338 \end_inset
12339
12340
12341 \begin_inset ERT
12342 status collapsed
12343
12344 \begin_layout Standard
12345
12346
12347 \backslash
12348 cmidrule{3-4}
12349 \end_layout
12350
12351 \end_inset
12352
12353 LSF-spatial resolution
12354 \end_layout
12355
12356 \end_inset
12357 </cell>
12358 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12359 \begin_inset Text
12360
12361 \begin_layout Standard
12362
12363 \end_layout
12364
12365 \end_inset
12366 </cell>
12367 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12368 \begin_inset Text
12369
12370 \begin_layout Standard
12371
12372 \end_layout
12373
12374 \end_inset
12375 </cell>
12376 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12377 \begin_inset Text
12378
12379 \begin_layout Standard
12380
12381 \end_layout
12382
12383 \end_inset
12384 </cell>
12385 </row>
12386 <row>
12387 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12388 \begin_inset Text
12389
12390 \begin_layout Standard
12391 in µm
12392 \end_layout
12393
12394 \end_inset
12395 </cell>
12396 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12397 \begin_inset Text
12398
12399 \begin_layout Standard
12400 129.7
12401 \end_layout
12402
12403 \end_inset
12404 </cell>
12405 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12406 \begin_inset Text
12407
12408 \begin_layout Standard
12409 52.75
12410 \end_layout
12411
12412 \end_inset
12413 </cell>
12414 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12415 \begin_inset Text
12416
12417 \begin_layout Standard
12418 50.78
12419 \end_layout
12420
12421 \end_inset
12422 </cell>
12423 </row>
12424 <row bottomline="true">
12425 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12426 \begin_inset Text
12427
12428 \begin_layout Standard
12429 in % of pixel size
12430 \end_layout
12431
12432 \end_inset
12433 </cell>
12434 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12435 \begin_inset Text
12436
12437 \begin_layout Standard
12438 76.3
12439 \end_layout
12440
12441 \end_inset
12442 </cell>
12443 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12444 \begin_inset Text
12445
12446 \begin_layout Standard
12447 95.9
12448 \end_layout
12449
12450 \end_inset
12451 </cell>
12452 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12453 \begin_inset Text
12454
12455 \begin_layout Standard
12456 92.3
12457 \end_layout
12458
12459 \end_inset
12460 </cell>
12461 </row>
12462 </lyxtabular>
12463
12464 \end_inset
12465
12466
12467 \end_layout
12468
12469 \end_inset
12470
12471
12472 \end_layout
12473
12474 \begin_layout Section
12475 Vertical Table Alignment
12476 \begin_inset LatexCommand index
12477 name "Table ! Alignment"
12478
12479 \end_inset
12480
12481
12482 \end_layout
12483
12484 \begin_layout Standard
12485 To align tables vertically in a text line the table must be inside a box.
12486  The box can then be vertically aligned as described in section\InsetSpace ~
12487
12488 \begin_inset LatexCommand ref
12489 reference "sec:Box-Dialog"
12490
12491 \end_inset
12492
12493 .
12494 \end_layout
12495
12496 \begin_layout Standard
12497 In the following example the tables are inside a minipage
12498 \begin_inset Foot
12499 status collapsed
12500
12501 \begin_layout Standard
12502 Minipages are described in section\InsetSpace ~
12503
12504 \begin_inset LatexCommand ref
12505 reference "sec:Minipages"
12506
12507 \end_inset
12508
12509 .
12510 \end_layout
12511
12512 \end_inset
12513
12514  box that has a width of 15\InsetSpace \thinspace{}
12515 col%:
12516 \end_layout
12517
12518 \begin_layout Itemize
12519 test 
12520 \begin_inset Box Frameless
12521 position "t"
12522 hor_pos "c"
12523 has_inner_box 1
12524 inner_pos "c"
12525 use_parbox 0
12526 width "15col%"
12527 special "none"
12528 height "1in"
12529 height_special "totalheight"
12530 status collapsed
12531
12532 \begin_layout Standard
12533 \begin_inset Tabular
12534 <lyxtabular version="3" rows="3" columns="3">
12535 <features>
12536 <column alignment="center" valignment="top" leftline="true" width="0">
12537 <column alignment="center" valignment="top" leftline="true" width="0">
12538 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12539 <row topline="true">
12540 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12541 \begin_inset Text
12542
12543 \begin_layout Standard
12544 a
12545 \end_layout
12546
12547 \end_inset
12548 </cell>
12549 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12550 \begin_inset Text
12551
12552 \begin_layout Standard
12553 d
12554 \end_layout
12555
12556 \end_inset
12557 </cell>
12558 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12559 \begin_inset Text
12560
12561 \begin_layout Standard
12562 g
12563 \end_layout
12564
12565 \end_inset
12566 </cell>
12567 </row>
12568 <row topline="true">
12569 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12570 \begin_inset Text
12571
12572 \begin_layout Standard
12573 b
12574 \end_layout
12575
12576 \end_inset
12577 </cell>
12578 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12579 \begin_inset Text
12580
12581 \begin_layout Standard
12582 e
12583 \end_layout
12584
12585 \end_inset
12586 </cell>
12587 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12588 \begin_inset Text
12589
12590 \begin_layout Standard
12591 h
12592 \end_layout
12593
12594 \end_inset
12595 </cell>
12596 </row>
12597 <row topline="true" bottomline="true">
12598 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12599 \begin_inset Text
12600
12601 \begin_layout Standard
12602 c
12603 \end_layout
12604
12605 \end_inset
12606 </cell>
12607 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12608 \begin_inset Text
12609
12610 \begin_layout Standard
12611 f
12612 \end_layout
12613
12614 \end_inset
12615 </cell>
12616 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12617 \begin_inset Text
12618
12619 \begin_layout Standard
12620 i
12621 \end_layout
12622
12623 \end_inset
12624 </cell>
12625 </row>
12626 </lyxtabular>
12627
12628 \end_inset
12629
12630
12631 \end_layout
12632
12633 \end_inset
12634
12635  test 
12636 \begin_inset ERT
12637 status collapsed
12638
12639 \begin_layout Standard
12640
12641
12642 \backslash
12643 raisebox{0.85
12644 \backslash
12645 baselineskip}{
12646 \end_layout
12647
12648 \end_inset
12649
12650
12651 \begin_inset Box Frameless
12652 position "t"
12653 hor_pos "c"
12654 has_inner_box 1
12655 inner_pos "c"
12656 use_parbox 0
12657 width "15col%"
12658 special "none"
12659 height "1in"
12660 height_special "totalheight"
12661 status collapsed
12662
12663 \begin_layout Standard
12664 \begin_inset Tabular
12665 <lyxtabular version="3" rows="3" columns="3">
12666 <features>
12667 <column alignment="center" valignment="top" leftline="true" width="0">
12668 <column alignment="center" valignment="top" leftline="true" width="0">
12669 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12670 <row topline="true">
12671 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12672 \begin_inset Text
12673
12674 \begin_layout Standard
12675 a
12676 \end_layout
12677
12678 \end_inset
12679 </cell>
12680 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12681 \begin_inset Text
12682
12683 \begin_layout Standard
12684 d
12685 \end_layout
12686
12687 \end_inset
12688 </cell>
12689 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12690 \begin_inset Text
12691
12692 \begin_layout Standard
12693 g
12694 \end_layout
12695
12696 \end_inset
12697 </cell>
12698 </row>
12699 <row topline="true">
12700 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12701 \begin_inset Text
12702
12703 \begin_layout Standard
12704 b
12705 \end_layout
12706
12707 \end_inset
12708 </cell>
12709 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12710 \begin_inset Text
12711
12712 \begin_layout Standard
12713 e
12714 \end_layout
12715
12716 \end_inset
12717 </cell>
12718 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12719 \begin_inset Text
12720
12721 \begin_layout Standard
12722 h
12723 \end_layout
12724
12725 \end_inset
12726 </cell>
12727 </row>
12728 <row topline="true" bottomline="true">
12729 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12730 \begin_inset Text
12731
12732 \begin_layout Standard
12733 c
12734 \end_layout
12735
12736 \end_inset
12737 </cell>
12738 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12739 \begin_inset Text
12740
12741 \begin_layout Standard
12742 f
12743 \end_layout
12744
12745 \end_inset
12746 </cell>
12747 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12748 \begin_inset Text
12749
12750 \begin_layout Standard
12751 i
12752 \end_layout
12753
12754 \end_inset
12755 </cell>
12756 </row>
12757 </lyxtabular>
12758
12759 \end_inset
12760
12761
12762 \end_layout
12763
12764 \end_inset
12765
12766
12767 \begin_inset ERT
12768 status collapsed
12769
12770 \begin_layout Standard
12771
12772 }
12773 \end_layout
12774
12775 \end_inset
12776
12777
12778 \end_layout
12779
12780 \begin_layout Itemize
12781 test 
12782 \begin_inset Box Frameless
12783 position "c"
12784 hor_pos "c"
12785 has_inner_box 1
12786 inner_pos "c"
12787 use_parbox 0
12788 width "15col%"
12789 special "none"
12790 height "1in"
12791 height_special "totalheight"
12792 status collapsed
12793
12794 \begin_layout Standard
12795 \begin_inset Tabular
12796 <lyxtabular version="3" rows="3" columns="3">
12797 <features>
12798 <column alignment="center" valignment="top" leftline="true" width="0">
12799 <column alignment="center" valignment="top" leftline="true" width="0">
12800 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12801 <row topline="true">
12802 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12803 \begin_inset Text
12804
12805 \begin_layout Standard
12806 a
12807 \end_layout
12808
12809 \end_inset
12810 </cell>
12811 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12812 \begin_inset Text
12813
12814 \begin_layout Standard
12815 d
12816 \end_layout
12817
12818 \end_inset
12819 </cell>
12820 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12821 \begin_inset Text
12822
12823 \begin_layout Standard
12824 g
12825 \end_layout
12826
12827 \end_inset
12828 </cell>
12829 </row>
12830 <row topline="true">
12831 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12832 \begin_inset Text
12833
12834 \begin_layout Standard
12835 b
12836 \end_layout
12837
12838 \end_inset
12839 </cell>
12840 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12841 \begin_inset Text
12842
12843 \begin_layout Standard
12844 e
12845 \end_layout
12846
12847 \end_inset
12848 </cell>
12849 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12850 \begin_inset Text
12851
12852 \begin_layout Standard
12853 h
12854 \end_layout
12855
12856 \end_inset
12857 </cell>
12858 </row>
12859 <row topline="true" bottomline="true">
12860 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12861 \begin_inset Text
12862
12863 \begin_layout Standard
12864 c
12865 \end_layout
12866
12867 \end_inset
12868 </cell>
12869 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12870 \begin_inset Text
12871
12872 \begin_layout Standard
12873 f
12874 \end_layout
12875
12876 \end_inset
12877 </cell>
12878 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12879 \begin_inset Text
12880
12881 \begin_layout Standard
12882 i
12883 \end_layout
12884
12885 \end_inset
12886 </cell>
12887 </row>
12888 </lyxtabular>
12889
12890 \end_inset
12891
12892
12893 \end_layout
12894
12895 \end_inset
12896
12897
12898 \end_layout
12899
12900 \begin_layout Itemize
12901 test 
12902 \begin_inset Box Frameless
12903 position "b"
12904 hor_pos "c"
12905 has_inner_box 1
12906 inner_pos "c"
12907 use_parbox 0
12908 width "15col%"
12909 special "none"
12910 height "1in"
12911 height_special "totalheight"
12912 status collapsed
12913
12914 \begin_layout Standard
12915 \begin_inset Tabular
12916 <lyxtabular version="3" rows="3" columns="3">
12917 <features>
12918 <column alignment="center" valignment="top" leftline="true" width="0">
12919 <column alignment="center" valignment="top" leftline="true" width="0">
12920 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12921 <row topline="true">
12922 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12923 \begin_inset Text
12924
12925 \begin_layout Standard
12926 a
12927 \end_layout
12928
12929 \end_inset
12930 </cell>
12931 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12932 \begin_inset Text
12933
12934 \begin_layout Standard
12935 d
12936 \end_layout
12937
12938 \end_inset
12939 </cell>
12940 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12941 \begin_inset Text
12942
12943 \begin_layout Standard
12944 g
12945 \end_layout
12946
12947 \end_inset
12948 </cell>
12949 </row>
12950 <row topline="true">
12951 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12952 \begin_inset Text
12953
12954 \begin_layout Standard
12955 b
12956 \end_layout
12957
12958 \end_inset
12959 </cell>
12960 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12961 \begin_inset Text
12962
12963 \begin_layout Standard
12964 e
12965 \end_layout
12966
12967 \end_inset
12968 </cell>
12969 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12970 \begin_inset Text
12971
12972 \begin_layout Standard
12973 h
12974 \end_layout
12975
12976 \end_inset
12977 </cell>
12978 </row>
12979 <row topline="true" bottomline="true">
12980 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12981 \begin_inset Text
12982
12983 \begin_layout Standard
12984 c
12985 \end_layout
12986
12987 \end_inset
12988 </cell>
12989 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12990 \begin_inset Text
12991
12992 \begin_layout Standard
12993 f
12994 \end_layout
12995
12996 \end_inset
12997 </cell>
12998 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12999 \begin_inset Text
13000
13001 \begin_layout Standard
13002 i
13003 \end_layout
13004
13005 \end_inset
13006 </cell>
13007 </row>
13008 </lyxtabular>
13009
13010 \end_inset
13011
13012
13013 \end_layout
13014
13015 \end_inset
13016
13017  test 
13018 \begin_inset ERT
13019 status collapsed
13020
13021 \begin_layout Standard
13022
13023
13024 \backslash
13025 raisebox{-0.32
13026 \backslash
13027 baselineskip}{
13028 \end_layout
13029
13030 \end_inset
13031
13032
13033 \begin_inset Box Frameless
13034 position "b"
13035 hor_pos "c"
13036 has_inner_box 1
13037 inner_pos "c"
13038 use_parbox 0
13039 width "15col%"
13040 special "none"
13041 height "1in"
13042 height_special "totalheight"
13043 status collapsed
13044
13045 \begin_layout Standard
13046 \begin_inset Tabular
13047 <lyxtabular version="3" rows="3" columns="3">
13048 <features>
13049 <column alignment="center" valignment="top" leftline="true" width="0">
13050 <column alignment="center" valignment="top" leftline="true" width="0">
13051 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13052 <row topline="true">
13053 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13054 \begin_inset Text
13055
13056 \begin_layout Standard
13057 a
13058 \end_layout
13059
13060 \end_inset
13061 </cell>
13062 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13063 \begin_inset Text
13064
13065 \begin_layout Standard
13066 d
13067 \end_layout
13068
13069 \end_inset
13070 </cell>
13071 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13072 \begin_inset Text
13073
13074 \begin_layout Standard
13075 g
13076 \end_layout
13077
13078 \end_inset
13079 </cell>
13080 </row>
13081 <row topline="true">
13082 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13083 \begin_inset Text
13084
13085 \begin_layout Standard
13086 b
13087 \end_layout
13088
13089 \end_inset
13090 </cell>
13091 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13092 \begin_inset Text
13093
13094 \begin_layout Standard
13095 e
13096 \end_layout
13097
13098 \end_inset
13099 </cell>
13100 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13101 \begin_inset Text
13102
13103 \begin_layout Standard
13104 h
13105 \end_layout
13106
13107 \end_inset
13108 </cell>
13109 </row>
13110 <row topline="true" bottomline="true">
13111 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13112 \begin_inset Text
13113
13114 \begin_layout Standard
13115 c
13116 \end_layout
13117
13118 \end_inset
13119 </cell>
13120 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13121 \begin_inset Text
13122
13123 \begin_layout Standard
13124 f
13125 \end_layout
13126
13127 \end_inset
13128 </cell>
13129 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13130 \begin_inset Text
13131
13132 \begin_layout Standard
13133 i
13134 \end_layout
13135
13136 \end_inset
13137 </cell>
13138 </row>
13139 </lyxtabular>
13140
13141 \end_inset
13142
13143
13144 \end_layout
13145
13146 \end_inset
13147
13148
13149 \begin_inset ERT
13150 status collapsed
13151
13152 \begin_layout Standard
13153
13154 }
13155 \end_layout
13156
13157 \end_inset
13158
13159
13160 \end_layout
13161
13162 \begin_layout Standard
13163 As you can see, the content of the first and last table row is not correctly
13164  aligned with the text line where the table is in.
13165  To get this alignment, the minipage box must be set into a raisebox
13166 \begin_inset Foot
13167 status collapsed
13168
13169 \begin_layout Standard
13170 Raiseboxes are described in section\InsetSpace ~
13171
13172 \begin_inset LatexCommand ref
13173 reference "sub:Vertical-Alignment"
13174
13175 \end_inset
13176
13177 .
13178 \end_layout
13179
13180 \end_inset
13181
13182 .
13183  In the example above the second table in the first item is aligned using
13184  the ERT-command
13185 \end_layout
13186
13187 \begin_layout Standard
13188
13189 \series bold
13190
13191 \backslash
13192 raisebox{0.85
13193 \backslash
13194 baselineskip}{
13195 \end_layout
13196
13197 \begin_layout Standard
13198 before the box.
13199  Behind the box the closing brace 
13200 \series bold
13201 }
13202 \series default
13203  is inserted as ERT.
13204  For the second table in the last item the command
13205 \end_layout
13206
13207 \begin_layout Standard
13208
13209 \series bold
13210
13211 \backslash
13212 raisebox{-0.32
13213 \backslash
13214 baselineskip}{
13215 \end_layout
13216
13217 \begin_layout Standard
13218 is used.
13219 \end_layout
13220
13221 \begin_layout Standard
13222 \begin_inset Note Greyedout
13223 status open
13224
13225 \begin_layout Standard
13226
13227 \series bold
13228 Note:
13229 \series default
13230  The alignment of the table row content to the surrounding text line is
13231  not exact.
13232  The needed factor of the 
13233 \series bold
13234
13235 \backslash
13236 raisebox
13237 \series default
13238  command for this alignment depends on the document font, the font size,
13239  and the table line thickness.
13240 \end_layout
13241
13242 \end_inset
13243
13244
13245 \end_layout
13246
13247 \begin_layout Section
13248 Colored Tables
13249 \begin_inset LatexCommand label
13250 name "sec:Colored-Tables"
13251
13252 \end_inset
13253
13254
13255 \begin_inset LatexCommand index
13256 name "Table ! Color"
13257
13258 \end_inset
13259
13260
13261 \end_layout
13262
13263 \begin_layout Subsection
13264 Colored Cells
13265 \begin_inset LatexCommand index
13266 name "Table Color ! for Cells"
13267
13268 \end_inset
13269
13270
13271 \begin_inset LatexCommand index
13272 name "Color ! for Table Cells"
13273
13274 \end_inset
13275
13276
13277 \end_layout
13278
13279 \begin_layout Standard
13280 \begin_inset Float table
13281 placement h
13282 wide false
13283 sideways false
13284 status open
13285
13286 \begin_layout Standard
13287 \begin_inset Caption
13288
13289 \begin_layout Standard
13290 \begin_inset LatexCommand label
13291 name "tab:Table-colored-without"
13292
13293 \end_inset
13294
13295 Table colored without using the package 
13296 \series bold
13297 colortbl
13298 \series default
13299
13300 \begin_inset OptArg
13301 status collapsed
13302
13303 \begin_layout Standard
13304 Table without colortbl
13305 \end_layout
13306
13307 \end_inset
13308
13309
13310 \end_layout
13311
13312 \end_inset
13313
13314
13315 \end_layout
13316
13317 \begin_layout Standard
13318 \align center
13319 \begin_inset Tabular
13320 <lyxtabular version="3" rows="3" columns="3">
13321 <features>
13322 <column alignment="center" valignment="top" leftline="true" width="0">
13323 <column alignment="center" valignment="top" leftline="true" width="0">
13324 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13325 <row topline="true">
13326 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13327 \begin_inset Text
13328
13329 \begin_layout Standard
13330
13331 \color green
13332 a
13333 \end_layout
13334
13335 \end_inset
13336 </cell>
13337 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13338 \begin_inset Text
13339
13340 \begin_layout Standard
13341
13342 \color red
13343 b
13344 \end_layout
13345
13346 \end_inset
13347 </cell>
13348 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13349 \begin_inset Text
13350
13351 \begin_layout Standard
13352
13353 \color red
13354 c
13355 \end_layout
13356
13357 \end_inset
13358 </cell>
13359 </row>
13360 <row topline="true">
13361 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13362 \begin_inset Text
13363
13364 \begin_layout Standard
13365
13366 \color green
13367 d
13368 \end_layout
13369
13370 \end_inset
13371 </cell>
13372 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13373 \begin_inset Text
13374
13375 \begin_layout Standard
13376
13377 \color blue
13378 e
13379 \end_layout
13380
13381 \end_inset
13382 </cell>
13383 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13384 \begin_inset Text
13385
13386 \begin_layout Standard
13387
13388 \color blue
13389 f
13390 \end_layout
13391
13392 \end_inset
13393 </cell>
13394 </row>
13395 <row topline="true" bottomline="true">
13396 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13397 \begin_inset Text
13398
13399 \begin_layout Standard
13400
13401 \color green
13402 g
13403 \end_layout
13404
13405 \end_inset
13406 </cell>
13407 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13408 \begin_inset Text
13409
13410 \begin_layout Standard
13411
13412 \color blue
13413 h
13414 \end_layout
13415
13416 \end_inset
13417 </cell>
13418 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13419 \begin_inset Text
13420
13421 \begin_layout Standard
13422
13423 \color blue
13424 i
13425 \end_layout
13426
13427 \end_inset
13428 </cell>
13429 </row>
13430 </lyxtabular>
13431
13432 \end_inset
13433
13434
13435 \end_layout
13436
13437 \end_inset
13438
13439
13440 \end_layout
13441
13442 \begin_layout Standard
13443 If you only need colored text, mark the cells and choose a color in the
13444  menu 
13445 \family sans
13446 Edit\SpecialChar \menuseparator
13447 Text\InsetSpace ~
13448 Style
13449 \family default
13450 .
13451  This was used to create Table\InsetSpace ~
13452
13453 \begin_inset LatexCommand ref
13454 reference "tab:Table-colored-without"
13455
13456 \end_inset
13457
13458 .
13459  In any other case you have to use the LaTeX-package 
13460 \series bold
13461 colortbl
13462 \series default
13463 .
13464 \begin_inset LatexCommand index
13465 name "LaTeX-packages ! colortbl"
13466
13467 \end_inset
13468
13469
13470 \end_layout
13471
13472 \begin_layout Standard
13473 To create colored tables, 
13474 \series bold
13475 colortbl
13476 \series default
13477  must be loaded in the preamble with the line
13478 \end_layout
13479
13480 \begin_layout Standard
13481
13482 \series bold
13483
13484 \backslash
13485 usepackage{colortbl}
13486 \end_layout
13487
13488 \begin_layout Standard
13489 The color of a column is adjusted with the command
13490 \end_layout
13491
13492 \begin_layout Standard
13493
13494 \series bold
13495
13496 \backslash
13497 columncolor{name of color}
13498 \end_layout
13499
13500 \begin_layout Standard
13501 inside the command 
13502 \series bold
13503 >{ }
13504 \series default
13505 .
13506  More about the command 
13507 \series bold
13508 >{}
13509 \series default
13510  is described in section\InsetSpace ~
13511
13512 \begin_inset LatexCommand ref
13513 reference "sub:Multicolumn-Calculations"
13514
13515 \end_inset
13516
13517 .
13518 \end_layout
13519
13520 \begin_layout Standard
13521 The following color names are predefined:
13522 \end_layout
13523
13524 \begin_layout Standard
13525
13526 \family sans
13527 red
13528 \family default
13529
13530 \family sans
13531 green
13532 \family default
13533
13534 \family sans
13535 yellow
13536 \family default
13537
13538 \family sans
13539 blue
13540 \family default
13541
13542 \family sans
13543 cyan
13544 \family default
13545
13546 \family sans
13547 magenta
13548 \family default
13549
13550 \family sans
13551 black
13552 \family default
13553  and 
13554 \family sans
13555 white
13556 \end_layout
13557
13558 \begin_layout Standard
13559 \begin_inset VSpace medskip
13560 \end_inset
13561
13562
13563 \end_layout
13564
13565 \begin_layout Standard
13566 You can also define your own color with the command
13567 \end_layout
13568
13569 \begin_layout Standard
13570
13571 \series bold
13572
13573 \backslash
13574 def\SpecialChar \textcompwordmark{}
13575 inecolor{color name}{color model}{color values}
13576 \end_layout
13577
13578 \begin_layout Standard
13579 The color model can be
13580 \end_layout
13581
13582 \begin_layout Labeling
13583 \labelwidthstring 00.00.0000
13584 cmyk: cyan, magenta, yellow, black
13585 \end_layout
13586
13587 \begin_layout Labeling
13588 \labelwidthstring 00.00.0000
13589 rgb: red, green blue
13590 \end_layout
13591
13592 \begin_layout Labeling
13593 \labelwidthstring 00.00.0000
13594 gray gray
13595 \end_layout
13596
13597 \begin_layout Standard
13598 and the color values are comma separated numbers between 0 and 1 describing
13599  the factor for the corresponding color of the color model.
13600 \end_layout
13601
13602 \begin_layout Standard
13603 You can e.\InsetSpace \thinspace{}
13604 g.\InsetSpace ~
13605 define the color "
13606 \emph on
13607 darkgreen
13608 \emph default
13609 " in the preamble with
13610 \end_layout
13611
13612 \begin_layout Standard
13613
13614 \series bold
13615
13616 \backslash
13617 def\SpecialChar \textcompwordmark{}
13618 inecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
13619 \end_layout
13620
13621 \begin_layout Standard
13622 and the color "
13623 \emph on
13624 lightgray
13625 \emph default
13626 " with
13627 \end_layout
13628
13629 \begin_layout Standard
13630
13631 \series bold
13632
13633 \backslash
13634 def\SpecialChar \textcompwordmark{}
13635 inecolor{lightgray}{gray}{0.8}
13636 \end_layout
13637
13638 \begin_layout Standard
13639 \begin_inset VSpace medskip
13640 \end_inset
13641
13642
13643 \end_layout
13644
13645 \begin_layout Standard
13646 Lines are colored with the command
13647 \end_layout
13648
13649 \begin_layout Standard
13650
13651 \series bold
13652
13653 \backslash
13654 rowcolor{name of color}
13655 \end_layout
13656
13657 \begin_layout Standard
13658 and cells are colored with the command
13659 \end_layout
13660
13661 \begin_layout Standard
13662
13663 \series bold
13664
13665 \backslash
13666 cellcolor{name of color}
13667 \end_layout
13668
13669 \begin_layout Standard
13670 Both commands are inserted at the beginning of a cell as ERT.
13671 \end_layout
13672
13673 \begin_layout Standard
13674 To color characters in the table, mark the cells and use the LyX menu 
13675 \family sans
13676 Edit\SpecialChar \menuseparator
13677 Text\InsetSpace ~
13678 Style
13679 \family default
13680 .
13681  If a cell contains ERT mark only the characters, otherwise the colored
13682  ERT will cause LaTeX-errors.
13683 \end_layout
13684
13685 \begin_layout Standard
13686 \begin_inset VSpace bigskip
13687 \end_inset
13688
13689
13690 \end_layout
13691
13692 \begin_layout Standard
13693 To create Table\InsetSpace ~
13694
13695 \begin_inset LatexCommand ref
13696 reference "tab:Table-colored-using"
13697
13698 \end_inset
13699
13700  do the following: The color of the first column should be 
13701 \emph on
13702 darkgreen
13703 \emph default
13704 .
13705  So insert
13706 \end_layout
13707
13708 \begin_layout Standard
13709
13710 \series bold
13711 >{
13712 \backslash
13713 columncolor{darkgreen}
13714 \backslash
13715 centering}c
13716 \end_layout
13717
13718 \begin_layout Standard
13719 as LaTeX-argument for this column.
13720  The first row should be blue, therefore the ERT command
13721 \end_layout
13722
13723 \begin_layout Standard
13724
13725 \series bold
13726
13727 \backslash
13728 rowcolow{cyan}
13729 \end_layout
13730
13731 \begin_layout Standard
13732 is inserted to the first cell of this row.
13733  Note that this overwrites the column color for the first cell.
13734  The last cell of the last row is colored magenta by inserting the ERT command
13735 \end_layout
13736
13737 \begin_layout Standard
13738
13739 \series bold
13740
13741 \backslash
13742 cellcolor{magenta}
13743 \end_layout
13744
13745 \begin_layout Standard
13746 The characters could now be colored using the menu 
13747 \family sans
13748 Edit\SpecialChar \menuseparator
13749 Text\InsetSpace ~
13750 Style
13751 \family default
13752 .
13753 \end_layout
13754
13755 \begin_layout Standard
13756 \begin_inset Float table
13757 placement h
13758 wide false
13759 sideways false
13760 status open
13761
13762 \begin_layout Standard
13763 \begin_inset Caption
13764
13765 \begin_layout Standard
13766 \begin_inset LatexCommand label
13767 name "tab:Table-colored-using"
13768
13769 \end_inset
13770
13771 Table colored using the package 
13772 \series bold
13773 colortbl
13774 \series default
13775
13776 \begin_inset OptArg
13777 status collapsed
13778
13779 \begin_layout Standard
13780 Table with colortbl
13781 \end_layout
13782
13783 \end_inset
13784
13785
13786 \end_layout
13787
13788 \end_inset
13789
13790
13791 \end_layout
13792
13793 \begin_layout Standard
13794 \align center
13795 \begin_inset Tabular
13796 <lyxtabular version="3" rows="3" columns="3">
13797 <features>
13798 <column alignment="center" valignment="top" leftline="true" width="0" special=">{\columncolor{darkgreen}\centering}c">
13799 <column alignment="center" valignment="top" width="0">
13800 <column alignment="center" valignment="top" width="0">
13801 <row>
13802 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13803 \begin_inset Text
13804
13805 \begin_layout Standard
13806 \begin_inset ERT
13807 status collapsed
13808
13809 \begin_layout Standard
13810
13811
13812 \backslash
13813 rowcolor{cyan}
13814 \end_layout
13815
13816 \end_inset
13817
13818
13819 \color magenta
13820 a
13821 \end_layout
13822
13823 \end_inset
13824 </cell>
13825 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13826 \begin_inset Text
13827
13828 \begin_layout Standard
13829
13830 \color red
13831 b
13832 \end_layout
13833
13834 \end_inset
13835 </cell>
13836 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13837 \begin_inset Text
13838
13839 \begin_layout Standard
13840
13841 \color red
13842 c
13843 \end_layout
13844
13845 \end_inset
13846 </cell>
13847 </row>
13848 <row>
13849 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13850 \begin_inset Text
13851
13852 \begin_layout Standard
13853
13854 \color yellow
13855 d
13856 \end_layout
13857
13858 \end_inset
13859 </cell>
13860 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13861 \begin_inset Text
13862
13863 \begin_layout Standard
13864
13865 \color blue
13866 e
13867 \end_layout
13868
13869 \end_inset
13870 </cell>
13871 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13872 \begin_inset Text
13873
13874 \begin_layout Standard
13875
13876 \color blue
13877 f
13878 \end_layout
13879
13880 \end_inset
13881 </cell>
13882 </row>
13883 <row>
13884 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13885 \begin_inset Text
13886
13887 \begin_layout Standard
13888
13889 \color yellow
13890 g
13891 \end_layout
13892
13893 \end_inset
13894 </cell>
13895 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13896 \begin_inset Text
13897
13898 \begin_layout Standard
13899
13900 \color blue
13901 h
13902 \end_layout
13903
13904 \end_inset
13905 </cell>
13906 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13907 \begin_inset Text
13908
13909 \begin_layout Standard
13910 \begin_inset ERT
13911 status collapsed
13912
13913 \begin_layout Standard
13914
13915
13916 \backslash
13917 cellcolor{magenta}
13918 \end_layout
13919
13920 \end_inset
13921
13922
13923 \color green
13924 i
13925 \end_layout
13926
13927 \end_inset
13928 </cell>
13929 </row>
13930 </lyxtabular>
13931
13932 \end_inset
13933
13934
13935 \end_layout
13936
13937 \end_inset
13938
13939
13940 \end_layout
13941
13942 \begin_layout Subsection
13943 Colored Lines
13944 \begin_inset LatexCommand index
13945 name "Table Color ! for Lines"
13946
13947 \end_inset
13948
13949
13950 \begin_inset LatexCommand index
13951 name "Color ! for Table Lines"
13952
13953 \end_inset
13954
13955
13956 \end_layout
13957
13958 \begin_layout Standard
13959 As described in section\InsetSpace ~
13960
13961 \begin_inset LatexCommand ref
13962 reference "sub:Line-Thickness"
13963
13964 \end_inset
13965
13966 , the line thickness for all lines in a table can be adjusted with the length
13967  
13968 \series bold
13969
13970 \backslash
13971 arrayrulewidth
13972 \series default
13973 .
13974  It is set to 1.5\InsetSpace \thinspace{}
13975 pt for all tables of this section.
13976 \begin_inset ERT
13977 status collapsed
13978
13979 \begin_layout Standard
13980
13981
13982 \backslash
13983 setlength{
13984 \backslash
13985 arrayrulewidth}{1.5pt}
13986 \end_layout
13987
13988 \end_inset
13989
13990
13991 \end_layout
13992
13993 \begin_layout Standard
13994 To color vertical lines for example with green, create the following column
13995  format in the document preamble, according to the description in section\InsetSpace ~
13996
13997 \begin_inset LatexCommand ref
13998 reference "sub:Customized-Format"
13999
14000 \end_inset
14001
14002 :
14003 \end_layout
14004
14005 \begin_layout Standard
14006
14007 \series bold
14008
14009 \backslash
14010 newcolumntype{W}{!{
14011 \backslash
14012 color{green}
14013 \backslash
14014 vline}}
14015 \end_layout
14016
14017 \begin_layout Standard
14018 For Table\InsetSpace ~
14019
14020 \begin_inset LatexCommand ref
14021 reference "tab:Table-with-vertical-colored"
14022
14023 \end_inset
14024
14025  the LaTeX-argument
14026 \end_layout
14027
14028 \begin_layout Standard
14029
14030 \series bold
14031 WcW
14032 \end_layout
14033
14034 \begin_layout Standard
14035 was used for the last column and
14036 \end_layout
14037
14038 \begin_layout Standard
14039
14040 \series bold
14041 Wc
14042 \end_layout
14043
14044 \begin_layout Standard
14045 for the other columns.
14046 \end_layout
14047
14048 \begin_layout Standard
14049 If you want to have several colors, define more column formats.
14050 \end_layout
14051
14052 \begin_layout Standard
14053 \begin_inset Float table
14054 wide false
14055 sideways false
14056 status open
14057
14058 \begin_layout Standard
14059 \begin_inset Caption
14060
14061 \begin_layout Standard
14062 \begin_inset LatexCommand label
14063 name "tab:Table-with-vertical-colored"
14064
14065 \end_inset
14066
14067 Table with colored vertical lines
14068 \end_layout
14069
14070 \end_inset
14071
14072
14073 \end_layout
14074
14075 \begin_layout Standard
14076 \align center
14077 \begin_inset Tabular
14078 <lyxtabular version="3" rows="3" columns="3">
14079 <features>
14080 <column alignment="center" valignment="top" leftline="true" width="0" special="Wc">
14081 <column alignment="center" valignment="top" width="0" special="Wc">
14082 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0" special="WcW">
14083 <row topline="true">
14084 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14085 \begin_inset Text
14086
14087 \begin_layout Standard
14088 sd
14089 \end_layout
14090
14091 \end_inset
14092 </cell>
14093 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14094 \begin_inset Text
14095
14096 \begin_layout Standard
14097
14098 \end_layout
14099
14100 \end_inset
14101 </cell>
14102 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14103 \begin_inset Text
14104
14105 \begin_layout Standard
14106
14107 \end_layout
14108
14109 \end_inset
14110 </cell>
14111 </row>
14112 <row topline="true">
14113 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14114 \begin_inset Text
14115
14116 \begin_layout Standard
14117
14118 \end_layout
14119
14120 \end_inset
14121 </cell>
14122 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14123 \begin_inset Text
14124
14125 \begin_layout Standard
14126 sd
14127 \end_layout
14128
14129 \end_inset
14130 </cell>
14131 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14132 \begin_inset Text
14133
14134 \begin_layout Standard
14135
14136 \end_layout
14137
14138 \end_inset
14139 </cell>
14140 </row>
14141 <row topline="true" bottomline="true">
14142 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14143 \begin_inset Text
14144
14145 \begin_layout Standard
14146
14147 \end_layout
14148
14149 \end_inset
14150 </cell>
14151 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14152 \begin_inset Text
14153
14154 \begin_layout Standard
14155
14156 \end_layout
14157
14158 \end_inset
14159 </cell>
14160 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14161 \begin_inset Text
14162
14163 \begin_layout Standard
14164 sd
14165 \end_layout
14166
14167 \end_inset
14168 </cell>
14169 </row>
14170 </lyxtabular>
14171
14172 \end_inset
14173
14174
14175 \end_layout
14176
14177 \end_inset
14178
14179
14180 \end_layout
14181
14182 \begin_layout Standard
14183 \begin_inset VSpace bigskip
14184 \end_inset
14185
14186 To color horizontal lines for example with red, like in Table\InsetSpace ~
14187
14188 \begin_inset LatexCommand ref
14189 reference "tab:Table-with-horizontal-colored"
14190
14191 \end_inset
14192
14193 , insert these commands in ERT before the table or table float:
14194 \end_layout
14195
14196 \begin_layout Standard
14197
14198 \series bold
14199
14200 \backslash
14201 let
14202 \backslash
14203 myHlineC
14204 \backslash
14205 hline
14206 \newline
14207
14208 \backslash
14209 renewcommand{
14210 \backslash
14211 hline}{
14212 \backslash
14213 arrayrulecolor{red}
14214 \backslash
14215 myHlineC
14216 \backslash
14217 arrayrulecolor{black}}
14218 \end_layout
14219
14220 \begin_layout Standard
14221 \begin_inset ERT
14222 status collapsed
14223
14224 \begin_layout Standard
14225
14226
14227 \backslash
14228 let
14229 \backslash
14230 myHlineC
14231 \backslash
14232 hline
14233 \end_layout
14234
14235 \begin_layout Standard
14236
14237
14238 \backslash
14239 renewcommand{
14240 \backslash
14241 hline}{
14242 \backslash
14243 arrayrulecolor{red}
14244 \backslash
14245 myHlineC
14246 \backslash
14247 arrayrulecolor{black}}
14248 \end_layout
14249
14250 \end_inset
14251
14252
14253 \begin_inset Float table
14254 wide false
14255 sideways false
14256 status open
14257
14258 \begin_layout Standard
14259 \begin_inset Caption
14260
14261 \begin_layout Standard
14262 \begin_inset LatexCommand label
14263 name "tab:Table-with-horizontal-colored"
14264
14265 \end_inset
14266
14267 Table with colored horizontal lines
14268 \end_layout
14269
14270 \end_inset
14271
14272
14273 \end_layout
14274
14275 \begin_layout Standard
14276 \align center
14277 \begin_inset Tabular
14278 <lyxtabular version="3" rows="3" columns="3">
14279 <features>
14280 <column alignment="center" valignment="top" leftline="true" width="0">
14281 <column alignment="center" valignment="top" leftline="true" width="0">
14282 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14283 <row topline="true">
14284 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14285 \begin_inset Text
14286
14287 \begin_layout Standard
14288 sd
14289 \end_layout
14290
14291 \end_inset
14292 </cell>
14293 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14294 \begin_inset Text
14295
14296 \begin_layout Standard
14297
14298 \end_layout
14299
14300 \end_inset
14301 </cell>
14302 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14303 \begin_inset Text
14304
14305 \begin_layout Standard
14306
14307 \end_layout
14308
14309 \end_inset
14310 </cell>
14311 </row>
14312 <row topline="true">
14313 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14314 \begin_inset Text
14315
14316 \begin_layout Standard
14317
14318 \end_layout
14319
14320 \end_inset
14321 </cell>
14322 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14323 \begin_inset Text
14324
14325 \begin_layout Standard
14326 sd
14327 \end_layout
14328
14329 \end_inset
14330 </cell>
14331 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14332 \begin_inset Text
14333
14334 \begin_layout Standard
14335
14336 \end_layout
14337
14338 \end_inset
14339 </cell>
14340 </row>
14341 <row topline="true" bottomline="true">
14342 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14343 \begin_inset Text
14344
14345 \begin_layout Standard
14346
14347 \end_layout
14348
14349 \end_inset
14350 </cell>
14351 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14352 \begin_inset Text
14353
14354 \begin_layout Standard
14355
14356 \end_layout
14357
14358 \end_inset
14359 </cell>
14360 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14361 \begin_inset Text
14362
14363 \begin_layout Standard
14364 sd
14365 \end_layout
14366
14367 \end_inset
14368 </cell>
14369 </row>
14370 </lyxtabular>
14371
14372 \end_inset
14373
14374
14375 \end_layout
14376
14377 \end_inset
14378
14379
14380 \end_layout
14381
14382 \begin_layout Standard
14383 \begin_inset ERT
14384 status collapsed
14385
14386 \begin_layout Standard
14387
14388
14389 \backslash
14390 pagebreak 
14391 \end_layout
14392
14393 \end_inset
14394
14395
14396 \end_layout
14397
14398 \begin_layout Standard
14399 To return to the default line color black, insert this command in ERT behind
14400  the table or table float:
14401 \end_layout
14402
14403 \begin_layout Standard
14404
14405 \series bold
14406
14407 \backslash
14408 renewcommand{
14409 \backslash
14410 hline}{
14411 \backslash
14412 myHlineC}
14413 \end_layout
14414
14415 \begin_layout Standard
14416 Table\InsetSpace ~
14417
14418 \begin_inset LatexCommand ref
14419 reference "tab:Table-with-colored"
14420
14421 \end_inset
14422
14423  is an example with colored vertical and horizontal lines.
14424 \end_layout
14425
14426 \begin_layout Standard
14427 \begin_inset Float table
14428 wide false
14429 sideways false
14430 status open
14431
14432 \begin_layout Standard
14433 \begin_inset Caption
14434
14435 \begin_layout Standard
14436 \begin_inset LatexCommand label
14437 name "tab:Table-with-colored"
14438
14439 \end_inset
14440
14441 Table with colored lines
14442 \end_layout
14443
14444 \end_inset
14445
14446
14447 \end_layout
14448
14449 \begin_layout Standard
14450 \align center
14451 \begin_inset Tabular
14452 <lyxtabular version="3" rows="3" columns="3">
14453 <features>
14454 <column alignment="center" valignment="top" leftline="true" width="0" special="Wc">
14455 <column alignment="center" valignment="top" width="0" special="Wc">
14456 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0" special="WcW">
14457 <row topline="true">
14458 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14459 \begin_inset Text
14460
14461 \begin_layout Standard
14462 sd
14463 \end_layout
14464
14465 \end_inset
14466 </cell>
14467 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14468 \begin_inset Text
14469
14470 \begin_layout Standard
14471
14472 \end_layout
14473
14474 \end_inset
14475 </cell>
14476 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14477 \begin_inset Text
14478
14479 \begin_layout Standard
14480
14481 \end_layout
14482
14483 \end_inset
14484 </cell>
14485 </row>
14486 <row topline="true">
14487 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14488 \begin_inset Text
14489
14490 \begin_layout Standard
14491
14492 \end_layout
14493
14494 \end_inset
14495 </cell>
14496 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14497 \begin_inset Text
14498
14499 \begin_layout Standard
14500 sd
14501 \end_layout
14502
14503 \end_inset
14504 </cell>
14505 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14506 \begin_inset Text
14507
14508 \begin_layout Standard
14509
14510 \end_layout
14511
14512 \end_inset
14513 </cell>
14514 </row>
14515 <row topline="true" bottomline="true" topspace="default">
14516 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14517 \begin_inset Text
14518
14519 \begin_layout Standard
14520
14521 \end_layout
14522
14523 \end_inset
14524 </cell>
14525 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14526 \begin_inset Text
14527
14528 \begin_layout Standard
14529
14530 \end_layout
14531
14532 \end_inset
14533 </cell>
14534 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14535 \begin_inset Text
14536
14537 \begin_layout Standard
14538 sd
14539 \end_layout
14540
14541 \end_inset
14542 </cell>
14543 </row>
14544 </lyxtabular>
14545
14546 \end_inset
14547
14548
14549 \end_layout
14550
14551 \end_inset
14552
14553
14554 \end_layout
14555
14556 \begin_layout Standard
14557 \begin_inset ERT
14558 status collapsed
14559
14560 \begin_layout Standard
14561
14562
14563 \backslash
14564 renewcommand{
14565 \backslash
14566 hline}{
14567 \backslash
14568 myHlineC}
14569 \end_layout
14570
14571 \end_inset
14572
14573
14574 \end_layout
14575
14576 \begin_layout Standard
14577 \begin_inset ERT
14578 status collapsed
14579
14580 \begin_layout Standard
14581
14582
14583 \backslash
14584 setlength{
14585 \backslash
14586 arrayrulewidth}{0.4pt}
14587 \end_layout
14588
14589 \end_inset
14590
14591
14592 \end_layout
14593
14594 \begin_layout Section
14595 Table Customization
14596 \begin_inset LatexCommand index
14597 name "Table Customization"
14598
14599 \end_inset
14600
14601
14602 \begin_inset LatexCommand index
14603 name "Table ! Customization"
14604
14605 \end_inset
14606
14607
14608 \end_layout
14609
14610 \begin_layout Subsection
14611 Row Spacing
14612 \begin_inset LatexCommand label
14613 name "sub:Row-Spacing"
14614
14615 \end_inset
14616
14617
14618 \begin_inset LatexCommand index
14619 name "Table Customization ! Row Spacing"
14620
14621 \end_inset
14622
14623
14624 \end_layout
14625
14626 \begin_layout Standard
14627 You can add vertical space to table rows in the 
14628 \family sans
14629 Borders
14630 \family default
14631  tab of the table dialog.
14632  You find there three possibilities:
14633 \end_layout
14634
14635 \begin_layout Description
14636 Top\InsetSpace ~
14637 of\InsetSpace ~
14638 row will add space above the characters of the table row.
14639  If the table is a formal table
14640 \begin_inset Foot
14641 status collapsed
14642
14643 \begin_layout Standard
14644 Formal tables are explained in section\InsetSpace ~
14645
14646 \begin_inset LatexCommand ref
14647 reference "sec:Formal-Tables"
14648
14649 \end_inset
14650
14651 .
14652 \end_layout
14653
14654 \end_inset
14655
14656  LyX will insert as default 0.5\InsetSpace \thinspace{}
14657 em space.
14658  For normal tables the inserted space will unfortunately destroy the vertical
14659  table lines as in the following table: 
14660 \begin_inset Tabular
14661 <lyxtabular version="3" rows="3" columns="1">
14662 <features>
14663 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14664 <row topline="true">
14665 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14666 \begin_inset Text
14667
14668 \begin_layout Standard
14669 A
14670 \end_layout
14671
14672 \end_inset
14673 </cell>
14674 </row>
14675 <row topline="true" topspace="3mm">
14676 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14677 \begin_inset Text
14678
14679 \begin_layout Standard
14680 3\InsetSpace \thinspace{}
14681 mm space top of row
14682 \end_layout
14683
14684 \end_inset
14685 </cell>
14686 </row>
14687 <row topline="true" bottomline="true">
14688 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14689 \begin_inset Text
14690
14691 \begin_layout Standard
14692 C
14693 \end_layout
14694
14695 \end_inset
14696 </cell>
14697 </row>
14698 </lyxtabular>
14699
14700 \end_inset
14701
14702
14703 \newline
14704 So inserting space to the top of row for normal tables is only useful when
14705  you don't have vertical lines.
14706 \end_layout
14707
14708 \begin_layout Description
14709 Bottom\InsetSpace ~
14710 of\InsetSpace ~
14711 row will add space below the characters of the table row.
14712  If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
14713 em space, for
14714  normal tables the default size is 2\InsetSpace \thinspace{}
14715 pt.
14716 \end_layout
14717
14718 \begin_layout Description
14719 Between\InsetSpace ~
14720 rows only has an effect when you have selected the whole table row
14721  before.
14722  The space is added between the current and the following row.
14723  If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
14724 em space.
14725  For normal tables the inserted space will unfortunately destroy the vertical
14726  table lines as in the following table: 
14727 \begin_inset Tabular
14728 <lyxtabular version="3" rows="3" columns="1">
14729 <features>
14730 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14731 <row topline="true">
14732 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14733 \begin_inset Text
14734
14735 \begin_layout Standard
14736 A
14737 \end_layout
14738
14739 \end_inset
14740 </cell>
14741 </row>
14742 <row topline="true" interlinespace="3mm">
14743 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14744 \begin_inset Text
14745
14746 \begin_layout Standard
14747 \begin_inset Formula $\downarrow$
14748 \end_inset
14749
14750  3\InsetSpace \thinspace{}
14751 mm space between row 
14752 \begin_inset Formula $\downarrow$
14753 \end_inset
14754
14755
14756 \end_layout
14757
14758 \end_inset
14759 </cell>
14760 </row>
14761 <row topline="true" bottomline="true">
14762 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14763 \begin_inset Text
14764
14765 \begin_layout Standard
14766 \begin_inset Formula $\uparrow$
14767 \end_inset
14768
14769  3\InsetSpace \thinspace{}
14770 mm space between row 
14771 \begin_inset Formula $\uparrow$
14772 \end_inset
14773
14774
14775 \end_layout
14776
14777 \end_inset
14778 </cell>
14779 </row>
14780 </lyxtabular>
14781
14782 \end_inset
14783
14784
14785 \newline
14786 So inserting space between rows for normal tables is only useful when you
14787  don't have vertical lines.
14788 \end_layout
14789
14790 \begin_layout Standard
14791 When you want to add extra height to all cells of all tables, you can do
14792  this with the following preamble line:
14793 \end_layout
14794
14795 \begin_layout Standard
14796
14797 \series bold
14798
14799 \backslash
14800 setlength{
14801 \backslash
14802 extrarowheight}{height}
14803 \end_layout
14804
14805 \begin_layout Standard
14806 But this has the disadvantage that the cell texts are no longer exactly
14807  vertically centered.
14808 \end_layout
14809
14810 \begin_layout Subsection
14811 Special Cell Alignment
14812 \begin_inset LatexCommand index
14813 name "Table Customization ! Special Cell Alignment"
14814
14815 \end_inset
14816
14817
14818 \end_layout
14819
14820 \begin_layout Standard
14821 Sometimes it looks better when the cell entries of a column are aligned
14822  with a special character, e.\InsetSpace \thinspace{}
14823 g.\InsetSpace ~
14824 with the decimal separator as in Table\InsetSpace ~
14825
14826 \begin_inset LatexCommand ref
14827 reference "tab:Table-cells-of"
14828
14829 \end_inset
14830
14831 .
14832 \end_layout
14833
14834 \begin_layout Standard
14835 \begin_inset Float table
14836 placement h
14837 wide false
14838 sideways false
14839 status open
14840
14841 \begin_layout Standard
14842 \begin_inset Caption
14843
14844 \begin_layout Standard
14845 \begin_inset LatexCommand label
14846 name "tab:Table-cells-of"
14847
14848 \end_inset
14849
14850 Table cells of a column aligned with the decimal separator.
14851 \end_layout
14852
14853 \end_inset
14854
14855
14856 \end_layout
14857
14858 \begin_layout Standard
14859 \align center
14860 \begin_inset Tabular
14861 <lyxtabular version="3" rows="4" columns="2">
14862 <features>
14863 <column alignment="right" valignment="top" width="0">
14864 <column alignment="left" valignment="top" width="0" special="@{}l">
14865 <row bottomline="true">
14866 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
14867 \begin_inset Text
14868
14869 \begin_layout Standard
14870 heading
14871 \end_layout
14872
14873 \end_inset
14874 </cell>
14875 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14876 \begin_inset Text
14877
14878 \begin_layout Standard
14879
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 12.
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 6
14900 \end_layout
14901
14902 \end_inset
14903 </cell>
14904 </row>
14905 <row>
14906 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14907 \begin_inset Text
14908
14909 \begin_layout Standard
14910 0.
14911 \end_layout
14912
14913 \end_inset
14914 </cell>
14915 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14916 \begin_inset Text
14917
14918 \begin_layout Standard
14919 68
14920 \end_layout
14921
14922 \end_inset
14923 </cell>
14924 </row>
14925 <row>
14926 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14927 \begin_inset Text
14928
14929 \begin_layout Standard
14930 -123.
14931 \end_layout
14932
14933 \end_inset
14934 </cell>
14935 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14936 \begin_inset Text
14937
14938 \begin_layout Standard
14939 0
14940 \end_layout
14941
14942 \end_inset
14943 </cell>
14944 </row>
14945 </lyxtabular>
14946
14947 \end_inset
14948
14949
14950 \end_layout
14951
14952 \end_inset
14953
14954
14955 \end_layout
14956
14957 \begin_layout Standard
14958 This table was created with a 4×2 table.
14959  The heading is a centered multicolumn.
14960  The first column is right-aligned and contains the digits before the decimal
14961  point and the decimal point.
14962  The second column is left aligned and contains the digits after the decimal
14963  point.
14964  To omit the space that is normally between two table columns, use the following
14965  LaTeX-argument for the second column:
14966 \end_layout
14967
14968 \begin_layout Standard
14969
14970 \series bold
14971 @{}l
14972 \end_layout
14973
14974 \begin_layout Standard
14975 If you need a vertical line right beside the second column, use this LaTeX-argum
14976 ent instead: 
14977 \series bold
14978 @{}l|
14979 \end_layout
14980
14981 \begin_layout Standard
14982 Table\InsetSpace ~
14983
14984 \begin_inset LatexCommand ref
14985 reference "tab:Several-table-cell"
14986
14987 \end_inset
14988
14989  shows some example alignments.
14990  For the alignment with the relation sign, you must add the second smallest
14991  math-space at the beginning of the last column to get the correct space
14992  surrounding the relation sign.
14993 \end_layout
14994
14995 \begin_layout Standard
14996 \begin_inset Float table
14997 wide false
14998 sideways false
14999 status open
15000
15001 \begin_layout Standard
15002 \begin_inset Caption
15003
15004 \begin_layout Standard
15005 \begin_inset LatexCommand label
15006 name "tab:Several-table-cell"
15007
15008 \end_inset
15009
15010 Several table cell alignments.
15011 \end_layout
15012
15013 \end_inset
15014
15015
15016 \end_layout
15017
15018 \begin_layout Standard
15019 \align center
15020 \begin_inset Tabular
15021 <lyxtabular version="3" rows="4" columns="6">
15022 <features>
15023 <column alignment="right" valignment="top" width="0">
15024 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l|">
15025 <column alignment="right" valignment="top" width="0">
15026 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l|">
15027 <column alignment="right" valignment="top" width="0">
15028 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l">
15029 <row bottomline="true">
15030 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15031 \begin_inset Text
15032
15033 \begin_layout Standard
15034 units
15035 \end_layout
15036
15037 \end_inset
15038 </cell>
15039 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15040 \begin_inset Text
15041
15042 \begin_layout Standard
15043
15044 \end_layout
15045
15046 \end_inset
15047 </cell>
15048 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15049 \begin_inset Text
15050
15051 \begin_layout Standard
15052 exponents
15053 \end_layout
15054
15055 \end_inset
15056 </cell>
15057 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15058 \begin_inset Text
15059
15060 \begin_layout Standard
15061
15062 \end_layout
15063
15064 \end_inset
15065 </cell>
15066 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15067 \begin_inset Text
15068
15069 \begin_layout Standard
15070 relations
15071 \end_layout
15072
15073 \end_inset
15074 </cell>
15075 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15076 \begin_inset Text
15077
15078 \begin_layout Standard
15079
15080 \end_layout
15081
15082 \end_inset
15083 </cell>
15084 </row>
15085 <row>
15086 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15087 \begin_inset Text
15088
15089 \begin_layout Standard
15090 12×
15091 \end_layout
15092
15093 \end_inset
15094 </cell>
15095 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15096 \begin_inset Text
15097
15098 \begin_layout Standard
15099 24\InsetSpace \thinspace{}
15100 bottles
15101 \end_layout
15102
15103 \end_inset
15104 </cell>
15105 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15106 \begin_inset Text
15107
15108 \begin_layout Standard
15109 \begin_inset Formula $10\cdot$
15110 \end_inset
15111
15112
15113 \end_layout
15114
15115 \end_inset
15116 </cell>
15117 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15118 \begin_inset Text
15119
15120 \begin_layout Standard
15121 \begin_inset Formula $10^{\mbox{-}17}$
15122 \end_inset
15123
15124
15125 \end_layout
15126
15127 \end_inset
15128 </cell>
15129 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15130 \begin_inset Text
15131
15132 \begin_layout Standard
15133 \begin_inset Formula $\Gamma(t)\propto$
15134 \end_inset
15135
15136
15137 \end_layout
15138
15139 \end_inset
15140 </cell>
15141 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15142 \begin_inset Text
15143
15144 \begin_layout Standard
15145 \begin_inset Formula $\:\Upsilon(t)$
15146 \end_inset
15147
15148
15149 \end_layout
15150
15151 \end_inset
15152 </cell>
15153 </row>
15154 <row>
15155 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15156 \begin_inset Text
15157
15158 \begin_layout Standard
15159 1024×
15160 \end_layout
15161
15162 \end_inset
15163 </cell>
15164 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15165 \begin_inset Text
15166
15167 \begin_layout Standard
15168 768\InsetSpace \thinspace{}
15169 Pixels
15170 \end_layout
15171
15172 \end_inset
15173 </cell>
15174 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15175 \begin_inset Text
15176
15177 \begin_layout Standard
15178 \begin_inset Formula $5.78\cdot$
15179 \end_inset
15180
15181
15182 \end_layout
15183
15184 \end_inset
15185 </cell>
15186 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15187 \begin_inset Text
15188
15189 \begin_layout Standard
15190 \begin_inset Formula $10^{7}$
15191 \end_inset
15192
15193
15194 \end_layout
15195
15196 \end_inset
15197 </cell>
15198 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15199 \begin_inset Text
15200
15201 \begin_layout Standard
15202 \begin_inset Formula $A\ne$
15203 \end_inset
15204
15205
15206 \end_layout
15207
15208 \end_inset
15209 </cell>
15210 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15211 \begin_inset Text
15212
15213 \begin_layout Standard
15214 \begin_inset Formula $\: B_{\mathrm{red}}$
15215 \end_inset
15216
15217
15218 \end_layout
15219
15220 \end_inset
15221 </cell>
15222 </row>
15223 <row>
15224 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15225 \begin_inset Text
15226
15227 \begin_layout Standard
15228 32×
15229 \end_layout
15230
15231 \end_inset
15232 </cell>
15233 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15234 \begin_inset Text
15235
15236 \begin_layout Standard
15237 6\InsetSpace \thinspace{}
15238 cm
15239 \end_layout
15240
15241 \end_inset
15242 </cell>
15243 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15244 \begin_inset Text
15245
15246 \begin_layout Standard
15247 -
15248 \begin_inset Formula $33.5\cdot$
15249 \end_inset
15250
15251
15252 \end_layout
15253
15254 \end_inset
15255 </cell>
15256 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15257 \begin_inset Text
15258
15259 \begin_layout Standard
15260 \begin_inset Formula $10^{4}$
15261 \end_inset
15262
15263
15264 \end_layout
15265
15266 \end_inset
15267 </cell>
15268 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15269 \begin_inset Text
15270
15271 \begin_layout Standard
15272 \begin_inset Formula $\sin(\alpha)\ge$
15273 \end_inset
15274
15275
15276 \end_layout
15277
15278 \end_inset
15279 </cell>
15280 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15281 \begin_inset Text
15282
15283 \begin_layout Standard
15284 \begin_inset Formula $\:\sin(\beta)$
15285 \end_inset
15286
15287
15288 \end_layout
15289
15290 \end_inset
15291 </cell>
15292 </row>
15293 </lyxtabular>
15294
15295 \end_inset
15296
15297
15298 \end_layout
15299
15300 \end_inset
15301
15302
15303 \end_layout
15304
15305 \begin_layout Standard
15306 \begin_inset VSpace bigskip
15307 \end_inset
15308
15309 There is also the LaTeX-package 
15310 \series bold
15311 dcolumn
15312 \series default
15313
15314 \begin_inset LatexCommand index
15315 name "LaTeX-packages ! dcolumn"
15316
15317 \end_inset
15318
15319  that provides table cell alignments.
15320  But this unfortunately treats the cell entries as math and doesn't allow
15321  formulas in table cells: The first column of Table\InsetSpace ~
15322
15323 \begin_inset LatexCommand ref
15324 reference "tab:Several-table-cell"
15325
15326 \end_inset
15327
15328  will look with 
15329 \series bold
15330 dcolumn
15331 \series default
15332  like the first column in Table\InsetSpace ~
15333
15334 \begin_inset LatexCommand ref
15335 reference "tab:Alignments-when"
15336
15337 \end_inset
15338
15339  and only with some tricks like the expected.
15340  The alignment of the second and third column of Table\InsetSpace ~
15341
15342 \begin_inset LatexCommand ref
15343 reference "tab:Several-table-cell"
15344
15345 \end_inset
15346
15347  is not possible with 
15348 \series bold
15349 dcolumn
15350 \series default
15351 .
15352 \end_layout
15353
15354 \begin_layout Standard
15355 \begin_inset Float table
15356 placement h
15357 wide false
15358 sideways false
15359 status open
15360
15361 \begin_layout Standard
15362 \begin_inset Caption
15363
15364 \begin_layout Standard
15365 \begin_inset LatexCommand label
15366 name "tab:Alignments-when"
15367
15368 \end_inset
15369
15370 Alignments when LaTeX-package dcolumn is used.
15371  For all column alignments tricks have to be used to get the output.
15372 \end_layout
15373
15374 \end_inset
15375
15376
15377 \end_layout
15378
15379 \begin_layout Standard
15380 \align center
15381 \begin_inset Tabular
15382 <lyxtabular version="3" rows="4" columns="3">
15383 <features>
15384 <column alignment="center" valignment="top" rightline="true" width="0" special="D{x}{\times}{-1}|">
15385 <column alignment="center" valignment="top" width="0" special="D{x}{\times}{4.9}|">
15386 <column alignment="center" valignment="top" rightline="true" width="0" special="D{~}{\,}{9.7}">
15387 <row bottomline="true">
15388 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15389 \begin_inset Text
15390
15391 \begin_layout Standard
15392 units
15393 \end_layout
15394
15395 \end_inset
15396 </cell>
15397 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15398 \begin_inset Text
15399
15400 \begin_layout Standard
15401 units
15402 \end_layout
15403
15404 \end_inset
15405 </cell>
15406 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15407 \begin_inset Text
15408
15409 \begin_layout Standard
15410 units
15411 \end_layout
15412
15413 \end_inset
15414 </cell>
15415 </row>
15416 <row>
15417 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15418 \begin_inset Text
15419
15420 \begin_layout Standard
15421 12x24\InsetSpace \thinspace{}
15422 bottles
15423 \end_layout
15424
15425 \end_inset
15426 </cell>
15427 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15428 \begin_inset Text
15429
15430 \begin_layout Standard
15431 12x24\InsetSpace \thinspace{}
15432
15433 \begin_inset Formula $\mbox{bottles}$
15434 \end_inset
15435
15436
15437 \end_layout
15438
15439 \end_inset
15440 </cell>
15441 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15442 \begin_inset Text
15443
15444 \begin_layout Standard
15445 12
15446 \begin_inset ERT
15447 status collapsed
15448
15449 \begin_layout Standard
15450
15451
15452 \backslash
15453 times 
15454 \end_layout
15455
15456 \end_inset
15457
15458 24~
15459 \begin_inset Formula $\mbox{bottles}$
15460 \end_inset
15461
15462
15463 \end_layout
15464
15465 \end_inset
15466 </cell>
15467 </row>
15468 <row>
15469 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15470 \begin_inset Text
15471
15472 \begin_layout Standard
15473 1024x768\InsetSpace \thinspace{}
15474 Pixels
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 1024x768\InsetSpace \thinspace{}
15484
15485 \begin_inset Formula $\mbox{Pixels}$
15486 \end_inset
15487
15488
15489 \end_layout
15490
15491 \end_inset
15492 </cell>
15493 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15494 \begin_inset Text
15495
15496 \begin_layout Standard
15497 1024
15498 \begin_inset ERT
15499 status collapsed
15500
15501 \begin_layout Standard
15502
15503
15504 \backslash
15505 times 
15506 \end_layout
15507
15508 \end_inset
15509
15510 768~
15511 \begin_inset Formula $\mbox{Pixels}$
15512 \end_inset
15513
15514
15515 \end_layout
15516
15517 \end_inset
15518 </cell>
15519 </row>
15520 <row>
15521 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15522 \begin_inset Text
15523
15524 \begin_layout Standard
15525 32x6\InsetSpace \thinspace{}
15526 cm
15527 \end_layout
15528
15529 \end_inset
15530 </cell>
15531 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15532 \begin_inset Text
15533
15534 \begin_layout Standard
15535 32x6\InsetSpace \thinspace{}
15536
15537 \begin_inset Formula $\mbox{cm}$
15538 \end_inset
15539
15540
15541 \end_layout
15542
15543 \end_inset
15544 </cell>
15545 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15546 \begin_inset Text
15547
15548 \begin_layout Standard
15549 32
15550 \begin_inset ERT
15551 status collapsed
15552
15553 \begin_layout Standard
15554
15555
15556 \backslash
15557 times 
15558 \end_layout
15559
15560 \end_inset
15561
15562 6~
15563 \begin_inset Formula $\mbox{cm}$
15564 \end_inset
15565
15566
15567 \end_layout
15568
15569 \end_inset
15570 </cell>
15571 </row>
15572 </lyxtabular>
15573
15574 \end_inset
15575
15576
15577 \end_layout
15578
15579 \end_inset
15580
15581
15582 \end_layout
15583
15584 \begin_layout Subsection
15585 Customized Cell/Column Format
15586 \begin_inset LatexCommand label
15587 name "sub:Customized-Format"
15588
15589 \end_inset
15590
15591
15592 \begin_inset LatexCommand index
15593 name "Table Customization ! Cell/Column Format"
15594
15595 \end_inset
15596
15597
15598 \end_layout
15599
15600 \begin_layout Standard
15601 Calculating the needed width for spanned columns like in section\InsetSpace ~
15602
15603 \begin_inset LatexCommand ref
15604 reference "sub:Multicolumn-Calculations"
15605
15606 \end_inset
15607
15608  is very annoying if you have several tables with multicolumn cells.
15609  To make life easier, you can define a cell/column format in the preamble,
15610  so that it can be used in all tables of the document.
15611  The format is defined with the command
15612 \end_layout
15613
15614 \begin_layout Standard
15615
15616 \series bold
15617
15618 \backslash
15619 newcolumntype{name of format}[number of arguments]{commands}
15620 \end_layout
15621
15622 \begin_layout Standard
15623 The format name may only consist of one letter.
15624  The letters 
15625 \emph on
15626 b
15627 \emph default
15628
15629 \emph on
15630 c
15631 \emph default
15632
15633 \emph on
15634 l
15635 \emph default
15636
15637 \emph on
15638 m
15639 \emph default
15640
15641 \emph on
15642 p
15643 \emph default
15644  and 
15645 \emph on
15646 r
15647 \emph default
15648  are predefined and cannot be used.
15649  But all letters are allowed as capitals.
15650 \end_layout
15651
15652 \begin_layout Standard
15653 \begin_inset VSpace medskip
15654 \end_inset
15655
15656
15657 \end_layout
15658
15659 \begin_layout Standard
15660 For vertically and horizontally centered multicolumn cells with a fixed
15661  width you can define the cell format
15662 \end_layout
15663
15664 \begin_layout Standard
15665
15666 \series bold
15667
15668 \backslash
15669 newcolumntype{M}[1]{>{
15670 \backslash
15671 centering
15672 \backslash
15673 hspace{0pt}}m{#1}}
15674 \end_layout
15675
15676 \begin_layout Standard
15677 where 
15678 \series bold
15679
15680 \backslash
15681 hspace{0pt}
15682 \series default
15683  avoids the problem of hyphenating the first word, as described in section\InsetSpace ~
15684
15685 \begin_inset LatexCommand ref
15686 reference "sub:Multiple-Lines-in"
15687
15688 \end_inset
15689
15690 .
15691  Now you can simply enter
15692 \end_layout
15693
15694 \begin_layout Standard
15695
15696 \series bold
15697 |M{width}
15698 \end_layout
15699
15700 \begin_layout Standard
15701 as LaTeX-argument in the table dialog to create a multicolumn.
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 cells spanned by a multicolumn cell, you can define the format
15713 \end_layout
15714
15715 \begin_layout Standard
15716
15717 \series bold
15718
15719 \backslash
15720 newcolumntype{S}[2]{>{
15721 \backslash
15722 centering
15723 \backslash
15724 hspace{0pt}}
15725 \newline
15726
15727 \begin_inset ERT
15728 status collapsed
15729
15730 \begin_layout Standard
15731
15732
15733 \backslash
15734 phantom{
15735 \end_layout
15736
15737 \end_inset
15738
15739
15740 \backslash
15741 newcolumntype{S}[2]
15742 \begin_inset ERT
15743 status collapsed
15744
15745 \begin_layout Standard
15746
15747 }
15748 \end_layout
15749
15750 \end_inset
15751
15752 m{(#1+(2
15753 \backslash
15754 tabcolsep+
15755 \backslash
15756 arrayrulewidth)*(1-#2))/#2}}
15757 \end_layout
15758
15759 \begin_layout Standard
15760 This format uses equation 
15761 \begin_inset LatexCommand eqref
15762 reference "eq:Wgn"
15763
15764 \end_inset
15765
15766  to calculate the needed width so that each spanned cell has the same width.
15767 \end_layout
15768
15769 \begin_layout Standard
15770 You can now enter
15771 \end_layout
15772
15773 \begin_layout Standard
15774
15775 \series bold
15776 |S{width of multicolumn cell}{number of spanned columns}
15777 \end_layout
15778
15779 \begin_layout Standard
15780 as LaTeX-argument of the column.
15781 \end_layout
15782
15783 \begin_layout Standard
15784 \begin_inset VSpace bigskip
15785 \end_inset
15786
15787
15788 \end_layout
15789
15790 \begin_layout Standard
15791 For colored columns, you can define
15792 \end_layout
15793
15794 \begin_layout Standard
15795
15796 \series bold
15797
15798 \backslash
15799 newcolumntype{K}[1]{>{
15800 \backslash
15801 columncolor{#1}
15802 \backslash
15803 hspace{0pt}}c}
15804 \end_layout
15805
15806 \begin_layout Standard
15807 The 
15808 \begin_inset Quotes eld
15809 \end_inset
15810
15811 c
15812 \begin_inset Quotes erd
15813 \end_inset
15814
15815  at the end creates a column with a flexible width whose text is horizontally
15816  centered.
15817  You can now enter
15818 \end_layout
15819
15820 \begin_layout Standard
15821
15822 \series bold
15823 K{color name}
15824 \end_layout
15825
15826 \begin_layout Standard
15827 as LaTeX-argument.
15828 \end_layout
15829
15830 \begin_layout Standard
15831 \begin_inset VSpace bigskip
15832 \end_inset
15833
15834
15835 \end_layout
15836
15837 \begin_layout Standard
15838 To create Table\InsetSpace ~
15839
15840 \begin_inset LatexCommand ref
15841 reference "tab:Table-using-user-defined"
15842
15843 \end_inset
15844
15845  use the LaTeX-arguments
15846 \end_layout
15847
15848 \begin_layout Standard
15849
15850 \series bold
15851 |M{2.5cm}
15852 \end_layout
15853
15854 \begin_layout Standard
15855 for the first column and the multicolumn,
15856 \end_layout
15857
15858 \begin_layout Standard
15859
15860 \series bold
15861 |K{red}|
15862 \end_layout
15863
15864 \begin_layout Standard
15865 for the the last column, and
15866 \end_layout
15867
15868 \begin_layout Standard
15869
15870 \series bold
15871 |S{2.5cm}{2}
15872 \end_layout
15873
15874 \begin_layout Standard
15875 for the cells in the second column.
15876 \end_layout
15877
15878 \begin_layout Standard
15879 \begin_inset Float table
15880 placement h
15881 wide false
15882 sideways false
15883 status open
15884
15885 \begin_layout Standard
15886 \begin_inset Caption
15887
15888 \begin_layout Standard
15889 \begin_inset LatexCommand label
15890 name "tab:Table-using-user-defined"
15891
15892 \end_inset
15893
15894 Table using user-defined table formats
15895 \end_layout
15896
15897 \end_inset
15898
15899
15900 \end_layout
15901
15902 \begin_layout Standard
15903 \align center
15904 \begin_inset Tabular
15905 <lyxtabular version="3" rows="3" columns="4">
15906 <features>
15907 <column alignment="center" valignment="middle" leftline="true" width="2.5cm" special="|M{2.5cm}">
15908 <column alignment="center" valignment="middle" leftline="true" width="0" special="|S{2.5cm}{2}">
15909 <column alignment="center" valignment="middle" leftline="true" width="0">
15910 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0" special="|K{red}|">
15911 <row topline="true">
15912 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15913 \begin_inset Text
15914
15915 \begin_layout Standard
15916 verylongtablecellword
15917 \end_layout
15918
15919 \end_inset
15920 </cell>
15921 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none" special="M{2.5cm}|">
15922 \begin_inset Text
15923
15924 \begin_layout Standard
15925 multiple lines multicolumn
15926 \end_layout
15927
15928 \end_inset
15929 </cell>
15930 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15931 \begin_inset Text
15932
15933 \begin_layout Standard
15934
15935 \end_layout
15936
15937 \end_inset
15938 </cell>
15939 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15940 \begin_inset Text
15941
15942 \begin_layout Standard
15943 c
15944 \end_layout
15945
15946 \end_inset
15947 </cell>
15948 </row>
15949 <row topline="true">
15950 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15951 \begin_inset Text
15952
15953 \begin_layout Standard
15954 d
15955 \end_layout
15956
15957 \end_inset
15958 </cell>
15959 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15960 \begin_inset Text
15961
15962 \begin_layout Standard
15963 e
15964 \end_layout
15965
15966 \end_inset
15967 </cell>
15968 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15969 \begin_inset Text
15970
15971 \begin_layout Standard
15972 f
15973 \end_layout
15974
15975 \end_inset
15976 </cell>
15977 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15978 \begin_inset Text
15979
15980 \begin_layout Standard
15981 g
15982 \end_layout
15983
15984 \end_inset
15985 </cell>
15986 </row>
15987 <row topline="true" bottomline="true">
15988 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15989 \begin_inset Text
15990
15991 \begin_layout Standard
15992 h
15993 \end_layout
15994
15995 \end_inset
15996 </cell>
15997 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15998 \begin_inset Text
15999
16000 \begin_layout Standard
16001 i
16002 \end_layout
16003
16004 \end_inset
16005 </cell>
16006 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16007 \begin_inset Text
16008
16009 \begin_layout Standard
16010 j
16011 \end_layout
16012
16013 \end_inset
16014 </cell>
16015 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16016 \begin_inset Text
16017
16018 \begin_layout Standard
16019 k
16020 \end_layout
16021
16022 \end_inset
16023 </cell>
16024 </row>
16025 </lyxtabular>
16026
16027 \end_inset
16028
16029
16030 \end_layout
16031
16032 \end_inset
16033
16034
16035 \end_layout
16036
16037 \begin_layout Subsection
16038 Line Thickness
16039 \begin_inset LatexCommand label
16040 name "sub:Line-Thickness"
16041
16042 \end_inset
16043
16044
16045 \begin_inset LatexCommand index
16046 name "Table Customization ! Line Thickness"
16047
16048 \end_inset
16049
16050
16051 \end_layout
16052
16053 \begin_layout Standard
16054 The line thickness for all lines in a table can be adjusted with the length
16055  
16056 \series bold
16057
16058 \backslash
16059 arrayrulewidth
16060 \series default
16061 .
16062  To set for example a line thickness of 1.5\InsetSpace \thinspace{}
16063 pt, like in Table\InsetSpace ~
16064
16065 \begin_inset LatexCommand ref
16066 reference "tab:Table-with-1.5"
16067
16068 \end_inset
16069
16070 , insert the command
16071 \end_layout
16072
16073 \begin_layout Standard
16074
16075 \series bold
16076
16077 \backslash
16078 setlength{
16079 \backslash
16080 arrayrulewidth}{1.5pt}
16081 \end_layout
16082
16083 \begin_layout Standard
16084 in ERT before the table or table float.
16085  The changed thickness is valid for all following tables.
16086  To use the default value again, set 
16087 \series bold
16088
16089 \backslash
16090 arrayrulewidth
16091 \series default
16092  to 0.4\InsetSpace \thinspace{}
16093 pt in ERT behind the table or table float.
16094 \end_layout
16095
16096 \begin_layout Standard
16097 \begin_inset ERT
16098 status collapsed
16099
16100 \begin_layout Standard
16101
16102
16103 \backslash
16104 setlength{
16105 \backslash
16106 arrayrulewidth}{1.5pt}
16107 \end_layout
16108
16109 \end_inset
16110
16111
16112 \begin_inset Float table
16113 wide false
16114 sideways false
16115 status open
16116
16117 \begin_layout Standard
16118 \begin_inset Caption
16119
16120 \begin_layout Standard
16121 \begin_inset LatexCommand label
16122 name "tab:Table-with-1.5"
16123
16124 \end_inset
16125
16126 Table with 1.5\InsetSpace \thinspace{}
16127 pt thick lines
16128 \end_layout
16129
16130 \end_inset
16131
16132
16133 \end_layout
16134
16135 \begin_layout Standard
16136 \align center
16137 \begin_inset Tabular
16138 <lyxtabular version="3" rows="3" columns="3">
16139 <features>
16140 <column alignment="center" valignment="top" leftline="true" width="0">
16141 <column alignment="center" valignment="top" leftline="true" width="0">
16142 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16143 <row topline="true">
16144 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16145 \begin_inset Text
16146
16147 \begin_layout Standard
16148 sd
16149 \end_layout
16150
16151 \end_inset
16152 </cell>
16153 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16154 \begin_inset Text
16155
16156 \begin_layout Standard
16157
16158 \end_layout
16159
16160 \end_inset
16161 </cell>
16162 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16163 \begin_inset Text
16164
16165 \begin_layout Standard
16166
16167 \end_layout
16168
16169 \end_inset
16170 </cell>
16171 </row>
16172 <row topline="true">
16173 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16174 \begin_inset Text
16175
16176 \begin_layout Standard
16177
16178 \end_layout
16179
16180 \end_inset
16181 </cell>
16182 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16183 \begin_inset Text
16184
16185 \begin_layout Standard
16186 sd
16187 \end_layout
16188
16189 \end_inset
16190 </cell>
16191 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16192 \begin_inset Text
16193
16194 \begin_layout Standard
16195
16196 \end_layout
16197
16198 \end_inset
16199 </cell>
16200 </row>
16201 <row topline="true" bottomline="true">
16202 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16203 \begin_inset Text
16204
16205 \begin_layout Standard
16206
16207 \end_layout
16208
16209 \end_inset
16210 </cell>
16211 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16212 \begin_inset Text
16213
16214 \begin_layout Standard
16215
16216 \end_layout
16217
16218 \end_inset
16219 </cell>
16220 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16221 \begin_inset Text
16222
16223 \begin_layout Standard
16224 sd
16225 \end_layout
16226
16227 \end_inset
16228 </cell>
16229 </row>
16230 </lyxtabular>
16231
16232 \end_inset
16233
16234
16235 \end_layout
16236
16237 \end_inset
16238
16239
16240 \begin_inset ERT
16241 status collapsed
16242
16243 \begin_layout Standard
16244
16245
16246 \backslash
16247 setlength{
16248 \backslash
16249 arrayrulewidth}{0.4pt}
16250 \end_layout
16251
16252 \end_inset
16253
16254
16255 \end_layout
16256
16257 \begin_layout Standard
16258 \begin_inset VSpace bigskip
16259 \end_inset
16260
16261 To set the line thickness to 1.5\InsetSpace \thinspace{}
16262 pt only for horizontal lines, like in Table\InsetSpace ~
16263
16264 \begin_inset LatexCommand ref
16265 reference "tab:Table-with-horizontal"
16266
16267 \end_inset
16268
16269 , insert these commands in ERT before the table or table float:
16270 \end_layout
16271
16272 \begin_layout Standard
16273
16274 \series bold
16275
16276 \backslash
16277 let
16278 \backslash
16279 myHline
16280 \backslash
16281 hline
16282 \newline
16283
16284 \backslash
16285 renewcommand{
16286 \backslash
16287 hline}
16288 \newline
16289  {
16290 \backslash
16291 noalign{
16292 \backslash
16293 global
16294 \backslash
16295 arrayrulewidth 1.5pt}
16296 \newline
16297   
16298 \backslash
16299 myHline
16300 \backslash
16301 noalign{
16302 \backslash
16303 global
16304 \backslash
16305 arrayrulewidth 0.4pt}}
16306 \end_layout
16307
16308 \begin_layout Standard
16309 To return to the default line thickness, insert this command in ERT behind
16310  the table or table float:
16311 \end_layout
16312
16313 \begin_layout Standard
16314
16315 \series bold
16316
16317 \backslash
16318 renewcommand{
16319 \backslash
16320 hline}{
16321 \backslash
16322 myHline}
16323 \end_layout
16324
16325 \begin_layout Standard
16326 \begin_inset ERT
16327 status collapsed
16328
16329 \begin_layout Standard
16330
16331
16332 \backslash
16333 let
16334 \backslash
16335 myHline
16336 \backslash
16337 hline
16338 \end_layout
16339
16340 \begin_layout Standard
16341
16342
16343 \backslash
16344 renewcommand{
16345 \backslash
16346 hline}
16347 \end_layout
16348
16349 \begin_layout Standard
16350
16351  {
16352 \backslash
16353 noalign{
16354 \backslash
16355 global
16356 \backslash
16357 arrayrulewidth 1.5pt}
16358 \end_layout
16359
16360 \begin_layout Standard
16361
16362   
16363 \backslash
16364 myHline
16365 \backslash
16366 noalign{
16367 \backslash
16368 global
16369 \backslash
16370 arrayrulewidth 0.4pt}}
16371 \end_layout
16372
16373 \end_inset
16374
16375
16376 \begin_inset Float table
16377 wide false
16378 sideways false
16379 status open
16380
16381 \begin_layout Standard
16382 \begin_inset Caption
16383
16384 \begin_layout Standard
16385 \begin_inset LatexCommand label
16386 name "tab:Table-with-horizontal"
16387
16388 \end_inset
16389
16390 Table with 1.5\InsetSpace \thinspace{}
16391 pt thick horizontal lines
16392 \end_layout
16393
16394 \end_inset
16395
16396
16397 \end_layout
16398
16399 \begin_layout Standard
16400 \align center
16401 \begin_inset Tabular
16402 <lyxtabular version="3" rows="3" columns="3">
16403 <features>
16404 <column alignment="center" valignment="top" leftline="true" width="0">
16405 <column alignment="center" valignment="top" leftline="true" width="0">
16406 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16407 <row topline="true">
16408 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16409 \begin_inset Text
16410
16411 \begin_layout Standard
16412 sd
16413 \end_layout
16414
16415 \end_inset
16416 </cell>
16417 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16418 \begin_inset Text
16419
16420 \begin_layout Standard
16421
16422 \end_layout
16423
16424 \end_inset
16425 </cell>
16426 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16427 \begin_inset Text
16428
16429 \begin_layout Standard
16430
16431 \end_layout
16432
16433 \end_inset
16434 </cell>
16435 </row>
16436 <row topline="true">
16437 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16438 \begin_inset Text
16439
16440 \begin_layout Standard
16441
16442 \end_layout
16443
16444 \end_inset
16445 </cell>
16446 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16447 \begin_inset Text
16448
16449 \begin_layout Standard
16450 sd
16451 \end_layout
16452
16453 \end_inset
16454 </cell>
16455 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16456 \begin_inset Text
16457
16458 \begin_layout Standard
16459
16460 \end_layout
16461
16462 \end_inset
16463 </cell>
16464 </row>
16465 <row topline="true" bottomline="true">
16466 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16467 \begin_inset Text
16468
16469 \begin_layout Standard
16470
16471 \end_layout
16472
16473 \end_inset
16474 </cell>
16475 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16476 \begin_inset Text
16477
16478 \begin_layout Standard
16479
16480 \end_layout
16481
16482 \end_inset
16483 </cell>
16484 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16485 \begin_inset Text
16486
16487 \begin_layout Standard
16488 sd
16489 \end_layout
16490
16491 \end_inset
16492 </cell>
16493 </row>
16494 </lyxtabular>
16495
16496 \end_inset
16497
16498
16499 \end_layout
16500
16501 \end_inset
16502
16503
16504 \begin_inset ERT
16505 status collapsed
16506
16507 \begin_layout Standard
16508
16509
16510 \backslash
16511 renewcommand{
16512 \backslash
16513 hline}{
16514 \backslash
16515 myHline}
16516 \end_layout
16517
16518 \end_inset
16519
16520
16521 \end_layout
16522
16523 \begin_layout Standard
16524 \begin_inset VSpace bigskip
16525 \end_inset
16526
16527 To set the line thickness to 1.5\InsetSpace \thinspace{}
16528 pt only for vertical lines, create the following
16529  column format in the document preamble, according to the description in
16530  section\InsetSpace ~
16531
16532 \begin_inset LatexCommand ref
16533 reference "sub:Customized-Format"
16534
16535 \end_inset
16536
16537 :
16538 \end_layout
16539
16540 \begin_layout Standard
16541
16542 \series bold
16543
16544 \backslash
16545 newcolumntype{V}{!{
16546 \backslash
16547 vrule width 1.5pt}}
16548 \end_layout
16549
16550 \begin_layout Standard
16551 For Table\InsetSpace ~
16552
16553 \begin_inset LatexCommand ref
16554 reference "tab:Table-with-vertical"
16555
16556 \end_inset
16557
16558  the LaTeX-argument
16559 \end_layout
16560
16561 \begin_layout Standard
16562
16563 \series bold
16564 VcV
16565 \end_layout
16566
16567 \begin_layout Standard
16568 was used for the last column and
16569 \end_layout
16570
16571 \begin_layout Standard
16572
16573 \series bold
16574 Vc
16575 \end_layout
16576
16577 \begin_layout Standard
16578 for the other columns.
16579 \end_layout
16580
16581 \begin_layout Standard
16582 \begin_inset Float table
16583 wide false
16584 sideways false
16585 status open
16586
16587 \begin_layout Standard
16588 \begin_inset Caption
16589
16590 \begin_layout Standard
16591 \begin_inset LatexCommand label
16592 name "tab:Table-with-vertical"
16593
16594 \end_inset
16595
16596 Table with 1.5\InsetSpace \thinspace{}
16597 pt thick vertical lines
16598 \end_layout
16599
16600 \end_inset
16601
16602
16603 \end_layout
16604
16605 \begin_layout Standard
16606 \align center
16607 \begin_inset Tabular
16608 <lyxtabular version="3" rows="3" columns="3">
16609 <features>
16610 <column alignment="center" valignment="top" leftline="true" width="0" special="Vc">
16611 <column alignment="center" valignment="top" leftline="true" width="0" special="Vc">
16612 <column alignment="center" valignment="top" leftline="true" width="0" special="VcV">
16613 <row topline="true">
16614 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16615 \begin_inset Text
16616
16617 \begin_layout Standard
16618 sd
16619 \end_layout
16620
16621 \end_inset
16622 </cell>
16623 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16624 \begin_inset Text
16625
16626 \begin_layout Standard
16627
16628 \end_layout
16629
16630 \end_inset
16631 </cell>
16632 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16633 \begin_inset Text
16634
16635 \begin_layout Standard
16636
16637 \end_layout
16638
16639 \end_inset
16640 </cell>
16641 </row>
16642 <row topline="true">
16643 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16644 \begin_inset Text
16645
16646 \begin_layout Standard
16647
16648 \end_layout
16649
16650 \end_inset
16651 </cell>
16652 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16653 \begin_inset Text
16654
16655 \begin_layout Standard
16656 sd
16657 \end_layout
16658
16659 \end_inset
16660 </cell>
16661 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16662 \begin_inset Text
16663
16664 \begin_layout Standard
16665
16666 \end_layout
16667
16668 \end_inset
16669 </cell>
16670 </row>
16671 <row topline="true" bottomline="true">
16672 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16673 \begin_inset Text
16674
16675 \begin_layout Standard
16676
16677 \end_layout
16678
16679 \end_inset
16680 </cell>
16681 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16682 \begin_inset Text
16683
16684 \begin_layout Standard
16685
16686 \end_layout
16687
16688 \end_inset
16689 </cell>
16690 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16691 \begin_inset Text
16692
16693 \begin_layout Standard
16694 sd
16695 \end_layout
16696
16697 \end_inset
16698 </cell>
16699 </row>
16700 </lyxtabular>
16701
16702 \end_inset
16703
16704
16705 \end_layout
16706
16707 \end_inset
16708
16709
16710 \end_layout
16711
16712 \begin_layout Subsection
16713 Dashed Lines
16714 \begin_inset LatexCommand index
16715 name "Table Customization ! Dashed Lines"
16716
16717 \end_inset
16718
16719
16720 \end_layout
16721
16722 \begin_layout Standard
16723 \begin_inset ERT
16724 status collapsed
16725
16726 \begin_layout Standard
16727
16728
16729 \backslash
16730 ifarydshln
16731 \end_layout
16732
16733 \end_inset
16734
16735
16736 \begin_inset Note Note
16737 status open
16738
16739 \begin_layout Standard
16740 The following section will only be displayed when you have the LaTeX-package
16741  
16742 \series bold
16743 arydshln
16744 \series default
16745  is installed.
16746 \end_layout
16747
16748 \end_inset
16749
16750
16751 \end_layout
16752
16753 \begin_layout Standard
16754 \begin_inset Float table
16755 placement H
16756 wide false
16757 sideways false
16758 status open
16759
16760 \begin_layout Standard
16761 \begin_inset Caption
16762
16763 \begin_layout Standard
16764 \begin_inset LatexCommand label
16765 name "tab:Table-with-dashed"
16766
16767 \end_inset
16768
16769 Table with dashed lines
16770 \end_layout
16771
16772 \end_inset
16773
16774
16775 \end_layout
16776
16777 \begin_layout Standard
16778 \align center
16779 \begin_inset Tabular
16780 <lyxtabular version="3" rows="5" columns="5">
16781 <features>
16782 <column alignment="center" valignment="top" leftline="true" width="0">
16783 <column alignment="center" valignment="top" leftline="true" width="0">
16784 <column alignment="center" valignment="top" width="0" special=":c">
16785 <column alignment="center" valignment="top" leftline="true" width="0">
16786 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16787 <row topline="true" bottomline="true">
16788 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16789 \begin_inset Text
16790
16791 \begin_layout Standard
16792 a
16793 \end_layout
16794
16795 \end_inset
16796 </cell>
16797 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16798 \begin_inset Text
16799
16800 \begin_layout Standard
16801 b
16802 \end_layout
16803
16804 \end_inset
16805 </cell>
16806 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16807 \begin_inset Text
16808
16809 \begin_layout Standard
16810 c
16811 \end_layout
16812
16813 \end_inset
16814 </cell>
16815 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16816 \begin_inset Text
16817
16818 \begin_layout Standard
16819 d
16820 \end_layout
16821
16822 \end_inset
16823 </cell>
16824 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16825 \begin_inset Text
16826
16827 \begin_layout Standard
16828 e
16829 \end_layout
16830
16831 \end_inset
16832 </cell>
16833 </row>
16834 <row topline="true">
16835 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16836 \begin_inset Text
16837
16838 \begin_layout Standard
16839 f
16840 \end_layout
16841
16842 \end_inset
16843 </cell>
16844 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16845 \begin_inset Text
16846
16847 \begin_layout Standard
16848 g
16849 \end_layout
16850
16851 \end_inset
16852 </cell>
16853 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16854 \begin_inset Text
16855
16856 \begin_layout Standard
16857 h
16858 \end_layout
16859
16860 \end_inset
16861 </cell>
16862 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16863 \begin_inset Text
16864
16865 \begin_layout Standard
16866 i
16867 \end_layout
16868
16869 \end_inset
16870 </cell>
16871 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16872 \begin_inset Text
16873
16874 \begin_layout Standard
16875 j
16876 \end_layout
16877
16878 \end_inset
16879 </cell>
16880 </row>
16881 <row>
16882 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16883 \begin_inset Text
16884
16885 \begin_layout Standard
16886 \begin_inset ERT
16887 status collapsed
16888
16889 \begin_layout Standard
16890
16891
16892 \backslash
16893 hdashline 
16894 \end_layout
16895
16896 \end_inset
16897
16898 k
16899 \end_layout
16900
16901 \end_inset
16902 </cell>
16903 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16904 \begin_inset Text
16905
16906 \begin_layout Standard
16907 l
16908 \end_layout
16909
16910 \end_inset
16911 </cell>
16912 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16913 \begin_inset Text
16914
16915 \begin_layout Standard
16916 m
16917 \end_layout
16918
16919 \end_inset
16920 </cell>
16921 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16922 \begin_inset Text
16923
16924 \begin_layout Standard
16925 n
16926 \end_layout
16927
16928 \end_inset
16929 </cell>
16930 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16931 \begin_inset Text
16932
16933 \begin_layout Standard
16934 o
16935 \end_layout
16936
16937 \end_inset
16938 </cell>
16939 </row>
16940 <row topline="true">
16941 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16942 \begin_inset Text
16943
16944 \begin_layout Standard
16945 \begin_inset ERT
16946 status collapsed
16947
16948 \begin_layout Standard
16949
16950
16951 \backslash
16952 cdashline{4-5}
16953 \end_layout
16954
16955 \end_inset
16956
16957 p
16958 \end_layout
16959
16960 \end_inset
16961 </cell>
16962 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16963 \begin_inset Text
16964
16965 \begin_layout Standard
16966 q
16967 \end_layout
16968
16969 \end_inset
16970 </cell>
16971 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="c:">
16972 \begin_inset Text
16973
16974 \begin_layout Standard
16975 r
16976 \end_layout
16977
16978 \end_inset
16979 </cell>
16980 <cell multicolumn="1" alignment="center" valignment="top" rightline="true" usebox="none" special="c:">
16981 \begin_inset Text
16982
16983 \begin_layout Standard
16984 s
16985 \end_layout
16986
16987 \end_inset
16988 </cell>
16989 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16990 \begin_inset Text
16991
16992 \begin_layout Standard
16993
16994 \end_layout
16995
16996 \end_inset
16997 </cell>
16998 </row>
16999 <row topline="true" bottomline="true">
17000 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17001 \begin_inset Text
17002
17003 \begin_layout Standard
17004 t
17005 \end_layout
17006
17007 \end_inset
17008 </cell>
17009 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17010 \begin_inset Text
17011
17012 \begin_layout Standard
17013 u
17014 \end_layout
17015
17016 \end_inset
17017 </cell>
17018 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17019 \begin_inset Text
17020
17021 \begin_layout Standard
17022 v
17023 \end_layout
17024
17025 \end_inset
17026 </cell>
17027 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17028 \begin_inset Text
17029
17030 \begin_layout Standard
17031 w
17032 \end_layout
17033
17034 \end_inset
17035 </cell>
17036 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17037 \begin_inset Text
17038
17039 \begin_layout Standard
17040 x
17041 \end_layout
17042
17043 \end_inset
17044 </cell>
17045 </row>
17046 </lyxtabular>
17047
17048 \end_inset
17049
17050
17051 \end_layout
17052
17053 \end_inset
17054
17055
17056 \end_layout
17057
17058 \begin_layout Standard
17059 LyX doesn't natively support dashed lines, so you have to use ERT.
17060  As prerequisite the LaTeX-package 
17061 \series bold
17062 arydshln
17063 \series default
17064
17065 \begin_inset LatexCommand index
17066 name "LaTeX-packages ! arydshln"
17067
17068 \end_inset
17069
17070  must be loaded in the document preamble with the command
17071 \end_layout
17072
17073 \begin_layout Standard
17074
17075 \series bold
17076
17077 \backslash
17078 usepackage{arydshln}
17079 \end_layout
17080
17081 \begin_layout Standard
17082 To make a vertical line dashed, enter the colon 
17083 \begin_inset Quotes eld
17084 \end_inset
17085
17086 :
17087 \begin_inset Quotes erd
17088 \end_inset
17089
17090  together with the character for the horizontal alignment as LaTeX-argument
17091  in the table cell dialog.
17092 \end_layout
17093
17094 \begin_layout Standard
17095 For a horizontal dashed line add the command
17096 \end_layout
17097
17098 \begin_layout Standard
17099
17100 \series bold
17101
17102 \backslash
17103 hdashline
17104 \end_layout
17105
17106 \begin_layout Standard
17107 in ERT as first element of the first cell in the table row.
17108 \end_layout
17109
17110 \begin_layout Standard
17111 For dashed multicolumn lines use the command
17112 \end_layout
17113
17114 \begin_layout Standard
17115
17116 \series bold
17117
17118 \backslash
17119 cdashline{line number
17120 \series default
17121 }
17122 \end_layout
17123
17124 \begin_layout Standard
17125 in ERT as first element of the first cell in the table row.
17126  If you have for example a multicolumn spanning over columns 2 to 4 and
17127  you want to have a dashed line above, add the command
17128 \end_layout
17129
17130 \begin_layout Standard
17131
17132 \series bold
17133
17134 \backslash
17135 cdashline{2-4}
17136 \end_layout
17137
17138 \begin_layout Standard
17139 as first element of the first cell in the row of the multicolumn.
17140 \end_layout
17141
17142 \begin_layout Standard
17143 \begin_inset VSpace bigskip
17144 \end_inset
17145
17146
17147 \end_layout
17148
17149 \begin_layout Standard
17150 Table\InsetSpace ~
17151
17152 \begin_inset LatexCommand ref
17153 reference "tab:Table-with-dashed"
17154
17155 \end_inset
17156
17157  was created using 
17158 \begin_inset Quotes eld
17159 \end_inset
17160
17161
17162 \series bold
17163 :c
17164 \series default
17165
17166 \begin_inset Quotes erd
17167 \end_inset
17168
17169  as LaTeX-argument of the third column.
17170  The ERT command 
17171 \series bold
17172
17173 \backslash
17174 hdashline
17175 \series default
17176  was inserted to the first cell of the third row and the the ERT command
17177 \newline
17178
17179  
17180 \series bold
17181
17182 \backslash
17183 cdashline{4-5}
17184 \series default
17185  was inserted to the first cell of the fourth row.
17186 \end_layout
17187
17188 \begin_layout Standard
17189 \begin_inset Note Greyedout
17190 status open
17191
17192 \begin_layout Standard
17193
17194 \series bold
17195 Note:
17196 \series default
17197  The used LaTeX-package 
17198 \series bold
17199 arydshln
17200 \series default
17201  is apparently not compatible with the LaTeX-package 
17202 \series bold
17203 colortbl
17204 \series default
17205
17206 \begin_inset LatexCommand index
17207 name "LaTeX-packages ! colortbl"
17208
17209 \end_inset
17210
17211  that is used for colored tables in section\InsetSpace ~
17212
17213 \begin_inset LatexCommand ref
17214 reference "sec:Colored-Tables"
17215
17216 \end_inset
17217
17218 .
17219  That means colored tables cannot have dashed lines.
17220 \end_layout
17221
17222 \end_inset
17223
17224
17225 \end_layout
17226
17227 \begin_layout Standard
17228 \begin_inset ERT
17229 status collapsed
17230
17231 \begin_layout Standard
17232
17233
17234 \backslash
17235 else
17236 \end_layout
17237
17238 \end_inset
17239
17240
17241 \begin_inset Note Note
17242 status open
17243
17244 \begin_layout Standard
17245 The following will be displayed when the LaTeX-package 
17246 \series bold
17247 arydshln
17248 \series default
17249  is not installed:
17250 \end_layout
17251
17252 \end_inset
17253
17254
17255 \end_layout
17256
17257 \begin_layout Standard
17258 You need to install the package 
17259 \series bold
17260 arydshln
17261 \series default
17262  to see the contents of this section in the output.
17263 \end_layout
17264
17265 \begin_layout Standard
17266 \begin_inset ERT
17267 status collapsed
17268
17269 \begin_layout Standard
17270
17271
17272 \backslash
17273 fi
17274 \end_layout
17275
17276 \end_inset
17277
17278
17279 \end_layout
17280
17281 \begin_layout Chapter
17282 Floats
17283 \begin_inset LatexCommand index
17284 name "Floats"
17285
17286 \end_inset
17287
17288
17289 \begin_inset LatexCommand label
17290 name "cha:Floats"
17291
17292 \end_inset
17293
17294
17295 \end_layout
17296
17297 \begin_layout Section
17298 Introduction
17299 \begin_inset LatexCommand label
17300 name "sec:FloatIntroduction"
17301
17302 \end_inset
17303
17304
17305 \begin_inset LatexCommand index
17306 name "Floats ! Introduction"
17307
17308 \end_inset
17309
17310
17311 \end_layout
17312
17313 \begin_layout Standard
17314 A float is a block of text associated with some sort of label, which doesn't
17315  have a fixed location.
17316  It can 
17317 \begin_inset Quotes eld
17318 \end_inset
17319
17320 float
17321 \begin_inset Quotes erd
17322 \end_inset
17323
17324  forward or backward a page or two, to wherever it fits best.
17325  
17326 \family sans
17327 Footnotes
17328 \family default
17329  and 
17330 \family sans
17331 Margin\InsetSpace ~
17332 Notes
17333 \family default
17334  are also floats, because they can float to the next page when there are
17335  too many notes at the page.
17336 \end_layout
17337
17338 \begin_layout Standard
17339 Floats allow a high quality layout.
17340  Images and tables can evenly be spread to the pages to avoid white space
17341  and pages without text.
17342  As the floating often destroys the context between the text and the image/table
17343 , every float can be referenced in the text.
17344  Floats are therefore numbered.
17345  Referencing is described in section\InsetSpace ~
17346
17347 \begin_inset LatexCommand ref
17348 reference "sec:Referencing-Floats"
17349
17350 \end_inset
17351
17352 .
17353 \end_layout
17354
17355 \begin_layout Standard
17356 To insert a float, use the menu 
17357 \family sans
17358 Insert\SpecialChar \menuseparator
17359 Floats
17360 \family default
17361 .
17362  This inserts a box with a label in the 
17363 \family sans
17364 Caption
17365 \family default
17366  environment
17367 \begin_inset Foot
17368 status collapsed
17369
17370 \begin_layout Standard
17371 The 
17372 \family sans
17373 Caption
17374 \family default
17375  environment is described in LyX's 
17376 \emph on
17377 Userguide
17378 \emph default
17379 .
17380 \end_layout
17381
17382 \end_inset
17383
17384  into your document.
17385  Every label ends with the character 
17386 \begin_inset Quotes eld
17387 \end_inset
17388
17389 #
17390 \begin_inset Quotes erd
17391 \end_inset
17392
17393  as placeholder for the float number in the output.
17394  The label will automatically be translated to the document language in
17395  the output.
17396  Behind the label you can insert the caption text.
17397  The image or table is inserted above or below the caption in a separate
17398  paragraph within the float.
17399  More about the caption placement is described in section\InsetSpace ~
17400
17401 \begin_inset LatexCommand ref
17402 reference "sec:Caption-Placement"
17403
17404 \end_inset
17405
17406 .
17407  To keep your LyX-document readable, you can open and close the float box
17408  by left-clicking on the box label.
17409  A closed float box looks like this: 
17410 \begin_inset Graphics
17411         filename clipart/floatQt4.png
17412         scale 70
17413
17414 \end_inset
17415
17416  -- a gray button with a red label.
17417 \end_layout
17418
17419 \begin_layout Standard
17420 It is recommended to insert floats as a separate paragraph to avoid possible
17421  LaTeX-errors that can occur when the surrounding text is specially formatted.
17422 \end_layout
17423
17424 \begin_layout Standard
17425 Existing figures or tables can be put into a float by marking them and then
17426  pressing the corresponding toolbar button for a new float.
17427 \end_layout
17428
17429 \begin_layout Section
17430 Float Types
17431 \end_layout
17432
17433 \begin_layout Standard
17434 Besides figure and table floats that are described in section\InsetSpace ~
17435
17436 \begin_inset LatexCommand ref
17437 reference "sec:Figure-Floats"
17438
17439 \end_inset
17440
17441  and 
17442 \begin_inset LatexCommand ref
17443 reference "sec:Table-Floats"
17444
17445 \end_inset
17446
17447 , respectively, LyX offers the float types 
17448 \series bold
17449 Algorithm
17450 \series default
17451  and 
17452 \series bold
17453 Text\InsetSpace ~
17454 Wrap\InsetSpace ~
17455 Float
17456 \series default
17457 .
17458 \end_layout
17459
17460 \begin_layout Subsection
17461 Algorithm Floats
17462 \begin_inset LatexCommand index
17463 name "Floats ! Algorithm Floats"
17464
17465 \end_inset
17466
17467
17468 \end_layout
17469
17470 \begin_layout Standard
17471 \begin_inset Float algorithm
17472 placement h
17473 wide false
17474 sideways false
17475 status open
17476
17477 \begin_layout Standard
17478 \begin_inset Caption
17479
17480 \begin_layout Standard
17481 \begin_inset LatexCommand label
17482 name "alg:Example-Algorithm-float"
17483
17484 \end_inset
17485
17486 Example Algorithm float
17487 \end_layout
17488
17489 \end_inset
17490
17491
17492 \end_layout
17493
17494 \begin_layout LyX-Code
17495 for I in 1..N loop
17496 \newline
17497  Sum:= Sum + A(I); /*senseless comment*/
17498 \newline
17499 end loop
17500 \begin_inset VSpace -4mm
17501 \end_inset
17502
17503
17504 \end_layout
17505
17506 \end_inset
17507
17508
17509 \end_layout
17510
17511 \begin_layout Standard
17512 This float type is inserted with the menu 
17513 \family sans
17514 Insert\SpecialChar \menuseparator
17515 Floats\SpecialChar \menuseparator
17516 Algorithm
17517 \family default
17518 .
17519  It is used for program codes and descriptions of algorithms.
17520  A possible environment for algorithms is the 
17521 \family sans
17522 LyX-Code
17523 \family default
17524 , described in LyX's 
17525 \emph on
17526 Userguide
17527 \emph default
17528 .
17529  Algorithm\InsetSpace ~
17530
17531 \begin_inset LatexCommand ref
17532 reference "alg:Example-Algorithm-float"
17533
17534 \end_inset
17535
17536  is an example of an algorithm float where -4\InsetSpace \thinspace{}
17537 mm vertical space was added
17538  at the end of the float to have the bottom rule exactly below the last
17539  text line.
17540 \end_layout
17541
17542 \begin_layout Standard
17543 The float label is not automatically translated into the document language.
17544  If your document is not in English, you have to do this manually by adding
17545  the following line to the document preamble
17546 \series bold
17547 :
17548 \end_layout
17549
17550 \begin_layout Standard
17551
17552 \series bold
17553
17554 \backslash
17555 floatname{algorithm}{your\InsetSpace ~
17556 name}
17557 \end_layout
17558
17559 \begin_layout Standard
17560
17561 \family sans
17562 your\InsetSpace ~
17563 name
17564 \family default
17565  is the word 
17566 \begin_inset Quotes eld
17567 \end_inset
17568
17569
17570 \emph on
17571 algorithm
17572 \emph default
17573
17574 \begin_inset Quotes erd
17575 \end_inset
17576
17577  in your language.
17578 \end_layout
17579
17580 \begin_layout Description
17581
17582 \series bold
17583 Note:
17584 \series default
17585  When the LaTeX-package 
17586 \series bold
17587 hyperref
17588 \series default
17589
17590 \begin_inset LatexCommand index
17591 name "LaTeX-packages ! hyperref"
17592
17593 \end_inset
17594
17595  is used to link cross-references to floats in the PDF-output, it must be
17596  loaded in the document preamble before the definition of floats to be able
17597  to reference floats.
17598  As LyX sets the float definition for algorithm floats automatically before
17599  the user editable part of the document preamble, you need to insert the
17600  following preamble lines 
17601 \emph on
17602 after
17603 \emph default
17604  the loading command of 
17605 \series bold
17606 hyperref
17607 \series default
17608 :
17609 \series bold
17610
17611 \begin_inset VSpace defskip
17612 \end_inset
17613
17614
17615 \newline
17616
17617 \backslash
17618 newfloat{Xalgorithm}{tbp}{loa}
17619 \newline
17620
17621 \backslash
17622 floatname{Xalgorithm}{your\InsetSpace ~
17623 name}
17624 \newline
17625
17626 \backslash
17627 newcommand{
17628 \backslash
17629 theHalgorithm}{
17630 \backslash
17631 theHXalgorithm}
17632 \newline
17633
17634 \backslash
17635 renewenvironment{algorithm}[1][tbp]
17636 \newline
17637
17638 \begin_inset ERT
17639 status collapsed
17640
17641 \begin_layout Standard
17642
17643
17644 \backslash
17645 hphantom{ }
17646 \end_layout
17647
17648 \end_inset
17649
17650 {
17651 \backslash
17652 begin{Xalgorithm}[#1]}{
17653 \backslash
17654 end{Xalgorithm}}
17655 \begin_inset VSpace defskip
17656 \end_inset
17657
17658
17659 \series default
17660
17661 \newline
17662 Where 
17663 \family sans
17664 your\InsetSpace ~
17665 name
17666 \family default
17667  is the word 
17668 \begin_inset Quotes eld
17669 \end_inset
17670
17671
17672 \emph on
17673 algorithm
17674 \emph default
17675
17676 \begin_inset Quotes erd
17677 \end_inset
17678
17679  in your language.
17680 \end_layout
17681
17682 \begin_layout Standard
17683 Algorithm floats are not by default numbered in the scheme 
17684 \begin_inset Quotes eld
17685 \end_inset
17686
17687 chapter.algorithm
17688 \begin_inset Quotes erd
17689 \end_inset
17690
17691  like it is the case for table and figure floats in many document-classes.
17692  To number algorithm floats in the same scheme, add this command to your
17693  document preamble:
17694 \end_layout
17695
17696 \begin_layout Standard
17697
17698 \series bold
17699
17700 \backslash
17701 numberwithin{algorithm}{chapter}
17702 \end_layout
17703
17704 \begin_layout Standard
17705 If you use the LaTeX-package 
17706 \series bold
17707 hyperref
17708 \series default
17709 , add this line instead 
17710 \emph on
17711 after
17712 \emph default
17713  the definition of 
17714 \family sans
17715 Xalgorithm
17716 \family default
17717  (the commands from above) to the preamble:
17718 \end_layout
17719
17720 \begin_layout Standard
17721
17722 \series bold
17723
17724 \backslash
17725 numberwithin{Xalgorithm}{chapter}
17726 \end_layout
17727
17728 \begin_layout Standard
17729 To be able to use the command 
17730 \series bold
17731
17732 \backslash
17733 numberwithin
17734 \series default
17735 , set in the tab 
17736 \family sans
17737 Math\InsetSpace ~
17738 Options
17739 \family default
17740  in the document settings the option 
17741 \family sans
17742 Use\InsetSpace ~
17743 AMS\InsetSpace ~
17744 math\InsetSpace ~
17745 package
17746 \family default
17747 .
17748 \end_layout
17749
17750 \begin_layout Subsection
17751 Text Wrap Floats
17752 \begin_inset LatexCommand index
17753 name "Floats ! Text Wrap Floats"
17754
17755 \end_inset
17756
17757
17758 \begin_inset LatexCommand label
17759 name "sub:floatflt-wrap-float"
17760
17761 \end_inset
17762
17763
17764 \end_layout
17765
17766 \begin_layout Standard
17767 This float type is used if you want to 
17768 \begin_inset Quotes eld
17769 \end_inset
17770
17771 wrap
17772 \begin_inset Quotes erd
17773 \end_inset
17774
17775  text around a figure so that it only occupies some fraction of the column
17776  width.
17777  It can be inserted using the menu 
17778 \begin_inset Wrap figure
17779 placement l
17780 width "40col%"
17781 status open
17782
17783 \begin_layout Standard
17784 \begin_inset Graphics
17785         filename clipart/mobius.eps
17786         display color
17787         width 40col%
17788         rotateOrigin center
17789
17790 \end_inset
17791
17792
17793 \end_layout
17794
17795 \begin_layout Standard
17796 \begin_inset Caption
17797
17798 \begin_layout Standard
17799 \begin_inset LatexCommand label
17800 name "fig:This-is-a"
17801
17802 \end_inset
17803
17804 This is a wrapped figure, and this is the brilliant caption that describes
17805  it.
17806 \begin_inset VSpace medskip
17807 \end_inset
17808
17809
17810 \end_layout
17811
17812 \end_inset
17813
17814
17815 \end_layout
17816
17817 \end_inset
17818
17819  
17820 \family sans
17821 Insert\SpecialChar \menuseparator
17822 Floats\SpecialChar \menuseparator
17823 Text\InsetSpace ~
17824 Wrap\InsetSpace ~
17825 Float
17826 \family default
17827  if the LaTeX-package 
17828 \series bold
17829 floatflt
17830 \series default
17831
17832 \begin_inset LatexCommand index
17833 name "LaTeX-packages ! floatflt"
17834
17835 \end_inset
17836
17837  is installed.
17838 \begin_inset Foot
17839 status collapsed
17840
17841 \begin_layout Standard
17842 Installing a LaTeX-package is explained it in the 
17843 \emph on
17844 LaTeX\InsetSpace ~
17845 Configuration
17846 \emph default
17847  manual.
17848 \end_layout
17849
17850 \end_inset
17851
17852  The width and placement of the float is adjusted by right-clicking on the
17853  float box.
17854  Figure\InsetSpace ~
17855
17856 \begin_inset LatexCommand ref
17857 reference "fig:This-is-a"
17858
17859 \end_inset
17860
17861  is an example text wrap float with a width of 40
17862 \begin_inset Formula $\,$
17863 \end_inset
17864
17865 col%.
17866 \begin_inset Foot
17867 status collapsed
17868
17869 \begin_layout Standard
17870 Available units are explained in 
17871 \begin_inset LatexCommand ref
17872 reference "cha:Units-available-in"
17873
17874 \end_inset
17875
17876 .
17877 \end_layout
17878
17879 \end_inset
17880
17881  Some space was added under the caption to separate it better from the surroundi
17882 ng text.
17883 \end_layout
17884
17885 \begin_layout Standard
17886 The LaTeX-package 
17887 \series bold
17888 floatflt
17889 \series default
17890  also supports table wrap floats, but they are not yet supported by LyX.
17891  If you need this, read the documentation of 
17892 \series bold
17893 floatflt
17894 \series default
17895  
17896 \begin_inset LatexCommand cite
17897 key "floatflt"
17898
17899 \end_inset
17900
17901 .
17902 \end_layout
17903
17904 \begin_layout Standard
17905 \begin_inset Note Greyedout
17906 status open
17907
17908 \begin_layout Standard
17909
17910 \series bold
17911 Note:
17912 \series default
17913  Text\InsetSpace ~
17914 wrap float floats are fragile! E.\InsetSpace \thinspace{}
17915 g.\InsetSpace ~
17916 having a figure too close to the bottom
17917  of the page can mess things up in the way that the float doesn't appear
17918  in the output or that it is placed over some other text.
17919 \begin_inset Foot
17920 status open
17921
17922 \begin_layout Standard
17923 The better solution is to use the LaTeX-package 
17924 \series bold
17925 wrapf\SpecialChar \textcompwordmark{}
17926 ig
17927 \series default
17928
17929 \begin_inset LatexCommand index
17930 name "LaTeX-packages ! wrapfig\\vspace{4mm}"
17931
17932 \end_inset
17933
17934  instead of 
17935 \series bold
17936 floatf\SpecialChar \textcompwordmark{}
17937 lt
17938 \series default
17939 , but it is currently not supported by LyX.
17940 \end_layout
17941
17942 \end_inset
17943
17944
17945 \end_layout
17946
17947 \end_inset
17948
17949
17950 \end_layout
17951
17952 \begin_layout Standard
17953 In general:
17954 \end_layout
17955
17956 \begin_layout Itemize
17957 Wrap floats should not be placed in paragraphs that run over a page break.
17958  That means that wrap floats should better be inserted to the exact place
17959  when the document is nearly ready and you are able to estimate where page
17960  breaks will appear.
17961 \end_layout
17962
17963 \begin_layout Itemize
17964 Wrap floats should either be placed in an own paragraph before the paragraph
17965  where they should wrap into or within a paragraph.
17966 \end_layout
17967
17968 \begin_layout Itemize
17969 Wrap floats in consecutive paragraphs may cause troubles, so assure that
17970  there is a text paragraph between them as separator.
17971 \end_layout
17972
17973 \begin_layout Itemize
17974 Wrap floats are not allowed in section headings or tables.
17975 \end_layout
17976
17977 \begin_layout Section
17978 Referencing Floats
17979 \begin_inset LatexCommand label
17980 name "sec:Referencing-Floats"
17981
17982 \end_inset
17983
17984
17985 \begin_inset LatexCommand index
17986 name "Floats ! References"
17987
17988 \end_inset
17989
17990
17991 \begin_inset LatexCommand index
17992 name "References"
17993
17994 \end_inset
17995
17996
17997 \end_layout
17998
17999 \begin_layout Standard
18000 To reference a float, insert a label into its caption using the menu 
18001 \family sans
18002 Insert\SpecialChar \menuseparator
18003 Label
18004 \family default
18005  or the toolbar button 
18006 \begin_inset Graphics
18007         filename ../images/label-insert.xpm
18008         scale 85
18009
18010 \end_inset
18011
18012 .
18013  A grey label box like this one: 
18014 \begin_inset Graphics
18015         filename clipart/labelQt4.png
18016         scale 85
18017
18018 \end_inset
18019
18020  will be inserted and the label window pops up asking for the label text.
18021  LyX offers as text the first words of the caption with a prefix.
18022  The prefix depends on the float type, e.\InsetSpace \thinspace{}
18023 g.\InsetSpace ~
18024 for figure floats the prefix will
18025  be "
18026 \family sans
18027 fig:
18028 \family default
18029 ".
18030 \end_layout
18031
18032 \begin_layout Standard
18033 The label is used as anchor and name for the reference.
18034  You can refer to the label using the menu 
18035 \family sans
18036 Insert\SpecialChar \menuseparator
18037 Cross-reference
18038 \family default
18039  or the toolbar button 
18040 \begin_inset Graphics
18041         filename ../images/dialog-show-new-inset_ref.xpm
18042         scale 85
18043
18044 \end_inset
18045
18046 .
18047  A grey cross-reference box like this one: 
18048 \begin_inset Graphics
18049         filename clipart/referenceQt4.png
18050         scale 85
18051
18052 \end_inset
18053
18054  will be inserted and the cross-reference window appear showing all labels
18055  of the document.
18056  If you have multiple LyX-documents opened, choose the one you are working
18057  on from the drop-list at the top of the dialog.
18058  You can now sort the labels alphabetically and then choose one.
18059  At the position of the cross-reference box the float number will appear
18060  in the output.
18061 \end_layout
18062
18063 \begin_layout Standard
18064 It is recommended to use a protected space between the cross-reference name
18065  and its number to avoid line breaks between them.
18066  If a cross-reference refers to a non-existing label, you will see two question
18067  marks in the output instead of the reference.
18068 \end_layout
18069
18070 \begin_layout Standard
18071 You can change labels at any time by clicking on the label box.
18072  References to the changed label will automatically change its link to the
18073  new label text, so that you don't need to take care about this.
18074 \end_layout
18075
18076 \begin_layout Standard
18077 The button 
18078 \family sans
18079 Go\InsetSpace ~
18080 to\InsetSpace ~
18081 Label
18082 \family default
18083  in the cross-reference window sets the cursor before the referred label.
18084  The button text changes then to Go\InsetSpace ~
18085 Back and you can use it to set the cursor
18086  back to the cross-reference.
18087  Right-clicking on a cross-reference box also sets the cursor before the
18088  referenced label but without a possibility to go back.
18089 \end_layout
18090
18091 \begin_layout Subsection
18092 Cross-Reference Formats
18093 \begin_inset LatexCommand label
18094 name "sub:Cross-Reference-Formats"
18095
18096 \end_inset
18097
18098
18099 \begin_inset LatexCommand index
18100 name "References ! Formats"
18101
18102 \end_inset
18103
18104
18105 \end_layout
18106
18107 \begin_layout Standard
18108 There are six varieties of cross-references:
18109 \end_layout
18110
18111 \begin_layout Description
18112 <reference>: prints the float number, this is the default: 
18113 \begin_inset LatexCommand ref
18114 reference "fig:Two-distorted-images"
18115
18116 \end_inset
18117
18118
18119 \end_layout
18120
18121 \begin_layout Description
18122 (<reference>): prints the float number within two parentheses, this is the
18123  style normally used to reference formulas, especially when the reference
18124  name 
18125 \begin_inset Quotes eld
18126 \end_inset
18127
18128 Equation
18129 \begin_inset Quotes erd
18130 \end_inset
18131
18132  is omitted: 
18133 \begin_inset LatexCommand eqref
18134 reference "eq:Wgn"
18135
18136 \end_inset
18137
18138
18139 \end_layout
18140
18141 \begin_layout Description
18142 <page>: prints the page number: Page\InsetSpace ~
18143
18144 \begin_inset LatexCommand pageref
18145 reference "fig:Two-distorted-images"
18146
18147 \end_inset
18148
18149
18150 \end_layout
18151
18152 \begin_layout Description
18153 on\InsetSpace ~
18154 page\InsetSpace ~
18155 <page>: prints the text "on page" and the page number: 
18156 \begin_inset LatexCommand vpageref
18157 reference "fig:Two-distorted-images"
18158
18159 \end_inset
18160
18161
18162 \end_layout
18163
18164 \begin_layout Description
18165 <reference>\InsetSpace ~
18166 on\InsetSpace ~
18167 page\InsetSpace ~
18168 <page>: prints the float number, the text "on page", and
18169  the page number: 
18170 \begin_inset LatexCommand vref
18171 reference "fig:Two-distorted-images"
18172
18173 \end_inset
18174
18175
18176 \end_layout
18177
18178 \begin_layout Description
18179 Formatted\InsetSpace ~
18180 reference: prints a self defined cross-reference format.
18181  
18182 \begin_inset Note Greyedout
18183 status open
18184
18185 \begin_layout Standard
18186
18187 \series bold
18188 Note:
18189 \series default
18190  This feature is only available when you have the LaTeX-package 
18191 \series bold
18192 prettyref
18193 \series default
18194  installed.
18195 \end_layout
18196
18197 \end_inset
18198
18199
18200 \end_layout
18201
18202 \begin_layout Standard
18203 Note that the style <page> won't print the page number if the label is on
18204  the previous, the same, or the next page.
18205  You will e.\InsetSpace \thinspace{}
18206 g.\InsetSpace ~
18207 see the text 
18208 \begin_inset Quotes eld
18209 \end_inset
18210
18211
18212 \family sans
18213 on this page
18214 \family default
18215
18216 \begin_inset Quotes erd
18217 \end_inset
18218
18219  instead.
18220 \end_layout
18221
18222 \begin_layout Standard
18223 The number and current page of the referred document part in the output,
18224  is automatically calculated by LaTeX.
18225  The varieties are adjusted in the field 
18226 \family sans
18227 Format
18228 \family default
18229  of the cross-reference window, that appear when you click on the cross-referenc
18230 e box.
18231 \end_layout
18232
18233 \begin_layout Subsection
18234 Referencing Subfigures
18235 \begin_inset LatexCommand label
18236 name "sub:Referencing-Subfigures"
18237
18238 \end_inset
18239
18240
18241 \begin_inset LatexCommand index
18242 name "References ! to Subfigures"
18243
18244 \end_inset
18245
18246
18247 \end_layout
18248
18249 \begin_layout Standard
18250 Currently referencing subfigures is not supported by LyX, so you have to
18251  use LaTeX-commands.
18252  The label is the created with the command
18253 \end_layout
18254
18255 \begin_layout Standard
18256
18257 \series bold
18258
18259 \backslash
18260 label{fig:YourLabelName}
18261 \end_layout
18262
18263 \begin_layout Standard
18264 that is directly inserted into the subfigure caption field.
18265  To reference the label add this command in ERT
18266 \end_layout
18267
18268 \begin_layout Standard
18269
18270 \series bold
18271
18272 \backslash
18273 ref{fig:YourLabelName}
18274 \end_layout
18275
18276 \begin_layout Standard
18277 to the position in your document where the reference should be placed.
18278  Here is a reference to a subfigure: Subfigure\InsetSpace ~
18279
18280 \begin_inset ERT
18281 status collapsed
18282
18283 \begin_layout Standard
18284
18285
18286 \backslash
18287 ref{fig:Platypus}
18288 \end_layout
18289
18290 \end_inset
18291
18292 .
18293 \end_layout
18294
18295 \begin_layout Subsection
18296 Automatic Reference Naming
18297 \begin_inset LatexCommand index
18298 name "References ! Automatic Reference Naming"
18299
18300 \end_inset
18301
18302
18303 \end_layout
18304
18305 \begin_layout Standard
18306 The LaTeX-package 
18307 \series bold
18308 hyperref
18309 \series default
18310  provides a very useful feature that cross-references automatically include
18311  the name of the referenced floats (or text parts like sections).
18312  You save to write e.\InsetSpace \thinspace{}
18313 g.\InsetSpace ~
18314 the name 
18315 \begin_inset Quotes eld
18316 \end_inset
18317
18318 Figure
18319 \begin_inset Quotes erd
18320 \end_inset
18321
18322  before every reference box.
18323  To get this automatic reference naming, you have to load the LaTeX-package
18324  
18325 \series bold
18326 hyperref
18327 \series default
18328
18329 \begin_inset LatexCommand index
18330 name "LaTeX-packages ! hyperref"
18331
18332 \end_inset
18333
18334  in the document preamble with
18335 \end_layout
18336
18337 \begin_layout Standard
18338
18339 \series bold
18340
18341 \backslash
18342 usepackage[pdfborder={0 0 0}]{hyperref}
18343 \newline
18344
18345 \backslash
18346 AtBeginDocument{
18347 \backslash
18348 renewcommand{
18349 \backslash
18350 ref}[1]{
18351 \backslash
18352 mbox{
18353 \backslash
18354 autoref{#1}}}}
18355 \end_layout
18356
18357 \begin_layout Standard
18358
18359 \series bold
18360 hyperref
18361 \series default
18362  is used to link cross-references in the DVI- and PDF-output, this means
18363  that the reader of your document will be able to click on a table of content
18364  (TOC) entry or on a reference and he will be shown the referenced document
18365  part.
18366  
18367 \series bold
18368 hyperref
18369 \series default
18370  also creates PDF-bookmarks for every section of your document to make it
18371  easier for readers to navigate through the document.
18372  This is also used in this document but when you have a look in the document
18373  preamble you will find various options in the load command of 
18374 \series bold
18375 hyperref
18376 \series default
18377 .
18378  To learn more about the 
18379 \series bold
18380 hyperref
18381 \series default
18382  package, we refer to its documentation 
18383 \begin_inset LatexCommand cite
18384 key "hyperref"
18385
18386 \end_inset
18387
18388 .
18389 \end_layout
18390
18391 \begin_layout Standard
18392 \begin_inset Note Greyedout
18393 status open
18394
18395 \begin_layout Standard
18396
18397 \series bold
18398 Note:
18399 \series default
18400  Automatic reference naming cannot be used when you use cross-references
18401  in the 
18402 \family sans
18403 Formatted\InsetSpace ~
18404 reference
18405 \family default
18406  style, described in section\InsetSpace ~
18407
18408 \begin_inset LatexCommand ref
18409 reference "sub:Cross-Reference-Formats"
18410
18411 \end_inset
18412
18413 .
18414 \end_layout
18415
18416 \end_inset
18417
18418
18419 \end_layout
18420
18421 \begin_layout Subsection
18422 Reference Position
18423 \begin_inset LatexCommand label
18424 name "sub:Reference-Position"
18425
18426 \end_inset
18427
18428
18429 \begin_inset LatexCommand index
18430 name "References ! Reference Position"
18431
18432 \end_inset
18433
18434
18435 \end_layout
18436
18437 \begin_layout Standard
18438 If you use 
18439 \series bold
18440 hyperref
18441 \series default
18442
18443 \begin_inset LatexCommand index
18444 name "LaTeX-packages ! hyperref"
18445
18446 \end_inset
18447
18448  to link cross-references in the output, you will see that clicking on an
18449  image float reference jumps to the image label.
18450  The caption will be the first text part on the screen, so that you cannot
18451  see the image without scrolling.
18452  This is because the reference link anchor is placed at the position of
18453  the label.
18454  With the use of the package 
18455 \series bold
18456 hypcap
18457 \series default
18458
18459 \begin_inset LatexCommand index
18460 name "LaTeX-packages ! hypcap"
18461
18462 \end_inset
18463
18464 , which is part of the LaTeX-package 
18465 \series bold
18466 oberdiek
18467 \series default
18468
18469 \begin_inset LatexCommand index
18470 name "LaTeX-packages ! oberdiek"
18471
18472 \end_inset
18473
18474 , the link anchor is placed at the beginning of a float.
18475  To use this feature for figure floats, load 
18476 \series bold
18477 hypcap
18478 \series default
18479  in the document preamble with the line
18480 \end_layout
18481
18482 \begin_layout Standard
18483
18484 \series bold
18485
18486 \backslash
18487 usepackage[f\SpecialChar \textcompwordmark{}
18488 igure]{hypcap}
18489 \end_layout
18490
18491 \begin_layout Standard
18492 You can also use 
18493 \series bold
18494 hypcap
18495 \series default
18496  for all floats but this isn't recommended for stability reasons.
18497  For more informations, have a look at 
18498 \series bold
18499 hypcap
18500 \series default
18501 's manual 
18502 \begin_inset LatexCommand cite
18503 key "hypcap"
18504
18505 \end_inset
18506
18507 .
18508 \end_layout
18509
18510 \begin_layout Standard
18511 \begin_inset Note Greyedout
18512 status open
18513
18514 \begin_layout Standard
18515
18516 \series bold
18517 Note:
18518 \series default
18519  
18520 \series bold
18521 hypcap
18522 \series default
18523  must be loaded after 
18524 \series bold
18525 hyperref
18526 \series default
18527  in the document preamble.
18528 \end_layout
18529
18530 \end_inset
18531
18532
18533 \end_layout
18534
18535 \begin_layout Standard
18536 \begin_inset Note Greyedout
18537 status open
18538
18539 \begin_layout Standard
18540
18541 \series bold
18542 Note:
18543 \series default
18544  The set reference position has no effect for references to subfigures.
18545 \end_layout
18546
18547 \end_inset
18548
18549
18550 \end_layout
18551
18552 \begin_layout Section
18553 Float Placement
18554 \begin_inset LatexCommand label
18555 name "sec:Float-Placement"
18556
18557 \end_inset
18558
18559
18560 \begin_inset LatexCommand index
18561 name "Floats ! Placement"
18562
18563 \end_inset
18564
18565
18566 \end_layout
18567
18568 \begin_layout Standard
18569 Right-clicking on a float-box opens a dialog where you can alter the placement
18570  options that LaTeX uses for positioning the float.
18571 \newline
18572 The option 
18573 \family sans
18574 Span\InsetSpace ~
18575 columns
18576 \family default
18577  is only useful for two-column documents: If you select it, the float will
18578  span across both columns on the page instead of being confined to just
18579  one.
18580 \newline
18581 The option 
18582 \family sans
18583 Rotate\InsetSpace ~
18584 sideways
18585 \family default
18586  is used to rotate floats, see section 
18587 \begin_inset LatexCommand ref
18588 reference "sec:Rotated-Floats"
18589
18590 \end_inset
18591
18592 .
18593 \end_layout
18594
18595 \begin_layout Standard
18596 You can use one ore more of the following options in the float dialog to
18597  set the placement for a particular float when you uncheck the option 
18598 \family sans
18599 Use\InsetSpace ~
18600 default\InsetSpace ~
18601 placement
18602 \family default
18603 :
18604 \end_layout
18605
18606 \begin_layout Description
18607 Here\InsetSpace ~
18608 if\InsetSpace ~
18609 possible: try to place the float on the position where it is inserted
18610 \end_layout
18611
18612 \begin_layout Description
18613 Top\InsetSpace ~
18614 of\InsetSpace ~
18615 page: try to place the float on the top of the current page
18616 \end_layout
18617
18618 \begin_layout Description
18619 Bottom\InsetSpace ~
18620 of\InsetSpace ~
18621 page: try to place the float on the bottom of the current page
18622 \end_layout
18623
18624 \begin_layout Description
18625 Page\InsetSpace ~
18626 of\InsetSpace ~
18627 floats: try to place the float on an own page 
18628 \end_layout
18629
18630 \begin_layout Standard
18631 The order of the above option is 
18632 \emph on
18633 always
18634 \emph default
18635  used by LaTeX.
18636  That means, if you use the default placement, LaTeX will first try out
18637  
18638 \family sans
18639 Here\InsetSpace ~
18640 if\InsetSpace ~
18641 possible
18642 \family default
18643 , then 
18644 \family sans
18645 Top\InsetSpace ~
18646 of\InsetSpace ~
18647 page
18648 \family default
18649 , and then the others.
18650  If you don't use the default, LaTeX will try only the checked options but
18651  in the same order.
18652  If none of the 4 placements are possible the procedure is internally repeated
18653  but it is tried to put the float on the following page.
18654 \end_layout
18655
18656 \begin_layout Standard
18657 By default, each options has its own rules:
18658 \end_layout
18659
18660 \begin_layout Labeling
18661 \labelwidthstring 00.00.0000
18662
18663 \family sans
18664 Top\InsetSpace ~
18665 of\InsetSpace ~
18666 page
18667 \family default
18668  only floats occupying less than 70\InsetSpace \thinspace{}
18669 % of the page can be placed at the top
18670  of a page (
18671 \series bold
18672
18673 \backslash
18674 topfraction
18675 \series default
18676 )
18677 \end_layout
18678
18679 \begin_layout Labeling
18680 \labelwidthstring 00.00.0000
18681
18682 \family sans
18683 Bottom\InsetSpace ~
18684 of\InsetSpace ~
18685 page
18686 \family default
18687 : only floats occupying less than 30\InsetSpace \thinspace{}
18688 % of the page can be placed at the bottom
18689  of a page.
18690  (
18691 \series bold
18692
18693 \backslash
18694 bottomfraction
18695 \series default
18696 )
18697 \end_layout
18698
18699 \begin_layout Labeling
18700 \labelwidthstring 00.00.0000
18701
18702 \family sans
18703 Page\InsetSpace ~
18704 of\InsetSpace ~
18705 floats
18706 \family default
18707 : only if more than 50\InsetSpace \thinspace{}
18708 % of the page are occupied by floats, several floats
18709  can be set together on a page.
18710  (
18711 \series bold
18712
18713 \backslash
18714 floatpagefraction
18715 \series default
18716 )
18717 \end_layout
18718
18719 \begin_layout Standard
18720 If you don't like these rules, you can ignore them by using the additional
18721  option 
18722 \family sans
18723 Ignore\InsetSpace ~
18724 LaTeX\InsetSpace ~
18725 rules
18726 \family default
18727 .
18728 \newline
18729 You can also redefine the rules with LaTeX-commands that are given in parenthese
18730 s behind the rules description above.
18731  To increase for example the often too small default of the bottom-rule
18732  to 50\InsetSpace \thinspace{}
18733 % of the page, add this line to your document preamble:
18734 \end_layout
18735
18736 \begin_layout Standard
18737
18738 \series bold
18739
18740 \backslash
18741 renewcommand{
18742 \backslash
18743 bottomfraction}{0.5}
18744 \end_layout
18745
18746 \begin_layout Standard
18747 Sometimes you might need, under all circumstances, a float to be placed
18748  exactly at the position where it is inserted.
18749  For this case you can use the option 
18750 \family sans
18751 Here\InsetSpace ~
18752 definitely
18753 \family default
18754 .
18755  Use this option very rarely and only if the document is nearly ready to
18756  be printed.
18757  Because the float is then no longer able to 
18758 \begin_inset Quotes eld
18759 \end_inset
18760
18761 float
18762 \begin_inset Quotes erd
18763 \end_inset
18764
18765  when you change your document and this will often destroy the page layout.
18766 \end_layout
18767
18768 \begin_layout Standard
18769 There are no placement options for text wrap floats, because they are always
18770  surrounded by the text of a certain paragraph.
18771 \begin_inset VSpace bigskip
18772 \end_inset
18773
18774
18775 \end_layout
18776
18777 \begin_layout Standard
18778 Sometimes you have the problem that a float is placed at the top of a page
18779  while its corresponding section starts at the middle of the page, so that
18780  the reader could think the float is part of the previous section.
18781  To avoid this the LaTeX-command 
18782 \series bold
18783
18784 \backslash
18785 suppressf\SpecialChar \textcompwordmark{}
18786 loats
18787 \series default
18788  can be used.
18789  It suppresses a given float placement for the page where it is inserted
18790  and can therefore be used to avoid that floats could be set before a section
18791  starts.
18792  To get this, add these commands to your document preamble:
18793 \end_layout
18794
18795 \begin_layout Standard
18796
18797 \series bold
18798
18799 \backslash
18800 let
18801 \backslash
18802 mySection
18803 \backslash
18804 section
18805 \newline
18806
18807 \backslash
18808 renewcommand{
18809 \backslash
18810 section}{
18811 \backslash
18812 suppressf\SpecialChar \textcompwordmark{}
18813 loats[t]
18814 \backslash
18815 mySection}
18816 \end_layout
18817
18818 \begin_layout Standard
18819 You can define the same for all section headings, like chapters and subsections.
18820  This definition is not recommended to be used for small text parts like
18821  subsubsections because LaTeX may then have problems to find a suitable
18822  placement.
18823 \end_layout
18824
18825 \begin_layout Standard
18826 \begin_inset VSpace bigskip
18827 \end_inset
18828
18829 In some cases it is required to have all figures/tables at the end of the
18830  document.
18831  For this purpose the LaTeX-package 
18832 \series bold
18833 endf\SpecialChar \textcompwordmark{}
18834 loat
18835 \series default
18836
18837 \begin_inset LatexCommand index
18838 name "LaTeX-packages ! endfloat"
18839
18840 \end_inset
18841
18842  was developed.
18843  It puts all figure and table floats at the end of the document into own
18844  sections.
18845  At the original float position a text hint like 
18846 \begin_inset Quotes eld
18847 \end_inset
18848
18849
18850 \family sans
18851 [Figure\InsetSpace ~
18852 3.2 about here.]
18853 \family default
18854
18855 \begin_inset Quotes erd
18856 \end_inset
18857
18858  is inserted.
18859  The endfloat-package is loaded in the preamble with the line
18860 \end_layout
18861
18862 \begin_layout Standard
18863
18864 \series bold
18865
18866 \backslash
18867 usepackage[options]{endf\SpecialChar \textcompwordmark{}
18868 loat}
18869 \end_layout
18870
18871 \begin_layout Standard
18872 There are various package options to format the created figure/table sections.
18873  For more information we refer to the 
18874 \series bold
18875 endf\SpecialChar \textcompwordmark{}
18876 loat
18877 \series default
18878  documentation 
18879 \begin_inset LatexCommand cite
18880 key "endfloat"
18881
18882 \end_inset
18883
18884 .
18885 \newline
18886
18887 \begin_inset Note Greyedout
18888 status open
18889
18890 \begin_layout Standard
18891
18892 \series bold
18893 Note: endf\SpecialChar \textcompwordmark{}
18894 loat
18895 \series default
18896  doesn't provide an automatic translation for the text hint, you have to
18897  do this manually, see section\InsetSpace ~
18898 4 in 
18899 \begin_inset LatexCommand cite
18900 key "endfloat"
18901
18902 \end_inset
18903
18904 .
18905 \end_layout
18906
18907 \end_inset
18908
18909
18910 \newline
18911
18912 \begin_inset Note Greyedout
18913 status open
18914
18915 \begin_layout Standard
18916
18917 \series bold
18918 Note:
18919 \series default
18920  There is currently a bug in 
18921 \series bold
18922 endf\SpecialChar \textcompwordmark{}
18923 loat
18924 \series default
18925  when the caption contains a German 
18926 \begin_inset Quotes eld
18927 \end_inset
18928
18929 ß
18930 \begin_inset Quotes erd
18931 \end_inset
18932
18933 .
18934  Use in this case the command 
18935 \begin_inset Quotes eld
18936 \end_inset
18937
18938
18939 \series bold
18940
18941 \backslash
18942 ss
18943 \series default
18944
18945 \begin_inset Quotes erd
18946 \end_inset
18947
18948  in ERT instead of 
18949 \begin_inset Quotes eld
18950 \end_inset
18951
18952 ß
18953 \begin_inset Quotes erd
18954 \end_inset
18955
18956 .
18957 \end_layout
18958
18959 \end_inset
18960
18961
18962 \end_layout
18963
18964 \begin_layout Standard
18965 \begin_inset VSpace bigskip
18966 \end_inset
18967
18968 For more details about float placements, have a look at LaTeX books, 
18969 \begin_inset LatexCommand cite
18970 key "latexcompanion,latexguide,latexbook"
18971
18972 \end_inset
18973
18974 .
18975 \end_layout
18976
18977 \begin_layout Section
18978 Rotated Floats
18979 \begin_inset LatexCommand label
18980 name "sec:Rotated-Floats"
18981
18982 \end_inset
18983
18984
18985 \begin_inset LatexCommand index
18986 name "Floats ! Rotating"
18987
18988 \end_inset
18989
18990
18991 \end_layout
18992
18993 \begin_layout Standard
18994 Especially for wide tables you might have floats rotated.
18995  To rotate a whole float including the caption, right-click on the float-box
18996  and use the option 
18997 \family sans
18998 Rotate\InsetSpace ~
18999 sideways
19000 \family default
19001 .
19002 \end_layout
19003
19004 \begin_layout Standard
19005 Rotated floats are always placed on its own page (or column, when you have
19006  a two-column document).
19007  They are normally rotated so that you can read them from the outside margin
19008  -- to the left on even pages, to the right on odd pages.
19009 \end_layout
19010
19011 \begin_layout Standard
19012 Referencing rotated floats is the same like for normal floats, the caption
19013  format is also the same: Table\InsetSpace ~
19014
19015 \begin_inset LatexCommand ref
19016 reference "tab:Rotated-table"
19017
19018 \end_inset
19019
19020  is an example of a rotated table float.
19021 \end_layout
19022
19023 \begin_layout Standard
19024 \begin_inset Note Greyedout
19025 status open
19026
19027 \begin_layout Standard
19028
19029 \series bold
19030 Note:
19031 \series default
19032  Not all DVI-viewers are able to display rotated floats.
19033 \end_layout
19034
19035 \end_inset
19036
19037
19038 \end_layout
19039
19040 \begin_layout Standard
19041 \begin_inset Float table
19042 wide false
19043 sideways true
19044 status open
19045
19046 \begin_layout Standard
19047 \begin_inset Caption
19048
19049 \begin_layout Standard
19050 \begin_inset LatexCommand label
19051 name "tab:Rotated-table"
19052
19053 \end_inset
19054
19055  Rotated table
19056 \end_layout
19057
19058 \end_inset
19059
19060
19061 \end_layout
19062
19063 \begin_layout Standard
19064 \align center
19065 \begin_inset Tabular
19066 <lyxtabular version="3" rows="1" columns="5">
19067 <features>
19068 <column alignment="center" valignment="top" leftline="true" width="0">
19069 <column alignment="center" valignment="top" leftline="true" width="0">
19070 <column alignment="center" valignment="top" leftline="true" width="0">
19071 <column alignment="center" valignment="top" leftline="true" width="0">
19072 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
19073 <row topline="true" bottomline="true">
19074 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19075 \begin_inset Text
19076
19077 \begin_layout Standard
19078 test
19079 \end_layout
19080
19081 \end_inset
19082 </cell>
19083 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19084 \begin_inset Text
19085
19086 \begin_layout Standard
19087 b
19088 \end_layout
19089
19090 \end_inset
19091 </cell>
19092 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19093 \begin_inset Text
19094
19095 \begin_layout Standard
19096 c
19097 \end_layout
19098
19099 \end_inset
19100 </cell>
19101 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19102 \begin_inset Text
19103
19104 \begin_layout Standard
19105 d
19106 \end_layout
19107
19108 \end_inset
19109 </cell>
19110 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19111 \begin_inset Text
19112
19113 \begin_layout Standard
19114 e
19115 \end_layout
19116
19117 \end_inset
19118 </cell>
19119 </row>
19120 </lyxtabular>
19121
19122 \end_inset
19123
19124
19125 \end_layout
19126
19127 \end_inset
19128
19129
19130 \end_layout
19131
19132 \begin_layout Section
19133 Caption Formatting
19134 \begin_inset LatexCommand index
19135 name "Caption ! Formatting"
19136
19137 \end_inset
19138
19139
19140 \begin_inset LatexCommand index
19141 name "Floats ! Caption Formatting"
19142
19143 \end_inset
19144
19145
19146 \begin_inset LatexCommand index
19147 name "LaTeX-packages ! caption"
19148
19149 \end_inset
19150
19151
19152 \begin_inset LatexCommand label
19153 name "sec:Caption-Formatting"
19154
19155 \end_inset
19156
19157
19158 \end_layout
19159
19160 \begin_layout Standard
19161 The 
19162 \family sans
19163 Caption
19164 \family default
19165  environment is the default paragraph environment for 
19166 \family sans
19167 Floats
19168 \family default
19169 .
19170  On the LyX screen captions appear as label, e.\InsetSpace \thinspace{}
19171 g.\InsetSpace ~
19172
19173 \begin_inset Quotes eld
19174 \end_inset
19175
19176
19177 \family sans
19178 Figure #:
19179 \family default
19180
19181 \begin_inset Quotes erd
19182 \end_inset
19183
19184  followed by the caption text.
19185  The number sign 
19186 \begin_inset Quotes eld
19187 \end_inset
19188
19189 #
19190 \begin_inset Quotes erd
19191 \end_inset
19192
19193  is substituted in the printed output by the actual reference number.
19194  By default the label and the number are in the same font as the caption
19195  text and a colon follows the number to divide then label from the text.
19196  This caption format is not suitable for all document formats.
19197  
19198 \end_layout
19199
19200 \begin_layout Standard
19201 To change the default caption format, load the LaTeX-package 
19202 \series bold
19203 caption
19204 \series default
19205
19206 \begin_inset LatexCommand index
19207 name "LaTeX-packages ! caption"
19208
19209 \end_inset
19210
19211  in the document preamble with this line:
19212 \end_layout
19213
19214 \begin_layout Standard
19215
19216 \series bold
19217
19218 \backslash
19219 usepackage[format definition]{caption}
19220 \end_layout
19221
19222 \begin_layout Standard
19223 To have for example the label and the number in sans-serif bold font and
19224  the table captions always above the table like in this document, use the
19225  following command:
19226 \end_layout
19227
19228 \begin_layout Standard
19229
19230 \series bold
19231
19232 \backslash
19233 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
19234 \end_layout
19235
19236 \begin_layout Standard
19237 You can also define different caption formats for the different float types.
19238  In this case load the 
19239 \series bold
19240 caption
19241 \series default
19242  package without format specific options and define the different formats
19243  with the help of the command
19244 \end_layout
19245
19246 \begin_layout Standard
19247
19248 \series bold
19249
19250 \backslash
19251 captionsetup[float type]{format definition}
19252 \end_layout
19253
19254 \begin_layout Standard
19255 in the document preamble.
19256  For example the caption formats of Figure\InsetSpace ~
19257
19258 \begin_inset LatexCommand ref
19259 reference "fig:This-is-an-fig"
19260
19261 \end_inset
19262
19263  and Table\InsetSpace ~
19264
19265 \begin_inset LatexCommand ref
19266 reference "tab:This-is-an-tab"
19267
19268 \end_inset
19269
19270  can be created using these commands in the document preamble:
19271 \end_layout
19272
19273 \begin_layout Standard
19274
19275 \series bold
19276
19277 \backslash
19278 usepackage[tableposition=top]{caption}
19279 \series default
19280
19281 \newline
19282
19283 \series bold
19284
19285 \backslash
19286 captionsetup[f\SpecialChar \textcompwordmark{}
19287 igure]{labelfont={tt}, textfont=it, indention=1cm,%
19288 \newline
19289
19290 \begin_inset ERT
19291 status collapsed
19292
19293 \begin_layout Standard
19294
19295
19296 \backslash
19297 hphantom{
19298 \backslash
19299
19300 \backslash
19301 captionsetup[figure]
19302 \backslash
19303 {}
19304 \end_layout
19305
19306 \end_inset
19307
19308  labelsep=period}
19309 \newline
19310
19311 \backslash
19312 captionsetup[table]{labelfont={bf,sf}}
19313 \end_layout
19314
19315 \begin_layout Standard
19316 \begin_inset Note Greyedout
19317 status open
19318
19319 \begin_layout Standard
19320
19321 \series bold
19322 Note:
19323 \series default
19324  The option 
19325 \series bold
19326 tableposition=top
19327 \series default
19328  has no effect when a 
19329 \series bold
19330 koma-script
19331 \series default
19332
19333 \begin_inset LatexCommand index
19334 name "LaTeX-packages ! koma-script"
19335
19336 \end_inset
19337
19338  document class is used.
19339  In this case the document class option 
19340 \series bold
19341 tablecaptionabove
19342 \series default
19343  must be used.
19344 \end_layout
19345
19346 \end_inset
19347
19348
19349 \end_layout
19350
19351 \begin_layout Standard
19352 For more information about the package 
19353 \series bold
19354 caption
19355 \series default
19356  we refer to its documentation 
19357 \begin_inset LatexCommand cite
19358 key "caption,caption-de"
19359
19360 \end_inset
19361
19362 .
19363 \end_layout
19364
19365 \begin_layout Standard
19366 To change the label name from e.g.
19367  
19368 \begin_inset Quotes eld
19369 \end_inset
19370
19371 Figure
19372 \begin_inset Quotes erd
19373 \end_inset
19374
19375  to 
19376 \begin_inset Quotes eld
19377 \end_inset
19378
19379 Image
19380 \begin_inset Quotes erd
19381 \end_inset
19382
19383  use this preamble command:
19384 \end_layout
19385
19386 \begin_layout Standard
19387
19388 \series bold
19389
19390 \backslash
19391 renewcommand{
19392 \backslash
19393 fnum@figure}{Image~
19394 \backslash
19395 thefigure}
19396 \end_layout
19397
19398 \begin_layout Standard
19399 where 
19400 \series bold
19401
19402 \backslash
19403 thefigure
19404 \series default
19405  inserts the figure number and
19406 \series bold
19407  
19408 \begin_inset Quotes eld
19409 \end_inset
19410
19411 ~
19412 \series default
19413
19414 \begin_inset Quotes erd
19415 \end_inset
19416
19417  creates a protected space.
19418 \end_layout
19419
19420 \begin_layout Standard
19421 \begin_inset VSpace bigskip
19422 \end_inset
19423
19424 If you are using a 
19425 \series bold
19426 koma-script
19427 \series default
19428
19429 \begin_inset LatexCommand index
19430 name "LaTeX-packages ! koma-script"
19431
19432 \end_inset
19433
19434  document class (
19435 \family sans
19436 article (koma-script)
19437 \family default
19438
19439 \family sans
19440 book (koma-script)
19441 \family default
19442
19443 \family sans
19444 letter (koma-script)
19445 \family default
19446 , or 
19447 \family sans
19448 report (koma-script)
19449 \family default
19450 \InsetSpace \thinspace{}
19451 ), you can alternatively to the 
19452 \series bold
19453 caption
19454 \series default
19455  package use 
19456 \series bold
19457 koma-script
19458 \series default
19459 's built-in command 
19460 \series bold
19461
19462 \backslash
19463 setkomafont
19464 \series default
19465 .
19466  For example, to have the caption label in bold, add this command to your
19467  document preamble:
19468 \end_layout
19469
19470 \begin_layout Standard
19471
19472 \series bold
19473
19474 \backslash
19475 setkomafont{captionlabel}{
19476 \backslash
19477 bfseries}
19478 \end_layout
19479
19480 \begin_layout Standard
19481 For more information about 
19482 \series bold
19483
19484 \backslash
19485 setkomafont
19486 \series default
19487  we refer to the 
19488 \series bold
19489 koma-script
19490 \series default
19491  documentation 
19492 \begin_inset LatexCommand cite
19493 key "koma-script,koma-script-de"
19494
19495 \end_inset
19496
19497 .
19498 \end_layout
19499
19500 \begin_layout Standard
19501 \begin_inset ERT
19502 status collapsed
19503
19504 \begin_layout Standard
19505
19506
19507 \backslash
19508 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
19509 }
19510 \end_layout
19511
19512 \end_inset
19513
19514
19515 \begin_inset Note Note
19516 status open
19517
19518 \begin_layout Standard
19519 The caption format is changed only for this example.
19520 \end_layout
19521
19522 \end_inset
19523
19524
19525 \end_layout
19526
19527 \begin_layout Standard
19528 \begin_inset Float figure
19529 placement !p
19530 wide false
19531 sideways false
19532 status open
19533
19534 \begin_layout Standard
19535 \align center
19536 \begin_inset Graphics
19537         filename clipart/mobius.eps
19538         lyxscale 50
19539         scale 50
19540
19541 \end_inset
19542
19543
19544 \end_layout
19545
19546 \begin_layout Standard
19547 \begin_inset Caption
19548
19549 \begin_layout Standard
19550 \begin_inset LatexCommand label
19551 name "fig:This-is-an-fig"
19552
19553 \end_inset
19554
19555 This is an example figure caption that is longer than one line to show the
19556  different caption format.
19557  Here a self-defined caption format is used.
19558 \end_layout
19559
19560 \end_inset
19561
19562
19563 \end_layout
19564
19565 \end_inset
19566
19567
19568 \end_layout
19569
19570 \begin_layout Standard
19571 \begin_inset ERT
19572 status collapsed
19573
19574 \begin_layout Standard
19575
19576
19577 \backslash
19578 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
19579 on}
19580 \end_layout
19581
19582 \end_inset
19583
19584
19585 \end_layout
19586
19587 \begin_layout Standard
19588 \begin_inset Float table
19589 placement !p
19590 wide false
19591 sideways false
19592 status open
19593
19594 \begin_layout Standard
19595 \begin_inset Caption
19596
19597 \begin_layout Standard
19598 \begin_inset LatexCommand label
19599 name "tab:This-is-an-tab"
19600
19601 \end_inset
19602
19603 This is an example table caption that is longer than one line to show the
19604  different caption format.
19605  Here the standard caption format for tables in this document is used.
19606 \end_layout
19607
19608 \end_inset
19609
19610
19611 \end_layout
19612
19613 \begin_layout Standard
19614 \align center
19615 \begin_inset Tabular
19616 <lyxtabular version="3" rows="1" columns="5">
19617 <features>
19618 <column alignment="center" valignment="top" leftline="true" width="0">
19619 <column alignment="center" valignment="top" leftline="true" width="0">
19620 <column alignment="center" valignment="top" leftline="true" width="0">
19621 <column alignment="center" valignment="top" leftline="true" width="0">
19622 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
19623 <row topline="true" bottomline="true">
19624 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19625 \begin_inset Text
19626
19627 \begin_layout Standard
19628 a
19629 \end_layout
19630
19631 \end_inset
19632 </cell>
19633 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19634 \begin_inset Text
19635
19636 \begin_layout Standard
19637 b
19638 \end_layout
19639
19640 \end_inset
19641 </cell>
19642 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19643 \begin_inset Text
19644
19645 \begin_layout Standard
19646 c
19647 \end_layout
19648
19649 \end_inset
19650 </cell>
19651 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19652 \begin_inset Text
19653
19654 \begin_layout Standard
19655 d
19656 \end_layout
19657
19658 \end_inset
19659 </cell>
19660 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19661 \begin_inset Text
19662
19663 \begin_layout Standard
19664 e
19665 \end_layout
19666
19667 \end_inset
19668 </cell>
19669 </row>
19670 </lyxtabular>
19671
19672 \end_inset
19673
19674
19675 \end_layout
19676
19677 \end_inset
19678
19679
19680 \end_layout
19681
19682 \begin_layout Section
19683 Caption Placement
19684 \begin_inset LatexCommand index
19685 name "Caption ! Placement"
19686
19687 \end_inset
19688
19689
19690 \begin_inset LatexCommand index
19691 name "Floats ! Caption Placement"
19692
19693 \end_inset
19694
19695
19696 \begin_inset LatexCommand label
19697 name "sec:Caption-Placement"
19698
19699 \end_inset
19700
19701
19702 \end_layout
19703
19704 \begin_layout Standard
19705 The common caption placement rule is:
19706 \end_layout
19707
19708 \begin_layout Description
19709 Figure: Caption is set below the figure
19710 \end_layout
19711
19712 \begin_layout Description
19713 Table: Caption is set above the table
19714 \end_layout
19715
19716 \begin_layout Standard
19717 Having the caption above the table is unfortunately not supported in LaTeX's
19718  standard classes.
19719  That means if you are using the document classes 
19720 \family sans
19721 article
19722 \family default
19723
19724 \family sans
19725 book
19726 \family default
19727
19728 \family sans
19729 letter
19730 \family default
19731 , or 
19732 \family sans
19733 report
19734 \family default
19735  there will be no space between the caption and the table.
19736  To insert the needed space, add the following option to the load command
19737  of the LaTeX-package 
19738 \series bold
19739 caption
19740 \series default
19741  in your document preamble
19742 \begin_inset Foot
19743 status collapsed
19744
19745 \begin_layout Standard
19746 See section\InsetSpace ~
19747
19748 \begin_inset LatexCommand ref
19749 reference "sec:Caption-Formatting"
19750
19751 \end_inset
19752
19753  for more information of the package 
19754 \series bold
19755 caption
19756 \series default
19757 .
19758 \end_layout
19759
19760 \end_inset
19761
19762 :
19763 \end_layout
19764
19765 \begin_layout Standard
19766
19767 \series bold
19768 tableposition=top
19769 \end_layout
19770
19771 \begin_layout Standard
19772 If you are using a 
19773 \series bold
19774 koma-script
19775 \series default
19776
19777 \begin_inset LatexCommand index
19778 name "LaTeX-packages ! koma-script"
19779
19780 \end_inset
19781
19782  document class (
19783 \family sans
19784 article (koma-script)
19785 \family default
19786
19787 \family sans
19788 book (koma-script)
19789 \family default
19790
19791 \family sans
19792 letter (koma-script)
19793 \family default
19794 , or 
19795 \family sans
19796 report (koma-script)
19797 \family default
19798 \InsetSpace \thinspace{}
19799 ), you can alternatively to the 
19800 \series bold
19801 caption
19802 \series default
19803  package set the document class option 
19804 \series bold
19805 tablecaptionabove
19806 \series default
19807 , or you can use the environment 
19808 \family sans
19809 caption\InsetSpace ~
19810 above
19811 \family default
19812  instead of the 
19813 \family sans
19814 caption
19815 \family default
19816  environment.
19817 \end_layout
19818
19819 \begin_layout Standard
19820 \begin_inset VSpace bigskip
19821 \end_inset
19822
19823 It is also possible to set the caption beside a figure or table.
19824  To get this the LaTeX-package 
19825 \series bold
19826 sidecap
19827 \series default
19828
19829 \begin_inset LatexCommand index
19830 name "LaTeX-packages ! sidecap"
19831
19832 \end_inset
19833
19834  has to be loaded in the document preamble with the line
19835 \end_layout
19836
19837 \begin_layout Standard
19838
19839 \series bold
19840
19841 \backslash
19842 usepackage[option]{sidecap}
19843 \end_layout
19844
19845 \begin_layout Standard
19846 If you set no option, the caption is placed on the side of the outer page
19847  margin -- to the right on odd pages, to the left on even pages.
19848  You can change the placement to inner margin with the option 
19849 \series bold
19850 innercaption
19851 \series default
19852 .
19853  To force the placement always to the right or left, use the option 
19854 \series bold
19855 rightcaption
19856 \series default
19857  or 
19858 \series bold
19859 leftcaption
19860 \series default
19861 , respectively.
19862 \end_layout
19863
19864 \begin_layout Standard
19865 To place in LyX the caption of a float on the side, it is necessary to add
19866  these commands to the document preamble:
19867 \end_layout
19868
19869 \begin_layout Standard
19870
19871 \lyxline
19872
19873 \end_layout
19874
19875 \begin_layout Standard
19876
19877 \series bold
19878
19879 \backslash
19880 newcommand{
19881 \backslash
19882 TabBesBeg}{%
19883 \newline
19884
19885 \begin_inset ERT
19886 status collapsed
19887
19888 \begin_layout Standard
19889
19890
19891 \backslash
19892 hphantom{ }
19893 \end_layout
19894
19895 \end_inset
19896
19897
19898 \backslash
19899 let
19900 \backslash
19901 MyTable
19902 \backslash
19903 table
19904 \newline
19905
19906 \begin_inset ERT
19907 status collapsed
19908
19909 \begin_layout Standard
19910
19911
19912 \backslash
19913 hphantom{ }
19914 \end_layout
19915
19916 \end_inset
19917
19918
19919 \backslash
19920 let
19921 \backslash
19922 MyEndtable
19923 \backslash
19924 endtable
19925 \newline
19926
19927 \begin_inset ERT
19928 status collapsed
19929
19930 \begin_layout Standard
19931
19932
19933 \backslash
19934 hphantom{ }
19935 \end_layout
19936
19937 \end_inset
19938
19939
19940 \backslash
19941 renewenvironment{table}{
19942 \backslash
19943 begin{SCtable}}{
19944 \backslash
19945 end{SCtable}}}
19946 \end_layout
19947
19948 \begin_layout Standard
19949
19950 \series bold
19951
19952 \backslash
19953 newcommand{
19954 \backslash
19955 TabBesEnd}{%
19956 \newline
19957
19958 \begin_inset ERT
19959 status collapsed
19960
19961 \begin_layout Standard
19962
19963
19964 \backslash
19965 hphantom{ }
19966 \end_layout
19967
19968 \end_inset
19969
19970
19971 \backslash
19972 let
19973 \backslash
19974 table
19975 \backslash
19976 MyTable
19977 \newline
19978
19979 \begin_inset ERT
19980 status collapsed
19981
19982 \begin_layout Standard
19983
19984
19985 \backslash
19986 hphantom{ }
19987 \end_layout
19988
19989 \end_inset
19990
19991
19992 \backslash
19993 let
19994 \backslash
19995 endtable
19996 \backslash
19997 MyEndtable
19998 \end_layout
19999
20000 \begin_layout Standard
20001
20002 \series bold
20003
20004 \backslash
20005 newcommand{
20006 \backslash
20007 FigBesBeg}{%
20008 \newline
20009
20010 \begin_inset ERT
20011 status collapsed
20012
20013 \begin_layout Standard
20014
20015
20016 \backslash
20017 hphantom{ }
20018 \end_layout
20019
20020 \end_inset
20021
20022
20023 \backslash
20024 let
20025 \backslash
20026 MyFigure
20027 \backslash
20028 f\SpecialChar \textcompwordmark{}
20029 igure
20030 \newline
20031
20032 \begin_inset ERT
20033 status collapsed
20034
20035 \begin_layout Standard
20036
20037
20038 \backslash
20039 hphantom{ }
20040 \end_layout
20041
20042 \end_inset
20043
20044
20045 \backslash
20046 let
20047 \backslash
20048 MyEndf\SpecialChar \textcompwordmark{}
20049 igure
20050 \backslash
20051 endf\SpecialChar \textcompwordmark{}
20052 igure
20053 \newline
20054
20055 \begin_inset ERT
20056 status collapsed
20057
20058 \begin_layout Standard
20059
20060
20061 \backslash
20062 hphantom{ }
20063 \end_layout
20064
20065 \end_inset
20066
20067
20068 \backslash
20069 renewenvironment{f\SpecialChar \textcompwordmark{}
20070 igure}{
20071 \backslash
20072 begin{SCf\SpecialChar \textcompwordmark{}
20073 igure}}{
20074 \backslash
20075 end{SCf\SpecialChar \textcompwordmark{}
20076 igure}}}
20077 \end_layout
20078
20079 \begin_layout Standard
20080
20081 \series bold
20082
20083 \backslash
20084 newcommand{
20085 \backslash
20086 FigBesEnd}{%
20087 \newline
20088
20089 \begin_inset ERT
20090 status collapsed
20091
20092 \begin_layout Standard
20093
20094
20095 \backslash
20096 hphantom{ }
20097 \end_layout
20098
20099 \end_inset
20100
20101
20102 \backslash
20103 let
20104 \backslash
20105 f\SpecialChar \textcompwordmark{}
20106 igure
20107 \backslash
20108 MyFigure
20109 \newline
20110
20111 \begin_inset ERT
20112 status collapsed
20113
20114 \begin_layout Standard
20115
20116
20117 \backslash
20118 hphantom{ }
20119 \end_layout
20120
20121 \end_inset
20122
20123
20124 \backslash
20125 let
20126 \backslash
20127 endf\SpecialChar \textcompwordmark{}
20128 igure
20129 \backslash
20130 MyEndf\SpecialChar \textcompwordmark{}
20131 igure}
20132 \end_layout
20133
20134 \begin_layout Standard
20135
20136 \lyxline
20137
20138 \end_layout
20139
20140 \begin_layout Standard
20141 The commands allow you to redefine the floats so that the caption is set
20142  on the side.
20143  For figure floats use the command
20144 \end_layout
20145
20146 \begin_layout Standard
20147
20148 \series bold
20149
20150 \backslash
20151 FigBesBeg
20152 \end_layout
20153
20154 \begin_layout Standard
20155 in ERT before the float.
20156  Behind the float insert the command
20157 \end_layout
20158
20159 \begin_layout Standard
20160
20161 \series bold
20162
20163 \backslash
20164 FigBesEnd
20165 \end_layout
20166
20167 \begin_layout Standard
20168 in ERT to get back to the original float definition.
20169 \end_layout
20170
20171 \begin_layout Standard
20172 For table floats use the corresponding commands
20173 \end_layout
20174
20175 \begin_layout Standard
20176
20177 \series bold
20178
20179 \backslash
20180 TabBesBeg
20181 \series default
20182  and 
20183 \series bold
20184
20185 \backslash
20186 TabBesEnd
20187 \end_layout
20188
20189 \begin_layout Standard
20190 Figure\InsetSpace ~
20191
20192 \begin_inset LatexCommand ref
20193 reference "fig:cap-beside-fig"
20194
20195 \end_inset
20196
20197  and Table\InsetSpace ~
20198
20199 \begin_inset LatexCommand ref
20200 reference "tab:cap-beside-tab"
20201
20202 \end_inset
20203
20204  are examples where the caption is set beside.
20205 \end_layout
20206
20207 \begin_layout Standard
20208 You can see in the examples that the caption text appears at the top of
20209  the floats for table floats and at the bottom for figure floats.
20210  To change this, you can use the command
20211 \end_layout
20212
20213 \begin_layout Standard
20214
20215 \series bold
20216
20217 \backslash
20218 sidecaptionvpos{float type}{placement}
20219 \end_layout
20220
20221 \begin_layout Standard
20222 in the document preamble or in ERT before the float.
20223  The float type is either 
20224 \family sans
20225 figure
20226 \family default
20227  or 
20228 \family sans
20229 table
20230 \family default
20231 , the placement can be 
20232 \begin_inset Quotes eld
20233 \end_inset
20234
20235
20236 \family sans
20237 t
20238 \family default
20239
20240 \begin_inset Quotes erd
20241 \end_inset
20242
20243  for top, 
20244 \begin_inset Quotes eld
20245 \end_inset
20246
20247
20248 \family sans
20249 c
20250 \family default
20251
20252 \begin_inset Quotes erd
20253 \end_inset
20254
20255  for center, or 
20256 \begin_inset Quotes eld
20257 \end_inset
20258
20259
20260 \family sans
20261 b
20262 \family default
20263
20264 \begin_inset Quotes erd
20265 \end_inset
20266
20267  for bottom.
20268  To have for example the caption of figure floats vertically centered, use
20269  the command
20270 \end_layout
20271
20272 \begin_layout Standard
20273
20274 \series bold
20275
20276 \backslash
20277 sidecaptionvpos{f\SpecialChar \textcompwordmark{}
20278 igure}{c}
20279 \end_layout
20280
20281 \begin_layout Standard
20282 This was used for Figure\InsetSpace ~
20283
20284 \begin_inset LatexCommand ref
20285 reference "fig:cap-beside-fig-2"
20286
20287 \end_inset
20288
20289 .
20290 \end_layout
20291
20292 \begin_layout Standard
20293 \begin_inset VSpace defskip
20294 \end_inset
20295
20296 For more information about the package 
20297 \series bold
20298 sidecap
20299 \series default
20300  we refer to its documentation 
20301 \begin_inset LatexCommand cite
20302 key "sidecap"
20303
20304 \end_inset
20305
20306 .
20307 \end_layout
20308
20309 \begin_layout Standard
20310 \begin_inset Note Greyedout
20311 status open
20312
20313 \begin_layout Standard
20314
20315 \series bold
20316 Note:
20317 \series default
20318  The LaTeX-package 
20319 \series bold
20320 hypcap
20321 \series default
20322
20323 \begin_inset LatexCommand index
20324 name "LaTeX-packages ! hypcap"
20325
20326 \end_inset
20327
20328 , described in section\InsetSpace ~
20329
20330 \begin_inset LatexCommand ref
20331 reference "sub:Reference-Position"
20332
20333 \end_inset
20334
20335 , has no effect on floats with the caption set beside.
20336 \end_layout
20337
20338 \end_inset
20339
20340
20341 \end_layout
20342
20343 \begin_layout Standard
20344 \begin_inset ERT
20345 status collapsed
20346
20347 \begin_layout Standard
20348
20349
20350 \backslash
20351 FigBesBeg 
20352 \end_layout
20353
20354 \end_inset
20355
20356
20357 \end_layout
20358
20359 \begin_layout Standard
20360 \begin_inset Float figure
20361 wide false
20362 sideways false
20363 status open
20364
20365 \begin_layout Standard
20366 \begin_inset Graphics
20367         filename clipart/escher-lsd.eps
20368         scale 75
20369
20370 \end_inset
20371
20372
20373 \end_layout
20374
20375 \begin_layout Standard
20376 \begin_inset Caption
20377
20378 \begin_layout Standard
20379 \begin_inset LatexCommand label
20380 name "fig:cap-beside-fig"
20381
20382 \end_inset
20383
20384 This is a caption beside a figure.
20385 \end_layout
20386
20387 \end_inset
20388
20389
20390 \end_layout
20391
20392 \end_inset
20393
20394
20395 \end_layout
20396
20397 \begin_layout Standard
20398 \begin_inset ERT
20399 status collapsed
20400
20401 \begin_layout Standard
20402
20403
20404 \backslash
20405 TabBesBeg 
20406 \end_layout
20407
20408 \end_inset
20409
20410
20411 \end_layout
20412
20413 \begin_layout Standard
20414 \begin_inset Float table
20415 wide false
20416 sideways false
20417 status open
20418
20419 \begin_layout Standard
20420 \begin_inset Caption
20421
20422 \begin_layout Standard
20423 \begin_inset LatexCommand label
20424 name "tab:cap-beside-tab"
20425
20426 \end_inset
20427
20428 This is a caption beside a table.
20429 \end_layout
20430
20431 \end_inset
20432
20433
20434 \end_layout
20435
20436 \begin_layout Standard
20437 \begin_inset Tabular
20438 <lyxtabular version="3" rows="4" columns="5">
20439 <features>
20440 <column alignment="center" valignment="top" leftline="true" width="0">
20441 <column alignment="center" valignment="top" leftline="true" width="0">
20442 <column alignment="center" valignment="top" leftline="true" width="0">
20443 <column alignment="center" valignment="top" leftline="true" width="0">
20444 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
20445 <row topline="true">
20446 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20447 \begin_inset Text
20448
20449 \begin_layout Standard
20450 a
20451 \end_layout
20452
20453 \end_inset
20454 </cell>
20455 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20456 \begin_inset Text
20457
20458 \begin_layout Standard
20459
20460 \end_layout
20461
20462 \end_inset
20463 </cell>
20464 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20465 \begin_inset Text
20466
20467 \begin_layout Standard
20468 b
20469 \end_layout
20470
20471 \end_inset
20472 </cell>
20473 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20474 \begin_inset Text
20475
20476 \begin_layout Standard
20477
20478 \end_layout
20479
20480 \end_inset
20481 </cell>
20482 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20483 \begin_inset Text
20484
20485 \begin_layout Standard
20486 c
20487 \end_layout
20488
20489 \end_inset
20490 </cell>
20491 </row>
20492 <row topline="true">
20493 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20494 \begin_inset Text
20495
20496 \begin_layout Standard
20497
20498 \end_layout
20499
20500 \end_inset
20501 </cell>
20502 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20503 \begin_inset Text
20504
20505 \begin_layout Standard
20506 d
20507 \end_layout
20508
20509 \end_inset
20510 </cell>
20511 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20512 \begin_inset Text
20513
20514 \begin_layout Standard
20515
20516 \end_layout
20517
20518 \end_inset
20519 </cell>
20520 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20521 \begin_inset Text
20522
20523 \begin_layout Standard
20524 e
20525 \end_layout
20526
20527 \end_inset
20528 </cell>
20529 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20530 \begin_inset Text
20531
20532 \begin_layout Standard
20533
20534 \end_layout
20535
20536 \end_inset
20537 </cell>
20538 </row>
20539 <row topline="true">
20540 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20541 \begin_inset Text
20542
20543 \begin_layout Standard
20544 f
20545 \end_layout
20546
20547 \end_inset
20548 </cell>
20549 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20550 \begin_inset Text
20551
20552 \begin_layout Standard
20553
20554 \end_layout
20555
20556 \end_inset
20557 </cell>
20558 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20559 \begin_inset Text
20560
20561 \begin_layout Standard
20562 g
20563 \end_layout
20564
20565 \end_inset
20566 </cell>
20567 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20568 \begin_inset Text
20569
20570 \begin_layout Standard
20571
20572 \end_layout
20573
20574 \end_inset
20575 </cell>
20576 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20577 \begin_inset Text
20578
20579 \begin_layout Standard
20580 h
20581 \end_layout
20582
20583 \end_inset
20584 </cell>
20585 </row>
20586 <row topline="true" bottomline="true">
20587 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20588 \begin_inset Text
20589
20590 \begin_layout Standard
20591
20592 \end_layout
20593
20594 \end_inset
20595 </cell>
20596 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20597 \begin_inset Text
20598
20599 \begin_layout Standard
20600 i
20601 \end_layout
20602
20603 \end_inset
20604 </cell>
20605 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20606 \begin_inset Text
20607
20608 \begin_layout Standard
20609
20610 \end_layout
20611
20612 \end_inset
20613 </cell>
20614 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20615 \begin_inset Text
20616
20617 \begin_layout Standard
20618 j
20619 \end_layout
20620
20621 \end_inset
20622 </cell>
20623 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20624 \begin_inset Text
20625
20626 \begin_layout Standard
20627
20628 \end_layout
20629
20630 \end_inset
20631 </cell>
20632 </row>
20633 </lyxtabular>
20634
20635 \end_inset
20636
20637
20638 \end_layout
20639
20640 \end_inset
20641
20642
20643 \end_layout
20644
20645 \begin_layout Standard
20646 \begin_inset ERT
20647 status collapsed
20648
20649 \begin_layout Standard
20650
20651
20652 \backslash
20653 TabBesEnd
20654 \end_layout
20655
20656 \end_inset
20657
20658
20659 \end_layout
20660
20661 \begin_layout Standard
20662 \begin_inset ERT
20663 status collapsed
20664
20665 \begin_layout Standard
20666
20667
20668 \backslash
20669 sidecaptionvpos{figure}{c}
20670 \end_layout
20671
20672 \end_inset
20673
20674
20675 \begin_inset Float figure
20676 wide false
20677 sideways false
20678 status open
20679
20680 \begin_layout Standard
20681 \begin_inset Graphics
20682         filename clipart/escher-lsd.eps
20683         scale 75
20684
20685 \end_inset
20686
20687
20688 \end_layout
20689
20690 \begin_layout Standard
20691 \begin_inset Caption
20692
20693 \begin_layout Standard
20694 \begin_inset LatexCommand label
20695 name "fig:cap-beside-fig-2"
20696
20697 \end_inset
20698
20699 This is a vertically centered caption beside a figure.
20700 \end_layout
20701
20702 \end_inset
20703
20704
20705 \end_layout
20706
20707 \end_inset
20708
20709
20710 \end_layout
20711
20712 \begin_layout Standard
20713 \begin_inset ERT
20714 status collapsed
20715
20716 \begin_layout Standard
20717
20718
20719 \backslash
20720 FigBesEnd
20721 \end_layout
20722
20723 \end_inset
20724
20725
20726 \end_layout
20727
20728 \begin_layout Section
20729 Listings of Floats
20730 \begin_inset LatexCommand label
20731 name "sec:Listings-of-Floats"
20732
20733 \end_inset
20734
20735
20736 \begin_inset LatexCommand index
20737 name "Floats ! Listings"
20738
20739 \end_inset
20740
20741
20742 \end_layout
20743
20744 \begin_layout Standard
20745 Similar to the the table of contents where the sections of the document
20746  are listed, there are listings for all float types, like the figures of
20747  the documents.
20748  You can insert them via the 
20749 \family sans
20750 Insert\SpecialChar \menuseparator
20751 List\InsetSpace ~
20752 /\InsetSpace ~
20753 TOC
20754 \family default
20755  sub menus.
20756 \end_layout
20757
20758 \begin_layout Standard
20759 The list entries are the float captions or its short title, the float number,
20760  and the page number where they appear in the document.
20761 \end_layout
20762
20763 \begin_layout Standard
20764 You can find the list of figures and tables at the end of this document.
20765 \end_layout
20766
20767 \begin_layout Chapter
20768 Notes
20769 \end_layout
20770
20771 \begin_layout Section
20772 \begin_inset ERT
20773 status collapsed
20774
20775 \begin_layout Standard
20776
20777
20778 \backslash
20779 texorpdfstring{
20780 \end_layout
20781
20782 \end_inset
20783
20784 LyX
20785 \begin_inset ERT
20786 status collapsed
20787
20788 \begin_layout Standard
20789
20790 }{LyX}
20791 \end_layout
20792
20793 \end_inset
20794
20795  Notes
20796 \begin_inset LatexCommand label
20797 name "sec:LyX-Notes"
20798
20799 \end_inset
20800
20801
20802 \begin_inset LatexCommand index
20803 name "Notes ! LyX Notes"
20804
20805 \end_inset
20806
20807
20808 \begin_inset Note Note
20809 status collapsed
20810
20811 \begin_layout Standard
20812 The command 
20813 \backslash
20814 texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures
20815  are displayed wrongly in PDF-bookmarks.
20816  For more information about this, have a look at 
20817 \begin_inset LatexCommand cite
20818 key "hyperref"
20819
20820 \end_inset
20821
20822 .
20823 \end_layout
20824
20825 \end_inset
20826
20827
20828 \end_layout
20829
20830 \begin_layout Standard
20831 Notes are inserted with the toolbar button 
20832 \begin_inset Graphics
20833         filename ../images/note-insert.xpm
20834         scale 85
20835
20836 \end_inset
20837
20838  or the menu 
20839 \family sans
20840 Insert\SpecialChar \menuseparator
20841 Note
20842 \family default
20843 .
20844  There are three types of notes:
20845 \end_layout
20846
20847 \begin_layout Description
20848 LyX\InsetSpace ~
20849 Note This note type is for internal notes that won't appear in the output.
20850  Its note-box looks like this:
20851 \newline
20852
20853 \newline
20854
20855 \begin_inset Graphics
20856         filename clipart/LyXNoteImageQt4.png
20857         display none
20858         scale 85
20859
20860 \end_inset
20861
20862  
20863 \begin_inset Note Note
20864 status open
20865
20866 \begin_layout Standard
20867 This is text in a note box that doesn't appear in the output.
20868 \end_layout
20869
20870 \end_inset
20871
20872
20873 \end_layout
20874
20875 \begin_layout Description
20876 Comment This note also doesn't appear in the output but it appears as LaTeX-comm
20877 ent, when you export the document to LaTeX via the menu 
20878 \family sans
20879 File\SpecialChar \menuseparator
20880 Export\SpecialChar \menuseparator
20881 LaTeX (pdflatex) / LaTeX (plain)
20882 \family default
20883 .
20884  Its note-box looks like this:
20885 \newline
20886
20887 \newline
20888
20889 \begin_inset Graphics
20890         filename clipart/CommentNoteImageQt4.png
20891         display none
20892         scale 85
20893
20894 \end_inset
20895
20896  
20897 \begin_inset Note Comment
20898 status open
20899
20900 \begin_layout Standard
20901 This is text in a note box that only appears as comment in LaTeX-files.
20902 \end_layout
20903
20904 \end_inset
20905
20906
20907 \end_layout
20908
20909 \begin_layout Description
20910 Greyed\InsetSpace ~
20911 Out This note will appear in the output as grey text.
20912  Its note-box looks like this:
20913 \newline
20914
20915 \newline
20916
20917 \begin_inset Graphics
20918         filename clipart/GreyedOutNoteImageQt4.png
20919         display none
20920         scale 85
20921
20922 \end_inset
20923
20924
20925 \newline
20926
20927 \begin_inset ERT
20928 status collapsed
20929
20930 \begin_layout Standard
20931
20932
20933 \backslash
20934 renewenvironment{lyxgreyedout}
20935 \end_layout
20936
20937 \begin_layout Standard
20938
20939 {
20940 \backslash
20941 textcolor[gray]{0.8}
20942 \backslash
20943 bgroup}{
20944 \backslash
20945 egroup}
20946 \end_layout
20947
20948 \end_inset
20949
20950
20951 \begin_inset Note Greyedout
20952 status open
20953
20954 \begin_layout Standard
20955 This is text
20956 \begin_inset Foot
20957 status open
20958
20959 \begin_layout Standard
20960 This is an example footnote within a greyed out note.
20961 \end_layout
20962
20963 \end_inset
20964
20965  of a comment that appears in the output as grey text.
20966 \end_layout
20967
20968 \end_inset
20969
20970
20971 \begin_inset ERT
20972 status collapsed
20973
20974 \begin_layout Standard
20975
20976
20977 \backslash
20978 renewenvironment{lyxgreyedout}
20979 \end_layout
20980
20981 \begin_layout Standard
20982
20983 {
20984 \backslash
20985 textcolor{blue}
20986 \backslash
20987 bgroup}{
20988 \backslash
20989 egroup}
20990 \end_layout
20991
20992 \end_inset
20993
20994
20995 \begin_inset Note Note
20996 status collapsed
20997
20998 \begin_layout Standard
20999 The greyed out note is here redefined to show it with the original LyX definitio
21000 n because greyed out notes are redefined in the preamble of this document,
21001  as described below, to have blue text.
21002 \end_layout
21003
21004 \end_inset
21005
21006
21007 \newline
21008
21009 \newline
21010 As you can see in the example, the first line of greyed out notes is a bit
21011  indented and greyed out notes can have footnotes.
21012 \end_layout
21013
21014 \begin_layout Description
21015 Framed This note will appear in the output as framed text.
21016  Its note-box looks like this:
21017 \newline
21018
21019 \newline
21020
21021 \begin_inset Graphics
21022         filename clipart/FramedNoteImageQt4.png
21023         display none
21024         scale 85
21025
21026 \end_inset
21027
21028  
21029 \begin_inset Note Framed
21030 status open
21031
21032 \begin_layout Standard
21033 This is text in a note box that appears framed in the output.
21034 \end_layout
21035
21036 \end_inset
21037
21038  In contrary to framed boxes
21039 \begin_inset Foot
21040 status collapsed
21041
21042 \begin_layout Standard
21043 Framed boxes are described in section\InsetSpace ~
21044
21045 \begin_inset LatexCommand ref
21046 reference "sec:Framed-Boxes"
21047
21048 \end_inset
21049
21050 .
21051 \end_layout
21052
21053 \end_inset
21054
21055  the frame uses always the whole text width and the note is set into its
21056  own paragraph.
21057 \end_layout
21058
21059 \begin_layout Description
21060 Shaded This note will appear in the output with red background color.
21061  Its note box looks like this:
21062 \newline
21063
21064 \newline
21065
21066 \begin_inset Graphics
21067         filename clipart/ShadedNoteImageQt4.png
21068         display none
21069         scale 85
21070
21071 \end_inset
21072
21073
21074 \begin_inset Note Shaded
21075 status open
21076
21077 \begin_layout Standard
21078 This text in a note box appears in the output with red background.
21079 \end_layout
21080
21081 \end_inset
21082
21083 In contrary to colored boxes
21084 \begin_inset Foot
21085 status collapsed
21086
21087 \begin_layout Standard
21088 Colored boxes are described in section\InsetSpace ~
21089
21090 \begin_inset LatexCommand ref
21091 reference "sec:Colored-Boxes"
21092
21093 \end_inset
21094
21095 .
21096 \end_layout
21097
21098 \end_inset
21099
21100  the note uses always the whole text width and the note is set into its
21101  own paragraph.
21102 \end_layout
21103
21104 \begin_layout Standard
21105 \begin_inset VSpace bigskip
21106 \end_inset
21107
21108 When you use the toolbar button to insert notes, a 
21109 \family sans
21110 LyX\InsetSpace ~
21111 Note
21112 \family default
21113  is inserted.
21114  You can switch between the three note types by right-clicking on the note-box.
21115  
21116 \family roman
21117 \series medium
21118 \bar no
21119 If you want to turn existing text into a note, mark it and click on the
21120  note
21121 \family default
21122 \series default
21123 \bar default
21124  toolbar 
21125 \family roman
21126 \series medium
21127 \bar no
21128 button
21129 \family default
21130 \series default
21131 \bar default
21132 .
21133 \end_layout
21134
21135 \begin_layout Standard
21136 \begin_inset VSpace bigskip
21137 \end_inset
21138
21139 You can change the text color of the greyed out notes in the preamble with
21140  the following command:
21141 \end_layout
21142
21143 \begin_layout Standard
21144
21145 \series bold
21146
21147 \backslash
21148 renewenvironment{lyxgreyedout}
21149 \newline
21150
21151 \begin_inset ERT
21152 status collapsed
21153
21154 \begin_layout Standard
21155
21156
21157 \backslash
21158 hphantom{ }
21159 \end_layout
21160
21161 \end_inset
21162
21163 {
21164 \backslash
21165 textcolor{color}
21166 \backslash
21167 bgroup}{
21168 \backslash
21169 egroup}
21170 \end_layout
21171
21172 \begin_layout Standard
21173 The available colors and the method to define own colors is explained in
21174  section\InsetSpace ~
21175
21176 \begin_inset LatexCommand ref
21177 reference "sec:Colored-Tables"
21178
21179 \end_inset
21180
21181 .
21182 \end_layout
21183
21184 \begin_layout Standard
21185 Notes that appear in blue in this document are set using greyed out notes
21186  with blue text.
21187 \end_layout
21188
21189 \begin_layout Standard
21190 \begin_inset VSpace bigskip
21191 \end_inset
21192
21193
21194 \end_layout
21195
21196 \begin_layout Standard
21197 The text style of 
21198 \family sans
21199 Framed
21200 \family default
21201  and 
21202 \family sans
21203 Shaded
21204 \family default
21205  notes can be set in the 
21206 \family sans
21207 Text Style
21208 \family default
21209  dialog.
21210 \end_layout
21211
21212 \begin_layout Standard
21213 The default frame width for 
21214 \family sans
21215 Framed
21216 \family default
21217  notes is 0.4\InsetSpace \thinspace{}
21218 pt; it can be changed by changing the size 
21219 \series bold
21220
21221 \backslash
21222 FrameRule
21223 \series default
21224 .
21225  The default space between the note content and the frame is 9\InsetSpace \thinspace{}
21226 pt; it can
21227  be changed by changing the size 
21228 \series bold
21229
21230 \backslash
21231 FrameSep
21232 \series default
21233 .
21234  For example the frame appearance of the following 
21235 \family sans
21236 Framed
21237 \family default
21238  note is set with the ERT commands
21239 \end_layout
21240
21241 \begin_layout Standard
21242
21243 \series bold
21244
21245 \backslash
21246 FrameRule 5pt 
21247 \backslash
21248 FrameSep 0.5cm
21249 \end_layout
21250
21251 \begin_layout Standard
21252 \begin_inset ERT
21253 status collapsed
21254
21255 \begin_layout Standard
21256
21257
21258 \backslash
21259 FrameRule 5pt 
21260 \backslash
21261 FrameSep 0.5cm
21262 \end_layout
21263
21264 \end_inset
21265
21266
21267 \begin_inset Note Framed
21268 status open
21269
21270 \begin_layout Standard
21271 This is text in a 
21272 \family sans
21273 Framed
21274 \family default
21275  note.
21276 \end_layout
21277
21278 \end_inset
21279
21280
21281 \begin_inset ERT
21282 status collapsed
21283
21284 \begin_layout Standard
21285
21286
21287 \backslash
21288 FrameRule 0.4pt 
21289 \backslash
21290 FrameSep 9pt
21291 \end_layout
21292
21293 \end_inset
21294
21295
21296 \end_layout
21297
21298 \begin_layout Standard
21299 \begin_inset VSpace bigskip
21300 \end_inset
21301
21302
21303 \end_layout
21304
21305 \begin_layout Standard
21306 For 
21307 \family sans
21308 Shaded
21309 \family default
21310  notes the default space between the note content and the note border is
21311  3\InsetSpace \thinspace{}
21312 pt; it can be changed by changing the size 
21313 \series bold
21314
21315 \backslash
21316 fboxsep
21317 \series default
21318 .
21319 \newline
21320 The default background color red can be changed with the command 
21321 \series bold
21322
21323 \backslash
21324 def\SpecialChar \textcompwordmark{}
21325 inecolor{shadebox}
21326 \series default
21327 .
21328  The scheme of the 
21329 \series bold
21330
21331 \backslash
21332 def\SpecialChar \textcompwordmark{}
21333 inecolor
21334 \series default
21335  command is explained in section\InsetSpace ~
21336
21337 \begin_inset LatexCommand ref
21338 reference "sec:Colored-Tables"
21339
21340 \end_inset
21341
21342
21343 \begin_inset Foot
21344 status collapsed
21345
21346 \begin_layout Standard
21347 Note that 
21348 \series bold
21349
21350 \backslash
21351 def
21352 \series default
21353 \SpecialChar \textcompwordmark{}
21354
21355 \series bold
21356 inecolor
21357 \series default
21358  requires the LaTeX-package 
21359 \series bold
21360 color
21361 \series default
21362  in the preamble, see section\InsetSpace ~
21363
21364 \begin_inset LatexCommand ref
21365 reference "sec:Colored-Boxes"
21366
21367 \end_inset
21368
21369 .
21370 \end_layout
21371
21372 \end_inset
21373
21374 .
21375 \end_layout
21376
21377 \begin_layout Standard
21378 For example the appearance of the following 
21379 \family sans
21380 Shaded
21381 \family default
21382  note is set with the ERT commands
21383 \end_layout
21384
21385 \begin_layout Standard
21386
21387 \series bold
21388
21389 \backslash
21390 fboxsep 0.5cm
21391 \series default
21392
21393 \newline
21394
21395 \series bold
21396
21397 \backslash
21398 def\SpecialChar \textcompwordmark{}
21399 inecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
21400 \end_layout
21401
21402 \begin_layout Standard
21403 \begin_inset ERT
21404 status collapsed
21405
21406 \begin_layout Standard
21407
21408
21409 \backslash
21410 fboxsep 0.5cm
21411 \end_layout
21412
21413 \end_inset
21414
21415
21416 \begin_inset ERT
21417 status collapsed
21418
21419 \begin_layout Standard
21420
21421
21422 \backslash
21423 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
21424 \end_layout
21425
21426 \end_inset
21427
21428
21429 \begin_inset Note Shaded
21430 status open
21431
21432 \begin_layout Standard
21433
21434 \color yellow
21435 This is yellow text in a
21436 \color none
21437  
21438 \family sans
21439 \color yellow
21440 Shaded
21441 \family default
21442 \color none
21443  
21444 \color yellow
21445 note with darkgreen background.
21446 \end_layout
21447
21448 \end_inset
21449
21450
21451 \begin_inset ERT
21452 status collapsed
21453
21454 \begin_layout Standard
21455
21456
21457 \backslash
21458 fboxsep 3pt
21459 \end_layout
21460
21461 \end_inset
21462
21463
21464 \begin_inset ERT
21465 status collapsed
21466
21467 \begin_layout Standard
21468
21469
21470 \backslash
21471 definecolor{shadecolor}{rgb}{1,0,0}
21472 \end_layout
21473
21474 \end_inset
21475
21476
21477 \end_layout
21478
21479 \begin_layout Section
21480 Footnotes
21481 \begin_inset LatexCommand label
21482 name "sec:Footnotes"
21483
21484 \end_inset
21485
21486
21487 \begin_inset LatexCommand index
21488 name "Notes ! Footnotes"
21489
21490 \end_inset
21491
21492
21493 \begin_inset LatexCommand index
21494 name "Footnotes"
21495
21496 \end_inset
21497
21498
21499 \end_layout
21500
21501 \begin_layout Standard
21502 Footnotes can be inserted using the toolbar button 
21503 \begin_inset Graphics
21504         filename ../images/footnote-insert.xpm
21505         scale 85
21506
21507 \end_inset
21508
21509  or the menu 
21510 \family sans
21511 Insert\SpecialChar \menuseparator
21512 Footnote
21513 \family default
21514 .
21515  
21516 \family roman
21517 \series medium
21518 \bar no
21519 You'll see
21520 \family default
21521 \series default
21522 \bar default
21523  then the following footnote-box: 
21524 \begin_inset Graphics
21525         filename clipart/footnoteQt4.png
21526         scale 80
21527
21528 \end_inset
21529
21530  
21531 \family roman
21532 \series medium
21533 \bar no
21534 where you can enter the footnote text.
21535  If you want to turn existing text into a footnote, mark it and click on
21536  the footnote
21537 \family default
21538 \series default
21539 \bar default
21540  toolbar 
21541 \family roman
21542 \series medium
21543 \bar no
21544 button
21545 \family default
21546 \series default
21547 \bar default
21548 .
21549 \end_layout
21550
21551 \begin_layout Standard
21552 Here is an example footnote:
21553 \family roman
21554 \series medium
21555 \bar no
21556
21557 \begin_inset Foot
21558 status open
21559
21560 \begin_layout Standard
21561 \begin_inset LatexCommand label
21562 name "foot:This-is-an"
21563
21564 \end_inset
21565
21566 This is an example footnote.
21567 \end_layout
21568
21569 \end_inset
21570
21571
21572 \family default
21573 \series default
21574 \bar default
21575
21576 \begin_inset ERT
21577 status collapsed
21578
21579 \begin_layout Standard
21580
21581
21582 \backslash
21583 newcounter{MyRepeatFoot}
21584 \end_layout
21585
21586 \begin_layout Standard
21587
21588
21589 \backslash
21590 setcounter{MyRepeatFoot}{
21591 \backslash
21592 thefootnote}
21593 \end_layout
21594
21595 \end_inset
21596
21597
21598 \end_layout
21599
21600 \begin_layout Standard
21601 The footnote will appear in the output as a superscript number at the text
21602  position where the footnote box is placed.
21603  The footnote text is placed at the bottom of the current page.
21604  The footnote number is calculated by LaTeX, the numbers are consecutive.
21605  It depends on your document-class, if the footnote number is reset for
21606  every chapter.
21607 \end_layout
21608
21609 \begin_layout Standard
21610 Footnotes can be referenced like floats: Insert a label into the footnote
21611  and cross-reference this label in the text as described in section\InsetSpace ~
21612
21613 \begin_inset LatexCommand ref
21614 reference "sec:Referencing-Floats"
21615
21616 \end_inset
21617
21618 .
21619 \newline
21620 This is a cross-reference of Footnote\InsetSpace ~
21621
21622 \begin_inset LatexCommand ref
21623 reference "foot:This-is-an"
21624
21625 \end_inset
21626
21627 .
21628 \newline
21629
21630 \begin_inset Note Greyedout
21631 status open
21632
21633 \begin_layout Standard
21634
21635 \series bold
21636 Note:
21637 \series default
21638  LyX doesn't provide a prefix for labels in footnotes, so you have to insert
21639  e.\InsetSpace \thinspace{}
21640 g.\InsetSpace ~
21641 the prefix 
21642 \family sans
21643
21644 \begin_inset Quotes eld
21645 \end_inset
21646
21647 foot:
21648 \family default
21649
21650 \begin_inset Quotes erd
21651 \end_inset
21652
21653  manually when you want to use the reference style 
21654 \family sans
21655 Formatted\InsetSpace ~
21656 reference
21657 \family default
21658 .
21659 \end_layout
21660
21661 \end_inset
21662
21663
21664 \end_layout
21665
21666 \begin_layout Standard
21667 \begin_inset VSpace defskip
21668 \end_inset
21669
21670 To use footnotes within tables, you have to use minipages, see section\InsetSpace ~
21671
21672 \begin_inset LatexCommand ref
21673 reference "sec:Minipages"
21674
21675 \end_inset
21676
21677 .
21678  Footnotes within longtables are described in section\InsetSpace ~
21679
21680 \begin_inset LatexCommand ref
21681 reference "sub:Footnotes-in-Longtables"
21682
21683 \end_inset
21684
21685 .
21686 \end_layout
21687
21688 \begin_layout Standard
21689 \begin_inset VSpace defskip
21690 \end_inset
21691
21692 To create only a mark for a footnote, use the command 
21693 \series bold
21694
21695 \backslash
21696 footnotemark[number]
21697 \series default
21698  in ERT.
21699  This is used when you have the same annotation several times in a text
21700  but doesn't want to print the footnote text every time.
21701 \newline
21702 As you don't know
21703  the number of the repeating footnote while you are writing the text, you
21704  have to store its number.
21705  For the following footnote mark example, these commands were inserted in
21706  ERT behind Footnote\InsetSpace ~
21707
21708 \begin_inset LatexCommand ref
21709 reference "foot:This-is-an"
21710
21711 \end_inset
21712
21713  to store the footnote number:
21714 \end_layout
21715
21716 \begin_layout Standard
21717
21718 \series bold
21719
21720 \backslash
21721 newcounter{MyRepeatFoot}
21722 \newline
21723
21724 \backslash
21725 setcounter{MyRepeatFoot}{
21726 \backslash
21727 thefootnote}
21728 \end_layout
21729
21730 \begin_layout Standard
21731 The footnote mark was then created with this command:
21732 \end_layout
21733
21734 \begin_layout Standard
21735
21736 \series bold
21737
21738 \backslash
21739 footnotemark[
21740 \backslash
21741 theMyRepeatFoot]
21742 \end_layout
21743
21744 \begin_layout Standard
21745 Here is an example footnote mark:
21746 \family roman
21747 \series medium
21748 \bar no
21749
21750 \begin_inset ERT
21751 status collapsed
21752
21753 \begin_layout Standard
21754
21755
21756 \backslash
21757 footnotemark[
21758 \backslash
21759 theMyRepeatFoot]
21760 \end_layout
21761
21762 \end_inset
21763
21764
21765 \end_layout
21766
21767 \begin_layout Subsection
21768 Footnote Numbering
21769 \begin_inset LatexCommand label
21770 name "sub:Footnote-Numbering"
21771
21772 \end_inset
21773
21774
21775 \begin_inset LatexCommand index
21776 name "Footnotes ! Numbering"
21777
21778 \end_inset
21779
21780
21781 \end_layout
21782
21783 \begin_layout Standard
21784 If you want to have footnotes numbered in the scheme 
21785 \begin_inset Quotes eld
21786 \end_inset
21787
21788 chapter.footnote
21789 \begin_inset Quotes erd
21790 \end_inset
21791
21792 , add the following command to your document preamble:
21793 \end_layout
21794
21795 \begin_layout Standard
21796
21797 \series bold
21798
21799 \backslash
21800 numberwithin{footnote}{chapter}
21801 \end_layout
21802
21803 \begin_layout Standard
21804 To be able to use the command 
21805 \series bold
21806
21807 \backslash
21808 numberwithin
21809 \series default
21810 , set in the tab 
21811 \family sans
21812 Math\InsetSpace ~
21813 Options
21814 \family default
21815  in the document settings the option 
21816 \family sans
21817 Use\InsetSpace ~
21818 AMS\InsetSpace ~
21819 math\InsetSpace ~
21820 package
21821 \family default
21822 .
21823 \end_layout
21824
21825 \begin_layout Standard
21826 \begin_inset ERT
21827 status collapsed
21828
21829 \begin_layout Standard
21830
21831
21832 \backslash
21833 numberwithin{footnote}{chapter}
21834 \end_layout
21835
21836 \end_inset
21837
21838 This is another example footnote:
21839 \series bold
21840
21841 \begin_inset Foot
21842 status open
21843
21844 \begin_layout Standard
21845 This is a footnote numbered in the scheme 
21846 \begin_inset Quotes eld
21847 \end_inset
21848
21849 chapter.footnote
21850 \begin_inset Quotes erd
21851 \end_inset
21852
21853 .
21854 \end_layout
21855
21856 \end_inset
21857
21858
21859 \series default
21860
21861 \begin_inset ERT
21862 status collapsed
21863
21864 \begin_layout Standard
21865
21866
21867 \backslash
21868 numberwithin{footnote}{part}
21869 \end_layout
21870
21871 \end_inset
21872
21873
21874 \end_layout
21875
21876 \begin_layout Standard
21877 \begin_inset VSpace bigskip
21878 \end_inset
21879
21880
21881 \end_layout
21882
21883 \begin_layout Standard
21884 To reset the footnote number back to 1 after each section
21885 \family roman
21886 , add this command to your document preamble:
21887 \end_layout
21888
21889 \begin_layout Standard
21890
21891 \series bold
21892
21893 \backslash
21894 @addtoreset{footnote}{section}
21895 \end_layout
21896
21897 \begin_layout Standard
21898 \begin_inset VSpace bigskip
21899 \end_inset
21900
21901 The following preamble command changes the footnote numbering style to small
21902  roman numerals:
21903 \end_layout
21904
21905 \begin_layout Standard
21906
21907 \series bold
21908
21909 \backslash
21910 renewcommand{
21911 \backslash
21912 thefootnote}{
21913 \backslash
21914 roman{footnote}}
21915 \end_layout
21916
21917 \begin_layout Standard
21918 \begin_inset ERT
21919 status collapsed
21920
21921 \begin_layout Standard
21922
21923
21924 \backslash
21925 renewcommand{
21926 \backslash
21927 thefootnote}{
21928 \backslash
21929 roman{footnote}}
21930 \end_layout
21931
21932 \end_inset
21933
21934  This is a footnote with roman numbering:
21935 \begin_inset Foot
21936 status open
21937
21938 \begin_layout Standard
21939 This is an example footnote with roman numbering.
21940 \end_layout
21941
21942 \end_inset
21943
21944
21945 \begin_inset ERT
21946 status collapsed
21947
21948 \begin_layout Standard
21949
21950
21951 \backslash
21952 renewcommand{
21953 \backslash
21954 thefootnote}{
21955 \backslash
21956 arabic{footnote}}
21957 \end_layout
21958
21959 \end_inset
21960
21961
21962 \end_layout
21963
21964 \begin_layout Standard
21965 To change the numbering style to capital roman numerals replace in the command
21966  above 
21967 \series bold
21968
21969 \backslash
21970 roman
21971 \series default
21972  by 
21973 \series bold
21974
21975 \backslash
21976 Roman
21977 \series default
21978 .
21979  To 
21980 \begin_inset Quotes eld
21981 \end_inset
21982
21983 number
21984 \begin_inset Quotes erd
21985 \end_inset
21986
21987  footnotes with capital or small Latin letters use 
21988 \series bold
21989
21990 \backslash
21991 Alph
21992 \series default
21993  or 
21994 \series bold
21995
21996 \backslash
21997 alph
21998 \series default
21999 , respectively.
22000  To 
22001 \begin_inset Quotes eld
22002 \end_inset
22003
22004 number
22005 \begin_inset Quotes erd
22006 \end_inset
22007
22008  footnotes with symbols use 
22009 \series bold
22010
22011 \backslash
22012 fnsymbol
22013 \series default
22014 .
22015 \end_layout
22016
22017 \begin_layout Standard
22018 \begin_inset Note Greyedout
22019 status open
22020
22021 \begin_layout Standard
22022
22023 \series bold
22024 Note:
22025 \series default
22026  You can only number 26 footnotes with Latin letters, because this numbering
22027  is limited to single letters.
22028 \end_layout
22029
22030 \end_inset
22031
22032
22033 \newline
22034
22035 \begin_inset Note Greyedout
22036 status open
22037
22038 \begin_layout Standard
22039
22040 \series bold
22041 Note:
22042 \series default
22043  You can only number 9 footnotes with symbols.
22044 \end_layout
22045
22046 \end_inset
22047
22048
22049 \end_layout
22050
22051 \begin_layout Standard
22052 To return to the default numbering style when you changed to another one,
22053  use 
22054 \series bold
22055
22056 \backslash
22057 arabic
22058 \series default
22059  instead of 
22060 \series bold
22061
22062 \backslash
22063 roman
22064 \series default
22065  in the command above.
22066 \end_layout
22067
22068 \begin_layout Subsection
22069 Footnote Placement
22070 \begin_inset LatexCommand index
22071 name "Footnotes ! Placement"
22072
22073 \end_inset
22074
22075
22076 \end_layout
22077
22078 \begin_layout Standard
22079 If you have several footnotes in one page, they appear without vertical
22080  space between them at the bottom of the page.
22081  To make them better readable you can e.\InsetSpace \thinspace{}
22082 g.\InsetSpace ~
22083 add 1.5\InsetSpace \thinspace{}
22084 mm space with the following
22085  preamble command:
22086 \end_layout
22087
22088 \begin_layout Standard
22089
22090 \series bold
22091
22092 \backslash
22093 let
22094 \backslash
22095 myFoot
22096 \backslash
22097 footnote
22098 \newline
22099
22100 \backslash
22101 renewcommand{
22102 \backslash
22103 footnote}[1]{
22104 \backslash
22105 myFoot{#1
22106 \backslash
22107 vspace{1.5mm}}}
22108 \end_layout
22109
22110 \begin_layout Standard
22111 \begin_inset VSpace bigskip
22112 \end_inset
22113
22114 In a two-column document the footnotes appear at the bottom of every column,
22115  see Figure\InsetSpace ~
22116
22117 \begin_inset LatexCommand ref
22118 reference "fig:Standard-footnote-placement"
22119
22120 \end_inset
22121
22122 .
22123  If the footnotes should only appear at the bottom of the right column,
22124  as in Figure\InsetSpace ~
22125
22126 \begin_inset LatexCommand ref
22127 reference "fig:Footnote-placement-in"
22128
22129 \end_inset
22130
22131 , use the LaTeX-package 
22132 \series bold
22133 ftnright
22134 \series default
22135
22136 \begin_inset LatexCommand index
22137 name "LaTeX-packages ! ftnright"
22138
22139 \end_inset
22140
22141  with this command in the document preamble:
22142 \end_layout
22143
22144 \begin_layout Standard
22145
22146 \series bold
22147
22148 \backslash
22149 usepackage{ftnright}
22150 \end_layout
22151
22152 \begin_layout Standard
22153 \begin_inset Float figure
22154 placement !h
22155 wide false
22156 sideways false
22157 status open
22158
22159 \begin_layout Standard
22160 \begin_inset ERT
22161 status collapsed
22162
22163 \begin_layout Standard
22164
22165
22166 \backslash
22167 framebox{
22168 \end_layout
22169
22170 \end_inset
22171
22172
22173 \begin_inset Graphics
22174         filename clipart/without_fntright.pdf
22175         width 100col%
22176
22177 \end_inset
22178
22179
22180 \begin_inset ERT
22181 status collapsed
22182
22183 \begin_layout Standard
22184
22185 }
22186 \end_layout
22187
22188 \end_inset
22189
22190
22191 \end_layout
22192
22193 \begin_layout Standard
22194 \begin_inset Caption
22195
22196 \begin_layout Standard
22197 \begin_inset LatexCommand label
22198 name "fig:Standard-footnote-placement"
22199
22200 \end_inset
22201
22202 Standard footnote placement in two-column documents.
22203 \end_layout
22204
22205 \end_inset
22206
22207
22208 \end_layout
22209
22210 \end_inset
22211
22212
22213 \end_layout
22214
22215 \begin_layout Standard
22216 \begin_inset Float figure
22217 placement !h
22218 wide false
22219 sideways false
22220 status open
22221
22222 \begin_layout Standard
22223 \begin_inset ERT
22224 status collapsed
22225
22226 \begin_layout Standard
22227
22228
22229 \backslash
22230 framebox{
22231 \end_layout
22232
22233 \end_inset
22234
22235
22236 \begin_inset Graphics
22237         filename clipart/with_fntright.pdf
22238         width 100col%
22239
22240 \end_inset
22241
22242
22243 \begin_inset ERT
22244 status collapsed
22245
22246 \begin_layout Standard
22247
22248 }
22249 \end_layout
22250
22251 \end_inset
22252
22253
22254 \end_layout
22255
22256 \begin_layout Standard
22257 \begin_inset Caption
22258
22259 \begin_layout Standard
22260 \begin_inset LatexCommand label
22261 name "fig:Footnote-placement-in"
22262
22263 \end_inset
22264
22265 Footnote placement in two-column documents when the LaTeX-package 
22266 \series bold
22267 ftnright
22268 \series default
22269  is used.
22270 \end_layout
22271
22272 \end_inset
22273
22274
22275 \end_layout
22276
22277 \end_inset
22278
22279
22280 \end_layout
22281
22282 \begin_layout Standard
22283 \begin_inset VSpace bigskip
22284 \end_inset
22285
22286 In some scientific literature it is usual to collect the footnotes and print
22287  them in a separate paragraph at the the end of a section, like in Figure\InsetSpace ~
22288
22289 \begin_inset LatexCommand ref
22290 reference "fig:Endnotes----footnotes"
22291
22292 \end_inset
22293
22294 .
22295  They are then so called 
22296 \begin_inset Quotes eld
22297 \end_inset
22298
22299 endnotes
22300 \begin_inset Quotes erd
22301 \end_inset
22302
22303 .
22304  To use endnotes instead of footnotes in your document, load the LaTeX-package
22305  
22306 \series bold
22307 endnotes
22308 \series default
22309
22310 \begin_inset LatexCommand index
22311 name "LaTeX-packages ! endnotes"
22312
22313 \end_inset
22314
22315  with the document preamble lines
22316 \end_layout
22317
22318 \begin_layout Standard
22319
22320 \series bold
22321
22322 \backslash
22323 usepackage{endnotes}
22324 \newline
22325
22326 \backslash
22327 let
22328 \backslash
22329 footnote
22330 \backslash
22331 endnote
22332 \end_layout
22333
22334 \begin_layout Standard
22335 To insert the collected footnotes, insert the command
22336 \end_layout
22337
22338 \begin_layout Standard
22339
22340 \series bold
22341
22342 \backslash
22343 theendnotes
22344 \end_layout
22345
22346 \begin_layout Standard
22347 in ERT at the the end of a section or chapter.
22348 \end_layout
22349
22350 \begin_layout Standard
22351 \begin_inset Float figure
22352 wide false
22353 sideways false
22354 status open
22355
22356 \begin_layout Standard
22357 \align center
22358 \begin_inset ERT
22359 status collapsed
22360
22361 \begin_layout Standard
22362
22363
22364 \backslash
22365 framebox{
22366 \end_layout
22367
22368 \end_inset
22369
22370
22371 \begin_inset Graphics
22372         filename clipart/endnotes.pdf
22373
22374 \end_inset
22375
22376
22377 \begin_inset ERT
22378 status collapsed
22379
22380 \begin_layout Standard
22381
22382 }
22383 \end_layout
22384
22385 \end_inset
22386
22387
22388 \end_layout
22389
22390 \begin_layout Standard
22391 \begin_inset Caption
22392
22393 \begin_layout Standard
22394 \begin_inset LatexCommand label
22395 name "fig:Endnotes----footnotes"
22396
22397 \end_inset
22398
22399 Endnotes -- footnotes are printed in a separate paragraph at the end of
22400  sections or chapters.
22401 \end_layout
22402
22403 \end_inset
22404
22405
22406 \end_layout
22407
22408 \end_inset
22409
22410
22411 \end_layout
22412
22413 \begin_layout Standard
22414 \begin_inset VSpace defskip
22415 \end_inset
22416
22417 The paragraph heading for the endnotes isn't automatically translated into
22418  the document language, this must be done manually.
22419  The following preamble command translate the default English name 
22420 \begin_inset Quotes eld
22421 \end_inset
22422
22423 Notes
22424 \begin_inset Quotes erd
22425 \end_inset
22426
22427  to the German translation 
22428 \begin_inset Quotes eld
22429 \end_inset
22430
22431 Anmerkungen
22432 \begin_inset Quotes erd
22433 \end_inset
22434
22435 :
22436 \end_layout
22437
22438 \begin_layout Standard
22439
22440 \series bold
22441
22442 \backslash
22443 renewcommand{
22444 \backslash
22445 notesname}{Anmerkungen}
22446 \end_layout
22447
22448 \begin_layout Standard
22449 \begin_inset VSpace defskip
22450 \end_inset
22451
22452 The numbering of endnotes can be changed like the footnote numbering as
22453  described in section\InsetSpace ~
22454
22455 \begin_inset LatexCommand ref
22456 reference "sub:Footnote-Numbering"
22457
22458 \end_inset
22459
22460 ; just replace the command 
22461 \series bold
22462
22463 \backslash
22464 thefootnote
22465 \series default
22466  by 
22467 \series bold
22468
22469 \backslash
22470 theendnote
22471 \series default
22472 .
22473  To reset the endnote number use the command 
22474 \series bold
22475
22476 \backslash
22477 @addtoreset
22478 \series default
22479  as described in section\InsetSpace ~
22480
22481 \begin_inset LatexCommand ref
22482 reference "sub:Footnote-Numbering"
22483
22484 \end_inset
22485
22486  and replace the command parameter 
22487 \series bold
22488 footnote
22489 \series default
22490  by 
22491 \series bold
22492 endnote
22493 \series default
22494 .
22495 \end_layout
22496
22497 \begin_layout Standard
22498 To create only a mark for an endnote, use the command 
22499 \series bold
22500
22501 \backslash
22502 endnotemark[number]
22503 \series default
22504  similar to the command 
22505 \series bold
22506
22507 \backslash
22508 footnotemark
22509 \series default
22510 , described in section\InsetSpace ~
22511
22512 \begin_inset LatexCommand ref
22513 reference "sec:Footnotes"
22514
22515 \end_inset
22516
22517 .
22518 \end_layout
22519
22520 \begin_layout Standard
22521 \begin_inset VSpace bigskip
22522 \end_inset
22523
22524 Footnotes can also be placed in the page margin and the footnote text alignment
22525  can be changed, see the LaTeX-package 
22526 \series bold
22527 footmisc
22528 \series default
22529
22530 \begin_inset LatexCommand index
22531 name "LaTeX-packages ! footmisc"
22532
22533 \end_inset
22534
22535
22536 \begin_inset LatexCommand cite
22537 key "footmisc"
22538
22539 \end_inset
22540
22541  for more information about this.
22542 \end_layout
22543
22544 \begin_layout Standard
22545 For various further footnote formatting issues have a look at LaTeX-books,
22546  
22547 \begin_inset LatexCommand cite
22548 key "latexcompanion,latexguide,latexbook"
22549
22550 \end_inset
22551
22552 .
22553 \end_layout
22554
22555 \begin_layout Section
22556 Margin Notes
22557 \begin_inset LatexCommand index
22558 name "Notes ! Margin Notes"
22559
22560 \end_inset
22561
22562
22563 \end_layout
22564
22565 \begin_layout Standard
22566 Margin notes look and behave in LyX like footnotes.
22567  They are inserted via the menu 
22568 \family sans
22569 Insert\SpecialChar \menuseparator
22570 Marginal\InsetSpace ~
22571 Note
22572 \family default
22573  or the toolbar button 
22574 \begin_inset Graphics
22575         filename ../images/marginalnote-insert.xpm
22576         scale 85
22577
22578 \end_inset
22579
22580 .
22581  A grey 
22582 \family roman
22583 \series medium
22584 box with the
22585 \family default
22586 \series default
22587  red 
22588 \family roman
22589 \series medium
22590 label 
22591 \begin_inset Quotes eld
22592 \end_inset
22593
22594 margin
22595 \begin_inset Quotes erd
22596 \end_inset
22597
22598  appears where you can enter the text of the margin note.
22599 \end_layout
22600
22601 \begin_layout Standard
22602 At the side is an example margin note.
22603 \family roman
22604 \series medium
22605
22606 \begin_inset Marginal
22607 status open
22608
22609 \begin_layout Standard
22610 This is a margin note.
22611 \end_layout
22612
22613 \end_inset
22614
22615
22616 \end_layout
22617
22618 \begin_layout Standard
22619 Margin notes appear at the right side in single-sided documents.
22620  In double-sided documents they appear in the outer margin -- left on even
22621  pages, right on odd pages.
22622  The text of margin notes is aligned opposite to the outer margin -- right-align
22623 ed when the note appears in the left margin.
22624  The first line of the margin note is placed at the position of the text
22625  line where it is inserted in the document.
22626 \end_layout
22627
22628 \begin_layout Standard
22629 \begin_inset VSpace bigskip
22630 \end_inset
22631
22632 To place the margin note in the inner margin, add the command
22633 \end_layout
22634
22635 \begin_layout Standard
22636
22637 \series bold
22638
22639 \backslash
22640 reversemarginpar
22641 \end_layout
22642
22643 \begin_layout Standard
22644 in ERT before a margin note.
22645  The new placement is valid for all following margin notes.
22646 \begin_inset ERT
22647 status collapsed
22648
22649 \begin_layout Standard
22650
22651
22652 \backslash
22653 reversemarginpar 
22654 \end_layout
22655
22656 \end_inset
22657
22658
22659 \begin_inset Marginal
22660 status open
22661
22662 \begin_layout Standard
22663 This is a margin note in the inner margin.
22664 \end_layout
22665
22666 \end_inset
22667
22668
22669 \series bold
22670
22671 \newline
22672
22673 \series default
22674
22675 \begin_inset Note Greyedout
22676 status open
22677
22678 \begin_layout Standard
22679
22680 \series bold
22681 Note:
22682 \series default
22683  There is often not enough space in the inner margin so that the notes are
22684  not correctly displayed in the output.
22685 \end_layout
22686
22687 \end_inset
22688
22689
22690 \end_layout
22691
22692 \begin_layout Standard
22693 \begin_inset ERT
22694 status collapsed
22695
22696 \begin_layout Standard
22697
22698
22699 \backslash
22700 normalmarginpar 
22701 \end_layout
22702
22703 \end_inset
22704
22705 To return to the default placement insert the command
22706 \end_layout
22707
22708 \begin_layout Standard
22709
22710 \series bold
22711
22712 \backslash
22713 normalmarginpar
22714 \end_layout
22715
22716 \begin_layout Standard
22717 in ERT.
22718  
22719 \begin_inset Note Greyedout
22720 status open
22721
22722 \begin_layout Standard
22723
22724 \series bold
22725 Note:
22726 \series default
22727  The command is ignored when it is within a paragraph where also the command
22728  
22729 \series bold
22730
22731 \backslash
22732 reversemarginpar
22733 \series default
22734  is inserted.
22735 \end_layout
22736
22737 \end_inset
22738
22739
22740 \end_layout
22741
22742 \begin_layout Standard
22743 \begin_inset VSpace bigskip
22744 \end_inset
22745
22746
22747 \family roman
22748 \series medium
22749
22750 \begin_inset Marginal
22751 status open
22752
22753 \begin_layout Standard
22754 AVeryLongMarginParWord that isn't hyphenated.
22755 \end_layout
22756
22757 \end_inset
22758
22759
22760 \family default
22761 \series default
22762 Similar to the case described in section\InsetSpace ~
22763
22764 \begin_inset LatexCommand ref
22765 reference "sub:Multiple-Lines-in"
22766
22767 \end_inset
22768
22769 , long words cannot be hyphenated when they are the first word in a margin
22770  note.
22771  To avoid this, insert the command
22772 \end_layout
22773
22774 \begin_layout Standard
22775
22776 \series bold
22777
22778 \backslash
22779 hspace{0pt}
22780 \end_layout
22781
22782 \begin_layout Standard
22783 in ERT before the word
22784 \family roman
22785 \series medium
22786 .
22787 \begin_inset Marginal
22788 status open
22789
22790 \begin_layout Standard
22791 \begin_inset ERT
22792 status collapsed
22793
22794 \begin_layout Standard
22795
22796
22797 \backslash
22798 hspace{0pt}
22799 \end_layout
22800
22801 \end_inset
22802
22803 AVeryLongMarginParWord that is hyphenated.
22804 \end_layout
22805
22806 \end_inset
22807
22808
22809 \end_layout
22810
22811 \begin_layout Standard
22812 \begin_inset VSpace bigskip
22813 \end_inset
22814
22815
22816 \end_layout
22817
22818 \begin_layout Standard
22819 \begin_inset Note Greyedout
22820 status open
22821
22822 \begin_layout Standard
22823
22824 \series bold
22825 Note:
22826 \series default
22827  Margin notes can normally not be used inside tables, floats, and footnotes.
22828 \end_layout
22829
22830 \end_inset
22831
22832
22833 \end_layout
22834
22835 \begin_layout Standard
22836 \begin_inset VSpace bigskip
22837 \end_inset
22838
22839
22840 \end_layout
22841
22842 \begin_layout Standard
22843 \begin_inset ERT
22844 status collapsed
22845
22846 \begin_layout Standard
22847
22848
22849 \backslash
22850 ifmarginnote
22851 \end_layout
22852
22853 \end_inset
22854
22855
22856 \begin_inset Note Note
22857 status open
22858
22859 \begin_layout Standard
22860 The following section will only be displayed when you have the LaTeX-package
22861  
22862 \series bold
22863 marginnote
22864 \series default
22865  is installed.
22866 \end_layout
22867
22868 \end_inset
22869
22870
22871 \end_layout
22872
22873 \begin_layout Standard
22874 This restriction can be evaded by using the LaTeX-package 
22875 \series bold
22876 marginnote
22877 \series default
22878
22879 \begin_inset LatexCommand index
22880 name "LaTeX-packages ! marginnote"
22881
22882 \end_inset
22883
22884 .
22885  By adding these two lines to your document preamble, the command used by
22886  LyX for margin notes is redefined to use the command provided by the 
22887 \series bold
22888 marginnote
22889 \series default
22890 -package:
22891 \end_layout
22892
22893 \begin_layout Standard
22894
22895 \series bold
22896
22897 \backslash
22898 usepackage{marginnote}
22899 \newline
22900
22901 \backslash
22902 let
22903 \backslash
22904 marginpar
22905 \backslash
22906 marginnote
22907 \end_layout
22908
22909 \begin_layout Standard
22910 This is also used in this document because 
22911 \series bold
22912 marginnote
22913 \series default
22914  has another useful feature: You can set a vertical offset for the note.
22915  This is often needed when too many margin notes are too close together
22916  or for a better page layout.
22917  The offset is set in LyX as ERT directly behind the margin note in the
22918  scheme
22919 \end_layout
22920
22921 \begin_layout Standard
22922
22923 \series bold
22924 [offset]
22925 \end_layout
22926
22927 \begin_layout Standard
22928 where the offset is a length with one of the units listed in Table\InsetSpace ~
22929
22930 \begin_inset LatexCommand ref
22931 reference "tab:Units"
22932
22933 \end_inset
22934
22935 .
22936  A negative value shifts the note up, a positive value shifts it down.
22937  
22938 \family roman
22939 \series medium
22940 For example the margin note beside this text line is shifted up 1.5\InsetSpace \thinspace{}
22941 cm with
22942  the ERT-command 
22943 \begin_inset Quotes eld
22944 \end_inset
22945
22946
22947 \family default
22948 \series bold
22949 [-1.5cm]
22950 \family roman
22951 \series medium
22952
22953 \begin_inset Quotes erd
22954 \end_inset
22955
22956
22957 \begin_inset Marginal
22958 status open
22959
22960 \begin_layout Standard
22961 This margin note is shifted up 1.5\InsetSpace \thinspace{}
22962 cm from its original position.
22963 \end_layout
22964
22965 \end_inset
22966
22967
22968 \family default
22969 \series default
22970
22971 \begin_inset ERT
22972 status collapsed
22973
22974 \begin_layout Standard
22975
22976 [-1.5cm]
22977 \end_layout
22978
22979 \end_inset
22980
22981
22982 \end_layout
22983
22984 \begin_layout Standard
22985 \begin_inset VSpace defskip
22986 \end_inset
22987
22988 With 
22989 \series bold
22990 marginnote
22991 \series default
22992  you can also change the alignment of the text in the margin note.
22993  For example the commands
22994 \end_layout
22995
22996 \begin_layout Standard
22997
22998 \series bold
22999
23000 \backslash
23001 renewcommand*{
23002 \backslash
23003 raggedleftmarginnote}{
23004 \backslash
23005 centering}
23006 \newline
23007
23008 \backslash
23009 renewcommand*{
23010 \backslash
23011 raggedrightmarginnote}{
23012 \backslash
23013 centering}
23014 \end_layout
23015
23016 \begin_layout Standard
23017 set the alignment to centered.
23018  
23019 \series bold
23020
23021 \backslash
23022 raggedleftmarginnote
23023 \series default
23024  denotes margin notes that appear at the left side.
23025 \family roman
23026 \series medium
23027
23028 \begin_inset ERT
23029 status collapsed
23030
23031 \begin_layout Standard
23032
23033
23034 \backslash
23035 renewcommand*{
23036 \backslash
23037 raggedleftmarginnote}{
23038 \backslash
23039 centering}
23040 \end_layout
23041
23042 \begin_layout Standard
23043
23044
23045 \backslash
23046 renewcommand*{
23047 \backslash
23048 raggedrightmarginnote}{
23049 \backslash
23050 centering}
23051 \end_layout
23052
23053 \end_inset
23054
23055
23056 \begin_inset Marginal
23057 status open
23058
23059 \begin_layout Standard
23060 The text of this margin note is centered.
23061 \end_layout
23062
23063 \end_inset
23064
23065
23066 \family default
23067 \series default
23068  The default is
23069 \end_layout
23070
23071 \begin_layout Standard
23072
23073 \series bold
23074
23075 \backslash
23076 renewcommand*{
23077 \backslash
23078 raggedleftmarginnote}{
23079 \backslash
23080 raggedleft}
23081 \newline
23082
23083 \backslash
23084 renewcommand*{
23085 \backslash
23086 raggedrightmarginnote}{
23087 \backslash
23088 raggedright}
23089 \family roman
23090 \series medium
23091
23092 \begin_inset ERT
23093 status collapsed
23094
23095 \begin_layout Standard
23096
23097
23098 \backslash
23099 renewcommand*{
23100 \backslash
23101 raggedleftmarginnote}{
23102 \backslash
23103 raggedleft}
23104 \end_layout
23105
23106 \begin_layout Standard
23107
23108
23109 \backslash
23110 renewcommand*{
23111 \backslash
23112 raggedrightmarginnote}{
23113 \backslash
23114 raggedright}
23115 \end_layout
23116
23117 \end_inset
23118
23119
23120 \end_layout
23121
23122 \begin_layout Standard
23123 \begin_inset VSpace defskip
23124 \end_inset
23125
23126 For the other features of 
23127 \series bold
23128 marginnote
23129 \series default
23130  we refer to its documentation 
23131 \begin_inset LatexCommand cite
23132 key "marginnote"
23133
23134 \end_inset
23135
23136 .
23137 \end_layout
23138
23139 \begin_layout Standard
23140 \begin_inset VSpace bigskip
23141 \end_inset
23142
23143 You can change the layout of margin notes by redefining its definition.
23144  To create for example a header for all margin notes with the underlined,
23145  sans-serif, and bold header text 
23146 \begin_inset Quotes eld
23147 \end_inset
23148
23149
23150 \family sans
23151 \series bold
23152 \bar under
23153 Attention!
23154 \family default
23155 \series default
23156 \bar default
23157
23158 \begin_inset Quotes erd
23159 \end_inset
23160
23161 , add this to your document preamble:
23162 \end_layout
23163
23164 \begin_layout Standard
23165
23166 \series bold
23167
23168 \backslash
23169 let
23170 \backslash
23171 myMarginpar
23172 \backslash
23173 marginpar
23174 \newline
23175
23176 \backslash
23177 renewcommand{
23178 \backslash
23179 marginpar}[1]{
23180 \backslash
23181 myMarginpar{%
23182 \newline
23183
23184 \begin_inset ERT
23185 status collapsed
23186
23187 \begin_layout Standard
23188
23189
23190 \backslash
23191 hphantom{ }
23192 \end_layout
23193
23194 \end_inset
23195
23196
23197 \backslash
23198 hspace{0pt}
23199 \backslash
23200 textsf{
23201 \backslash
23202 textbf{
23203 \backslash
23204 underbar{Attention!}}}%
23205 \newline
23206
23207 \begin_inset ERT
23208 status collapsed
23209
23210 \begin_layout Standard
23211
23212
23213 \backslash
23214 hphantom{ }
23215 \end_layout
23216
23217 \end_inset
23218
23219
23220 \backslash
23221 vspace{1.5mm}
23222 \backslash
23223
23224 \backslash
23225 #1}}
23226 \end_layout
23227
23228 \begin_layout Standard
23229
23230 \family roman
23231 \series medium
23232 \begin_inset ERT
23233 status collapsed
23234
23235 \begin_layout Standard
23236
23237
23238 \backslash
23239 let
23240 \backslash
23241 myMarginpar
23242 \backslash
23243 marginpar
23244 \end_layout
23245
23246 \begin_layout Standard
23247
23248
23249 \backslash
23250 renewcommand{
23251 \backslash
23252 marginpar}[1]{
23253 \backslash
23254 myMarginpar{%
23255 \end_layout
23256
23257 \begin_layout Standard
23258
23259    
23260 \backslash
23261 textsf{
23262 \backslash
23263 textbf{
23264 \backslash
23265 underbar{Attention!}}}%
23266 \end_layout
23267
23268 \begin_layout Standard
23269
23270    
23271 \backslash
23272 vspace{1.5mm}
23273 \backslash
23274
23275 \backslash
23276 #1}}
23277 \end_layout
23278
23279 \end_inset
23280
23281
23282 \begin_inset Marginal
23283 status open
23284
23285 \begin_layout Standard
23286 This is a margin note with a defined heading.
23287 \end_layout
23288
23289 \end_inset
23290
23291
23292 \family default
23293 \series default
23294
23295 \begin_inset ERT
23296 status collapsed
23297
23298 \begin_layout Standard
23299
23300 [-1.5cm]
23301 \end_layout
23302
23303 \end_inset
23304
23305
23306 \family roman
23307 \series medium
23308
23309 \begin_inset ERT
23310 status collapsed
23311
23312 \begin_layout Standard
23313
23314
23315 \backslash
23316 renewcommand{
23317 \backslash
23318 marginpar}[1]{
23319 \backslash
23320 myMarginpar{#1}}
23321 \end_layout
23322
23323 \end_inset
23324
23325
23326 \family default
23327 \series default
23328
23329 \begin_inset Note Note
23330 status collapsed
23331
23332 \begin_layout Standard
23333 The margin note format is changed only for this example.
23334 \end_layout
23335
23336 \end_inset
23337
23338
23339 \end_layout
23340
23341 \begin_layout Standard
23342 \begin_inset ERT
23343 status collapsed
23344
23345 \begin_layout Standard
23346
23347
23348 \backslash
23349 else
23350 \end_layout
23351
23352 \end_inset
23353
23354
23355 \begin_inset Note Note
23356 status open
23357
23358 \begin_layout Standard
23359 The following will be displayed when the LaTeX-package 
23360 \series bold
23361 marginnote
23362 \series default
23363  is not installed:
23364 \end_layout
23365
23366 \end_inset
23367
23368
23369 \end_layout
23370
23371 \begin_layout Standard
23372 You need to install the LaTeX-package 
23373 \series bold
23374 marginnote
23375 \series default
23376  to see the following part of this section in the output.
23377 \end_layout
23378
23379 \begin_layout Standard
23380 \begin_inset ERT
23381 status collapsed
23382
23383 \begin_layout Standard
23384
23385
23386 \backslash
23387 fi
23388 \end_layout
23389
23390 \end_inset
23391
23392
23393 \end_layout
23394
23395 \begin_layout Chapter
23396 Boxes
23397 \end_layout
23398
23399 \begin_layout Section
23400 Introduction
23401 \begin_inset LatexCommand index
23402 name "Boxes ! Introduction"
23403
23404 \end_inset
23405
23406
23407 \end_layout
23408
23409 \begin_layout Standard
23410 Boxes are used to format a block of text.
23411  Boxes can be used to write documents with multiple languages, see section\InsetSpace ~
23412
23413 \begin_inset LatexCommand ref
23414 reference "sec:Minipages"
23415
23416 \end_inset
23417
23418 , to frame texts, see section\InsetSpace ~
23419
23420 \begin_inset LatexCommand ref
23421 reference "sec:Framed-Boxes"
23422
23423 \end_inset
23424
23425 , to prevent words to be hyphenated, see section\InsetSpace ~
23426
23427 \begin_inset LatexCommand ref
23428 reference "sec:Prevent-Hyphenation"
23429
23430 \end_inset
23431
23432 , to align text, see section\InsetSpace ~
23433
23434 \begin_inset LatexCommand ref
23435 reference "sub:Vertical-Alignment"
23436
23437 \end_inset
23438
23439 , or to set the background color of texts, see section\InsetSpace ~
23440
23441 \begin_inset LatexCommand ref
23442 reference "sec:Colored-Boxes"
23443
23444 \end_inset
23445
23446 .
23447 \end_layout
23448
23449 \begin_layout Standard
23450 Boxes can be inserted with the menu 
23451 \family sans
23452 Insert\SpecialChar \menuseparator
23453 Box
23454 \family default
23455 .
23456  A grey box with the label 
23457 \family sans
23458 Box (Minipage)
23459 \family default
23460
23461 \begin_inset Graphics
23462         filename clipart/BoxInsetDefaultQt4.png
23463         scale 85
23464
23465 \end_inset
23466
23467 , will be inserted.
23468  The box type can be specified by right-clicking on the box.
23469  The appearing box dialog offers the 
23470 \family sans
23471 Inner\InsetSpace ~
23472 Box
23473 \family default
23474  types 
23475 \family sans
23476 Parbox
23477 \family default
23478  and 
23479 \family sans
23480 Minipage
23481 \family default
23482 .
23483  The type 
23484 \family sans
23485 Minipage
23486 \family default
23487  is the default for new boxes and is explained in section\InsetSpace ~
23488
23489 \begin_inset LatexCommand ref
23490 reference "sec:Minipages"
23491
23492 \end_inset
23493
23494 ; the type 
23495 \family sans
23496 Parbox
23497 \family default
23498  is described in section\InsetSpace ~
23499
23500 \begin_inset LatexCommand ref
23501 reference "sec:Parboxes"
23502
23503 \end_inset
23504
23505 .
23506 \end_layout
23507
23508 \begin_layout Standard
23509 Boxes aren't numbered and can therefore not be referenced like floats or
23510  footnotes.
23511 \end_layout
23512
23513 \begin_layout Standard
23514 \begin_inset Note Greyedout
23515 status open
23516
23517 \begin_layout Standard
23518
23519 \series bold
23520 Note:
23521 \series default
23522  Due to a bug in LyX you have to insert a protected space behind a box when
23523  you want to separate in a line the box from the following text with a space.
23524 \end_layout
23525
23526 \end_inset
23527
23528
23529 \end_layout
23530
23531 \begin_layout Standard
23532 \begin_inset Note Greyedout
23533 status open
23534
23535 \begin_layout Standard
23536
23537 \series bold
23538 Note:
23539 \series default
23540  Boxes must not be the item in an 
23541 \family sans
23542 Itemize
23543 \family default
23544  or 
23545 \family sans
23546 Description
23547 \family default
23548  environment.
23549 \end_layout
23550
23551 \end_inset
23552
23553
23554 \end_layout
23555
23556 \begin_layout Standard
23557 \begin_inset Note Greyedout
23558 status open
23559
23560 \begin_layout Standard
23561
23562 \series bold
23563 Note:
23564 \series default
23565  For an unknown reason you can only set the 
23566 \family sans
23567 Inner\InsetSpace ~
23568 Box
23569 \family default
23570  type to 
23571 \family sans
23572 None
23573 \family default
23574  when you use a framed box.
23575  Boxes without an 
23576 \family sans
23577 Inner\InsetSpace ~
23578 Box
23579 \family default
23580  type and without frames are explained in section\InsetSpace ~
23581
23582 \begin_inset LatexCommand ref
23583 reference "sec:Prevent-Hyphenation"
23584
23585 \end_inset
23586
23587 .
23588 \end_layout
23589
23590 \end_inset
23591
23592
23593 \end_layout
23594
23595 \begin_layout Section
23596 Box Dialog
23597 \begin_inset LatexCommand label
23598 name "sec:Box-Dialog"
23599
23600 \end_inset
23601
23602
23603 \begin_inset LatexCommand index
23604 name "Boxes ! Box Dialog"
23605
23606 \end_inset
23607
23608
23609 \begin_inset LatexCommand index
23610 name "Boxes ! Alignment"
23611
23612 \end_inset
23613
23614
23615 \end_layout
23616
23617 \begin_layout Standard
23618 In the box dialog you can adjust the box geometry in the fields 
23619 \family sans
23620 Width
23621 \family default
23622  and 
23623 \family sans
23624 Height
23625 \family default
23626 .
23627  The available units for the geometry are explained in Table\InsetSpace ~
23628
23629 \begin_inset LatexCommand ref
23630 reference "tab:Units"
23631
23632 \end_inset
23633
23634 .
23635  The field 
23636 \family sans
23637 Heigth
23638 \family default
23639  offers the following additional sizes:
23640 \end_layout
23641
23642 \begin_layout Description
23643 Depth This is the plain text 
23644 \begin_inset Quotes eld
23645 \end_inset
23646
23647 height
23648 \begin_inset Quotes erd
23649 \end_inset
23650
23651 .
23652  It ignores the total depth when there are multiple text lines in the box:
23653 \newline
23654
23655 \newline
23656
23657 \newline
23658
23659 \begin_inset Box Boxed
23660 position "c"
23661 hor_pos "c"
23662 has_inner_box 1
23663 inner_pos "c"
23664 use_parbox 0
23665 width "12col%"
23666 special "none"
23667 height "1in"
23668 height_special "depth"
23669 status collapsed
23670
23671 \begin_layout Standard
23672 \align center
23673 Box height set to 1\InsetSpace \thinspace{}
23674 Depth
23675 \end_layout
23676
23677 \end_inset
23678
23679
23680 \newline
23681
23682 \newline
23683
23684 \end_layout
23685
23686 \begin_layout Description
23687 Height This is the heigth of the text that is inside the box.
23688  A value of e.\InsetSpace \thinspace{}
23689 g.\InsetSpace ~
23690 2 for this size will set the box heigth to 2 times the text
23691  height: 
23692 \begin_inset Box Boxed
23693 position "c"
23694 hor_pos "c"
23695 has_inner_box 1
23696 inner_pos "c"
23697 use_parbox 0
23698 width "20col%"
23699 special "none"
23700 height "2in"
23701 height_special "height"
23702 status collapsed
23703
23704 \begin_layout Standard
23705 \align center
23706 Box height set to 2\InsetSpace \thinspace{}
23707 Height
23708 \end_layout
23709
23710 \end_inset
23711
23712
23713 \end_layout
23714
23715 \begin_layout Description
23716 Total\InsetSpace ~
23717 Height This is the Height\InsetSpace \thinspace{}
23718 +\InsetSpace \thinspace{}
23719 Depth: 
23720 \begin_inset Box Boxed
23721 position "c"
23722 hor_pos "c"
23723 has_inner_box 1
23724 inner_pos "c"
23725 use_parbox 0
23726 width "20col%"
23727 special "none"
23728 height "1in"
23729 height_special "totalheight"
23730 status collapsed
23731
23732 \begin_layout Standard
23733 \align center
23734 Box height set to 1\InsetSpace \thinspace{}
23735 Total\InsetSpace ~
23736 Height
23737 \end_layout
23738
23739 \end_inset
23740
23741
23742 \end_layout
23743
23744 \begin_layout Description
23745 Width This set the width of the box as heigth: 
23746 \begin_inset Box Boxed
23747 position "c"
23748 hor_pos "c"
23749 has_inner_box 1
23750 inner_pos "c"
23751 use_parbox 0
23752 width "12col%"
23753 special "none"
23754 height "1in"
23755 height_special "width"
23756 status collapsed
23757
23758 \begin_layout Standard
23759 \align center
23760 Box height set to 1\InsetSpace \thinspace{}
23761 Width
23762 \end_layout
23763
23764 \end_inset
23765
23766
23767 \end_layout
23768
23769 \begin_layout Standard
23770 \begin_inset VSpace bigskip
23771 \end_inset
23772
23773 When you have chosen an 
23774 \family sans
23775 Inner\InsetSpace ~
23776 Box
23777 \family default
23778 , the vertical box alignment can be:
23779 \end_layout
23780
23781 \begin_layout Description
23782 Top This is an example text line.
23783  
23784 \begin_inset Box Boxed
23785 position "t"
23786 hor_pos "c"
23787 has_inner_box 1
23788 inner_pos "c"
23789 use_parbox 0
23790 width "12col%"
23791 special "none"
23792 height "1in"
23793 height_special "totalheight"
23794 status collapsed
23795
23796 \begin_layout Standard
23797 \align center
23798 This box is top-aligned.
23799 \end_layout
23800
23801 \end_inset
23802
23803 \InsetSpace ~
23804 This is an example text line.
23805 \end_layout
23806
23807 \begin_layout Description
23808 Middle This is an example text line.
23809  
23810 \begin_inset Box Boxed
23811 position "c"
23812 hor_pos "c"
23813 has_inner_box 1
23814 inner_pos "c"
23815 use_parbox 0
23816 width "12col%"
23817 special "none"
23818 height "1in"
23819 height_special "totalheight"
23820 status collapsed
23821
23822 \begin_layout Standard
23823 \align center
23824 This box is middle-aligned.
23825 \end_layout
23826
23827 \end_inset
23828
23829 \InsetSpace ~
23830 This is an example text line.
23831 \end_layout
23832
23833 \begin_layout Description
23834 Bottom This is an example text line.
23835  
23836 \begin_inset Box Boxed
23837 position "b"
23838 hor_pos "c"
23839 has_inner_box 1
23840 inner_pos "c"
23841 use_parbox 0
23842 width "12col%"
23843 special "none"
23844 height "1in"
23845 height_special "totalheight"
23846 status collapsed
23847
23848 \begin_layout Standard
23849 \align center
23850 This box is bottom-aligned.
23851 \end_layout
23852
23853 \end_inset
23854
23855 \InsetSpace ~
23856 This is an example text line.
23857 \end_layout
23858
23859 \begin_layout Standard
23860 The horizontal box alignment can be set via LyX's paragraph dialog when
23861  you set the box into its own paragraph.
23862 \end_layout
23863
23864 \begin_layout Standard
23865 \begin_inset VSpace bigskip
23866 \end_inset
23867
23868 When you have chosen an 
23869 \family sans
23870 Inner\InsetSpace ~
23871 Box
23872 \family default
23873 , the box content can be vertical aligned to:
23874 \end_layout
23875
23876 \begin_layout Description
23877 top This is an example text line.
23878  
23879 \begin_inset Box Boxed
23880 position "c"
23881 hor_pos "c"
23882 has_inner_box 1
23883 inner_pos "t"
23884 use_parbox 0
23885 width "12col%"
23886 special "none"
23887 height "1.5in"
23888 height_special "totalheight"
23889 status collapsed
23890
23891 \begin_layout Standard
23892 \align center
23893 This box text is top-aligned.
23894 \end_layout
23895
23896 \end_inset
23897
23898 \InsetSpace ~
23899 This is an example text line.
23900 \end_layout
23901
23902 \begin_layout Description
23903 middle This is an example text line.
23904  
23905 \begin_inset Box Boxed
23906 position "c"
23907 hor_pos "c"
23908 has_inner_box 1
23909 inner_pos "c"
23910 use_parbox 0
23911 width "12col%"
23912 special "none"
23913 height "1.5in"
23914 height_special "totalheight"
23915 status collapsed
23916
23917 \begin_layout Standard
23918 \align center
23919 This box text is middle-aligned.
23920 \end_layout
23921
23922 \end_inset
23923
23924 \InsetSpace ~
23925 This is an example text line.
23926 \end_layout
23927
23928 \begin_layout Description
23929 bottom This is an example text line.
23930  
23931 \begin_inset Box Boxed
23932 position "c"
23933 hor_pos "c"
23934 has_inner_box 1
23935 inner_pos "b"
23936 use_parbox 0
23937 width "12col%"
23938 special "none"
23939 height "1.5in"
23940 height_special "totalheight"
23941 status collapsed
23942
23943 \begin_layout Standard
23944 \align center
23945 This box text is bottom-aligned.
23946 \end_layout
23947
23948 \end_inset
23949
23950 \InsetSpace ~
23951 This is an example text line.
23952 \end_layout
23953
23954 \begin_layout Description
23955 stretch This is an example text line.
23956  
23957 \begin_inset Box Boxed
23958 position "c"
23959 hor_pos "c"
23960 has_inner_box 1
23961 inner_pos "s"
23962 use_parbox 0
23963 width "12col%"
23964 special "none"
23965 height "1.5in"
23966 height_special "totalheight"
23967 status collapsed
23968
23969 \begin_layout Standard
23970 \align center
23971 This box
23972 \end_layout
23973
23974 \begin_layout Standard
23975 \align center
23976 text is
23977 \end_layout
23978
23979 \begin_layout Standard
23980 \align center
23981 stretched.
23982 \end_layout
23983
23984 \end_inset
23985
23986 \InsetSpace ~
23987 This is an example text line.
23988 \end_layout
23989
23990 \begin_layout Standard
23991 To stretch the box content, it must consist of more than one paragraph.
23992  In the example above every text line is in an own paragraph.
23993 \end_layout
23994
23995 \begin_layout Standard
23996 \begin_inset VSpace bigskip
23997 \end_inset
23998
23999 To align the box content horizontally you can use LyX's paragraph dialog
24000  when you have chosen an 
24001 \family sans
24002 Inner\InsetSpace ~
24003 Box
24004 \family default
24005 .
24006 \end_layout
24007
24008 \begin_layout Standard
24009 \align center
24010 \begin_inset Box Boxed
24011 position "c"
24012 hor_pos "c"
24013 has_inner_box 1
24014 inner_pos "s"
24015 use_parbox 0
24016 width "15col%"
24017 special "none"
24018 height "1.25in"
24019 height_special "totalheight"
24020 status collapsed
24021
24022 \begin_layout Standard
24023 \align left
24024 This box
24025 \end_layout
24026
24027 \begin_layout Standard
24028 \align center
24029 text is
24030 \end_layout
24031
24032 \begin_layout Standard
24033 \align right
24034 stretched.
24035 \end_layout
24036
24037 \end_inset
24038
24039
24040 \end_layout
24041
24042 \begin_layout Standard
24043 If you haven't set an 
24044 \family sans
24045 Inner\InsetSpace ~
24046 Box
24047 \family default
24048 , you can align the box content horizontally in the box dialog.
24049 \end_layout
24050
24051 \begin_layout Standard
24052 \align center
24053 \begin_inset Box Boxed
24054 position "c"
24055 hor_pos "s"
24056 has_inner_box 0
24057 inner_pos "s"
24058 use_parbox 0
24059 width "90col%"
24060 special "none"
24061 height "1.25in"
24062 height_special "totalheight"
24063 status collapsed
24064
24065 \begin_layout Standard
24066 \align left
24067 This box text is horizontally stretched.
24068 \end_layout
24069
24070 \end_inset
24071
24072
24073 \end_layout
24074
24075 \begin_layout Section
24076 Framed Boxes
24077 \begin_inset LatexCommand label
24078 name "sec:Framed-Boxes"
24079
24080 \end_inset
24081
24082
24083 \begin_inset LatexCommand index
24084 name "Boxes ! Frames"
24085
24086 \end_inset
24087
24088
24089 \end_layout
24090
24091 \begin_layout Standard
24092 The frame style of the box can be specified in the box-dialog in the drop-down
24093  list 
24094 \family sans
24095 Type
24096 \family default
24097 .
24098  The following frame types are possible:
24099 \end_layout
24100
24101 \begin_layout Description
24102 Rectangular\InsetSpace ~
24103 box This draws a rectangle frame around the box.
24104  The frame line thickness has the size of 
24105 \series bold
24106
24107 \backslash
24108 fboxrule
24109 \series default
24110 .
24111  
24112 \begin_inset Box Boxed
24113 position "c"
24114 hor_pos "c"
24115 has_inner_box 1
24116 inner_pos "c"
24117 use_parbox 0
24118 width "20col%"
24119 special "none"
24120 height "1in"
24121 height_special "totalheight"
24122 status collapsed
24123
24124 \begin_layout Standard
24125 \align center
24126 Rectangular box
24127 \end_layout
24128
24129 \end_inset
24130
24131
24132 \end_layout
24133
24134 \begin_layout Description
24135 Oval\InsetSpace ~
24136 box,\InsetSpace ~
24137 thin This draws an oval frame around the box.
24138  The frame line thickness has the size 0.4\InsetSpace \thinspace{}
24139 pt.
24140  
24141 \begin_inset Box ovalbox
24142 position "c"
24143 hor_pos "c"
24144 has_inner_box 1
24145 inner_pos "c"
24146 use_parbox 0
24147 width "20col%"
24148 special "none"
24149 height "1in"
24150 height_special "totalheight"
24151 status collapsed
24152
24153 \begin_layout Standard
24154 \align center
24155 Oval box, thin
24156 \end_layout
24157
24158 \end_inset
24159
24160
24161 \end_layout
24162
24163 \begin_layout Description
24164 Oval\InsetSpace ~
24165 box,\InsetSpace ~
24166 thick This draws an oval frame around the box.
24167  The frame line thickness has the size 0.8\InsetSpace \thinspace{}
24168 pt.
24169  
24170 \begin_inset Box Ovalbox
24171 position "c"
24172 hor_pos "c"
24173 has_inner_box 1
24174 inner_pos "c"
24175 use_parbox 0
24176 width "20col%"
24177 special "none"
24178 height "1in"
24179 height_special "totalheight"
24180 status collapsed
24181
24182 \begin_layout Standard
24183 \align center
24184 Oval box, thick
24185 \end_layout
24186
24187 \end_inset
24188
24189
24190 \end_layout
24191
24192 \begin_layout Description
24193 Shadow\InsetSpace ~
24194 box This draws a rectangle frame with a shadow around the box.
24195  The frame line thickness has the size of 
24196 \series bold
24197
24198 \backslash
24199 fboxrule
24200 \series default
24201 , the shadow has a width of 4\InsetSpace \thinspace{}
24202 pt.
24203  
24204 \begin_inset Box Shadowbox
24205 position "c"
24206 hor_pos "c"
24207 has_inner_box 1
24208 inner_pos "c"
24209 use_parbox 0
24210 width "20col%"
24211 special "none"
24212 height "1in"
24213 height_special "totalheight"
24214 status collapsed
24215
24216 \begin_layout Standard
24217 \align center
24218 Shadow box
24219 \end_layout
24220
24221 \end_inset
24222
24223
24224 \end_layout
24225
24226 \begin_layout Description
24227 Double\InsetSpace ~
24228 box This draws a double-line rectangle frame around the box.
24229  The line thickness of the inner frame is 0.75\InsetSpace \thinspace{}
24230
24231 \series bold
24232
24233 \backslash
24234 fboxrule
24235 \series default
24236 , the thickness of the outer frame is 1.5\InsetSpace \thinspace{}
24237
24238 \series bold
24239
24240 \backslash
24241 fboxrule
24242 \series default
24243 .
24244  The distance between the lines is 1.5\InsetSpace \thinspace{}
24245
24246 \series bold
24247
24248 \backslash
24249 fboxrule
24250 \series default
24251 \InsetSpace \thinspace{}
24252 +\InsetSpace \thinspace{}
24253 0.5\InsetSpace \thinspace{}
24254 pt.
24255  
24256 \begin_inset Box Doublebox
24257 position "c"
24258 hor_pos "c"
24259 has_inner_box 1
24260 inner_pos "c"
24261 use_parbox 0
24262 width "20col%"
24263 special "none"
24264 height "1in"
24265 height_special "totalheight"
24266 status collapsed
24267
24268 \begin_layout Standard
24269 \align center
24270 Double box
24271 \end_layout
24272
24273 \end_inset
24274
24275
24276 \end_layout
24277
24278 \begin_layout Standard
24279 \begin_inset VSpace bigskip
24280 \end_inset
24281
24282 LyX's box label will change to the used frame style when you set a frame.
24283  To be able to use the different frame styles, the LaTeX-package 
24284 \series bold
24285 fancybox
24286 \series default
24287
24288 \begin_inset LatexCommand index
24289 name "LaTeX-packages ! fancybox"
24290
24291 \end_inset
24292
24293  must be installed.
24294 \end_layout
24295
24296 \begin_layout Standard
24297 \begin_inset VSpace bigskip
24298 \end_inset
24299
24300 The default value for the size 
24301 \series bold
24302
24303 \backslash
24304 fboxrule
24305 \series default
24306  is 0.4\InsetSpace \thinspace{}
24307 pt.
24308  It can be changed with the following command in ERT to e.\InsetSpace \thinspace{}
24309 g.\InsetSpace ~
24310 2\InsetSpace \thinspace{}
24311 pt:
24312 \end_layout
24313
24314 \begin_layout Standard
24315
24316 \series bold
24317
24318 \backslash
24319 setlength{
24320 \backslash
24321 fboxrule}{2pt}
24322 \end_layout
24323
24324 \begin_layout Standard
24325 \begin_inset ERT
24326 status collapsed
24327
24328 \begin_layout Standard
24329
24330
24331 \backslash
24332 setlength{
24333 \backslash
24334 fboxrule}{2pt}
24335 \end_layout
24336
24337 \end_inset
24338
24339
24340 \begin_inset Box Boxed
24341 position "c"
24342 hor_pos "c"
24343 has_inner_box 1
24344 inner_pos "c"
24345 use_parbox 0
24346 width "25col%"
24347 special "none"
24348 height "1in"
24349 height_special "totalheight"
24350 status collapsed
24351
24352 \begin_layout Standard
24353 \align center
24354 Rectangular box with 
24355 \series bold
24356
24357 \backslash
24358 fboxrule
24359 \series default
24360 \InsetSpace \thinspace{}
24361 =\InsetSpace \thinspace{}
24362 2\InsetSpace \thinspace{}
24363 pt
24364 \end_layout
24365
24366 \end_inset
24367
24368
24369 \begin_inset ERT
24370 status collapsed
24371
24372 \begin_layout Standard
24373
24374
24375 \backslash
24376 setlength{
24377 \backslash
24378 fboxrule}{0.4pt}
24379 \end_layout
24380
24381 \end_inset
24382
24383
24384 \end_layout
24385
24386 \begin_layout Standard
24387 \begin_inset VSpace bigskip
24388 \end_inset
24389
24390 The space between the frame and the box content is for all frame styles
24391  by default 3\InsetSpace \thinspace{}
24392 pt.
24393  You can change it by setting the length 
24394 \series bold
24395
24396 \backslash
24397 fboxsep
24398 \series default
24399  to another value.
24400  For example the command
24401 \end_layout
24402
24403 \begin_layout Standard
24404
24405 \series bold
24406
24407 \backslash
24408 setlength{
24409 \backslash
24410 fboxsep}{10pt}
24411 \end_layout
24412
24413 \begin_layout Standard
24414 sets the value to 10\InsetSpace \thinspace{}
24415 pt, like for the following box:
24416 \end_layout
24417
24418 \begin_layout Standard
24419 \begin_inset ERT
24420 status collapsed
24421
24422 \begin_layout Standard
24423
24424
24425 \backslash
24426 setlength{
24427 \backslash
24428 fboxsep}{10pt}
24429 \end_layout
24430
24431 \end_inset
24432
24433
24434 \begin_inset Box Boxed
24435 position "c"
24436 hor_pos "c"
24437 has_inner_box 1
24438 inner_pos "c"
24439 use_parbox 0
24440 width "25col%"
24441 special "none"
24442 height "1in"
24443 height_special "totalheight"
24444 status collapsed
24445
24446 \begin_layout Standard
24447 \align center
24448 Rectangular box with 
24449 \series bold
24450
24451 \backslash
24452 fboxsep
24453 \series default
24454 \InsetSpace \thinspace{}
24455 =\InsetSpace \thinspace{}
24456 10\InsetSpace \thinspace{}
24457 pt
24458 \end_layout
24459
24460 \end_inset
24461
24462
24463 \begin_inset ERT
24464 status collapsed
24465
24466 \begin_layout Standard
24467
24468
24469 \backslash
24470 setlength{
24471 \backslash
24472 fboxsep}{3pt}
24473 \end_layout
24474
24475 \end_inset
24476
24477
24478 \end_layout
24479
24480 \begin_layout Standard
24481 \begin_inset VSpace bigskip
24482 \end_inset
24483
24484 The diameter of the round corners of the oval boxes can be set with the
24485  command 
24486 \series bold
24487
24488 \backslash
24489 cornersize
24490 \series default
24491 .
24492  The command
24493 \end_layout
24494
24495 \begin_layout Standard
24496
24497 \series bold
24498
24499 \backslash
24500 cornersize*{1cm}
24501 \end_layout
24502
24503 \begin_layout Standard
24504 sets the diameter to 1\InsetSpace \thinspace{}
24505 cm.
24506  The command
24507 \end_layout
24508
24509 \begin_layout Standard
24510
24511 \series bold
24512
24513 \backslash
24514 cornersize{num}
24515 \end_layout
24516
24517 \begin_layout Standard
24518 sets the diameter to 
24519 \family sans
24520 num\InsetSpace \thinspace{}
24521 ×\InsetSpace \thinspace{}
24522 minimum(width and heigth of box)
24523 \family default
24524 .
24525  The default is 
24526 \series bold
24527
24528 \backslash
24529 cornersize{0.5}
24530 \series default
24531 .
24532 \end_layout
24533
24534 \begin_layout Standard
24535 \begin_inset ERT
24536 status collapsed
24537
24538 \begin_layout Standard
24539
24540
24541 \backslash
24542 cornersize*{1.5cm}
24543 \end_layout
24544
24545 \end_inset
24546
24547
24548 \begin_inset Box Ovalbox
24549 position "c"
24550 hor_pos "c"
24551 has_inner_box 1
24552 inner_pos "c"
24553 use_parbox 0
24554 width "25col%"
24555 special "none"
24556 height "1in"
24557 height_special "totalheight"
24558 status collapsed
24559
24560 \begin_layout Standard
24561 \align center
24562 Oval box with 
24563 \series bold
24564
24565 \backslash
24566 cornersize
24567 \series default
24568 \InsetSpace \thinspace{}
24569 =\InsetSpace \thinspace{}
24570 1.5\InsetSpace \thinspace{}
24571 cm
24572 \end_layout
24573
24574 \end_inset
24575
24576
24577 \begin_inset ERT
24578 status collapsed
24579
24580 \begin_layout Standard
24581
24582
24583 \backslash
24584 cornersize{0.5}
24585 \end_layout
24586
24587 \end_inset
24588
24589
24590 \end_layout
24591
24592 \begin_layout Standard
24593 \begin_inset VSpace bigskip
24594 \end_inset
24595
24596 The size of the shadow can be adjusted by changing the length 
24597 \series bold
24598
24599 \backslash
24600 shadowsize
24601 \series default
24602 .
24603  It it set to 2\InsetSpace \thinspace{}
24604 pt for the following box by this command:
24605 \end_layout
24606
24607 \begin_layout Standard
24608
24609 \series bold
24610
24611 \backslash
24612 setlength{
24613 \backslash
24614 shadowsize}{2pt}
24615 \end_layout
24616
24617 \begin_layout Standard
24618 \begin_inset ERT
24619 status collapsed
24620
24621 \begin_layout Standard
24622
24623
24624 \backslash
24625 setlength{
24626 \backslash
24627 shadowsize}{2pt}
24628 \end_layout
24629
24630 \end_inset
24631
24632
24633 \begin_inset Box Shadowbox
24634 position "c"
24635 hor_pos "c"
24636 has_inner_box 1
24637 inner_pos "c"
24638 use_parbox 0
24639 width "25col%"
24640 special "none"
24641 height "1in"
24642 height_special "totalheight"
24643 status collapsed
24644
24645 \begin_layout Standard
24646 \align center
24647 Shadow box with 
24648 \series bold
24649
24650 \backslash
24651 shadowsize
24652 \series default
24653 \InsetSpace \thinspace{}
24654 =\InsetSpace \thinspace{}
24655 2\InsetSpace \thinspace{}
24656 pt
24657 \end_layout
24658
24659 \end_inset
24660
24661
24662 \begin_inset ERT
24663 status collapsed
24664
24665 \begin_layout Standard
24666
24667
24668 \backslash
24669 setlength{
24670 \backslash
24671 shadowsize}{4pt}
24672 \end_layout
24673
24674 \end_inset
24675
24676
24677 \end_layout
24678
24679 \begin_layout Standard
24680 \begin_inset VSpace bigskip
24681 \end_inset
24682
24683 Changed lengths and widths are valid for all boxes following the commands
24684  that change them.
24685 \end_layout
24686
24687 \begin_layout Section
24688 Minipages
24689 \begin_inset LatexCommand label
24690 name "sec:Minipages"
24691
24692 \end_inset
24693
24694
24695 \begin_inset LatexCommand index
24696 name "Boxes ! Minipages"
24697
24698 \end_inset
24699
24700
24701 \end_layout
24702
24703 \begin_layout Standard
24704 Minipages are treated by LaTeX as pages within pages and can therefore for
24705  example have their own footnotes.
24706 \end_layout
24707
24708 \begin_layout Standard
24709 Minipages are useful when you write documents with different languages.
24710 \end_layout
24711
24712 \begin_layout Standard
24713 Below are two example minipages side by side.
24714  Their width is set to 45\InsetSpace \thinspace{}
24715 col% and they are separated by a horizontal fill,
24716  that was inserted via the menu 
24717 \family sans
24718 Insert\SpecialChar \menuseparator
24719 Special\InsetSpace ~
24720 Formatting\SpecialChar \menuseparator
24721 Horizontal\InsetSpace ~
24722 Fill
24723 \family default
24724 .
24725 \end_layout
24726
24727 \begin_layout Standard
24728 \begin_inset Box Frameless
24729 position "t"
24730 hor_pos "c"
24731 has_inner_box 1
24732 inner_pos "c"
24733 use_parbox 0
24734 width "45col%"
24735 special "none"
24736 height "1in"
24737 height_special "totalheight"
24738 status open
24739
24740 \begin_layout Standard
24741
24742 \lang german
24743 Dies ist ein deutscher Text.
24744  Dies ist ein deutscher Text.
24745  Dies ist ein deutscher Text.
24746  Dies ist ein deutscher Text.
24747  Dies ist ein deutscher Text.
24748  Dies ist ein deutscher Text.
24749  Dies ist ein deutscher Text.
24750  Dies ist ein deutscher Text.
24751  Dies ist ein deutscher Text.
24752  Dies ist ein deutscher Text.
24753  Dies ist ein deutscher Text.
24754  Dies ist ein deutscher Text.
24755  Dies ist ein deutscher Text
24756 \begin_inset Foot
24757 status collapsed
24758
24759 \begin_layout Standard
24760
24761 \lang german
24762 Dies ist eine deutsche Fußnote.
24763 \end_layout
24764
24765 \end_inset
24766
24767 .
24768  Dies ist ein deutscher Text.
24769  Dies ist ein deutscher Text.
24770 \end_layout
24771
24772 \end_inset
24773
24774
24775 \hfill
24776
24777 \begin_inset Box Frameless
24778 position "t"
24779 hor_pos "c"
24780 has_inner_box 1
24781 inner_pos "c"
24782 use_parbox 0
24783 width "45col%"
24784 special "none"
24785 height "1in"
24786 height_special "totalheight"
24787 status open
24788
24789 \begin_layout Standard
24790 This is an English Text.
24791  This is an English Text.
24792  This is an English Text.
24793  This is an English Text.
24794  This is an English Text.
24795  This is an English Text.
24796  This is an English Text.
24797  This is an English Text.
24798  This is an English Text.
24799  This is an English Text.
24800  This is an English Text.
24801  This is an English Text.
24802  This is an English Text.
24803  This is an English Text.
24804  This is an English Text.
24805  This is an English Text.
24806 \begin_inset Foot
24807 status collapsed
24808
24809 \begin_layout Standard
24810 This is an English footnote.
24811 \end_layout
24812
24813 \end_inset
24814
24815  This is an English Text.
24816  
24817 \end_layout
24818
24819 \end_inset
24820
24821
24822 \end_layout
24823
24824 \begin_layout Standard
24825 \begin_inset VSpace bigskip
24826 \end_inset
24827
24828 Another application for minipages are footnotes within tables.
24829  Due to a LaTeX restriction footnotes within tables doesn't appear at the
24830  bottom of the current page.
24831  But when you put the table with the footnote to a minipage, the footnote
24832  will appear at its bottom, numbered with Latin letters.
24833  The footnote number is reset to 1 in every minipage but not outside the
24834  minipages.
24835 \end_layout
24836
24837 \begin_layout Standard
24838 The footnote of this table doesn't appear: 
24839 \begin_inset Tabular
24840 <lyxtabular version="3" rows="3" columns="4">
24841 <features>
24842 <column alignment="center" valignment="top" leftline="true" width="0pt">
24843 <column alignment="center" valignment="top" leftline="true" width="0pt">
24844 <column alignment="center" valignment="top" leftline="true" width="0pt">
24845 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
24846 <row topline="true">
24847 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24848 \begin_inset Text
24849
24850 \begin_layout Standard
24851 1
24852 \end_layout
24853
24854 \end_inset
24855 </cell>
24856 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24857 \begin_inset Text
24858
24859 \begin_layout Standard
24860 2
24861 \end_layout
24862
24863 \end_inset
24864 </cell>
24865 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24866 \begin_inset Text
24867
24868 \begin_layout Standard
24869 3
24870 \begin_inset Foot
24871 status collapsed
24872
24873 \begin_layout Standard
24874 This is a footnote within a table.
24875 \end_layout
24876
24877 \end_inset
24878
24879
24880 \end_layout
24881
24882 \end_inset
24883 </cell>
24884 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24885 \begin_inset Text
24886
24887 \begin_layout Standard
24888 4
24889 \end_layout
24890
24891 \end_inset
24892 </cell>
24893 </row>
24894 <row topline="true">
24895 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24896 \begin_inset Text
24897
24898 \begin_layout Standard
24899 a
24900 \end_layout
24901
24902 \end_inset
24903 </cell>
24904 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24905 \begin_inset Text
24906
24907 \begin_layout Standard
24908 b
24909 \end_layout
24910
24911 \end_inset
24912 </cell>
24913 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24914 \begin_inset Text
24915
24916 \begin_layout Standard
24917 c
24918 \end_layout
24919
24920 \end_inset
24921 </cell>
24922 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24923 \begin_inset Text
24924
24925 \begin_layout Standard
24926 d
24927 \end_layout
24928
24929 \end_inset
24930 </cell>
24931 </row>
24932 <row topline="true" bottomline="true">
24933 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24934 \begin_inset Text
24935
24936 \begin_layout Standard
24937 e
24938 \end_layout
24939
24940 \end_inset
24941 </cell>
24942 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24943 \begin_inset Text
24944
24945 \begin_layout Standard
24946 f
24947 \end_layout
24948
24949 \end_inset
24950 </cell>
24951 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24952 \begin_inset Text
24953
24954 \begin_layout Standard
24955 g
24956 \end_layout
24957
24958 \end_inset
24959 </cell>
24960 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24961 \begin_inset Text
24962
24963 \begin_layout Standard
24964 h
24965 \end_layout
24966
24967 \end_inset
24968 </cell>
24969 </row>
24970 </lyxtabular>
24971
24972 \end_inset
24973
24974
24975 \end_layout
24976
24977 \begin_layout Standard
24978 \align center
24979 \begin_inset Box Frameless
24980 position "t"
24981 hor_pos "c"
24982 has_inner_box 1
24983 inner_pos "c"
24984 use_parbox 0
24985 width "30col%"
24986 special "none"
24987 height "1in"
24988 height_special "totalheight"
24989 status open
24990
24991 \begin_layout Standard
24992 \align center
24993 \begin_inset Tabular
24994 <lyxtabular version="3" rows="3" columns="4">
24995 <features>
24996 <column alignment="center" valignment="top" leftline="true" width="0pt">
24997 <column alignment="center" valignment="top" leftline="true" width="0pt">
24998 <column alignment="center" valignment="top" leftline="true" width="0pt">
24999 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
25000 <row topline="true">
25001 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25002 \begin_inset Text
25003
25004 \begin_layout Standard
25005 1
25006 \end_layout
25007
25008 \end_inset
25009 </cell>
25010 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25011 \begin_inset Text
25012
25013 \begin_layout Standard
25014 2
25015 \end_layout
25016
25017 \end_inset
25018 </cell>
25019 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25020 \begin_inset Text
25021
25022 \begin_layout Standard
25023 3
25024 \begin_inset Foot
25025 status collapsed
25026
25027 \begin_layout Standard
25028 This is a footnote within a table.
25029 \end_layout
25030
25031 \end_inset
25032
25033
25034 \end_layout
25035
25036 \end_inset
25037 </cell>
25038 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25039 \begin_inset Text
25040
25041 \begin_layout Standard
25042 4
25043 \end_layout
25044
25045 \end_inset
25046 </cell>
25047 </row>
25048 <row topline="true">
25049 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25050 \begin_inset Text
25051
25052 \begin_layout Standard
25053 a
25054 \end_layout
25055
25056 \end_inset
25057 </cell>
25058 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25059 \begin_inset Text
25060
25061 \begin_layout Standard
25062 b
25063 \end_layout
25064
25065 \end_inset
25066 </cell>
25067 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25068 \begin_inset Text
25069
25070 \begin_layout Standard
25071 c
25072 \end_layout
25073
25074 \end_inset
25075 </cell>
25076 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25077 \begin_inset Text
25078
25079 \begin_layout Standard
25080 d
25081 \end_layout
25082
25083 \end_inset
25084 </cell>
25085 </row>
25086 <row topline="true" bottomline="true">
25087 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25088 \begin_inset Text
25089
25090 \begin_layout Standard
25091 e
25092 \end_layout
25093
25094 \end_inset
25095 </cell>
25096 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25097 \begin_inset Text
25098
25099 \begin_layout Standard
25100 f
25101 \end_layout
25102
25103 \end_inset
25104 </cell>
25105 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25106 \begin_inset Text
25107
25108 \begin_layout Standard
25109 g
25110 \end_layout
25111
25112 \end_inset
25113 </cell>
25114 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25115 \begin_inset Text
25116
25117 \begin_layout Standard
25118 h
25119 \end_layout
25120
25121 \end_inset
25122 </cell>
25123 </row>
25124 </lyxtabular>
25125
25126 \end_inset
25127
25128
25129 \end_layout
25130
25131 \end_inset
25132
25133
25134 \end_layout
25135
25136 \begin_layout Standard
25137 \begin_inset VSpace bigskip
25138 \end_inset
25139
25140 The document-wide paragraph settings are ignored within minipages.
25141  That means that there will be no space between paragraphs in minipages
25142  although you set it to e.\InsetSpace \thinspace{}
25143 g.\InsetSpace ~
25144
25145 \family sans
25146 MedSkip
25147 \family default
25148  in the document settings.
25149 \end_layout
25150
25151 \begin_layout Standard
25152 Minipages can also be used to set a background color for text parts, see
25153  section\InsetSpace ~
25154
25155 \begin_inset LatexCommand ref
25156 reference "sub:Color-for-Paragraphs"
25157
25158 \end_inset
25159
25160 .
25161 \end_layout
25162
25163 \begin_layout Standard
25164 \begin_inset Note Greyedout
25165 status open
25166
25167 \begin_layout Standard
25168
25169 \series bold
25170 Note:
25171 \series default
25172  You cannot have floats or margin notes inside minipages but minipages can
25173  be used inside tables, floats, and other boxes.
25174 \end_layout
25175
25176 \end_inset
25177
25178
25179 \end_layout
25180
25181 \begin_layout Section
25182 Parboxes
25183 \begin_inset LatexCommand label
25184 name "sec:Parboxes"
25185
25186 \end_inset
25187
25188
25189 \begin_inset LatexCommand index
25190 name "Boxes ! Parboxes"
25191
25192 \end_inset
25193
25194
25195 \end_layout
25196
25197 \begin_layout Standard
25198 Parboxes are very similar to minipages with the difference that they cannot
25199  have footnotes.
25200  The main difference to minipages is that minipages are in contrary to parboxes
25201  no real boxes but LaTeX-environments.
25202 \end_layout
25203
25204 \begin_layout Standard
25205 \align center
25206 \begin_inset Box Frameless
25207 position "t"
25208 hor_pos "c"
25209 has_inner_box 1
25210 inner_pos "t"
25211 use_parbox 1
25212 width "33col%"
25213 special "none"
25214 height "1in"
25215 height_special "totalheight"
25216 status collapsed
25217
25218 \begin_layout Standard
25219 This a text within a parbox.
25220  This a text within a parbox.
25221 \end_layout
25222
25223 \begin_layout Standard
25224 This footnote won't appear:
25225 \begin_inset Foot
25226 status collapsed
25227
25228 \begin_layout Standard
25229 This footnote is inside a parbox and will therefore not appear.
25230 \end_layout
25231
25232 \end_inset
25233
25234
25235 \end_layout
25236
25237 \end_inset
25238
25239
25240 \end_layout
25241
25242 \begin_layout Section
25243 Boxes for Words and Characters
25244 \begin_inset LatexCommand index
25245 name "Boxes ! for Characters"
25246
25247 \end_inset
25248
25249
25250 \end_layout
25251
25252 \begin_layout Subsection
25253 Prevent Hyphenation
25254 \begin_inset LatexCommand label
25255 name "sec:Prevent-Hyphenation"
25256
25257 \end_inset
25258
25259
25260 \begin_inset LatexCommand index
25261 name "Boxes ! to Prevent Hyphenation"
25262
25263 \end_inset
25264
25265
25266 \end_layout
25267
25268 \begin_layout Standard
25269 You can use a special kind of boxes to prevent words or text to be hyphenated.
25270 \newline
25271 Her
25272 e is an example text:
25273 \end_layout
25274
25275 \begin_layout Standard
25276 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25277 g.\InsetSpace ~
25278 veryver
25279 ylongwords.
25280 \end_layout
25281
25282 \begin_layout Standard
25283 To prevent the hyphenation of the word 
25284 \begin_inset Quotes eld
25285 \end_inset
25286
25287 veryverylongwords
25288 \begin_inset Quotes erd
25289 \end_inset
25290
25291 , add the command
25292 \end_layout
25293
25294 \begin_layout Standard
25295
25296 \series bold
25297
25298 \backslash
25299 mbox{
25300 \end_layout
25301
25302 \begin_layout Standard
25303 in ERT before the word.
25304  Behind the word insert a closing brace 
25305 \begin_inset Quotes eld
25306 \end_inset
25307
25308
25309 \series bold
25310 }
25311 \series default
25312
25313 \begin_inset Quotes erd
25314 \end_inset
25315
25316  in ERT.
25317 \begin_inset ERT
25318 status collapsed
25319
25320 \begin_layout Standard
25321
25322
25323 \backslash
25324 pagebreak 
25325 \end_layout
25326
25327 \end_inset
25328
25329
25330 \end_layout
25331
25332 \begin_layout Standard
25333 This is the result:
25334 \end_layout
25335
25336 \begin_layout Standard
25337 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25338 g.\InsetSpace ~
25339
25340 \begin_inset ERT
25341 status collapsed
25342
25343 \begin_layout Standard
25344
25345
25346 \backslash
25347 mbox{
25348 \end_layout
25349
25350 \end_inset
25351
25352 veryverylongwords.
25353 \begin_inset ERT
25354 status collapsed
25355
25356 \begin_layout Standard
25357
25358 }
25359 \end_layout
25360
25361 \end_inset
25362
25363
25364 \end_layout
25365
25366 \begin_layout Standard
25367 Of course the word now protrudes over the side margin.
25368  To avoid this, add via the menu 
25369 \family sans
25370 Insert\SpecialChar \menuseparator
25371 Special\InsetSpace ~
25372 Formatting\SpecialChar \menuseparator
25373 Line\InsetSpace ~
25374 Break
25375 \family default
25376  (shortcut 
25377 \series bold
25378 Ctrl-Return
25379 \series default
25380 ) a line break before the word:
25381 \end_layout
25382
25383 \begin_layout Standard
25384 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25385 g.\InsetSpace ~
25386
25387 \newline
25388
25389 \begin_inset ERT
25390 status collapsed
25391
25392 \begin_layout Standard
25393
25394
25395 \backslash
25396 mbox{
25397 \end_layout
25398
25399 \end_inset
25400
25401 veryverylongwords.
25402 \begin_inset ERT
25403 status collapsed
25404
25405 \begin_layout Standard
25406
25407 }
25408 \end_layout
25409
25410 \end_inset
25411
25412
25413 \end_layout
25414
25415 \begin_layout Subsection
25416 Vertical Alignment
25417 \begin_inset LatexCommand label
25418 name "sub:Vertical-Alignment"
25419
25420 \end_inset
25421
25422
25423 \begin_inset LatexCommand index
25424 name "Boxes ! for Vertical Alignment"
25425
25426 \end_inset
25427
25428
25429 \begin_inset LatexCommand index
25430 name "Boxes ! Raiseboxes"
25431
25432 \end_inset
25433
25434
25435 \end_layout
25436
25437 \begin_layout Standard
25438 With the help of the command 
25439 \series bold
25440
25441 \backslash
25442 raisebox
25443 \series default
25444  you can align words, characters or other boxes vertically to the surrounding
25445  text.
25446  
25447 \series bold
25448
25449 \backslash
25450 raisebox
25451 \series default
25452  is used with the following scheme:
25453 \end_layout
25454
25455 \begin_layout Standard
25456
25457 \series bold
25458
25459 \backslash
25460 raisebox{lift}[height][depth]{box content}
25461 \end_layout
25462
25463 \begin_layout Standard
25464 The lift can be a positive value to raise the box or a negative value to
25465  lower the box.
25466 \end_layout
25467
25468 \begin_layout Standard
25469 To align for example the word 
25470 \begin_inset Quotes eld
25471 \end_inset
25472
25473 preventing
25474 \begin_inset Quotes erd
25475 \end_inset
25476
25477  so that the bottom of the 
25478 \begin_inset Quotes eld
25479 \end_inset
25480
25481 deepest
25482 \begin_inset Quotes erd
25483 \end_inset
25484
25485  character 
25486 \begin_inset Quotes eld
25487 \end_inset
25488
25489 p
25490 \begin_inset Quotes erd
25491 \end_inset
25492
25493  is at the baseline, insert the command
25494 \end_layout
25495
25496 \begin_layout Standard
25497
25498 \series bold
25499
25500 \backslash
25501 raisebox{
25502 \backslash
25503 depth}{
25504 \end_layout
25505
25506 \begin_layout Standard
25507 in ERT before the word.
25508  Behind the word insert a closing brace 
25509 \begin_inset Quotes eld
25510 \end_inset
25511
25512
25513 \series bold
25514 }
25515 \series default
25516
25517 \begin_inset Quotes erd
25518 \end_inset
25519
25520  in ERT.
25521 \newline
25522 This is the result:
25523 \end_layout
25524
25525 \begin_layout Standard
25526 This is a text line with the word 
25527 \begin_inset ERT
25528 status collapsed
25529
25530 \begin_layout Standard
25531
25532
25533 \backslash
25534 raisebox{
25535 \backslash
25536 depth}{
25537 \end_layout
25538
25539 \end_inset
25540
25541
25542 \begin_inset Quotes eld
25543 \end_inset
25544
25545 preventing
25546 \begin_inset Quotes erd
25547 \end_inset
25548
25549
25550 \begin_inset ERT
25551 status collapsed
25552
25553 \begin_layout Standard
25554
25555 }
25556 \end_layout
25557
25558 \end_inset
25559
25560  as raised word.
25561 \end_layout
25562
25563 \begin_layout Standard
25564 \begin_inset VSpace bigskip
25565 \end_inset
25566
25567 When you raise or lower characters in a line, the line distance will be
25568  spread:
25569 \end_layout
25570
25571 \begin_layout Standard
25572 This is a text line with the word 
25573 \begin_inset ERT
25574 status collapsed
25575
25576 \begin_layout Standard
25577
25578
25579 \backslash
25580 raisebox{-
25581 \backslash
25582 depth}{
25583 \end_layout
25584
25585 \end_inset
25586
25587
25588 \begin_inset Quotes eld
25589 \end_inset
25590
25591 preventing
25592 \begin_inset Quotes erd
25593 \end_inset
25594
25595
25596 \begin_inset ERT
25597 status collapsed
25598
25599 \begin_layout Standard
25600
25601 }
25602 \end_layout
25603
25604 \end_inset
25605
25606  as lowered word.
25607 \newline
25608 This is a text line with the word 
25609 \begin_inset ERT
25610 status collapsed
25611
25612 \begin_layout Standard
25613
25614
25615 \backslash
25616 raisebox{0.5cm}{
25617 \end_layout
25618
25619 \end_inset
25620
25621
25622 \begin_inset Quotes eld
25623 \end_inset
25624
25625 testing
25626 \begin_inset Quotes erd
25627 \end_inset
25628
25629
25630 \begin_inset ERT
25631 status collapsed
25632
25633 \begin_layout Standard
25634
25635 }
25636 \end_layout
25637
25638 \end_inset
25639
25640  as raised word.
25641 \end_layout
25642
25643 \begin_layout Standard
25644 If you want to prevent this for a certain reason, set the box height to
25645  a zero value.
25646  For example use
25647 \end_layout
25648
25649 \begin_layout Standard
25650
25651 \series bold
25652
25653 \backslash
25654 raisebox{-
25655 \backslash
25656 depth}[0pt]{
25657 \end_layout
25658
25659 \begin_layout Standard
25660 This is a text line with the word 
25661 \begin_inset ERT
25662 status collapsed
25663
25664 \begin_layout Standard
25665
25666
25667 \backslash
25668 raisebox{-
25669 \backslash
25670 depth}[0pt]{
25671 \end_layout
25672
25673 \end_inset
25674
25675
25676 \begin_inset Quotes eld
25677 \end_inset
25678
25679 preventing
25680 \begin_inset Quotes erd
25681 \end_inset
25682
25683
25684 \begin_inset ERT
25685 status collapsed
25686
25687 \begin_layout Standard
25688
25689 }
25690 \end_layout
25691
25692 \end_inset
25693
25694  as lowered word.
25695 \newline
25696 This is a text line with the word 
25697 \begin_inset ERT
25698 status collapsed
25699
25700 \begin_layout Standard
25701
25702
25703 \backslash
25704 raisebox{0.5cm}[0pt]{
25705 \end_layout
25706
25707 \end_inset
25708
25709
25710 \begin_inset Quotes eld
25711 \end_inset
25712
25713 testing
25714 \begin_inset Quotes erd
25715 \end_inset
25716
25717
25718 \begin_inset ERT
25719 status collapsed
25720
25721 \begin_layout Standard
25722
25723 }
25724 \end_layout
25725
25726 \end_inset
25727
25728  as raised word.
25729 \end_layout
25730
25731 \begin_layout Section
25732 Colored Boxes
25733 \begin_inset LatexCommand label
25734 name "sec:Colored-Boxes"
25735
25736 \end_inset
25737
25738
25739 \begin_inset LatexCommand index
25740 name "Boxes ! Color"
25741
25742 \end_inset
25743
25744
25745 \end_layout
25746
25747 \begin_layout Subsection
25748 Color for Text
25749 \begin_inset LatexCommand index
25750 name "Color ! for Text"
25751
25752 \end_inset
25753
25754
25755 \end_layout
25756
25757 \begin_layout Standard
25758 To color the background of text the text must be put into a so called colorbox.
25759  This requires that the LaTeX-package 
25760 \series bold
25761 color
25762 \series default
25763
25764 \begin_inset LatexCommand index
25765 name "LaTeX-packages ! color"
25766
25767 \end_inset
25768
25769  is loaded in the document preamble with the command
25770 \end_layout
25771
25772 \begin_layout Standard
25773
25774 \series bold
25775
25776 \backslash
25777 @ifundef\SpecialChar \textcompwordmark{}
25778 ined{textcolor}
25779 \newline
25780
25781 \begin_inset ERT
25782 status collapsed
25783
25784 \begin_layout Standard
25785
25786
25787 \backslash
25788 hphantom{ }
25789 \end_layout
25790
25791 \end_inset
25792
25793 {
25794 \backslash
25795 usepackage{color}}{}
25796 \end_layout
25797
25798 \begin_layout Standard
25799 The package 
25800 \series bold
25801 color
25802 \series default
25803  will be loaded automatically by LyX when you color text
25804 \begin_inset Foot
25805 status collapsed
25806
25807 \begin_layout Standard
25808 To avoid that it is loaded twice the command 
25809 \series bold
25810
25811 \backslash
25812 @ifundef\SpecialChar \textcompwordmark{}
25813 ined
25814 \series default
25815  is used.
25816 \end_layout
25817
25818 \end_inset
25819
25820 .
25821 \end_layout
25822
25823 \begin_layout Standard
25824 \begin_inset VSpace medskip
25825 \end_inset
25826
25827 Colorboxes are created with the command 
25828 \series bold
25829
25830 \backslash
25831 colorbox
25832 \series default
25833 .
25834  This will be used with the following scheme:
25835 \end_layout
25836
25837 \begin_layout Standard
25838
25839 \series bold
25840
25841 \backslash
25842 colorbox{color}{box content}
25843 \end_layout
25844
25845 \begin_layout Standard
25846 The box content can also be a box and colorboxes can also be within other
25847  boxes.
25848 \end_layout
25849
25850 \begin_layout Standard
25851 The following colors are predefined:
25852 \newline
25853
25854 \family sans
25855 black
25856 \family default
25857
25858 \family sans
25859 blue
25860 \family default
25861
25862 \family sans
25863 cyan
25864 \family default
25865 \series bold
25866 ,
25867 \series default
25868  
25869 \family sans
25870 green
25871 \family default
25872
25873 \family sans
25874 magenta
25875 \family default
25876
25877 \family sans
25878 red
25879 \family default
25880
25881 \family sans
25882 white
25883 \family default
25884 , and 
25885 \family sans
25886 yellow
25887 \family default
25888 .
25889 \newline
25890 You can also define your own color as described in section\InsetSpace ~
25891
25892 \begin_inset LatexCommand ref
25893 reference "sec:Colored-Tables"
25894
25895 \end_inset
25896
25897 .
25898 \end_layout
25899
25900 \begin_layout Standard
25901 To have e.\InsetSpace \thinspace{}
25902 g.\InsetSpace ~
25903 a red background for a word, insert the command
25904 \end_layout
25905
25906 \begin_layout Standard
25907
25908 \series bold
25909
25910 \backslash
25911 colorbox{red}{
25912 \end_layout
25913
25914 \begin_layout Standard
25915 before the word in ERT.
25916  Behind the word insert a closing brace 
25917 \begin_inset Quotes eld
25918 \end_inset
25919
25920
25921 \series bold
25922 }
25923 \series default
25924
25925 \begin_inset Quotes erd
25926 \end_inset
25927
25928  in ERT.
25929 \newline
25930 This is the result:
25931 \end_layout
25932
25933 \begin_layout Standard
25934 This is a line where the word 
25935 \begin_inset ERT
25936 status collapsed
25937
25938 \begin_layout Standard
25939
25940
25941 \backslash
25942 colorbox{red}{
25943 \end_layout
25944
25945 \end_inset
25946
25947
25948 \begin_inset Quotes eld
25949 \end_inset
25950
25951 Attention!
25952 \begin_inset Quotes erd
25953 \end_inset
25954
25955
25956 \begin_inset ERT
25957 status collapsed
25958
25959 \begin_layout Standard
25960
25961 }
25962 \end_layout
25963
25964 \end_inset
25965
25966  has a red background.
25967 \end_layout
25968
25969 \begin_layout Standard
25970 \begin_inset VSpace bigskip
25971 \end_inset
25972
25973 If you would have the box frame in a different color, you can use the command
25974  
25975 \series bold
25976
25977 \backslash
25978 fcolorbox
25979 \series default
25980  with the following scheme:
25981 \end_layout
25982
25983 \begin_layout Standard
25984
25985 \series bold
25986
25987 \backslash
25988 fcolorbox{frame color}{box color}{box content}
25989 \end_layout
25990
25991 \begin_layout Standard
25992
25993 \series bold
25994
25995 \backslash
25996 fcolorbox
25997 \series default
25998  is an extension to 
25999 \series bold
26000
26001 \backslash
26002 colorbox
26003 \series default
26004 .
26005  The frame thickness and the space between the frame and the box content
26006  can be adjusted with the lengths 
26007 \series bold
26008
26009 \backslash
26010 fboxrule
26011 \series default
26012  and 
26013 \series bold
26014
26015 \backslash
26016 fboxsep
26017 \series default
26018 , respectively, as described in section\InsetSpace ~
26019
26020 \begin_inset LatexCommand ref
26021 reference "sec:Framed-Boxes"
26022
26023 \end_inset
26024
26025 .
26026 \end_layout
26027
26028 \begin_layout Standard
26029 For the following example the command
26030 \end_layout
26031
26032 \begin_layout Standard
26033
26034 \series bold
26035
26036 \backslash
26037 fcolorbox{cyan}{magenta}{
26038 \end_layout
26039
26040 \begin_layout Standard
26041 was used.
26042 \end_layout
26043
26044 \begin_layout Standard
26045 Here is an example where the frame line thickness was set to 1\InsetSpace \thinspace{}
26046 mm:
26047 \newline
26048
26049 \begin_inset ERT
26050 status collapsed
26051
26052 \begin_layout Standard
26053
26054
26055 \backslash
26056 fboxrule 1mm 
26057 \backslash
26058 fboxsep 1mm
26059 \end_layout
26060
26061 \end_inset
26062
26063
26064 \begin_inset ERT
26065 status collapsed
26066
26067 \begin_layout Standard
26068
26069
26070 \backslash
26071 fcolorbox{cyan}{magenta}{
26072 \end_layout
26073
26074 \end_inset
26075
26076 This is text within a colored, framed box.
26077 \begin_inset ERT
26078 status collapsed
26079
26080 \begin_layout Standard
26081
26082 }
26083 \end_layout
26084
26085 \end_inset
26086
26087
26088 \end_layout
26089
26090 \begin_layout Standard
26091 \begin_inset VSpace bigskip
26092 \end_inset
26093
26094 Of course you can also have colored text inside a colorbox:
26095 \newline
26096
26097 \begin_inset ERT
26098 status collapsed
26099
26100 \begin_layout Standard
26101
26102
26103 \backslash
26104 fcolorbox{cyan}{magenta}{
26105 \end_layout
26106
26107 \end_inset
26108
26109
26110 \color yellow
26111 This is colored text within a colored, framed box.
26112 \color none
26113
26114 \begin_inset ERT
26115 status collapsed
26116
26117 \begin_layout Standard
26118
26119 }
26120 \end_layout
26121
26122 \end_inset
26123
26124
26125 \begin_inset ERT
26126 status collapsed
26127
26128 \begin_layout Standard
26129
26130
26131 \backslash
26132 fboxrule 0.4pt 
26133 \backslash
26134 fboxsep 3pt
26135 \end_layout
26136
26137 \end_inset
26138
26139
26140 \end_layout
26141
26142 \begin_layout Standard
26143
26144 \series bold
26145 \begin_inset VSpace medskip
26146 \end_inset
26147
26148
26149 \end_layout
26150
26151 \begin_layout Standard
26152 \begin_inset Note Greyedout
26153 status open
26154
26155 \begin_layout Standard
26156
26157 \series bold
26158 Note:
26159 \series default
26160  Text in colorboxes cannot have line breaks.
26161  To color multiple text lines or paragraphs, use a box inside a colorbox
26162  as described in the following.
26163 \end_layout
26164
26165 \end_inset
26166
26167
26168 \end_layout
26169
26170 \begin_layout Subsection
26171 Color for Paragraphs
26172 \begin_inset LatexCommand label
26173 name "sub:Color-for-Paragraphs"
26174
26175 \end_inset
26176
26177
26178 \begin_inset LatexCommand index
26179 name "Color ! for Paragraphs"
26180
26181 \end_inset
26182
26183
26184 \end_layout
26185
26186 \begin_layout Standard
26187 To set the background color for more than one text line, put the text into
26188  a minipage.
26189  Before the minipage insert the 
26190 \series bold
26191
26192 \backslash
26193 colorbox
26194 \series default
26195  command
26196 \end_layout
26197
26198 \begin_layout Standard
26199
26200 \series bold
26201
26202 \backslash
26203 colorbox{color}{
26204 \end_layout
26205
26206 \begin_layout Standard
26207 in ERT.
26208  Behind the minipage insert a closing brace 
26209 \begin_inset Quotes eld
26210 \end_inset
26211
26212
26213 \series bold
26214 }
26215 \series default
26216
26217 \begin_inset Quotes erd
26218 \end_inset
26219
26220  in ERT.
26221 \end_layout
26222
26223 \begin_layout Standard
26224 \begin_inset ERT
26225 status collapsed
26226
26227 \begin_layout Standard
26228
26229
26230 \backslash
26231 colorbox{lightgrey}{
26232 \end_layout
26233
26234 \end_inset
26235
26236
26237 \begin_inset Box Frameless
26238 position "t"
26239 hor_pos "c"
26240 has_inner_box 1
26241 inner_pos "t"
26242 use_parbox 0
26243 width "100col%"
26244 special "none"
26245 height "1in"
26246 height_special "totalheight"
26247 status collapsed
26248
26249 \begin_layout Standard
26250 This is text with background color.
26251  This is text with background color.
26252 \end_layout
26253
26254 \begin_layout Standard
26255 \begin_inset VSpace defskip
26256 \end_inset
26257
26258 The text can have footnotes
26259 \begin_inset Foot
26260 status collapsed
26261
26262 \begin_layout Standard
26263 Another example footnote
26264 \end_layout
26265
26266 \end_inset
26267
26268  and can include tables and figures.
26269 \end_layout
26270
26271 \begin_layout Standard
26272 \align center
26273 \begin_inset Tabular
26274 <lyxtabular version="3" rows="3" columns="3">
26275 <features>
26276 <column alignment="center" valignment="top" leftline="true" width="0">
26277 <column alignment="center" valignment="top" leftline="true" width="0">
26278 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
26279 <row topline="true">
26280 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26281 \begin_inset Text
26282
26283 \begin_layout Standard
26284 a
26285 \end_layout
26286
26287 \end_inset
26288 </cell>
26289 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26290 \begin_inset Text
26291
26292 \begin_layout Standard
26293 !
26294 \end_layout
26295
26296 \end_inset
26297 </cell>
26298 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26299 \begin_inset Text
26300
26301 \begin_layout Standard
26302 3
26303 \end_layout
26304
26305 \end_inset
26306 </cell>
26307 </row>
26308 <row topline="true">
26309 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26310 \begin_inset Text
26311
26312 \begin_layout Standard
26313 <
26314 \end_layout
26315
26316 \end_inset
26317 </cell>
26318 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26319 \begin_inset Text
26320
26321 \begin_layout Standard
26322 b2
26323 \begin_inset Quotes erd
26324 \end_inset
26325
26326 |
26327 \end_layout
26328
26329 \end_inset
26330 </cell>
26331 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26332 \begin_inset Text
26333
26334 \begin_layout Standard
26335 >
26336 \end_layout
26337
26338 \end_inset
26339 </cell>
26340 </row>
26341 <row topline="true" bottomline="true">
26342 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26343 \begin_inset Text
26344
26345 \begin_layout Standard
26346 1
26347 \end_layout
26348
26349 \end_inset
26350 </cell>
26351 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26352 \begin_inset Text
26353
26354 \begin_layout Standard
26355 §
26356 \end_layout
26357
26358 \end_inset
26359 </cell>
26360 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26361 \begin_inset Text
26362
26363 \begin_layout Standard
26364 c
26365 \end_layout
26366
26367 \end_inset
26368 </cell>
26369 </row>
26370 </lyxtabular>
26371
26372 \end_inset
26373
26374
26375 \end_layout
26376
26377 \end_inset
26378
26379
26380 \begin_inset ERT
26381 status collapsed
26382
26383 \begin_layout Standard
26384
26385 }
26386 \end_layout
26387
26388 \end_inset
26389
26390
26391 \end_layout
26392
26393 \begin_layout Section
26394 URLs (Uniform Resource Locators)
26395 \begin_inset LatexCommand index
26396 name "URLs"
26397
26398 \end_inset
26399
26400
26401 \end_layout
26402
26403 \begin_layout Standard
26404 Links to web pages or email addresses can be inserted via the menu 
26405 \family sans
26406 Insert\SpecialChar \menuseparator
26407 URL
26408 \family default
26409 .
26410  The appearing URL dialog has two fields; the 
26411 \family sans
26412 URL
26413 \family default
26414  field and the 
26415 \family sans
26416 Name
26417 \family default
26418  field for the URL description, which will be typeset as plain text immediately
26419  before the URL.
26420 \end_layout
26421
26422 \begin_layout Standard
26423 Here is an example URL: 
26424 \begin_inset LatexCommand url
26425 name "LyX's homepage"
26426 target "http://www.lyx.org"
26427
26428 \end_inset
26429
26430
26431 \end_layout
26432
26433 \begin_layout Standard
26434 The option 
26435 \family sans
26436 Generate\InsetSpace ~
26437 hyperlink
26438 \family default
26439  in the URL dialog has only an affect when you export your document to the
26440  format 
26441 \begin_inset Quotes eld
26442 \end_inset
26443
26444
26445 \family sans
26446 LinuxDoc
26447 \family default
26448
26449 \begin_inset Quotes erd
26450 \end_inset
26451
26452 .
26453 \end_layout
26454
26455 \begin_layout Standard
26456 You cannot change the style of the link text.
26457  The text of the 
26458 \family sans
26459 Name
26460 \family default
26461  field will have the default text style of the document while the text of
26462  the 
26463 \family sans
26464 URL
26465 \family default
26466  field will have the style 
26467 \begin_inset Quotes eld
26468 \end_inset
26469
26470
26471 \family sans
26472 Typewriter
26473 \family default
26474
26475 \begin_inset Quotes erd
26476 \end_inset
26477
26478 .
26479 \end_layout
26480
26481 \begin_layout Standard
26482 When you use the LaTeX-package 
26483 \series bold
26484 hyperref
26485 \series default
26486
26487 \begin_inset LatexCommand index
26488 name "LaTeX-packages ! hyperref"
26489
26490 \end_inset
26491
26492  to link cross-references in the output, URLs will automatically become
26493  clickable hyperlinks in DVI and PDF-output.
26494 \end_layout
26495
26496 \begin_layout Standard
26497 \begin_inset Note Greyedout
26498 status open
26499
26500 \begin_layout Standard
26501
26502 \series bold
26503 Note:
26504 \series default
26505  When you use the following characters: "%", "#", "^", you have to write
26506  them with a preceding backslash, e.\InsetSpace \thinspace{}
26507 g.\InsetSpace ~
26508
26509 \begin_inset Quotes eld
26510 \end_inset
26511
26512
26513 \backslash
26514 #
26515 \begin_inset Quotes erd
26516 \end_inset
26517
26518 .
26519  URLs must not end with a backslash.
26520 \end_layout
26521
26522 \end_inset
26523
26524
26525 \end_layout
26526
26527 \begin_layout Standard
26528 \begin_inset VSpace bigskip
26529 \end_inset
26530
26531 To create real hyperlinks without the force to write the link location to
26532  the text, you can use the command
26533 \end_layout
26534
26535 \begin_layout Standard
26536
26537 \series bold
26538
26539 \backslash
26540 href{link location}{link text}
26541 \end_layout
26542
26543 \begin_layout Standard
26544 in ERT.
26545  To get for example a link to LyX's web page, write the command
26546 \end_layout
26547
26548 \begin_layout Standard
26549
26550 \series bold
26551
26552 \backslash
26553 href{http://www.lyx.org}{
26554 \end_layout
26555
26556 \begin_layout Standard
26557 in ERT.
26558  Insert after the command the link text 
26559 \begin_inset Quotes eld
26560 \end_inset
26561
26562 LyX's homepage
26563 \begin_inset Quotes erd
26564 \end_inset
26565
26566  as normal text followed by a closing brace 
26567 \begin_inset Quotes eld
26568 \end_inset
26569
26570
26571 \series bold
26572 }
26573 \series default
26574
26575 \begin_inset Quotes erd
26576 \end_inset
26577
26578  in ERT.
26579  This is the result: 
26580 \begin_inset ERT
26581 status collapsed
26582
26583 \begin_layout Standard
26584
26585
26586 \backslash
26587 href{http://www.lyx.org}{
26588 \end_layout
26589
26590 \end_inset
26591
26592 LyX's homepage
26593 \begin_inset ERT
26594 status collapsed
26595
26596 \begin_layout Standard
26597
26598 }
26599 \end_layout
26600
26601 \end_inset
26602
26603
26604 \end_layout
26605
26606 \begin_layout Standard
26607 To link to email addresses, add the prefix 
26608 \begin_inset Quotes eld
26609 \end_inset
26610
26611
26612 \family sans
26613 mailto:
26614 \family default
26615
26616 \begin_inset Quotes erd
26617 \end_inset
26618
26619  to the link location:
26620 \newline
26621 Email to 
26622 \begin_inset ERT
26623 status collapsed
26624
26625 \begin_layout Standard
26626
26627
26628 \backslash
26629 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's documentation}{
26630 \end_layout
26631
26632 \end_inset
26633
26634 lyx-docs mailing list
26635 \begin_inset ERT
26636 status collapsed
26637
26638 \begin_layout Standard
26639
26640 }
26641 \end_layout
26642
26643 \end_inset
26644
26645 .
26646 \end_layout
26647
26648 \begin_layout Standard
26649 Using 
26650 \series bold
26651
26652 \backslash
26653 href
26654 \series default
26655  instead of LyX's URL box has the advantage that you can specify the text
26656  style of the link text like for all other text parts.
26657  You can therefore set hyphenation points and forced linebreaks to have
26658  long link text broken at the page margin.
26659  You are furthermore able to change the text style for all URLs in your
26660  document with an option in 
26661 \series bold
26662 hyperref
26663 \series default
26664 's load command and the restrictions mentioned above doesn't apply for 
26665 \series bold
26666
26667 \backslash
26668 href
26669 \series default
26670 .
26671 \end_layout
26672
26673 \begin_layout Chapter
26674 External Stuff
26675 \begin_inset LatexCommand index
26676 name "External Stuff"
26677
26678 \end_inset
26679
26680
26681 \end_layout
26682
26683 \begin_layout Standard
26684 With the menu 
26685 \family sans
26686 Insert\SpecialChar \menuseparator
26687 File
26688 \family default
26689  you can insert external material to your document.
26690  This can be:
26691 \end_layout
26692
26693 \begin_layout Description
26694 LyX\InsetSpace ~
26695 Document Another LyX document; its content is directly inserted to your
26696  document.
26697 \end_layout
26698
26699 \begin_layout Description
26700 Plain\InsetSpace ~
26701 Text A text document; every of its text lines is inserted to your document
26702  as own paragraph.
26703 \end_layout
26704
26705 \begin_layout Description
26706 Plain\InsetSpace ~
26707 Text,\InsetSpace ~
26708 Join\InsetSpace ~
26709 Lines A text document; its text lines are inserted as they
26710  are.
26711  Empty text lines creates a new paragraph in your document.
26712 \end_layout
26713
26714 \begin_layout Description
26715 External\InsetSpace ~
26716 Material Files in various formats.
26717 \end_layout
26718
26719 \begin_layout Description
26720 Child\InsetSpace ~
26721 Document LyX or LaTeX-documents.
26722 \end_layout
26723
26724 \begin_layout Section
26725 External Material
26726 \begin_inset LatexCommand index
26727 name "External Stuff ! External Material"
26728
26729 \end_inset
26730
26731
26732 \end_layout
26733
26734 \begin_layout Standard
26735 The external material feature allows you to insert files to your document
26736  without converting them previously to a format that can be read by the
26737  document output format because LyX takes care of needed conversions.
26738  This is similar to images that can be inserted in various image formats
26739  to LyX documents.
26740 \end_layout
26741
26742 \begin_layout Standard
26743 External material can be inserted via the 
26744 \family sans
26745 External Material
26746 \family default
26747  dialog that is accessible with the menu 
26748 \family sans
26749 Insert\SpecialChar \menuseparator
26750 File\SpecialChar \menuseparator
26751 External\InsetSpace ~
26752 Material
26753 \family default
26754 .
26755  Currently the following file types (
26756 \family sans
26757 Templates
26758 \family default
26759 ) are allowed:
26760 \end_layout
26761
26762 \begin_layout Description
26763 ChessDiagram This template supports chess position diagrams made with the
26764  program 
26765 \begin_inset ERT
26766 status collapsed
26767
26768 \begin_layout Standard
26769
26770
26771 \backslash
26772 href{http://en.wikipedia.org/wiki/XBoard}{
26773 \end_layout
26774
26775 \end_inset
26776
26777
26778 \series bold
26779 XBoard
26780 \series default
26781
26782 \begin_inset ERT
26783 status collapsed
26784
26785 \begin_layout Standard
26786
26787 }
26788 \end_layout
26789
26790 \end_inset
26791
26792 .
26793 \end_layout
26794
26795 \begin_layout Description
26796 Date This inserts the date in the form 
26797 \emph on
26798 Date-Month-Year
26799 \emph default
26800 .
26801  This is a date inserted as external material: 
26802 \begin_inset External
26803         template Date
26804         filename .
26805
26806 \end_inset
26807
26808
26809 \newline
26810 The date is not shown within LyX, only in the output.
26811  There are two other methods of inserting a date, via menu 
26812 \family sans
26813 Insert\SpecialChar \menuseparator
26814 Date
26815 \family default
26816  and with the LaTeX command 
26817 \series bold
26818
26819 \backslash
26820 today
26821 \series default
26822  as ERT.
26823  The different methods are compared in Table\InsetSpace ~
26824
26825 \begin_inset LatexCommand ref
26826 reference "tab:Comparison-of-the"
26827
26828 \end_inset
26829
26830 .
26831 \end_layout
26832
26833 \begin_layout Description
26834 LilyPond This template is used for music notation typeset with the program
26835 \begin_inset ERT
26836 status collapsed
26837
26838 \begin_layout Standard
26839
26840
26841 \backslash
26842 linebreak 
26843 \end_layout
26844
26845 \end_inset
26846
26847
26848 \begin_inset ERT
26849 status collapsed
26850
26851 \begin_layout Standard
26852
26853
26854 \backslash
26855 href{http://en.wikipedia.org/wiki/LilyPond}{
26856 \end_layout
26857
26858 \end_inset
26859
26860
26861 \series bold
26862 LilyPond
26863 \series default
26864
26865 \begin_inset ERT
26866 status collapsed
26867
26868 \begin_layout Standard
26869
26870 }
26871 \end_layout
26872
26873 \end_inset
26874
26875 .
26876 \begin_inset Note Note
26877 status collapsed
26878
26879 \begin_layout Standard
26880 The command 
26881 \series bold
26882
26883 \backslash
26884 linebreak
26885 \series default
26886  breaks the line while the remaining text in the line is stretched to the
26887  page margin.
26888 \end_layout
26889
26890 \end_inset
26891
26892
26893 \end_layout
26894
26895 \begin_layout Description
26896 RasterImage This can be used for bitmap images.
26897  Nearly all popular image formats are supported.
26898  The image can be treated in the 
26899 \family sans
26900 External material
26901 \family default
26902  dialog like the images that are usually included via the 
26903 \family sans
26904 Graphics
26905 \family default
26906  dialog as described in section\InsetSpace ~
26907
26908 \begin_inset LatexCommand ref
26909 reference "sec:Graphics-Dialog"
26910
26911 \end_inset
26912
26913 .
26914  The difference is that only raster images are allowed, that means that
26915  PDF and EPS-images are not supported.
26916 \end_layout
26917
26918 \begin_layout Description
26919 XFig This template supports images created with the program 
26920 \begin_inset ERT
26921 status collapsed
26922
26923 \begin_layout Standard
26924
26925
26926 \backslash
26927 href{http://en.wikipedia.org/wiki/Xfig}{
26928 \end_layout
26929
26930 \end_inset
26931
26932
26933 \series bold
26934 Xfig
26935 \series default
26936
26937 \begin_inset ERT
26938 status collapsed
26939
26940 \begin_layout Standard
26941
26942 }
26943 \end_layout
26944
26945 \end_inset
26946
26947 .
26948 \end_layout
26949
26950 \begin_layout Standard
26951 \begin_inset Float table
26952 placement h
26953 wide false
26954 sideways false
26955 status open
26956
26957 \begin_layout Standard
26958 \begin_inset Caption
26959
26960 \begin_layout Standard
26961 \begin_inset LatexCommand label
26962 name "tab:Comparison-of-the"
26963
26964 \end_inset
26965
26966 Comparison of the date input methods.
26967 \end_layout
26968
26969 \end_inset
26970
26971
26972 \end_layout
26973
26974 \begin_layout Standard
26975 \align center
26976 \begin_inset Tabular
26977 <lyxtabular version="3" rows="4" columns="4">
26978 <features>
26979 <column alignment="center" valignment="top" leftline="true" width="0">
26980 <column alignment="center" valignment="top" leftline="true" width="0">
26981 <column alignment="center" valignment="top" leftline="true" width="0">
26982 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
26983 <row topline="true">
26984 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26985 \begin_inset Text
26986
26987 \begin_layout Standard
26988 Document format
26989 \end_layout
26990
26991 \end_inset
26992 </cell>
26993 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26994 \begin_inset Text
26995
26996 \begin_layout Standard
26997
26998 \family sans
26999 External Material\SpecialChar \menuseparator
27000 Date
27001 \end_layout
27002
27003 \end_inset
27004 </cell>
27005 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27006 \begin_inset Text
27007
27008 \begin_layout Standard
27009
27010 \family sans
27011 Insert\SpecialChar \menuseparator
27012 Date
27013 \end_layout
27014
27015 \end_inset
27016 </cell>
27017 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27018 \begin_inset Text
27019
27020 \begin_layout Standard
27021 command 
27022 \series bold
27023
27024 \backslash
27025 today
27026 \end_layout
27027
27028 \end_inset
27029 </cell>
27030 </row>
27031 <row topline="true">
27032 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27033 \begin_inset Text
27034
27035 \begin_layout Standard
27036 LyX
27037 \end_layout
27038
27039 \end_inset
27040 </cell>
27041 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27042 \begin_inset Text
27043
27044 \begin_layout Standard
27045 as inset box
27046 \end_layout
27047
27048 \end_inset
27049 </cell>
27050 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27051 \begin_inset Text
27052
27053 \begin_layout Standard
27054 as date
27055 \end_layout
27056
27057 \end_inset
27058 </cell>
27059 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27060 \begin_inset Text
27061
27062 \begin_layout Standard
27063 as ERT inset box
27064 \end_layout
27065
27066 \end_inset
27067 </cell>
27068 </row>
27069 <row topline="true">
27070 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27071 \begin_inset Text
27072
27073 \begin_layout Standard
27074 LaTeX
27075 \end_layout
27076
27077 \end_inset
27078 </cell>
27079 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27080 \begin_inset Text
27081
27082 \begin_layout Standard
27083 as date
27084 \end_layout
27085
27086 \end_inset
27087 </cell>
27088 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27089 \begin_inset Text
27090
27091 \begin_layout Standard
27092 as date
27093 \end_layout
27094
27095 \end_inset
27096 </cell>
27097 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27098 \begin_inset Text
27099
27100 \begin_layout Standard
27101 as command
27102 \end_layout
27103
27104 \end_inset
27105 </cell>
27106 </row>
27107 <row topline="true" bottomline="true">
27108 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27109 \begin_inset Text
27110
27111 \begin_layout Standard
27112 DVI, PDF, PS
27113 \end_layout
27114
27115 \end_inset
27116 </cell>
27117 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27118 \begin_inset Text
27119
27120 \begin_layout Standard
27121 as date
27122 \end_layout
27123
27124 \end_inset
27125 </cell>
27126 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27127 \begin_inset Text
27128
27129 \begin_layout Standard
27130 as date
27131 \end_layout
27132
27133 \end_inset
27134 </cell>
27135 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27136 \begin_inset Text
27137
27138 \begin_layout Standard
27139 as date
27140 \end_layout
27141
27142 \end_inset
27143 </cell>
27144 </row>
27145 </lyxtabular>
27146
27147 \end_inset
27148
27149
27150 \end_layout
27151
27152 \end_inset
27153
27154
27155 \end_layout
27156
27157 \begin_layout Standard
27158 When you use the option 
27159 \family sans
27160 Draft
27161 \family default
27162  in the 
27163 \family sans
27164 File
27165 \family default
27166  tab of the 
27167 \family sans
27168 External Material
27169 \family default
27170  dialog, only the path to the inserted file is shown in the output.
27171 \newline
27172 External
27173  material is displayed in LyX either as box like this: 
27174 \begin_inset Graphics
27175         filename clipart/ExternalMaterialQt4.png
27176         scale 85
27177
27178 \end_inset
27179
27180  or as image, depending on the setting in the 
27181 \family sans
27182 LyX\InsetSpace ~
27183 View
27184 \family default
27185  tab of the 
27186 \family sans
27187 External Material
27188 \family default
27189  dialog.
27190 \end_layout
27191
27192 \begin_layout Standard
27193 The 
27194 \family sans
27195 \emph on
27196 Customization
27197 \family default
27198 \emph default
27199  manual explains how you can define your own templates.
27200 \end_layout
27201
27202 \begin_layout Section
27203 Child Documents
27204 \begin_inset LatexCommand index
27205 name "External Stuff ! Child Documents"
27206
27207 \end_inset
27208
27209
27210 \begin_inset LatexCommand index
27211 name "Files ! Include"
27212
27213 \end_inset
27214
27215
27216 \end_layout
27217
27218 \begin_layout Standard
27219 Child documents are used when you have a long document consisting of several
27220  larger parts or sections.
27221  For maintenance it is often useful and sometimes even required to split
27222  the document in several files that can be revised separately.
27223  The different documents are then the so called child documents and a master
27224  document connects them to print the full document or parts of it.
27225 \end_layout
27226
27227 \begin_layout Standard
27228 Included documents are displayed in LyX as a box like this: 
27229 \begin_inset Graphics
27230         filename clipart/ChildDocumentQt4.png
27231         scale 85
27232
27233 \end_inset
27234
27235  To include child documents to a master document use the menu 
27236 \family sans
27237 Insert\SpecialChar \menuseparator
27238 File\SpecialChar \menuseparator
27239 Child\InsetSpace ~
27240 Documents
27241 \family default
27242 .
27243  A dialog pops up where you can choose between three include methods:
27244 \end_layout
27245
27246 \begin_layout Description
27247 Include You can include LyX and LaTeX-documents.
27248  When you press the 
27249 \family sans
27250 Load
27251 \family default
27252  button in the 
27253 \family sans
27254 Child Document
27255 \family default
27256  dialog, the included documents will be opened in LyX in a new file tab
27257  so that you can modify it.
27258 \newline
27259
27260 \end_layout
27261
27262 \begin_layout Standard
27263 Here is a child document inserted using 
27264 \family sans
27265 Include
27266 \family default
27267
27268 \begin_inset Include \include{DummyDocument1.lyx}
27269 preview false
27270
27271 \end_inset
27272
27273
27274 \end_layout
27275
27276 \begin_layout Standard
27277 The section numbering includes the sections of the included files in the
27278  order they are inserted in the master document.
27279  The included example document has for example a subsection that is numbered
27280  as subsection of this section.
27281  Labels of included documents can be referenced: Subsection\InsetSpace ~
27282
27283 \begin_inset LatexCommand ref
27284 reference "sub:External-Subsection-1"
27285
27286 \end_inset
27287
27288
27289 \end_layout
27290
27291 \begin_layout Standard
27292 The preamble of the child document is ignored, only the preamble of the
27293  master document is used.
27294  Included documents are inserted starting on a new page and end with a pagebreak.
27295 \end_layout
27296
27297 \begin_layout Standard
27298 With the LaTeX-command 
27299 \series bold
27300
27301 \backslash
27302 includeonly 
27303 \series default
27304 you can specify which included child documents are processed when the output
27305  is generated.
27306  This is useful when you are perhaps only working on a certain chapter of
27307  your large document as this saves compiling time.
27308  
27309 \series bold
27310
27311 \backslash
27312 includeonly
27313 \series default
27314  is inserted to the master document preamble.
27315  It takes a comma-separated list of the filenames as argument, e.g.
27316 \end_layout
27317
27318 \begin_layout Standard
27319
27320 \series bold
27321
27322 \backslash
27323 includeonly{chapter1,chapter5}
27324 \end_layout
27325
27326 \begin_layout Standard
27327 will only process the included files named 
27328 \begin_inset Quotes eld
27329 \end_inset
27330
27331 chapter1.lyx
27332 \begin_inset Quotes erd
27333 \end_inset
27334
27335  (or 
27336 \begin_inset Quotes eld
27337 \end_inset
27338
27339 chapter1.tex
27340 \begin_inset Quotes erd
27341 \end_inset
27342
27343 ) and 
27344 \begin_inset Quotes eld
27345 \end_inset
27346
27347 chapter5.lyx
27348 \begin_inset Quotes erd
27349 \end_inset
27350
27351  .
27352 \end_layout
27353
27354 \begin_layout Standard
27355 \begin_inset Note Greyedout
27356 status open
27357
27358 \begin_layout Standard
27359
27360 \series bold
27361 Note:
27362 \series default
27363  When you have included a LyX- or LaTeX-file, you are warned when you export/vie
27364 w the document in case that the child document uses another document class
27365  than the master document as this will lead to unexpected outputs.
27366 \end_layout
27367
27368 \end_inset
27369
27370
27371 \end_layout
27372
27373 \begin_layout Description
27374 Input This method is very similar to the Include method.
27375  The differences are:
27376 \end_layout
27377
27378 \begin_deeper
27379 \begin_layout Itemize
27380 Input files don't start with a new page and don't end with a pagebreak.
27381 \end_layout
27382
27383 \begin_layout Itemize
27384 Input files can be previewed in LyX when 
27385 \family sans
27386 Instant\InsetSpace ~
27387 Preview
27388 \family default
27389  is enabled in LyX's preferences under 
27390 \family sans
27391 Look\InsetSpace ~
27392 and\InsetSpace ~
27393 feel\SpecialChar \menuseparator
27394 Graphics
27395 \family default
27396 .
27397 \end_layout
27398
27399 \begin_layout Itemize
27400 The LaTeX-command 
27401 \series bold
27402
27403 \backslash
27404 includeonly
27405 \series default
27406  cannot be used.
27407 \end_layout
27408
27409 \end_deeper
27410 \begin_layout Standard
27411 Here is a child document inserted using 
27412 \family sans
27413 Input
27414 \family default
27415
27416 \begin_inset Include \input{DummyDocument2.lyx}
27417 preview true
27418
27419 \end_inset
27420
27421
27422 \end_layout
27423
27424 \begin_layout Description
27425 Verbatim With this method every text file can be included.
27426  The file is shown in the output with its source code, no command used in
27427  the text is invoked.
27428  You can use the option 
27429 \family sans
27430 Mark spaces in output
27431 \family default
27432  that displays the character 
27433 \begin_inset Quotes eld
27434 \end_inset
27435
27436
27437 \begin_inset ERT
27438 status collapsed
27439
27440 \begin_layout Standard
27441
27442
27443 \backslash
27444 textvisiblespace 
27445 \end_layout
27446
27447 \end_inset
27448
27449
27450 \begin_inset Quotes erd
27451 \end_inset
27452
27453  for every space character in the source code.
27454  The difference to the method via the menu 
27455 \family sans
27456 Insert\SpecialChar \menuseparator
27457 File\SpecialChar \menuseparator
27458 Plain\InsetSpace ~
27459 Text
27460 \family default
27461  is that the document content is not shown in LyX.
27462 \end_layout
27463
27464 \begin_layout Standard
27465 Here is a child document inserted as Verbatim: 
27466 \begin_inset Include \verbatiminput{DummyTextDocument.txt}
27467 preview false
27468
27469 \end_inset
27470
27471
27472 \begin_inset VSpace bigskip
27473 \end_inset
27474
27475 Here is a child document inserted as Verbatim using the 
27476 \family sans
27477 Mark spaces in output
27478 \family default
27479  option: 
27480 \begin_inset Include \verbatiminput*{DummyTextDocument.txt}
27481 preview false
27482
27483 \end_inset
27484
27485
27486 \end_layout
27487
27488 \begin_layout Standard
27489 \begin_inset VSpace bigskip
27490 \end_inset
27491
27492
27493 \end_layout
27494
27495 \begin_layout Standard
27496 \begin_inset Note Greyedout
27497 status open
27498
27499 \begin_layout Standard
27500
27501 \series bold
27502 Note:
27503 \series default
27504  As you can see in the examples above, the text of the documents included
27505  as verbatim is not broken at the end of the document lines.
27506 \end_layout
27507
27508 \end_inset
27509
27510
27511 \end_layout
27512
27513 \begin_layout Standard
27514 \begin_inset Note Greyedout
27515 status open
27516
27517 \begin_layout Standard
27518
27519 \series bold
27520 Note:
27521 \series default
27522  Including the same document twice in a document using different methods
27523  could cause LaTeX-problems.
27524 \end_layout
27525
27526 \end_inset
27527
27528
27529 \end_layout
27530
27531 \begin_layout Standard
27532
27533 \newpage
27534
27535 \end_layout
27536
27537 \begin_layout Chapter
27538 \start_of_appendix
27539 Units available in 
27540 \begin_inset ERT
27541 status collapsed
27542
27543 \begin_layout Standard
27544
27545
27546 \backslash
27547 texorpdfstring{
27548 \end_layout
27549
27550 \end_inset
27551
27552 LyX
27553 \begin_inset ERT
27554 status collapsed
27555
27556 \begin_layout Standard
27557
27558 }{LyX}
27559 \end_layout
27560
27561 \end_inset
27562
27563
27564 \begin_inset LatexCommand index
27565 name "Units"
27566
27567 \end_inset
27568
27569
27570 \begin_inset LatexCommand label
27571 name "cha:Units-available-in"
27572
27573 \end_inset
27574
27575
27576 \begin_inset Note Note
27577 status collapsed
27578
27579 \begin_layout Standard
27580 The command 
27581 \backslash
27582 texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures
27583  are displayed wrongly in PDF-bookmarks.
27584  For more information about this, have a look at 
27585 \begin_inset LatexCommand cite
27586 key "hyperref"
27587
27588 \end_inset
27589
27590 .
27591 \end_layout
27592
27593 \end_inset
27594
27595
27596 \end_layout
27597
27598 \begin_layout Standard
27599 To understand the units described in this documentation, Table\InsetSpace ~
27600
27601 \begin_inset LatexCommand ref
27602 reference "tab:Units"
27603
27604 \end_inset
27605
27606  explains all units available in LyX.
27607 \end_layout
27608
27609 \begin_layout Standard
27610 \begin_inset Float table
27611 placement h
27612 wide false
27613 sideways false
27614 status open
27615
27616 \begin_layout Standard
27617 \begin_inset Caption
27618
27619 \begin_layout Standard
27620 \begin_inset LatexCommand label
27621 name "tab:Units"
27622
27623 \end_inset
27624
27625 Units
27626 \end_layout
27627
27628 \end_inset
27629
27630
27631 \end_layout
27632
27633 \begin_layout Standard
27634 \begin_inset VSpace medskip
27635 \end_inset
27636
27637
27638 \end_layout
27639
27640 \begin_layout Standard
27641 \align center
27642 \begin_inset Tabular
27643 <lyxtabular version="3" rows="20" columns="2">
27644 <features>
27645 <column alignment="center" valignment="top" leftline="true" width="0">
27646 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
27647 <row topline="true" bottomline="true">
27648 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27649 \begin_inset Text
27650
27651 \begin_layout Standard
27652 unit
27653 \end_layout
27654
27655 \end_inset
27656 </cell>
27657 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27658 \begin_inset Text
27659
27660 \begin_layout Standard
27661 name/description
27662 \end_layout
27663
27664 \end_inset
27665 </cell>
27666 </row>
27667 <row topline="true">
27668 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27669 \begin_inset Text
27670
27671 \begin_layout Standard
27672 mm
27673 \end_layout
27674
27675 \end_inset
27676 </cell>
27677 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27678 \begin_inset Text
27679
27680 \begin_layout Standard
27681 millimeter
27682 \end_layout
27683
27684 \end_inset
27685 </cell>
27686 </row>
27687 <row topline="true">
27688 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27689 \begin_inset Text
27690
27691 \begin_layout Standard
27692 cm
27693 \end_layout
27694
27695 \end_inset
27696 </cell>
27697 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27698 \begin_inset Text
27699
27700 \begin_layout Standard
27701 centimeter
27702 \end_layout
27703
27704 \end_inset
27705 </cell>
27706 </row>
27707 <row topline="true">
27708 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27709 \begin_inset Text
27710
27711 \begin_layout Standard
27712 in
27713 \end_layout
27714
27715 \end_inset
27716 </cell>
27717 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27718 \begin_inset Text
27719
27720 \begin_layout Standard
27721 inch
27722 \end_layout
27723
27724 \end_inset
27725 </cell>
27726 </row>
27727 <row topline="true">
27728 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27729 \begin_inset Text
27730
27731 \begin_layout Standard
27732 pt
27733 \end_layout
27734
27735 \end_inset
27736 </cell>
27737 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27738 \begin_inset Text
27739
27740 \begin_layout Standard
27741 point (72.27\InsetSpace \thinspace{}
27742 pt = 1\InsetSpace \thinspace{}
27743 in)
27744 \end_layout
27745
27746 \end_inset
27747 </cell>
27748 </row>
27749 <row topline="true">
27750 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27751 \begin_inset Text
27752
27753 \begin_layout Standard
27754 pc
27755 \end_layout
27756
27757 \end_inset
27758 </cell>
27759 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27760 \begin_inset Text
27761
27762 \begin_layout Standard
27763 pica (1\InsetSpace \thinspace{}
27764 pc = 12\InsetSpace \thinspace{}
27765 pt)
27766 \end_layout
27767
27768 \end_inset
27769 </cell>
27770 </row>
27771 <row topline="true">
27772 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27773 \begin_inset Text
27774
27775 \begin_layout Standard
27776 sp
27777 \end_layout
27778
27779 \end_inset
27780 </cell>
27781 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27782 \begin_inset Text
27783
27784 \begin_layout Standard
27785 scaled point (65536\InsetSpace \thinspace{}
27786 sp = 1\InsetSpace \thinspace{}
27787 pt)
27788 \end_layout
27789
27790 \end_inset
27791 </cell>
27792 </row>
27793 <row topline="true">
27794 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27795 \begin_inset Text
27796
27797 \begin_layout Standard
27798 bp
27799 \end_layout
27800
27801 \end_inset
27802 </cell>
27803 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27804 \begin_inset Text
27805
27806 \begin_layout Standard
27807 big point (72\InsetSpace \thinspace{}
27808 bp = 1\InsetSpace \thinspace{}
27809 in)
27810 \end_layout
27811
27812 \end_inset
27813 </cell>
27814 </row>
27815 <row topline="true">
27816 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27817 \begin_inset Text
27818
27819 \begin_layout Standard
27820 dd
27821 \end_layout
27822
27823 \end_inset
27824 </cell>
27825 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27826 \begin_inset Text
27827
27828 \begin_layout Standard
27829 didot (72\InsetSpace \thinspace{}
27830 dd 
27831 \begin_inset Formula $\approx$
27832 \end_inset
27833
27834  37.6\InsetSpace \thinspace{}
27835 mm)
27836 \end_layout
27837
27838 \end_inset
27839 </cell>
27840 </row>
27841 <row topline="true">
27842 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27843 \begin_inset Text
27844
27845 \begin_layout Standard
27846 cc
27847 \end_layout
27848
27849 \end_inset
27850 </cell>
27851 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27852 \begin_inset Text
27853
27854 \begin_layout Standard
27855 cicero (1\InsetSpace \thinspace{}
27856 cc = 12\InsetSpace \thinspace{}
27857 dd)
27858 \end_layout
27859
27860 \end_inset
27861 </cell>
27862 </row>
27863 <row topline="true">
27864 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27865 \begin_inset Text
27866
27867 \begin_layout Standard
27868 Scale%
27869 \end_layout
27870
27871 \end_inset
27872 </cell>
27873 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27874 \begin_inset Text
27875
27876 \begin_layout Standard
27877 % of original image width
27878 \end_layout
27879
27880 \end_inset
27881 </cell>
27882 </row>
27883 <row topline="true">
27884 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27885 \begin_inset Text
27886
27887 \begin_layout Standard
27888 text%
27889 \end_layout
27890
27891 \end_inset
27892 </cell>
27893 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27894 \begin_inset Text
27895
27896 \begin_layout Standard
27897 % of text width
27898 \end_layout
27899
27900 \end_inset
27901 </cell>
27902 </row>
27903 <row topline="true">
27904 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27905 \begin_inset Text
27906
27907 \begin_layout Standard
27908 col%
27909 \end_layout
27910
27911 \end_inset
27912 </cell>
27913 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27914 \begin_inset Text
27915
27916 \begin_layout Standard
27917 % of column width
27918 \end_layout
27919
27920 \end_inset
27921 </cell>
27922 </row>
27923 <row topline="true">
27924 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27925 \begin_inset Text
27926
27927 \begin_layout Standard
27928 page%
27929 \end_layout
27930
27931 \end_inset
27932 </cell>
27933 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27934 \begin_inset Text
27935
27936 \begin_layout Standard
27937 % of paper width
27938 \end_layout
27939
27940 \end_inset
27941 </cell>
27942 </row>
27943 <row topline="true">
27944 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27945 \begin_inset Text
27946
27947 \begin_layout Standard
27948 line%
27949 \end_layout
27950
27951 \end_inset
27952 </cell>
27953 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27954 \begin_inset Text
27955
27956 \begin_layout Standard
27957 % of line width
27958 \end_layout
27959
27960 \end_inset
27961 </cell>
27962 </row>
27963 <row topline="true">
27964 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27965 \begin_inset Text
27966
27967 \begin_layout Standard
27968 theight%
27969 \end_layout
27970
27971 \end_inset
27972 </cell>
27973 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27974 \begin_inset Text
27975
27976 \begin_layout Standard
27977 % of text height
27978 \end_layout
27979
27980 \end_inset
27981 </cell>
27982 </row>
27983 <row topline="true">
27984 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27985 \begin_inset Text
27986
27987 \begin_layout Standard
27988 pheight%
27989 \end_layout
27990
27991 \end_inset
27992 </cell>
27993 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27994 \begin_inset Text
27995
27996 \begin_layout Standard
27997 % of paper height
27998 \end_layout
27999
28000 \end_inset
28001 </cell>
28002 </row>
28003 <row topline="true">
28004 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28005 \begin_inset Text
28006
28007 \begin_layout Standard
28008 ex
28009 \end_layout
28010
28011 \end_inset
28012 </cell>
28013 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28014 \begin_inset Text
28015
28016 \begin_layout Standard
28017 height of letter 
28018 \emph on
28019 x
28020 \emph default
28021  in current font
28022 \end_layout
28023
28024 \end_inset
28025 </cell>
28026 </row>
28027 <row topline="true">
28028 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28029 \begin_inset Text
28030
28031 \begin_layout Standard
28032 em
28033 \end_layout
28034
28035 \end_inset
28036 </cell>
28037 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28038 \begin_inset Text
28039
28040 \begin_layout Standard
28041 width of letter 
28042 \emph on
28043 M
28044 \emph default
28045  in current font
28046 \end_layout
28047
28048 \end_inset
28049 </cell>
28050 </row>
28051 <row topline="true" bottomline="true">
28052 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28053 \begin_inset Text
28054
28055 \begin_layout Standard
28056 mu
28057 \end_layout
28058
28059 \end_inset
28060 </cell>
28061 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28062 \begin_inset Text
28063
28064 \begin_layout Standard
28065 math unit (1\InsetSpace \thinspace{}
28066 mu = 1/18\InsetSpace \thinspace{}
28067 em)
28068 \end_layout
28069
28070 \end_inset
28071 </cell>
28072 </row>
28073 </lyxtabular>
28074
28075 \end_inset
28076
28077
28078 \end_layout
28079
28080 \end_inset
28081
28082
28083 \end_layout
28084
28085 \begin_layout Chapter
28086 Output File Formats with Graphics
28087 \begin_inset LatexCommand label
28088 name "cha:Output-File-Formats"
28089
28090 \end_inset
28091
28092
28093 \end_layout
28094
28095 \begin_layout Section
28096 DVI
28097 \begin_inset LatexCommand index
28098 name "File Formats ! DVI"
28099
28100 \end_inset
28101
28102
28103 \begin_inset LatexCommand index
28104 name "DVI|see{File Formats}"
28105
28106 \end_inset
28107
28108
28109 \end_layout
28110
28111 \begin_layout Standard
28112 This file type has the extension 
28113 \begin_inset Quotes eld
28114 \end_inset
28115
28116
28117 \family typewriter
28118 .dvi
28119 \family default
28120
28121 \begin_inset Quotes erd
28122 \end_inset
28123
28124 .
28125  It is called 
28126 \begin_inset Quotes eld
28127 \end_inset
28128
28129 device-independent
28130 \begin_inset Quotes erd
28131 \end_inset
28132
28133  (DVI), because it is completely portable; you can move them from one machine
28134  to another without needing to do any sort of conversion.
28135  At the time when this file-format was developed, this was no matter of
28136  course.
28137  DVIs are used for quick previews and as pre-stage for other output formats,
28138  like PostScript.
28139 \end_layout
28140
28141 \begin_layout Standard
28142 \begin_inset Note Greyedout
28143 status open
28144
28145 \begin_layout Standard
28146
28147 \series bold
28148 Note:
28149 \series default
28150  DVI-files doesn't contain images, they will only be a linked.
28151 \end_layout
28152
28153 \end_inset
28154
28155  So don't forget this, if you move your 
28156 \family typewriter
28157 .dvi
28158 \family default
28159  file to another computer.
28160  This property can also slow down your computer when you view the DVI.
28161  Because the DVI-viewer has to convert the image in the background to make
28162  it visible when you scroll in the DVI.
28163  So we recommend to use PDF for files with many images.
28164 \end_layout
28165
28166 \begin_layout Standard
28167 You can export your document to DVI by using the menu 
28168 \family sans
28169 File\SpecialChar \menuseparator
28170 Export\SpecialChar \menuseparator
28171 DVI
28172 \family default
28173 .
28174  You can view your document as DVI via the 
28175 \family sans
28176 View
28177 \family default
28178  menu or by using the toolbar button 
28179 \begin_inset Graphics
28180         filename ../images/buffer-view_dvi.xpm
28181         scale 85
28182
28183 \end_inset
28184
28185 .
28186 \end_layout
28187
28188 \begin_layout Section
28189 PostScript
28190 \begin_inset LatexCommand label
28191 name "sec:PostScript"
28192
28193 \end_inset
28194
28195
28196 \begin_inset LatexCommand index
28197 name "File Formats ! PostScript"
28198
28199 \end_inset
28200
28201
28202 \begin_inset LatexCommand index
28203 name "PostScript|see{File Formats}"
28204
28205 \end_inset
28206
28207
28208 \end_layout
28209
28210 \begin_layout Standard
28211 This file type has the extension 
28212 \begin_inset Quotes eld
28213 \end_inset
28214
28215
28216 \family typewriter
28217 .ps
28218 \family default
28219
28220 \begin_inset Quotes erd
28221 \end_inset
28222
28223 .
28224  PostScript was developed by the company 
28225 \family typewriter
28226 Adobe
28227 \family default
28228  as printer language.
28229  The file contains therefore commands that the printer uses to print the
28230  file.
28231  PostScript can be seen as 
28232 \begin_inset Quotes eld
28233 \end_inset
28234
28235 programming language
28236 \begin_inset Quotes erd
28237 \end_inset
28238
28239 ; you can calculate with it and draw diagrams and images
28240 \begin_inset Foot
28241 status collapsed
28242
28243 \begin_layout Standard
28244 If you are interested to learn more about this, have a look at the LaTeX-package
28245  
28246 \series bold
28247 PSTricks
28248 \series default
28249  
28250 \begin_inset LatexCommand cite
28251 key "pstricks"
28252
28253 \end_inset
28254
28255 .
28256 \end_layout
28257
28258 \end_inset
28259
28260 .
28261  Due to this ability, the files are often bigger than PDFs.
28262 \end_layout
28263
28264 \begin_layout Standard
28265 PostScript can only contain images in the format 
28266 \begin_inset Quotes eld
28267 \end_inset
28268
28269 Encapsulated PostScript
28270 \begin_inset Quotes erd
28271 \end_inset
28272
28273  (EPS, file extension 
28274 \begin_inset Quotes eld
28275 \end_inset
28276
28277
28278 \family typewriter
28279 .eps
28280 \family default
28281
28282 \begin_inset Quotes erd
28283 \end_inset
28284
28285 ).
28286  As LyX allows you to use any known image format in your document, it has
28287  to convert images in the background to EPS.
28288  If you have e.g 50 images in your document, LyX has to do 50 conversions
28289  whenever you view or export your document.
28290  This will slow down your work flow with LyX drastically.
28291  So if you plan to use PostScript, you can insert your images directly as
28292  EPS to avoid this problem.
28293 \end_layout
28294
28295 \begin_layout Standard
28296 You can export your document to PostScript using the menu 
28297 \family sans
28298 File\SpecialChar \menuseparator
28299 Export\SpecialChar \menuseparator
28300 Postscript
28301 \family default
28302 .
28303  You can view your document as PostScript via the 
28304 \family sans
28305 View
28306 \family default
28307  menu or by using the toolbar button 
28308 \begin_inset Graphics
28309         filename ../images/buffer-view_ps.xpm
28310         scale 85
28311
28312 \end_inset
28313
28314 .
28315 \end_layout
28316
28317 \begin_layout Section
28318 PDF
28319 \begin_inset LatexCommand label
28320 name "sec:PDF"
28321
28322 \end_inset
28323
28324
28325 \begin_inset LatexCommand index
28326 name "File Formats ! PDF"
28327
28328 \end_inset
28329
28330
28331 \begin_inset LatexCommand index
28332 name "PDF"
28333
28334 \end_inset
28335
28336
28337 \end_layout
28338
28339 \begin_layout Standard
28340 This file type has the extension 
28341 \begin_inset Quotes eld
28342 \end_inset
28343
28344
28345 \family typewriter
28346 .pdf
28347 \family default
28348
28349 \begin_inset Quotes erd
28350 \end_inset
28351
28352 .
28353  The 
28354 \begin_inset Quotes eld
28355 \end_inset
28356
28357 Portable Document Format
28358 \begin_inset Quotes erd
28359 \end_inset
28360
28361  (PDF) is developed by 
28362 \family typewriter
28363 Adobe
28364 \family default
28365  as derivative from PostScript.
28366  It is more compressed and it uses much less commands than PostScript.
28367  As the name 
28368 \begin_inset Quotes eld
28369 \end_inset
28370
28371 portable
28372 \begin_inset Quotes erd
28373 \end_inset
28374
28375  implies, it can be processed at any computer system and the printed output
28376  looks exactly the same.
28377 \end_layout
28378
28379 \begin_layout Standard
28380 PDF can contain images in its own PDF format, in the format 
28381 \begin_inset Quotes eld
28382 \end_inset
28383
28384 Joint Photographic Experts Group
28385 \begin_inset Quotes erd
28386 \end_inset
28387
28388  (JPG, file extension 
28389 \begin_inset Quotes eld
28390 \end_inset
28391
28392
28393 \family typewriter
28394 .jpg
28395 \family default
28396
28397 \begin_inset Quotes erd
28398 \end_inset
28399
28400  or 
28401 \begin_inset Quotes eld
28402 \end_inset
28403
28404
28405 \family typewriter
28406 .jpeg
28407 \family default
28408
28409 \begin_inset Quotes erd
28410 \end_inset
28411
28412 ), and in the format 
28413 \begin_inset Quotes eld
28414 \end_inset
28415
28416 Portable Network Graphics
28417 \begin_inset Quotes erd
28418 \end_inset
28419
28420  (PNG, file extension 
28421 \begin_inset Quotes eld
28422 \end_inset
28423
28424
28425 \family typewriter
28426 .png
28427 \family default
28428
28429 \begin_inset Quotes erd
28430 \end_inset
28431
28432 ).
28433  You can although use any other image format, because LyX converts them
28434  in the background to one of these formats.
28435  But as described in the section about PostScript, the image conversion
28436  will slow down your work flow.
28437  So it is recommended to use images in one of the three mentioned formats.
28438 \end_layout
28439
28440 \begin_layout Standard
28441 You can export your document to PDF via the menu 
28442 \family sans
28443 File\SpecialChar \menuseparator
28444 Export
28445 \family default
28446  in three different ways:
28447 \end_layout
28448
28449 \begin_layout Description
28450 PDF This uses the program 
28451 \family typewriter
28452 ps2pdf
28453 \family default
28454  that creates a PDF from a PostScript-version of your file.
28455  The PostScript-version is produced by the program 
28456 \family typewriter
28457 dvips
28458 \family default
28459  which uses a DVI-version as intermediate step.
28460  So this export variant consist of three conversions.
28461 \end_layout
28462
28463 \begin_layout Description
28464 PDF\InsetSpace ~
28465 (dvipdfm) This uses the program 
28466 \family typewriter
28467 dvipdfm
28468 \family default
28469  that converts your file in the background to DVI and in a second step to
28470  PDF.
28471 \end_layout
28472
28473 \begin_layout Description
28474 PDF\InsetSpace ~
28475 (pdflatex) This uses the program 
28476 \family typewriter
28477 pdftex
28478 \family default
28479  that converts your file directly to PDF.
28480 \end_layout
28481
28482 \begin_layout Standard
28483 It is recommended to use 
28484 \family sans
28485 PDF\InsetSpace ~
28486 (pdflatex)
28487 \family default
28488  because 
28489 \family typewriter
28490 pdftex
28491 \family default
28492  supports all features of actual PDF-versions, is quick and works stable
28493  without problems.
28494  The program 
28495 \family typewriter
28496 dvipdfm
28497 \family default
28498  is not under development and therefore a bit outdated.
28499 \end_layout
28500
28501 \begin_layout Standard
28502 You can view your document as PDF via the 
28503 \family sans
28504 View
28505 \family default
28506  menu or by using the toolbar button 
28507 \begin_inset Graphics
28508         filename ../images/buffer-view_pdf2.xpm
28509         scale 85
28510
28511 \end_inset
28512
28513  
28514 \family sans
28515 (
28516 \family default
28517 that uses 
28518 \family sans
28519 PDF\InsetSpace ~
28520 (pdflatex)
28521 \family default
28522 ).
28523 \end_layout
28524
28525 \begin_layout Chapter
28526 Explanation of Equation\InsetSpace ~
28527
28528 \begin_inset LatexCommand eqref
28529 reference "eq:Wgn"
28530
28531 \end_inset
28532
28533
28534 \begin_inset LatexCommand label
28535 name "cha:Explanation-of-Equation"
28536
28537 \end_inset
28538
28539
28540 \end_layout
28541
28542 \begin_layout Standard
28543 The total width of 
28544 \emph on
28545 n
28546 \emph default
28547  table cells 
28548 \begin_inset Formula $W_{\mathrm{tot\, n}}$
28549 \end_inset
28550
28551  can be calculated to
28552 \end_layout
28553
28554 \begin_layout Standard
28555 \begin_inset Formula \begin{equation}
28556 W_{\mathrm{tot}\, n}=n·(W_{g\, n}+2·\backslash\mbox{tabcolsep})+(n+1)·\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}\end{equation}
28557
28558 \end_inset
28559
28560
28561 \end_layout
28562
28563 \begin_layout Standard
28564 Where 
28565 \begin_inset Formula $W_{g\, n}$
28566 \end_inset
28567
28568  is the given width of all cells.
28569  
28570 \series bold
28571
28572 \backslash
28573 tabcolsep
28574 \series default
28575  is the LaTeX-length between the cell text and the cell border, its default
28576  value is 6\InsetSpace \thinspace{}
28577 pt.
28578  
28579 \series bold
28580
28581 \backslash
28582 arrayrulewidth
28583 \series default
28584  is the thickness of the cell border line, the default is 0.4\InsetSpace \thinspace{}
28585 pt.
28586 \end_layout
28587
28588 \begin_layout Standard
28589 Following equation\InsetSpace ~
28590
28591 \begin_inset LatexCommand eqref
28592 reference "eq:Wtot_n"
28593
28594 \end_inset
28595
28596 , the total width of a multicolumn 
28597 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
28598 \end_inset
28599
28600  is
28601 \end_layout
28602
28603 \begin_layout Standard
28604 \begin_inset Formula \begin{equation}
28605 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2·\backslash\mbox{tabcolsep}+2·\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}\end{equation}
28606
28607 \end_inset
28608
28609
28610 \end_layout
28611
28612 \begin_layout Standard
28613 By setting equation\InsetSpace ~
28614
28615 \begin_inset LatexCommand eqref
28616 reference "eq:Wtot_n"
28617
28618 \end_inset
28619
28620  and 
28621 \begin_inset LatexCommand eqref
28622 reference "eq:Wtot_mult"
28623
28624 \end_inset
28625
28626  equal we can calculate the needed given width 
28627 \begin_inset Formula $W_{g\, n}$
28628 \end_inset
28629
28630  when 
28631 \emph on
28632 n
28633 \emph default
28634  columns are spanned, so that each column has a total width of 
28635 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
28636 \end_inset
28637
28638 :
28639 \end_layout
28640
28641 \begin_layout Standard
28642 \begin_inset Formula \begin{equation}
28643 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)·(2·\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n\end{equation}
28644
28645 \end_inset
28646
28647
28648 \end_layout
28649
28650 \begin_layout Bibliography
28651 \begin_inset LatexCommand bibitem
28652 key "latexcompanion"
28653
28654 \end_inset
28655
28656 Frank Mittelbach and Michel Goossens: 
28657 \emph on
28658 The LaTeX Companion Second Edition.
28659
28660 \emph default
28661  Addison-Wesley, 2004
28662 \end_layout
28663
28664 \begin_layout Bibliography
28665 \begin_inset LatexCommand bibitem
28666 key "latexguide"
28667
28668 \end_inset
28669
28670 Helmut Kopka and Patrick W.
28671  Daly: 
28672 \emph on
28673 A Guide to LaTeX Fourth Edition.
28674
28675 \emph default
28676  Addison-Wesley, 2003
28677 \end_layout
28678
28679 \begin_layout Bibliography
28680 \begin_inset LatexCommand bibitem
28681 key "latexbook"
28682
28683 \end_inset
28684
28685 Leslie Lamport: 
28686 \emph on
28687 LaTeX: A Document Preparation System.
28688
28689 \emph default
28690  Addison-Wesley, second edition, 1994
28691 \end_layout
28692
28693 \begin_layout Bibliography
28694 \begin_inset LatexCommand bibitem
28695 key "booktabs"
28696
28697 \end_inset
28698
28699
28700 \begin_inset ERT
28701 status collapsed
28702
28703 \begin_layout Standard
28704
28705
28706 \backslash
28707 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf}
28708 {
28709 \end_layout
28710
28711 \end_inset
28712
28713 Documentation
28714 \begin_inset ERT
28715 status collapsed
28716
28717 \begin_layout Standard
28718
28719 }
28720 \end_layout
28721
28722 \end_inset
28723
28724  of the LaTeX-package 
28725 \series bold
28726 booktabs
28727 \series default
28728
28729 \begin_inset LatexCommand index
28730 name "LaTeX-packages ! booktabs"
28731
28732 \end_inset
28733
28734
28735 \end_layout
28736
28737 \begin_layout Bibliography
28738 \begin_inset LatexCommand bibitem
28739 key "caption"
28740
28741 \end_inset
28742
28743
28744 \begin_inset ERT
28745 status collapsed
28746
28747 \begin_layout Standard
28748
28749
28750 \backslash
28751 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf}{
28752 \end_layout
28753
28754 \end_inset
28755
28756 Documentation
28757 \begin_inset ERT
28758 status collapsed
28759
28760 \begin_layout Standard
28761
28762 }
28763 \end_layout
28764
28765 \end_inset
28766
28767  of the LaTeX-package 
28768 \series bold
28769 caption
28770 \series default
28771
28772 \begin_inset LatexCommand index
28773 name "LaTeX-packages ! caption"
28774
28775 \end_inset
28776
28777
28778 \end_layout
28779
28780 \begin_layout Bibliography
28781 \begin_inset LatexCommand bibitem
28782 key "caption-de"
28783
28784 \end_inset
28785
28786 German 
28787 \begin_inset ERT
28788 status collapsed
28789
28790 \begin_layout Standard
28791
28792
28793 \backslash
28794 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/anleitung.pdf}
28795 {
28796 \end_layout
28797
28798 \end_inset
28799
28800 documentation
28801 \begin_inset ERT
28802 status collapsed
28803
28804 \begin_layout Standard
28805
28806 }
28807 \end_layout
28808
28809 \end_inset
28810
28811  of the LaTeX-package 
28812 \series bold
28813 caption
28814 \end_layout
28815
28816 \begin_layout Bibliography
28817 \begin_inset LatexCommand bibitem
28818 key "endfloat"
28819
28820 \end_inset
28821
28822
28823 \begin_inset ERT
28824 status collapsed
28825
28826 \begin_layout Standard
28827
28828
28829 \backslash
28830 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf}
28831 {
28832 \end_layout
28833
28834 \end_inset
28835
28836 Documentation
28837 \begin_inset ERT
28838 status collapsed
28839
28840 \begin_layout Standard
28841
28842 }
28843 \end_layout
28844
28845 \end_inset
28846
28847  of the LaTeX-package 
28848 \series bold
28849 endf\SpecialChar \textcompwordmark{}
28850 loat
28851 \series default
28852
28853 \begin_inset LatexCommand index
28854 name "LaTeX-packages ! endfloat"
28855
28856 \end_inset
28857
28858
28859 \end_layout
28860
28861 \begin_layout Bibliography
28862 \begin_inset LatexCommand bibitem
28863 key "floatflt"
28864
28865 \end_inset
28866
28867
28868 \begin_inset ERT
28869 status collapsed
28870
28871 \begin_layout Standard
28872
28873
28874 \backslash
28875 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/floatflt/floatflt.pdf}
28876 {
28877 \end_layout
28878
28879 \end_inset
28880
28881 Documentation
28882 \begin_inset ERT
28883 status collapsed
28884
28885 \begin_layout Standard
28886
28887 }
28888 \end_layout
28889
28890 \end_inset
28891
28892  of the LaTeX-package 
28893 \series bold
28894 floatf\SpecialChar \textcompwordmark{}
28895 lt
28896 \series default
28897
28898 \begin_inset LatexCommand index
28899 name "LaTeX-packages ! floatflt"
28900
28901 \end_inset
28902
28903
28904 \end_layout
28905
28906 \begin_layout Bibliography
28907 \begin_inset LatexCommand bibitem
28908 key "footmisc"
28909
28910 \end_inset
28911
28912
28913 \begin_inset ERT
28914 status collapsed
28915
28916 \begin_layout Standard
28917
28918
28919 \backslash
28920 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf}
28921 {
28922 \end_layout
28923
28924 \end_inset
28925
28926 Documentation
28927 \begin_inset ERT
28928 status collapsed
28929
28930 \begin_layout Standard
28931
28932 }
28933 \end_layout
28934
28935 \end_inset
28936
28937  of the LaTeX-package 
28938 \series bold
28939 footmisc
28940 \series default
28941
28942 \begin_inset LatexCommand index
28943 name "LaTeX-packages ! footmisc"
28944
28945 \end_inset
28946
28947
28948 \end_layout
28949
28950 \begin_layout Bibliography
28951 \begin_inset LatexCommand bibitem
28952 key "hypcap"
28953
28954 \end_inset
28955
28956
28957 \begin_inset ERT
28958 status collapsed
28959
28960 \begin_layout Standard
28961
28962
28963 \backslash
28964 href{http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf}{
28965 \end_layout
28966
28967 \end_inset
28968
28969 Documentation
28970 \begin_inset ERT
28971 status collapsed
28972
28973 \begin_layout Standard
28974
28975 }
28976 \end_layout
28977
28978 \end_inset
28979
28980  of the LaTeX-package 
28981 \series bold
28982 hypcap
28983 \series default
28984
28985 \begin_inset LatexCommand index
28986 name "LaTeX-packages ! hyperref"
28987
28988 \end_inset
28989
28990
28991 \end_layout
28992
28993 \begin_layout Bibliography
28994 \begin_inset LatexCommand bibitem
28995 key "hyperref"
28996
28997 \end_inset
28998
28999
29000 \begin_inset ERT
29001 status collapsed
29002
29003 \begin_layout Standard
29004
29005
29006 \backslash
29007 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf}
29008 {
29009 \end_layout
29010
29011 \end_inset
29012
29013 Documentation
29014 \begin_inset ERT
29015 status collapsed
29016
29017 \begin_layout Standard
29018
29019 }
29020 \end_layout
29021
29022 \end_inset
29023
29024  of the LaTeX-package 
29025 \series bold
29026 hyperref
29027 \series default
29028
29029 \begin_inset LatexCommand index
29030 name "LaTeX-packages ! hyperref"
29031
29032 \end_inset
29033
29034
29035 \end_layout
29036
29037 \begin_layout Bibliography
29038 \begin_inset LatexCommand bibitem
29039 key "koma-script"
29040
29041 \end_inset
29042
29043
29044 \begin_inset ERT
29045 status collapsed
29046
29047 \begin_layout Standard
29048
29049
29050 \backslash
29051 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.p
29052 df}{
29053 \end_layout
29054
29055 \end_inset
29056
29057 Documentation
29058 \begin_inset ERT
29059 status collapsed
29060
29061 \begin_layout Standard
29062
29063 }
29064 \end_layout
29065
29066 \end_inset
29067
29068  of the LaTeX-package 
29069 \series bold
29070 koma-script
29071 \series default
29072
29073 \begin_inset LatexCommand index
29074 name "LaTeX-packages ! koma-script"
29075
29076 \end_inset
29077
29078
29079 \end_layout
29080
29081 \begin_layout Bibliography
29082 \begin_inset LatexCommand bibitem
29083 key "koma-script-de"
29084
29085 \end_inset
29086
29087 German 
29088 \begin_inset ERT
29089 status collapsed
29090
29091 \begin_layout Standard
29092
29093
29094 \backslash
29095 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguide.p
29096 df}{
29097 \end_layout
29098
29099 \end_inset
29100
29101 documentation
29102 \begin_inset ERT
29103 status collapsed
29104
29105 \begin_layout Standard
29106
29107 }
29108 \end_layout
29109
29110 \end_inset
29111
29112  of the LaTeX-package 
29113 \series bold
29114 koma-script
29115 \series default
29116
29117 \begin_inset LatexCommand index
29118 name "LaTeX-packages ! koma-script"
29119
29120 \end_inset
29121
29122
29123 \end_layout
29124
29125 \begin_layout Bibliography
29126 \begin_inset LatexCommand bibitem
29127 key "marginnote"
29128
29129 \end_inset
29130
29131
29132 \begin_inset ERT
29133 status collapsed
29134
29135 \begin_layout Standard
29136
29137
29138 \backslash
29139 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.
29140 pdf}{
29141 \end_layout
29142
29143 \end_inset
29144
29145 Documentation
29146 \begin_inset ERT
29147 status collapsed
29148
29149 \begin_layout Standard
29150
29151 }
29152 \end_layout
29153
29154 \end_inset
29155
29156  of the LaTeX-package 
29157 \series bold
29158 marginnote
29159 \series default
29160
29161 \begin_inset LatexCommand index
29162 name "LaTeX-packages ! marginnote"
29163
29164 \end_inset
29165
29166
29167 \end_layout
29168
29169 \begin_layout Bibliography
29170 \begin_inset LatexCommand bibitem
29171 key "pstricks"
29172
29173 \end_inset
29174
29175
29176 \begin_inset ERT
29177 status collapsed
29178
29179 \begin_layout Standard
29180
29181
29182 \backslash
29183 href{http://tug.org/PSTricks/main.cgi/}{
29184 \end_layout
29185
29186 \end_inset
29187
29188 Web page
29189 \begin_inset ERT
29190 status collapsed
29191
29192 \begin_layout Standard
29193
29194 }
29195 \end_layout
29196
29197 \end_inset
29198
29199  of the LaTeX-package 
29200 \series bold
29201 PSTricks
29202 \series default
29203
29204 \begin_inset LatexCommand index
29205 name "LaTeX-packages ! PSTricks"
29206
29207 \end_inset
29208
29209
29210 \end_layout
29211
29212 \begin_layout Bibliography
29213 \begin_inset LatexCommand bibitem
29214 key "sidecap"
29215
29216 \end_inset
29217
29218
29219 \begin_inset ERT
29220 status collapsed
29221
29222 \begin_layout Standard
29223
29224
29225 \backslash
29226 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf}{
29227 \end_layout
29228
29229 \end_inset
29230
29231 Documentation
29232 \begin_inset ERT
29233 status collapsed
29234
29235 \begin_layout Standard
29236
29237 }
29238 \end_layout
29239
29240 \end_inset
29241
29242  of the LaTeX-package 
29243 \series bold
29244 sidecap
29245 \series default
29246
29247 \begin_inset LatexCommand index
29248 name "LaTeX-packages ! sidecap"
29249
29250 \end_inset
29251
29252
29253 \end_layout
29254
29255 \begin_layout Bibliography
29256 \begin_inset LatexCommand bibitem
29257 key "NewInLyX15"
29258
29259 \end_inset
29260
29261
29262 \begin_inset ERT
29263 status collapsed
29264
29265 \begin_layout Standard
29266
29267
29268 \backslash
29269 href{http://wiki.lyx.org/LyX/NewInLyX15}{
29270 \end_layout
29271
29272 \end_inset
29273
29274 Wiki page
29275 \begin_inset ERT
29276 status collapsed
29277
29278 \begin_layout Standard
29279
29280 }
29281 \end_layout
29282
29283 \end_inset
29284
29285  about new LyX-features planned for the release 
29286 \family sans
29287 LyX 1.5
29288 \family default
29289 .
29290 \end_layout
29291
29292 \begin_layout Standard
29293 \begin_inset LatexCommand printindex
29294
29295 \end_inset
29296
29297
29298 \end_layout
29299
29300 \begin_layout Standard
29301 \begin_inset FloatList figure
29302
29303 \end_inset
29304
29305
29306 \end_layout
29307
29308 \begin_layout Standard
29309 \begin_inset FloatList table
29310
29311 \end_inset
29312
29313
29314 \end_layout
29315
29316 \end_body
29317 \end_document