]> git.lyx.org Git - lyx.git/blob - lib/doc/EmbeddedObjects.lyx
EmbeddedObjects: small updates
[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 adds space between the current and the following row.
14721  If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
14722 em space.
14723  For normal tables the inserted space will unfortunately destroy the vertical
14724  table lines as in the following table: 
14725 \begin_inset Tabular
14726 <lyxtabular version="3" rows="3" columns="1">
14727 <features>
14728 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14729 <row topline="true">
14730 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14731 \begin_inset Text
14732
14733 \begin_layout Standard
14734 A
14735 \end_layout
14736
14737 \end_inset
14738 </cell>
14739 </row>
14740 <row topline="true" interlinespace="3mm">
14741 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14742 \begin_inset Text
14743
14744 \begin_layout Standard
14745 \begin_inset Formula $\downarrow$
14746 \end_inset
14747
14748  3\InsetSpace \thinspace{}
14749 mm space between row 
14750 \begin_inset Formula $\downarrow$
14751 \end_inset
14752
14753
14754 \end_layout
14755
14756 \end_inset
14757 </cell>
14758 </row>
14759 <row topline="true" bottomline="true">
14760 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14761 \begin_inset Text
14762
14763 \begin_layout Standard
14764 \begin_inset Formula $\uparrow$
14765 \end_inset
14766
14767  3\InsetSpace \thinspace{}
14768 mm space between row 
14769 \begin_inset Formula $\uparrow$
14770 \end_inset
14771
14772
14773 \end_layout
14774
14775 \end_inset
14776 </cell>
14777 </row>
14778 </lyxtabular>
14779
14780 \end_inset
14781
14782
14783 \newline
14784 So inserting space between rows for normal tables is only useful when you
14785  don't have vertical lines.
14786 \end_layout
14787
14788 \begin_layout Standard
14789 When you want to add extra height to all cells of all tables, you can do
14790  this with the following preamble line:
14791 \end_layout
14792
14793 \begin_layout Standard
14794
14795 \series bold
14796
14797 \backslash
14798 setlength{
14799 \backslash
14800 extrarowheight}{height}
14801 \end_layout
14802
14803 \begin_layout Standard
14804 But this has the disadvantage that the cell texts are no longer exactly
14805  vertically centered.
14806 \end_layout
14807
14808 \begin_layout Subsection
14809 Special Cell Alignment
14810 \begin_inset LatexCommand index
14811 name "Table Customization ! Special Cell Alignment"
14812
14813 \end_inset
14814
14815
14816 \end_layout
14817
14818 \begin_layout Standard
14819 Sometimes it looks better when the cell entries of a column are aligned
14820  with a special character, e.\InsetSpace \thinspace{}
14821 g.\InsetSpace ~
14822 with the decimal separator as in Table\InsetSpace ~
14823
14824 \begin_inset LatexCommand ref
14825 reference "tab:Table-cells-of"
14826
14827 \end_inset
14828
14829 .
14830 \end_layout
14831
14832 \begin_layout Standard
14833 \begin_inset Float table
14834 placement h
14835 wide false
14836 sideways false
14837 status open
14838
14839 \begin_layout Standard
14840 \begin_inset Caption
14841
14842 \begin_layout Standard
14843 \begin_inset LatexCommand label
14844 name "tab:Table-cells-of"
14845
14846 \end_inset
14847
14848 Table cells of a column aligned with the decimal separator.
14849 \end_layout
14850
14851 \end_inset
14852
14853
14854 \end_layout
14855
14856 \begin_layout Standard
14857 \align center
14858 \begin_inset Tabular
14859 <lyxtabular version="3" rows="4" columns="2">
14860 <features>
14861 <column alignment="right" valignment="top" width="0">
14862 <column alignment="left" valignment="top" width="0" special="@{}l">
14863 <row bottomline="true">
14864 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
14865 \begin_inset Text
14866
14867 \begin_layout Standard
14868 heading
14869 \end_layout
14870
14871 \end_inset
14872 </cell>
14873 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14874 \begin_inset Text
14875
14876 \begin_layout Standard
14877
14878 \end_layout
14879
14880 \end_inset
14881 </cell>
14882 </row>
14883 <row>
14884 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14885 \begin_inset Text
14886
14887 \begin_layout Standard
14888 12.
14889 \end_layout
14890
14891 \end_inset
14892 </cell>
14893 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14894 \begin_inset Text
14895
14896 \begin_layout Standard
14897 6
14898 \end_layout
14899
14900 \end_inset
14901 </cell>
14902 </row>
14903 <row>
14904 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14905 \begin_inset Text
14906
14907 \begin_layout Standard
14908 0.
14909 \end_layout
14910
14911 \end_inset
14912 </cell>
14913 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14914 \begin_inset Text
14915
14916 \begin_layout Standard
14917 68
14918 \end_layout
14919
14920 \end_inset
14921 </cell>
14922 </row>
14923 <row>
14924 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14925 \begin_inset Text
14926
14927 \begin_layout Standard
14928 -123.
14929 \end_layout
14930
14931 \end_inset
14932 </cell>
14933 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14934 \begin_inset Text
14935
14936 \begin_layout Standard
14937 0
14938 \end_layout
14939
14940 \end_inset
14941 </cell>
14942 </row>
14943 </lyxtabular>
14944
14945 \end_inset
14946
14947
14948 \end_layout
14949
14950 \end_inset
14951
14952
14953 \end_layout
14954
14955 \begin_layout Standard
14956 This table was created with a 4×2 table.
14957  The heading is a centered multicolumn.
14958  The first column is right-aligned and contains the digits before the decimal
14959  point and the decimal point.
14960  The second column is left aligned and contains the digits after the decimal
14961  point.
14962  To omit the space that is normally between two table columns, use the following
14963  LaTeX-argument for the second column:
14964 \end_layout
14965
14966 \begin_layout Standard
14967
14968 \series bold
14969 @{}l
14970 \end_layout
14971
14972 \begin_layout Standard
14973 If you need a vertical line right beside the second column, use this LaTeX-argum
14974 ent instead: 
14975 \series bold
14976 @{}l|
14977 \end_layout
14978
14979 \begin_layout Standard
14980 Table\InsetSpace ~
14981
14982 \begin_inset LatexCommand ref
14983 reference "tab:Several-table-cell"
14984
14985 \end_inset
14986
14987  shows some example alignments.
14988  For the alignment with the relation sign, you must add the second smallest
14989  math-space at the beginning of the last column to get the correct space
14990  surrounding the relation sign.
14991 \end_layout
14992
14993 \begin_layout Standard
14994 \begin_inset Float table
14995 wide false
14996 sideways false
14997 status open
14998
14999 \begin_layout Standard
15000 \begin_inset Caption
15001
15002 \begin_layout Standard
15003 \begin_inset LatexCommand label
15004 name "tab:Several-table-cell"
15005
15006 \end_inset
15007
15008 Several table cell alignments.
15009 \end_layout
15010
15011 \end_inset
15012
15013
15014 \end_layout
15015
15016 \begin_layout Standard
15017 \align center
15018 \begin_inset Tabular
15019 <lyxtabular version="3" rows="4" columns="6">
15020 <features>
15021 <column alignment="right" valignment="top" width="0">
15022 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l|">
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 <row bottomline="true">
15028 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15029 \begin_inset Text
15030
15031 \begin_layout Standard
15032 units
15033 \end_layout
15034
15035 \end_inset
15036 </cell>
15037 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15038 \begin_inset Text
15039
15040 \begin_layout Standard
15041
15042 \end_layout
15043
15044 \end_inset
15045 </cell>
15046 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15047 \begin_inset Text
15048
15049 \begin_layout Standard
15050 exponents
15051 \end_layout
15052
15053 \end_inset
15054 </cell>
15055 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15056 \begin_inset Text
15057
15058 \begin_layout Standard
15059
15060 \end_layout
15061
15062 \end_inset
15063 </cell>
15064 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15065 \begin_inset Text
15066
15067 \begin_layout Standard
15068 relations
15069 \end_layout
15070
15071 \end_inset
15072 </cell>
15073 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15074 \begin_inset Text
15075
15076 \begin_layout Standard
15077
15078 \end_layout
15079
15080 \end_inset
15081 </cell>
15082 </row>
15083 <row>
15084 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15085 \begin_inset Text
15086
15087 \begin_layout Standard
15088 12×
15089 \end_layout
15090
15091 \end_inset
15092 </cell>
15093 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15094 \begin_inset Text
15095
15096 \begin_layout Standard
15097 24\InsetSpace \thinspace{}
15098 bottles
15099 \end_layout
15100
15101 \end_inset
15102 </cell>
15103 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15104 \begin_inset Text
15105
15106 \begin_layout Standard
15107 \begin_inset Formula $10\cdot$
15108 \end_inset
15109
15110
15111 \end_layout
15112
15113 \end_inset
15114 </cell>
15115 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15116 \begin_inset Text
15117
15118 \begin_layout Standard
15119 \begin_inset Formula $10^{\mbox{-}17}$
15120 \end_inset
15121
15122
15123 \end_layout
15124
15125 \end_inset
15126 </cell>
15127 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15128 \begin_inset Text
15129
15130 \begin_layout Standard
15131 \begin_inset Formula $\Gamma(t)\propto$
15132 \end_inset
15133
15134
15135 \end_layout
15136
15137 \end_inset
15138 </cell>
15139 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15140 \begin_inset Text
15141
15142 \begin_layout Standard
15143 \begin_inset Formula $\:\Upsilon(t)$
15144 \end_inset
15145
15146
15147 \end_layout
15148
15149 \end_inset
15150 </cell>
15151 </row>
15152 <row>
15153 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15154 \begin_inset Text
15155
15156 \begin_layout Standard
15157 1024×
15158 \end_layout
15159
15160 \end_inset
15161 </cell>
15162 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15163 \begin_inset Text
15164
15165 \begin_layout Standard
15166 768\InsetSpace \thinspace{}
15167 Pixels
15168 \end_layout
15169
15170 \end_inset
15171 </cell>
15172 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15173 \begin_inset Text
15174
15175 \begin_layout Standard
15176 \begin_inset Formula $5.78\cdot$
15177 \end_inset
15178
15179
15180 \end_layout
15181
15182 \end_inset
15183 </cell>
15184 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15185 \begin_inset Text
15186
15187 \begin_layout Standard
15188 \begin_inset Formula $10^{7}$
15189 \end_inset
15190
15191
15192 \end_layout
15193
15194 \end_inset
15195 </cell>
15196 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15197 \begin_inset Text
15198
15199 \begin_layout Standard
15200 \begin_inset Formula $A\ne$
15201 \end_inset
15202
15203
15204 \end_layout
15205
15206 \end_inset
15207 </cell>
15208 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15209 \begin_inset Text
15210
15211 \begin_layout Standard
15212 \begin_inset Formula $\: B_{\mathrm{red}}$
15213 \end_inset
15214
15215
15216 \end_layout
15217
15218 \end_inset
15219 </cell>
15220 </row>
15221 <row>
15222 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15223 \begin_inset Text
15224
15225 \begin_layout Standard
15226 32×
15227 \end_layout
15228
15229 \end_inset
15230 </cell>
15231 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15232 \begin_inset Text
15233
15234 \begin_layout Standard
15235 6\InsetSpace \thinspace{}
15236 cm
15237 \end_layout
15238
15239 \end_inset
15240 </cell>
15241 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15242 \begin_inset Text
15243
15244 \begin_layout Standard
15245 -
15246 \begin_inset Formula $33.5\cdot$
15247 \end_inset
15248
15249
15250 \end_layout
15251
15252 \end_inset
15253 </cell>
15254 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15255 \begin_inset Text
15256
15257 \begin_layout Standard
15258 \begin_inset Formula $10^{4}$
15259 \end_inset
15260
15261
15262 \end_layout
15263
15264 \end_inset
15265 </cell>
15266 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15267 \begin_inset Text
15268
15269 \begin_layout Standard
15270 \begin_inset Formula $\sin(\alpha)\ge$
15271 \end_inset
15272
15273
15274 \end_layout
15275
15276 \end_inset
15277 </cell>
15278 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15279 \begin_inset Text
15280
15281 \begin_layout Standard
15282 \begin_inset Formula $\:\sin(\beta)$
15283 \end_inset
15284
15285
15286 \end_layout
15287
15288 \end_inset
15289 </cell>
15290 </row>
15291 </lyxtabular>
15292
15293 \end_inset
15294
15295
15296 \end_layout
15297
15298 \end_inset
15299
15300
15301 \end_layout
15302
15303 \begin_layout Standard
15304 \begin_inset VSpace bigskip
15305 \end_inset
15306
15307 There is also the LaTeX-package 
15308 \series bold
15309 dcolumn
15310 \series default
15311
15312 \begin_inset LatexCommand index
15313 name "LaTeX-packages ! dcolumn"
15314
15315 \end_inset
15316
15317  that provides table cell alignments.
15318  But this unfortunately treats the cell entries as math and doesn't allow
15319  formulas in table cells: The first column of Table\InsetSpace ~
15320
15321 \begin_inset LatexCommand ref
15322 reference "tab:Several-table-cell"
15323
15324 \end_inset
15325
15326  will look with 
15327 \series bold
15328 dcolumn
15329 \series default
15330  like the first column in Table\InsetSpace ~
15331
15332 \begin_inset LatexCommand ref
15333 reference "tab:Alignments-when"
15334
15335 \end_inset
15336
15337  and only with some tricks like the expected.
15338  The alignment of the second and third column of Table\InsetSpace ~
15339
15340 \begin_inset LatexCommand ref
15341 reference "tab:Several-table-cell"
15342
15343 \end_inset
15344
15345  is not possible with 
15346 \series bold
15347 dcolumn
15348 \series default
15349 .
15350 \end_layout
15351
15352 \begin_layout Standard
15353 \begin_inset Float table
15354 placement h
15355 wide false
15356 sideways false
15357 status open
15358
15359 \begin_layout Standard
15360 \begin_inset Caption
15361
15362 \begin_layout Standard
15363 \begin_inset LatexCommand label
15364 name "tab:Alignments-when"
15365
15366 \end_inset
15367
15368 Alignments when LaTeX-package dcolumn is used.
15369  For all column alignments tricks have to be used to get the output.
15370 \end_layout
15371
15372 \end_inset
15373
15374
15375 \end_layout
15376
15377 \begin_layout Standard
15378 \align center
15379 \begin_inset Tabular
15380 <lyxtabular version="3" rows="4" columns="3">
15381 <features>
15382 <column alignment="center" valignment="top" rightline="true" width="0" special="D{x}{\times}{-1}|">
15383 <column alignment="center" valignment="top" width="0" special="D{x}{\times}{4.9}|">
15384 <column alignment="center" valignment="top" rightline="true" width="0" special="D{~}{\,}{9.7}">
15385 <row bottomline="true">
15386 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15387 \begin_inset Text
15388
15389 \begin_layout Standard
15390 units
15391 \end_layout
15392
15393 \end_inset
15394 </cell>
15395 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15396 \begin_inset Text
15397
15398 \begin_layout Standard
15399 units
15400 \end_layout
15401
15402 \end_inset
15403 </cell>
15404 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15405 \begin_inset Text
15406
15407 \begin_layout Standard
15408 units
15409 \end_layout
15410
15411 \end_inset
15412 </cell>
15413 </row>
15414 <row>
15415 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15416 \begin_inset Text
15417
15418 \begin_layout Standard
15419 12x24\InsetSpace \thinspace{}
15420 bottles
15421 \end_layout
15422
15423 \end_inset
15424 </cell>
15425 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15426 \begin_inset Text
15427
15428 \begin_layout Standard
15429 12x24\InsetSpace \thinspace{}
15430
15431 \begin_inset Formula $\mbox{bottles}$
15432 \end_inset
15433
15434
15435 \end_layout
15436
15437 \end_inset
15438 </cell>
15439 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15440 \begin_inset Text
15441
15442 \begin_layout Standard
15443 12
15444 \begin_inset ERT
15445 status collapsed
15446
15447 \begin_layout Standard
15448
15449
15450 \backslash
15451 times 
15452 \end_layout
15453
15454 \end_inset
15455
15456 24~
15457 \begin_inset Formula $\mbox{bottles}$
15458 \end_inset
15459
15460
15461 \end_layout
15462
15463 \end_inset
15464 </cell>
15465 </row>
15466 <row>
15467 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15468 \begin_inset Text
15469
15470 \begin_layout Standard
15471 1024x768\InsetSpace \thinspace{}
15472 Pixels
15473 \end_layout
15474
15475 \end_inset
15476 </cell>
15477 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15478 \begin_inset Text
15479
15480 \begin_layout Standard
15481 1024x768\InsetSpace \thinspace{}
15482
15483 \begin_inset Formula $\mbox{Pixels}$
15484 \end_inset
15485
15486
15487 \end_layout
15488
15489 \end_inset
15490 </cell>
15491 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15492 \begin_inset Text
15493
15494 \begin_layout Standard
15495 1024
15496 \begin_inset ERT
15497 status collapsed
15498
15499 \begin_layout Standard
15500
15501
15502 \backslash
15503 times 
15504 \end_layout
15505
15506 \end_inset
15507
15508 768~
15509 \begin_inset Formula $\mbox{Pixels}$
15510 \end_inset
15511
15512
15513 \end_layout
15514
15515 \end_inset
15516 </cell>
15517 </row>
15518 <row>
15519 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15520 \begin_inset Text
15521
15522 \begin_layout Standard
15523 32x6\InsetSpace \thinspace{}
15524 cm
15525 \end_layout
15526
15527 \end_inset
15528 </cell>
15529 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15530 \begin_inset Text
15531
15532 \begin_layout Standard
15533 32x6\InsetSpace \thinspace{}
15534
15535 \begin_inset Formula $\mbox{cm}$
15536 \end_inset
15537
15538
15539 \end_layout
15540
15541 \end_inset
15542 </cell>
15543 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15544 \begin_inset Text
15545
15546 \begin_layout Standard
15547 32
15548 \begin_inset ERT
15549 status collapsed
15550
15551 \begin_layout Standard
15552
15553
15554 \backslash
15555 times 
15556 \end_layout
15557
15558 \end_inset
15559
15560 6~
15561 \begin_inset Formula $\mbox{cm}$
15562 \end_inset
15563
15564
15565 \end_layout
15566
15567 \end_inset
15568 </cell>
15569 </row>
15570 </lyxtabular>
15571
15572 \end_inset
15573
15574
15575 \end_layout
15576
15577 \end_inset
15578
15579
15580 \end_layout
15581
15582 \begin_layout Subsection
15583 Customized Cell/Column Format
15584 \begin_inset LatexCommand label
15585 name "sub:Customized-Format"
15586
15587 \end_inset
15588
15589
15590 \begin_inset LatexCommand index
15591 name "Table Customization ! Cell/Column Format"
15592
15593 \end_inset
15594
15595
15596 \end_layout
15597
15598 \begin_layout Standard
15599 Calculating the needed width for spanned columns like in section\InsetSpace ~
15600
15601 \begin_inset LatexCommand ref
15602 reference "sub:Multicolumn-Calculations"
15603
15604 \end_inset
15605
15606  is very annoying if you have several tables with multicolumn cells.
15607  To make life easier, you can define a cell/column format in the preamble,
15608  so that it can be used in all tables of the document.
15609  The format is defined with the command
15610 \end_layout
15611
15612 \begin_layout Standard
15613
15614 \series bold
15615
15616 \backslash
15617 newcolumntype{name of format}[number of arguments]{commands}
15618 \end_layout
15619
15620 \begin_layout Standard
15621 The format name may only consist of one letter.
15622  The letters 
15623 \emph on
15624 b
15625 \emph default
15626
15627 \emph on
15628 c
15629 \emph default
15630
15631 \emph on
15632 l
15633 \emph default
15634
15635 \emph on
15636 m
15637 \emph default
15638
15639 \emph on
15640 p
15641 \emph default
15642  and 
15643 \emph on
15644 r
15645 \emph default
15646  are predefined and cannot be used.
15647  But all letters are allowed as capitals.
15648 \end_layout
15649
15650 \begin_layout Standard
15651 \begin_inset VSpace medskip
15652 \end_inset
15653
15654
15655 \end_layout
15656
15657 \begin_layout Standard
15658 For vertically and horizontally centered multicolumn cells with a fixed
15659  width you can define the cell format
15660 \end_layout
15661
15662 \begin_layout Standard
15663
15664 \series bold
15665
15666 \backslash
15667 newcolumntype{M}[1]{>{
15668 \backslash
15669 centering
15670 \backslash
15671 hspace{0pt}}m{#1}}
15672 \end_layout
15673
15674 \begin_layout Standard
15675 where 
15676 \series bold
15677
15678 \backslash
15679 hspace{0pt}
15680 \series default
15681  avoids the problem of hyphenating the first word, as described in section\InsetSpace ~
15682
15683 \begin_inset LatexCommand ref
15684 reference "sub:Multiple-Lines-in"
15685
15686 \end_inset
15687
15688 .
15689  Now you can simply enter
15690 \end_layout
15691
15692 \begin_layout Standard
15693
15694 \series bold
15695 |M{width}
15696 \end_layout
15697
15698 \begin_layout Standard
15699 as LaTeX-argument in the table dialog to create a multicolumn.
15700 \end_layout
15701
15702 \begin_layout Standard
15703 \begin_inset VSpace bigskip
15704 \end_inset
15705
15706
15707 \end_layout
15708
15709 \begin_layout Standard
15710 For cells spanned by a multicolumn cell, you can define the format
15711 \end_layout
15712
15713 \begin_layout Standard
15714
15715 \series bold
15716
15717 \backslash
15718 newcolumntype{S}[2]{>{
15719 \backslash
15720 centering
15721 \backslash
15722 hspace{0pt}}
15723 \newline
15724
15725 \begin_inset ERT
15726 status collapsed
15727
15728 \begin_layout Standard
15729
15730
15731 \backslash
15732 phantom{
15733 \end_layout
15734
15735 \end_inset
15736
15737
15738 \backslash
15739 newcolumntype{S}[2]
15740 \begin_inset ERT
15741 status collapsed
15742
15743 \begin_layout Standard
15744
15745 }
15746 \end_layout
15747
15748 \end_inset
15749
15750 m{(#1+(2
15751 \backslash
15752 tabcolsep+
15753 \backslash
15754 arrayrulewidth)*(1-#2))/#2}}
15755 \end_layout
15756
15757 \begin_layout Standard
15758 This format uses equation 
15759 \begin_inset LatexCommand eqref
15760 reference "eq:Wgn"
15761
15762 \end_inset
15763
15764  to calculate the needed width so that each spanned cell has the same width.
15765 \end_layout
15766
15767 \begin_layout Standard
15768 You can now enter
15769 \end_layout
15770
15771 \begin_layout Standard
15772
15773 \series bold
15774 |S{width of multicolumn cell}{number of spanned columns}
15775 \end_layout
15776
15777 \begin_layout Standard
15778 as LaTeX-argument of the column.
15779 \end_layout
15780
15781 \begin_layout Standard
15782 \begin_inset VSpace bigskip
15783 \end_inset
15784
15785
15786 \end_layout
15787
15788 \begin_layout Standard
15789 For colored columns, you can define
15790 \end_layout
15791
15792 \begin_layout Standard
15793
15794 \series bold
15795
15796 \backslash
15797 newcolumntype{K}[1]{>{
15798 \backslash
15799 columncolor{#1}
15800 \backslash
15801 hspace{0pt}}c}
15802 \end_layout
15803
15804 \begin_layout Standard
15805 The 
15806 \begin_inset Quotes eld
15807 \end_inset
15808
15809 c
15810 \begin_inset Quotes erd
15811 \end_inset
15812
15813  at the end creates a column with a flexible width whose text is horizontally
15814  centered.
15815  You can now enter
15816 \end_layout
15817
15818 \begin_layout Standard
15819
15820 \series bold
15821 K{color name}
15822 \end_layout
15823
15824 \begin_layout Standard
15825 as LaTeX-argument.
15826 \end_layout
15827
15828 \begin_layout Standard
15829 \begin_inset VSpace bigskip
15830 \end_inset
15831
15832
15833 \end_layout
15834
15835 \begin_layout Standard
15836 To create Table\InsetSpace ~
15837
15838 \begin_inset LatexCommand ref
15839 reference "tab:Table-using-user-defined"
15840
15841 \end_inset
15842
15843  use the LaTeX-arguments
15844 \end_layout
15845
15846 \begin_layout Standard
15847
15848 \series bold
15849 |M{2.5cm}
15850 \end_layout
15851
15852 \begin_layout Standard
15853 for the first column and the multicolumn,
15854 \end_layout
15855
15856 \begin_layout Standard
15857
15858 \series bold
15859 |K{red}|
15860 \end_layout
15861
15862 \begin_layout Standard
15863 for the the last column, and
15864 \end_layout
15865
15866 \begin_layout Standard
15867
15868 \series bold
15869 |S{2.5cm}{2}
15870 \end_layout
15871
15872 \begin_layout Standard
15873 for the cells in the second column.
15874 \end_layout
15875
15876 \begin_layout Standard
15877 \begin_inset Float table
15878 placement h
15879 wide false
15880 sideways false
15881 status open
15882
15883 \begin_layout Standard
15884 \begin_inset Caption
15885
15886 \begin_layout Standard
15887 \begin_inset LatexCommand label
15888 name "tab:Table-using-user-defined"
15889
15890 \end_inset
15891
15892 Table using user-defined table formats
15893 \end_layout
15894
15895 \end_inset
15896
15897
15898 \end_layout
15899
15900 \begin_layout Standard
15901 \align center
15902 \begin_inset Tabular
15903 <lyxtabular version="3" rows="3" columns="4">
15904 <features>
15905 <column alignment="center" valignment="middle" leftline="true" width="2.5cm" special="|M{2.5cm}">
15906 <column alignment="center" valignment="middle" leftline="true" width="0" special="|S{2.5cm}{2}">
15907 <column alignment="center" valignment="middle" leftline="true" width="0">
15908 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0" special="|K{red}|">
15909 <row topline="true">
15910 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15911 \begin_inset Text
15912
15913 \begin_layout Standard
15914 verylongtablecellword
15915 \end_layout
15916
15917 \end_inset
15918 </cell>
15919 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none" special="M{2.5cm}|">
15920 \begin_inset Text
15921
15922 \begin_layout Standard
15923 multiple lines multicolumn
15924 \end_layout
15925
15926 \end_inset
15927 </cell>
15928 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15929 \begin_inset Text
15930
15931 \begin_layout Standard
15932
15933 \end_layout
15934
15935 \end_inset
15936 </cell>
15937 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15938 \begin_inset Text
15939
15940 \begin_layout Standard
15941 c
15942 \end_layout
15943
15944 \end_inset
15945 </cell>
15946 </row>
15947 <row topline="true">
15948 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15949 \begin_inset Text
15950
15951 \begin_layout Standard
15952 d
15953 \end_layout
15954
15955 \end_inset
15956 </cell>
15957 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15958 \begin_inset Text
15959
15960 \begin_layout Standard
15961 e
15962 \end_layout
15963
15964 \end_inset
15965 </cell>
15966 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15967 \begin_inset Text
15968
15969 \begin_layout Standard
15970 f
15971 \end_layout
15972
15973 \end_inset
15974 </cell>
15975 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15976 \begin_inset Text
15977
15978 \begin_layout Standard
15979 g
15980 \end_layout
15981
15982 \end_inset
15983 </cell>
15984 </row>
15985 <row topline="true" bottomline="true">
15986 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15987 \begin_inset Text
15988
15989 \begin_layout Standard
15990 h
15991 \end_layout
15992
15993 \end_inset
15994 </cell>
15995 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15996 \begin_inset Text
15997
15998 \begin_layout Standard
15999 i
16000 \end_layout
16001
16002 \end_inset
16003 </cell>
16004 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16005 \begin_inset Text
16006
16007 \begin_layout Standard
16008 j
16009 \end_layout
16010
16011 \end_inset
16012 </cell>
16013 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16014 \begin_inset Text
16015
16016 \begin_layout Standard
16017 k
16018 \end_layout
16019
16020 \end_inset
16021 </cell>
16022 </row>
16023 </lyxtabular>
16024
16025 \end_inset
16026
16027
16028 \end_layout
16029
16030 \end_inset
16031
16032
16033 \end_layout
16034
16035 \begin_layout Subsection
16036 Line Thickness
16037 \begin_inset LatexCommand label
16038 name "sub:Line-Thickness"
16039
16040 \end_inset
16041
16042
16043 \begin_inset LatexCommand index
16044 name "Table Customization ! Line Thickness"
16045
16046 \end_inset
16047
16048
16049 \end_layout
16050
16051 \begin_layout Standard
16052 The line thickness for all lines in a table can be adjusted with the length
16053  
16054 \series bold
16055
16056 \backslash
16057 arrayrulewidth
16058 \series default
16059 .
16060  To set for example a line thickness of 1.5\InsetSpace \thinspace{}
16061 pt, like in Table\InsetSpace ~
16062
16063 \begin_inset LatexCommand ref
16064 reference "tab:Table-with-1.5"
16065
16066 \end_inset
16067
16068 , insert the command
16069 \end_layout
16070
16071 \begin_layout Standard
16072
16073 \series bold
16074
16075 \backslash
16076 setlength{
16077 \backslash
16078 arrayrulewidth}{1.5pt}
16079 \end_layout
16080
16081 \begin_layout Standard
16082 in ERT before the table or table float.
16083  The changed thickness is valid for all following tables.
16084  To use the default value again, set 
16085 \series bold
16086
16087 \backslash
16088 arrayrulewidth
16089 \series default
16090  to 0.4\InsetSpace \thinspace{}
16091 pt in ERT behind the table or table float.
16092 \end_layout
16093
16094 \begin_layout Standard
16095 \begin_inset ERT
16096 status collapsed
16097
16098 \begin_layout Standard
16099
16100
16101 \backslash
16102 setlength{
16103 \backslash
16104 arrayrulewidth}{1.5pt}
16105 \end_layout
16106
16107 \end_inset
16108
16109
16110 \begin_inset Float table
16111 wide false
16112 sideways false
16113 status open
16114
16115 \begin_layout Standard
16116 \begin_inset Caption
16117
16118 \begin_layout Standard
16119 \begin_inset LatexCommand label
16120 name "tab:Table-with-1.5"
16121
16122 \end_inset
16123
16124 Table with 1.5\InsetSpace \thinspace{}
16125 pt thick lines
16126 \end_layout
16127
16128 \end_inset
16129
16130
16131 \end_layout
16132
16133 \begin_layout Standard
16134 \align center
16135 \begin_inset Tabular
16136 <lyxtabular version="3" rows="3" columns="3">
16137 <features>
16138 <column alignment="center" valignment="top" leftline="true" width="0">
16139 <column alignment="center" valignment="top" leftline="true" width="0">
16140 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16141 <row topline="true">
16142 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16143 \begin_inset Text
16144
16145 \begin_layout Standard
16146 sd
16147 \end_layout
16148
16149 \end_inset
16150 </cell>
16151 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16152 \begin_inset Text
16153
16154 \begin_layout Standard
16155
16156 \end_layout
16157
16158 \end_inset
16159 </cell>
16160 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16161 \begin_inset Text
16162
16163 \begin_layout Standard
16164
16165 \end_layout
16166
16167 \end_inset
16168 </cell>
16169 </row>
16170 <row topline="true">
16171 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16172 \begin_inset Text
16173
16174 \begin_layout Standard
16175
16176 \end_layout
16177
16178 \end_inset
16179 </cell>
16180 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16181 \begin_inset Text
16182
16183 \begin_layout Standard
16184 sd
16185 \end_layout
16186
16187 \end_inset
16188 </cell>
16189 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16190 \begin_inset Text
16191
16192 \begin_layout Standard
16193
16194 \end_layout
16195
16196 \end_inset
16197 </cell>
16198 </row>
16199 <row topline="true" bottomline="true">
16200 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16201 \begin_inset Text
16202
16203 \begin_layout Standard
16204
16205 \end_layout
16206
16207 \end_inset
16208 </cell>
16209 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16210 \begin_inset Text
16211
16212 \begin_layout Standard
16213
16214 \end_layout
16215
16216 \end_inset
16217 </cell>
16218 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16219 \begin_inset Text
16220
16221 \begin_layout Standard
16222 sd
16223 \end_layout
16224
16225 \end_inset
16226 </cell>
16227 </row>
16228 </lyxtabular>
16229
16230 \end_inset
16231
16232
16233 \end_layout
16234
16235 \end_inset
16236
16237
16238 \begin_inset ERT
16239 status collapsed
16240
16241 \begin_layout Standard
16242
16243
16244 \backslash
16245 setlength{
16246 \backslash
16247 arrayrulewidth}{0.4pt}
16248 \end_layout
16249
16250 \end_inset
16251
16252
16253 \end_layout
16254
16255 \begin_layout Standard
16256 \begin_inset VSpace bigskip
16257 \end_inset
16258
16259 To set the line thickness to 1.5\InsetSpace \thinspace{}
16260 pt only for horizontal lines, like in Table\InsetSpace ~
16261
16262 \begin_inset LatexCommand ref
16263 reference "tab:Table-with-horizontal"
16264
16265 \end_inset
16266
16267 , insert these commands in ERT before the table or table float:
16268 \end_layout
16269
16270 \begin_layout Standard
16271
16272 \series bold
16273
16274 \backslash
16275 let
16276 \backslash
16277 myHline
16278 \backslash
16279 hline
16280 \newline
16281
16282 \backslash
16283 renewcommand{
16284 \backslash
16285 hline}
16286 \newline
16287  {
16288 \backslash
16289 noalign{
16290 \backslash
16291 global
16292 \backslash
16293 arrayrulewidth 1.5pt}
16294 \newline
16295   
16296 \backslash
16297 myHline
16298 \backslash
16299 noalign{
16300 \backslash
16301 global
16302 \backslash
16303 arrayrulewidth 0.4pt}}
16304 \end_layout
16305
16306 \begin_layout Standard
16307 To return to the default line thickness, insert this command in ERT behind
16308  the table or table float:
16309 \end_layout
16310
16311 \begin_layout Standard
16312
16313 \series bold
16314
16315 \backslash
16316 renewcommand{
16317 \backslash
16318 hline}{
16319 \backslash
16320 myHline}
16321 \end_layout
16322
16323 \begin_layout Standard
16324 \begin_inset ERT
16325 status collapsed
16326
16327 \begin_layout Standard
16328
16329
16330 \backslash
16331 let
16332 \backslash
16333 myHline
16334 \backslash
16335 hline
16336 \end_layout
16337
16338 \begin_layout Standard
16339
16340
16341 \backslash
16342 renewcommand{
16343 \backslash
16344 hline}
16345 \end_layout
16346
16347 \begin_layout Standard
16348
16349  {
16350 \backslash
16351 noalign{
16352 \backslash
16353 global
16354 \backslash
16355 arrayrulewidth 1.5pt}
16356 \end_layout
16357
16358 \begin_layout Standard
16359
16360   
16361 \backslash
16362 myHline
16363 \backslash
16364 noalign{
16365 \backslash
16366 global
16367 \backslash
16368 arrayrulewidth 0.4pt}}
16369 \end_layout
16370
16371 \end_inset
16372
16373
16374 \begin_inset Float table
16375 wide false
16376 sideways false
16377 status open
16378
16379 \begin_layout Standard
16380 \begin_inset Caption
16381
16382 \begin_layout Standard
16383 \begin_inset LatexCommand label
16384 name "tab:Table-with-horizontal"
16385
16386 \end_inset
16387
16388 Table with 1.5\InsetSpace \thinspace{}
16389 pt thick horizontal lines
16390 \end_layout
16391
16392 \end_inset
16393
16394
16395 \end_layout
16396
16397 \begin_layout Standard
16398 \align center
16399 \begin_inset Tabular
16400 <lyxtabular version="3" rows="3" columns="3">
16401 <features>
16402 <column alignment="center" valignment="top" leftline="true" width="0">
16403 <column alignment="center" valignment="top" leftline="true" width="0">
16404 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16405 <row topline="true">
16406 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16407 \begin_inset Text
16408
16409 \begin_layout Standard
16410 sd
16411 \end_layout
16412
16413 \end_inset
16414 </cell>
16415 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16416 \begin_inset Text
16417
16418 \begin_layout Standard
16419
16420 \end_layout
16421
16422 \end_inset
16423 </cell>
16424 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16425 \begin_inset Text
16426
16427 \begin_layout Standard
16428
16429 \end_layout
16430
16431 \end_inset
16432 </cell>
16433 </row>
16434 <row topline="true">
16435 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16436 \begin_inset Text
16437
16438 \begin_layout Standard
16439
16440 \end_layout
16441
16442 \end_inset
16443 </cell>
16444 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16445 \begin_inset Text
16446
16447 \begin_layout Standard
16448 sd
16449 \end_layout
16450
16451 \end_inset
16452 </cell>
16453 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16454 \begin_inset Text
16455
16456 \begin_layout Standard
16457
16458 \end_layout
16459
16460 \end_inset
16461 </cell>
16462 </row>
16463 <row topline="true" bottomline="true">
16464 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16465 \begin_inset Text
16466
16467 \begin_layout Standard
16468
16469 \end_layout
16470
16471 \end_inset
16472 </cell>
16473 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16474 \begin_inset Text
16475
16476 \begin_layout Standard
16477
16478 \end_layout
16479
16480 \end_inset
16481 </cell>
16482 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16483 \begin_inset Text
16484
16485 \begin_layout Standard
16486 sd
16487 \end_layout
16488
16489 \end_inset
16490 </cell>
16491 </row>
16492 </lyxtabular>
16493
16494 \end_inset
16495
16496
16497 \end_layout
16498
16499 \end_inset
16500
16501
16502 \begin_inset ERT
16503 status collapsed
16504
16505 \begin_layout Standard
16506
16507
16508 \backslash
16509 renewcommand{
16510 \backslash
16511 hline}{
16512 \backslash
16513 myHline}
16514 \end_layout
16515
16516 \end_inset
16517
16518
16519 \end_layout
16520
16521 \begin_layout Standard
16522 \begin_inset VSpace bigskip
16523 \end_inset
16524
16525 To set the line thickness to 1.5\InsetSpace \thinspace{}
16526 pt only for vertical lines, create the following
16527  column format in the document preamble, according to the description in
16528  section\InsetSpace ~
16529
16530 \begin_inset LatexCommand ref
16531 reference "sub:Customized-Format"
16532
16533 \end_inset
16534
16535 :
16536 \end_layout
16537
16538 \begin_layout Standard
16539
16540 \series bold
16541
16542 \backslash
16543 newcolumntype{V}{!{
16544 \backslash
16545 vrule width 1.5pt}}
16546 \end_layout
16547
16548 \begin_layout Standard
16549 For Table\InsetSpace ~
16550
16551 \begin_inset LatexCommand ref
16552 reference "tab:Table-with-vertical"
16553
16554 \end_inset
16555
16556  the LaTeX-argument
16557 \end_layout
16558
16559 \begin_layout Standard
16560
16561 \series bold
16562 VcV
16563 \end_layout
16564
16565 \begin_layout Standard
16566 was used for the last column and
16567 \end_layout
16568
16569 \begin_layout Standard
16570
16571 \series bold
16572 Vc
16573 \end_layout
16574
16575 \begin_layout Standard
16576 for the other columns.
16577 \end_layout
16578
16579 \begin_layout Standard
16580 \begin_inset Float table
16581 wide false
16582 sideways false
16583 status open
16584
16585 \begin_layout Standard
16586 \begin_inset Caption
16587
16588 \begin_layout Standard
16589 \begin_inset LatexCommand label
16590 name "tab:Table-with-vertical"
16591
16592 \end_inset
16593
16594 Table with 1.5\InsetSpace \thinspace{}
16595 pt thick vertical lines
16596 \end_layout
16597
16598 \end_inset
16599
16600
16601 \end_layout
16602
16603 \begin_layout Standard
16604 \align center
16605 \begin_inset Tabular
16606 <lyxtabular version="3" rows="3" columns="3">
16607 <features>
16608 <column alignment="center" valignment="top" leftline="true" width="0" special="Vc">
16609 <column alignment="center" valignment="top" leftline="true" width="0" special="Vc">
16610 <column alignment="center" valignment="top" leftline="true" width="0" special="VcV">
16611 <row topline="true">
16612 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16613 \begin_inset Text
16614
16615 \begin_layout Standard
16616 sd
16617 \end_layout
16618
16619 \end_inset
16620 </cell>
16621 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16622 \begin_inset Text
16623
16624 \begin_layout Standard
16625
16626 \end_layout
16627
16628 \end_inset
16629 </cell>
16630 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16631 \begin_inset Text
16632
16633 \begin_layout Standard
16634
16635 \end_layout
16636
16637 \end_inset
16638 </cell>
16639 </row>
16640 <row topline="true">
16641 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16642 \begin_inset Text
16643
16644 \begin_layout Standard
16645
16646 \end_layout
16647
16648 \end_inset
16649 </cell>
16650 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16651 \begin_inset Text
16652
16653 \begin_layout Standard
16654 sd
16655 \end_layout
16656
16657 \end_inset
16658 </cell>
16659 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16660 \begin_inset Text
16661
16662 \begin_layout Standard
16663
16664 \end_layout
16665
16666 \end_inset
16667 </cell>
16668 </row>
16669 <row topline="true" bottomline="true">
16670 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16671 \begin_inset Text
16672
16673 \begin_layout Standard
16674
16675 \end_layout
16676
16677 \end_inset
16678 </cell>
16679 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16680 \begin_inset Text
16681
16682 \begin_layout Standard
16683
16684 \end_layout
16685
16686 \end_inset
16687 </cell>
16688 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16689 \begin_inset Text
16690
16691 \begin_layout Standard
16692 sd
16693 \end_layout
16694
16695 \end_inset
16696 </cell>
16697 </row>
16698 </lyxtabular>
16699
16700 \end_inset
16701
16702
16703 \end_layout
16704
16705 \end_inset
16706
16707
16708 \end_layout
16709
16710 \begin_layout Subsection
16711 Dashed Lines
16712 \begin_inset LatexCommand index
16713 name "Table Customization ! Dashed Lines"
16714
16715 \end_inset
16716
16717
16718 \end_layout
16719
16720 \begin_layout Standard
16721 \begin_inset ERT
16722 status collapsed
16723
16724 \begin_layout Standard
16725
16726
16727 \backslash
16728 ifarydshln
16729 \end_layout
16730
16731 \end_inset
16732
16733
16734 \begin_inset Note Note
16735 status open
16736
16737 \begin_layout Standard
16738 The following section will only be displayed when you have the LaTeX-package
16739  
16740 \series bold
16741 arydshln
16742 \series default
16743  is installed.
16744 \end_layout
16745
16746 \end_inset
16747
16748
16749 \end_layout
16750
16751 \begin_layout Standard
16752 \begin_inset Float table
16753 placement H
16754 wide false
16755 sideways false
16756 status open
16757
16758 \begin_layout Standard
16759 \begin_inset Caption
16760
16761 \begin_layout Standard
16762 \begin_inset LatexCommand label
16763 name "tab:Table-with-dashed"
16764
16765 \end_inset
16766
16767 Table with dashed lines
16768 \end_layout
16769
16770 \end_inset
16771
16772
16773 \end_layout
16774
16775 \begin_layout Standard
16776 \align center
16777 \begin_inset Tabular
16778 <lyxtabular version="3" rows="5" columns="5">
16779 <features>
16780 <column alignment="center" valignment="top" leftline="true" width="0">
16781 <column alignment="center" valignment="top" leftline="true" width="0">
16782 <column alignment="center" valignment="top" width="0" special=":c">
16783 <column alignment="center" valignment="top" leftline="true" width="0">
16784 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16785 <row topline="true" bottomline="true">
16786 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16787 \begin_inset Text
16788
16789 \begin_layout Standard
16790 a
16791 \end_layout
16792
16793 \end_inset
16794 </cell>
16795 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16796 \begin_inset Text
16797
16798 \begin_layout Standard
16799 b
16800 \end_layout
16801
16802 \end_inset
16803 </cell>
16804 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16805 \begin_inset Text
16806
16807 \begin_layout Standard
16808 c
16809 \end_layout
16810
16811 \end_inset
16812 </cell>
16813 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16814 \begin_inset Text
16815
16816 \begin_layout Standard
16817 d
16818 \end_layout
16819
16820 \end_inset
16821 </cell>
16822 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16823 \begin_inset Text
16824
16825 \begin_layout Standard
16826 e
16827 \end_layout
16828
16829 \end_inset
16830 </cell>
16831 </row>
16832 <row topline="true">
16833 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16834 \begin_inset Text
16835
16836 \begin_layout Standard
16837 f
16838 \end_layout
16839
16840 \end_inset
16841 </cell>
16842 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16843 \begin_inset Text
16844
16845 \begin_layout Standard
16846 g
16847 \end_layout
16848
16849 \end_inset
16850 </cell>
16851 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16852 \begin_inset Text
16853
16854 \begin_layout Standard
16855 h
16856 \end_layout
16857
16858 \end_inset
16859 </cell>
16860 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16861 \begin_inset Text
16862
16863 \begin_layout Standard
16864 i
16865 \end_layout
16866
16867 \end_inset
16868 </cell>
16869 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16870 \begin_inset Text
16871
16872 \begin_layout Standard
16873 j
16874 \end_layout
16875
16876 \end_inset
16877 </cell>
16878 </row>
16879 <row>
16880 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16881 \begin_inset Text
16882
16883 \begin_layout Standard
16884 \begin_inset ERT
16885 status collapsed
16886
16887 \begin_layout Standard
16888
16889
16890 \backslash
16891 hdashline 
16892 \end_layout
16893
16894 \end_inset
16895
16896 k
16897 \end_layout
16898
16899 \end_inset
16900 </cell>
16901 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16902 \begin_inset Text
16903
16904 \begin_layout Standard
16905 l
16906 \end_layout
16907
16908 \end_inset
16909 </cell>
16910 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16911 \begin_inset Text
16912
16913 \begin_layout Standard
16914 m
16915 \end_layout
16916
16917 \end_inset
16918 </cell>
16919 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16920 \begin_inset Text
16921
16922 \begin_layout Standard
16923 n
16924 \end_layout
16925
16926 \end_inset
16927 </cell>
16928 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16929 \begin_inset Text
16930
16931 \begin_layout Standard
16932 o
16933 \end_layout
16934
16935 \end_inset
16936 </cell>
16937 </row>
16938 <row topline="true">
16939 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16940 \begin_inset Text
16941
16942 \begin_layout Standard
16943 \begin_inset ERT
16944 status collapsed
16945
16946 \begin_layout Standard
16947
16948
16949 \backslash
16950 cdashline{4-5}
16951 \end_layout
16952
16953 \end_inset
16954
16955 p
16956 \end_layout
16957
16958 \end_inset
16959 </cell>
16960 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16961 \begin_inset Text
16962
16963 \begin_layout Standard
16964 q
16965 \end_layout
16966
16967 \end_inset
16968 </cell>
16969 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="c:">
16970 \begin_inset Text
16971
16972 \begin_layout Standard
16973 r
16974 \end_layout
16975
16976 \end_inset
16977 </cell>
16978 <cell multicolumn="1" alignment="center" valignment="top" rightline="true" usebox="none" special="c:">
16979 \begin_inset Text
16980
16981 \begin_layout Standard
16982 s
16983 \end_layout
16984
16985 \end_inset
16986 </cell>
16987 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16988 \begin_inset Text
16989
16990 \begin_layout Standard
16991
16992 \end_layout
16993
16994 \end_inset
16995 </cell>
16996 </row>
16997 <row topline="true" bottomline="true">
16998 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16999 \begin_inset Text
17000
17001 \begin_layout Standard
17002 t
17003 \end_layout
17004
17005 \end_inset
17006 </cell>
17007 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17008 \begin_inset Text
17009
17010 \begin_layout Standard
17011 u
17012 \end_layout
17013
17014 \end_inset
17015 </cell>
17016 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17017 \begin_inset Text
17018
17019 \begin_layout Standard
17020 v
17021 \end_layout
17022
17023 \end_inset
17024 </cell>
17025 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17026 \begin_inset Text
17027
17028 \begin_layout Standard
17029 w
17030 \end_layout
17031
17032 \end_inset
17033 </cell>
17034 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17035 \begin_inset Text
17036
17037 \begin_layout Standard
17038 x
17039 \end_layout
17040
17041 \end_inset
17042 </cell>
17043 </row>
17044 </lyxtabular>
17045
17046 \end_inset
17047
17048
17049 \end_layout
17050
17051 \end_inset
17052
17053
17054 \end_layout
17055
17056 \begin_layout Standard
17057 LyX doesn't natively support dashed lines, so you have to use ERT.
17058  As prerequisite the LaTeX-package 
17059 \series bold
17060 arydshln
17061 \series default
17062
17063 \begin_inset LatexCommand index
17064 name "LaTeX-packages ! arydshln"
17065
17066 \end_inset
17067
17068  must be loaded in the document preamble with the command
17069 \end_layout
17070
17071 \begin_layout Standard
17072
17073 \series bold
17074
17075 \backslash
17076 usepackage{arydshln}
17077 \end_layout
17078
17079 \begin_layout Standard
17080 To make a vertical line dashed, enter the colon 
17081 \begin_inset Quotes eld
17082 \end_inset
17083
17084 :
17085 \begin_inset Quotes erd
17086 \end_inset
17087
17088  together with the character for the horizontal alignment as LaTeX-argument
17089  in the table cell dialog.
17090 \end_layout
17091
17092 \begin_layout Standard
17093 For a horizontal dashed line add the command
17094 \end_layout
17095
17096 \begin_layout Standard
17097
17098 \series bold
17099
17100 \backslash
17101 hdashline
17102 \end_layout
17103
17104 \begin_layout Standard
17105 in ERT as first element of the first cell in the table row.
17106 \end_layout
17107
17108 \begin_layout Standard
17109 For dashed multicolumn lines use the command
17110 \end_layout
17111
17112 \begin_layout Standard
17113
17114 \series bold
17115
17116 \backslash
17117 cdashline{line number
17118 \series default
17119 }
17120 \end_layout
17121
17122 \begin_layout Standard
17123 in ERT as first element of the first cell in the table row.
17124  If you have for example a multicolumn spanning over columns 2 to 4 and
17125  you want to have a dashed line above, add the command
17126 \end_layout
17127
17128 \begin_layout Standard
17129
17130 \series bold
17131
17132 \backslash
17133 cdashline{2-4}
17134 \end_layout
17135
17136 \begin_layout Standard
17137 as first element of the first cell in the row of the multicolumn.
17138 \end_layout
17139
17140 \begin_layout Standard
17141 \begin_inset VSpace bigskip
17142 \end_inset
17143
17144
17145 \end_layout
17146
17147 \begin_layout Standard
17148 Table\InsetSpace ~
17149
17150 \begin_inset LatexCommand ref
17151 reference "tab:Table-with-dashed"
17152
17153 \end_inset
17154
17155  was created using 
17156 \begin_inset Quotes eld
17157 \end_inset
17158
17159
17160 \series bold
17161 :c
17162 \series default
17163
17164 \begin_inset Quotes erd
17165 \end_inset
17166
17167  as LaTeX-argument of the third column.
17168  The ERT command 
17169 \series bold
17170
17171 \backslash
17172 hdashline
17173 \series default
17174  was inserted to the first cell of the third row and the the ERT command
17175 \newline
17176
17177  
17178 \series bold
17179
17180 \backslash
17181 cdashline{4-5}
17182 \series default
17183  was inserted to the first cell of the fourth row.
17184 \end_layout
17185
17186 \begin_layout Standard
17187 \begin_inset Note Greyedout
17188 status open
17189
17190 \begin_layout Standard
17191
17192 \series bold
17193 Note:
17194 \series default
17195  The used LaTeX-package 
17196 \series bold
17197 arydshln
17198 \series default
17199  is apparently not compatible with the LaTeX-package 
17200 \series bold
17201 colortbl
17202 \series default
17203
17204 \begin_inset LatexCommand index
17205 name "LaTeX-packages ! colortbl"
17206
17207 \end_inset
17208
17209  that is used for colored tables in section\InsetSpace ~
17210
17211 \begin_inset LatexCommand ref
17212 reference "sec:Colored-Tables"
17213
17214 \end_inset
17215
17216 .
17217  That means colored tables cannot have dashed lines.
17218 \end_layout
17219
17220 \end_inset
17221
17222
17223 \end_layout
17224
17225 \begin_layout Standard
17226 \begin_inset ERT
17227 status collapsed
17228
17229 \begin_layout Standard
17230
17231
17232 \backslash
17233 else
17234 \end_layout
17235
17236 \end_inset
17237
17238
17239 \begin_inset Note Note
17240 status open
17241
17242 \begin_layout Standard
17243 The following will be displayed when the LaTeX-package 
17244 \series bold
17245 arydshln
17246 \series default
17247  is not installed:
17248 \end_layout
17249
17250 \end_inset
17251
17252
17253 \end_layout
17254
17255 \begin_layout Standard
17256 You need to install the package 
17257 \series bold
17258 arydshln
17259 \series default
17260  to see the contents of this section in the output.
17261 \end_layout
17262
17263 \begin_layout Standard
17264 \begin_inset ERT
17265 status collapsed
17266
17267 \begin_layout Standard
17268
17269
17270 \backslash
17271 fi
17272 \end_layout
17273
17274 \end_inset
17275
17276
17277 \end_layout
17278
17279 \begin_layout Chapter
17280 Floats
17281 \begin_inset LatexCommand index
17282 name "Floats"
17283
17284 \end_inset
17285
17286
17287 \begin_inset LatexCommand label
17288 name "cha:Floats"
17289
17290 \end_inset
17291
17292
17293 \end_layout
17294
17295 \begin_layout Section
17296 Introduction
17297 \begin_inset LatexCommand label
17298 name "sec:FloatIntroduction"
17299
17300 \end_inset
17301
17302
17303 \begin_inset LatexCommand index
17304 name "Floats ! Introduction"
17305
17306 \end_inset
17307
17308
17309 \end_layout
17310
17311 \begin_layout Standard
17312 A float is a block of text associated with some sort of label, which doesn't
17313  have a fixed location.
17314  It can 
17315 \begin_inset Quotes eld
17316 \end_inset
17317
17318 float
17319 \begin_inset Quotes erd
17320 \end_inset
17321
17322  forward or backward a page or two, to wherever it fits best.
17323  
17324 \family sans
17325 Footnotes
17326 \family default
17327  and 
17328 \family sans
17329 Margin\InsetSpace ~
17330 Notes
17331 \family default
17332  are also floats, because they can float to the next page when there are
17333  too many notes at the page.
17334 \end_layout
17335
17336 \begin_layout Standard
17337 Floats allow a high quality layout.
17338  Images and tables can evenly be spread to the pages to avoid white space
17339  and pages without text.
17340  As the floating often destroys the context between the text and the image/table
17341 , every float can be referenced in the text.
17342  Floats are therefore numbered.
17343  Referencing is described in section\InsetSpace ~
17344
17345 \begin_inset LatexCommand ref
17346 reference "sec:Referencing-Floats"
17347
17348 \end_inset
17349
17350 .
17351 \end_layout
17352
17353 \begin_layout Standard
17354 To insert a float, use the menu 
17355 \family sans
17356 Insert\SpecialChar \menuseparator
17357 Floats
17358 \family default
17359 .
17360  This inserts a box with a label in the 
17361 \family sans
17362 Caption
17363 \family default
17364  environment
17365 \begin_inset Foot
17366 status collapsed
17367
17368 \begin_layout Standard
17369 The 
17370 \family sans
17371 Caption
17372 \family default
17373  environment is described in LyX's 
17374 \emph on
17375 Userguide
17376 \emph default
17377 .
17378 \end_layout
17379
17380 \end_inset
17381
17382  into your document.
17383  Every label ends with the character 
17384 \begin_inset Quotes eld
17385 \end_inset
17386
17387 #
17388 \begin_inset Quotes erd
17389 \end_inset
17390
17391  as placeholder for the float number in the output.
17392  The label will automatically be translated to the document language in
17393  the output.
17394  Behind the label you can insert the caption text.
17395  The image or table is inserted above or below the caption in a separate
17396  paragraph within the float.
17397  More about the caption placement is described in section\InsetSpace ~
17398
17399 \begin_inset LatexCommand ref
17400 reference "sec:Caption-Placement"
17401
17402 \end_inset
17403
17404 .
17405  To keep your LyX-document readable, you can open and close the float box
17406  by left-clicking on the box label.
17407  A closed float box looks like this: 
17408 \begin_inset Graphics
17409         filename clipart/floatQt4.png
17410         scale 70
17411
17412 \end_inset
17413
17414  -- a gray button with a red label.
17415 \end_layout
17416
17417 \begin_layout Standard
17418 It is recommended to insert floats as a separate paragraph to avoid possible
17419  LaTeX-errors that can occur when the surrounding text is specially formatted.
17420 \end_layout
17421
17422 \begin_layout Standard
17423 Existing figures or tables can be put into a float by marking them and then
17424  pressing the corresponding toolbar button for a new float.
17425 \end_layout
17426
17427 \begin_layout Section
17428 Float Types
17429 \end_layout
17430
17431 \begin_layout Standard
17432 Besides figure and table floats that are described in section\InsetSpace ~
17433
17434 \begin_inset LatexCommand ref
17435 reference "sec:Figure-Floats"
17436
17437 \end_inset
17438
17439  and 
17440 \begin_inset LatexCommand ref
17441 reference "sec:Table-Floats"
17442
17443 \end_inset
17444
17445 , respectively, LyX offers the float types 
17446 \series bold
17447 Algorithm
17448 \series default
17449  and 
17450 \series bold
17451 Text\InsetSpace ~
17452 Wrap\InsetSpace ~
17453 Float
17454 \series default
17455 .
17456 \end_layout
17457
17458 \begin_layout Subsection
17459 Algorithm Floats
17460 \begin_inset LatexCommand index
17461 name "Floats ! Algorithm Floats"
17462
17463 \end_inset
17464
17465
17466 \end_layout
17467
17468 \begin_layout Standard
17469 \begin_inset Float algorithm
17470 placement h
17471 wide false
17472 sideways false
17473 status open
17474
17475 \begin_layout Standard
17476 \begin_inset Caption
17477
17478 \begin_layout Standard
17479 \begin_inset LatexCommand label
17480 name "alg:Example-Algorithm-float"
17481
17482 \end_inset
17483
17484 Example Algorithm float
17485 \end_layout
17486
17487 \end_inset
17488
17489
17490 \end_layout
17491
17492 \begin_layout LyX-Code
17493 for I in 1..N loop
17494 \newline
17495  Sum:= Sum + A(I); /*senseless comment*/
17496 \newline
17497 end loop
17498 \begin_inset VSpace -4mm
17499 \end_inset
17500
17501
17502 \end_layout
17503
17504 \end_inset
17505
17506
17507 \end_layout
17508
17509 \begin_layout Standard
17510 This float type is inserted with the menu 
17511 \family sans
17512 Insert\SpecialChar \menuseparator
17513 Floats\SpecialChar \menuseparator
17514 Algorithm
17515 \family default
17516 .
17517  It is used for program codes and descriptions of algorithms.
17518  A possible environment for algorithms is the 
17519 \family sans
17520 LyX-Code
17521 \family default
17522 , described in LyX's 
17523 \emph on
17524 Userguide
17525 \emph default
17526 .
17527  Algorithm\InsetSpace ~
17528
17529 \begin_inset LatexCommand ref
17530 reference "alg:Example-Algorithm-float"
17531
17532 \end_inset
17533
17534  is an example of an algorithm float where -4\InsetSpace \thinspace{}
17535 mm vertical space was added
17536  at the end of the float to have the bottom rule exactly below the last
17537  text line.
17538 \end_layout
17539
17540 \begin_layout Standard
17541 The float label is not automatically translated into the document language.
17542  If your document is not in English, you have to do this manually by adding
17543  the following line to the document preamble
17544 \series bold
17545 :
17546 \end_layout
17547
17548 \begin_layout Standard
17549
17550 \series bold
17551
17552 \backslash
17553 floatname{algorithm}{your\InsetSpace ~
17554 name}
17555 \end_layout
17556
17557 \begin_layout Standard
17558
17559 \family sans
17560 your\InsetSpace ~
17561 name
17562 \family default
17563  is the word 
17564 \begin_inset Quotes eld
17565 \end_inset
17566
17567
17568 \emph on
17569 algorithm
17570 \emph default
17571
17572 \begin_inset Quotes erd
17573 \end_inset
17574
17575  in your language.
17576 \end_layout
17577
17578 \begin_layout Description
17579
17580 \series bold
17581 Note:
17582 \series default
17583  When the LaTeX-package 
17584 \series bold
17585 hyperref
17586 \series default
17587
17588 \begin_inset LatexCommand index
17589 name "LaTeX-packages ! hyperref"
17590
17591 \end_inset
17592
17593  is used to link cross-references to floats in the PDF-output, it must be
17594  loaded in the document preamble before the definition of floats to be able
17595  to reference floats.
17596  As LyX sets the float definition for algorithm floats automatically before
17597  the user editable part of the document preamble, you need to insert the
17598  following preamble lines 
17599 \emph on
17600 after
17601 \emph default
17602  the loading command of 
17603 \series bold
17604 hyperref
17605 \series default
17606 :
17607 \series bold
17608
17609 \begin_inset VSpace defskip
17610 \end_inset
17611
17612
17613 \newline
17614
17615 \backslash
17616 newfloat{Xalgorithm}{tbp}{loa}
17617 \newline
17618
17619 \backslash
17620 floatname{Xalgorithm}{your\InsetSpace ~
17621 name}
17622 \newline
17623
17624 \backslash
17625 newcommand{
17626 \backslash
17627 theHalgorithm}{
17628 \backslash
17629 theHXalgorithm}
17630 \newline
17631
17632 \backslash
17633 renewenvironment{algorithm}[1][tbp]
17634 \newline
17635
17636 \begin_inset ERT
17637 status collapsed
17638
17639 \begin_layout Standard
17640
17641
17642 \backslash
17643 hphantom{ }
17644 \end_layout
17645
17646 \end_inset
17647
17648 {
17649 \backslash
17650 begin{Xalgorithm}[#1]}{
17651 \backslash
17652 end{Xalgorithm}}
17653 \begin_inset VSpace defskip
17654 \end_inset
17655
17656
17657 \series default
17658
17659 \newline
17660 Where 
17661 \family sans
17662 your\InsetSpace ~
17663 name
17664 \family default
17665  is the word 
17666 \begin_inset Quotes eld
17667 \end_inset
17668
17669
17670 \emph on
17671 algorithm
17672 \emph default
17673
17674 \begin_inset Quotes erd
17675 \end_inset
17676
17677  in your language.
17678 \end_layout
17679
17680 \begin_layout Standard
17681 Algorithm floats are not by default numbered in the scheme 
17682 \begin_inset Quotes eld
17683 \end_inset
17684
17685 chapter.algorithm
17686 \begin_inset Quotes erd
17687 \end_inset
17688
17689  like it is the case for table and figure floats in many document-classes.
17690  To number algorithm floats in the same scheme, add this command to your
17691  document preamble:
17692 \end_layout
17693
17694 \begin_layout Standard
17695
17696 \series bold
17697
17698 \backslash
17699 numberwithin{algorithm}{chapter}
17700 \end_layout
17701
17702 \begin_layout Standard
17703 If you use the LaTeX-package 
17704 \series bold
17705 hyperref
17706 \series default
17707 , add this line instead 
17708 \emph on
17709 after
17710 \emph default
17711  the definition of 
17712 \family sans
17713 Xalgorithm
17714 \family default
17715  (the commands from above) to the preamble:
17716 \end_layout
17717
17718 \begin_layout Standard
17719
17720 \series bold
17721
17722 \backslash
17723 numberwithin{Xalgorithm}{chapter}
17724 \end_layout
17725
17726 \begin_layout Standard
17727 To be able to use the command 
17728 \series bold
17729
17730 \backslash
17731 numberwithin
17732 \series default
17733 , set in the tab 
17734 \family sans
17735 Math\InsetSpace ~
17736 Options
17737 \family default
17738  in the document settings the option 
17739 \family sans
17740 Use\InsetSpace ~
17741 AMS\InsetSpace ~
17742 math\InsetSpace ~
17743 package
17744 \family default
17745 .
17746 \end_layout
17747
17748 \begin_layout Subsection
17749 Text Wrap Floats
17750 \begin_inset LatexCommand index
17751 name "Floats ! Text Wrap Floats"
17752
17753 \end_inset
17754
17755
17756 \begin_inset LatexCommand label
17757 name "sub:floatflt-wrap-float"
17758
17759 \end_inset
17760
17761
17762 \end_layout
17763
17764 \begin_layout Standard
17765 This float type is used if you want to 
17766 \begin_inset Quotes eld
17767 \end_inset
17768
17769 wrap
17770 \begin_inset Quotes erd
17771 \end_inset
17772
17773  text around a figure so that it only occupies some fraction of the column
17774  width.
17775  It can be inserted using the menu 
17776 \begin_inset Wrap figure
17777 placement l
17778 width "40col%"
17779 status open
17780
17781 \begin_layout Standard
17782 \begin_inset Graphics
17783         filename clipart/mobius.eps
17784         display color
17785         width 40col%
17786         rotateOrigin center
17787
17788 \end_inset
17789
17790
17791 \end_layout
17792
17793 \begin_layout Standard
17794 \begin_inset Caption
17795
17796 \begin_layout Standard
17797 \begin_inset LatexCommand label
17798 name "fig:This-is-a"
17799
17800 \end_inset
17801
17802 This is a wrapped figure, and this is the brilliant caption that describes
17803  it.
17804 \begin_inset VSpace medskip
17805 \end_inset
17806
17807
17808 \end_layout
17809
17810 \end_inset
17811
17812
17813 \end_layout
17814
17815 \end_inset
17816
17817  
17818 \family sans
17819 Insert\SpecialChar \menuseparator
17820 Floats\SpecialChar \menuseparator
17821 Text\InsetSpace ~
17822 Wrap\InsetSpace ~
17823 Float
17824 \family default
17825  if the LaTeX-package 
17826 \series bold
17827 floatflt
17828 \series default
17829
17830 \begin_inset LatexCommand index
17831 name "LaTeX-packages ! floatflt"
17832
17833 \end_inset
17834
17835  is installed.
17836 \begin_inset Foot
17837 status collapsed
17838
17839 \begin_layout Standard
17840 Installing a LaTeX-package is explained it in the 
17841 \emph on
17842 LaTeX\InsetSpace ~
17843 Configuration
17844 \emph default
17845  manual.
17846 \end_layout
17847
17848 \end_inset
17849
17850  The width and placement of the float is adjusted by right-clicking on the
17851  float box.
17852  Figure\InsetSpace ~
17853
17854 \begin_inset LatexCommand ref
17855 reference "fig:This-is-a"
17856
17857 \end_inset
17858
17859  is an example text wrap float with a width of 40
17860 \begin_inset Formula $\,$
17861 \end_inset
17862
17863 col%.
17864 \begin_inset Foot
17865 status collapsed
17866
17867 \begin_layout Standard
17868 Available units are explained in 
17869 \begin_inset LatexCommand ref
17870 reference "cha:Units-available-in"
17871
17872 \end_inset
17873
17874 .
17875 \end_layout
17876
17877 \end_inset
17878
17879  Some space was added under the caption to separate it better from the surroundi
17880 ng text.
17881 \end_layout
17882
17883 \begin_layout Standard
17884 The LaTeX-package 
17885 \series bold
17886 floatflt
17887 \series default
17888  also supports table wrap floats, but they are not yet supported by LyX.
17889  If you need this, read the documentation of 
17890 \series bold
17891 floatflt
17892 \series default
17893  
17894 \begin_inset LatexCommand cite
17895 key "floatflt"
17896
17897 \end_inset
17898
17899 .
17900 \end_layout
17901
17902 \begin_layout Standard
17903 \begin_inset Note Greyedout
17904 status open
17905
17906 \begin_layout Standard
17907
17908 \series bold
17909 Note:
17910 \series default
17911  Text\InsetSpace ~
17912 wrap float floats are fragile! E.\InsetSpace \thinspace{}
17913 g.\InsetSpace ~
17914 having a figure too close to the bottom
17915  of the page can mess things up in the way that the float doesn't appear
17916  in the output or that it is placed over some other text.
17917 \begin_inset Foot
17918 status open
17919
17920 \begin_layout Standard
17921 The better solution is to use the LaTeX-package 
17922 \series bold
17923 wrapf\SpecialChar \textcompwordmark{}
17924 ig
17925 \series default
17926
17927 \begin_inset LatexCommand index
17928 name "LaTeX-packages ! wrapfig\\vspace{4mm}"
17929
17930 \end_inset
17931
17932  instead of 
17933 \series bold
17934 floatf\SpecialChar \textcompwordmark{}
17935 lt
17936 \series default
17937 , but it is currently not supported by LyX.
17938 \end_layout
17939
17940 \end_inset
17941
17942
17943 \end_layout
17944
17945 \end_inset
17946
17947
17948 \end_layout
17949
17950 \begin_layout Standard
17951 In general:
17952 \end_layout
17953
17954 \begin_layout Itemize
17955 Wrap floats should not be placed in paragraphs that run over a page break.
17956  That means that wrap floats should better be inserted to the exact place
17957  when the document is nearly ready and you are able to estimate where page
17958  breaks will appear.
17959 \end_layout
17960
17961 \begin_layout Itemize
17962 Wrap floats should either be placed in an own paragraph before the paragraph
17963  where they should wrap into or within a paragraph.
17964 \end_layout
17965
17966 \begin_layout Itemize
17967 Wrap floats in consecutive paragraphs may cause troubles, so assure that
17968  there is a text paragraph between them as separator.
17969 \end_layout
17970
17971 \begin_layout Itemize
17972 Wrap floats are not allowed in section headings or tables.
17973 \end_layout
17974
17975 \begin_layout Section
17976 Referencing Floats
17977 \begin_inset LatexCommand label
17978 name "sec:Referencing-Floats"
17979
17980 \end_inset
17981
17982
17983 \begin_inset LatexCommand index
17984 name "Floats ! References"
17985
17986 \end_inset
17987
17988
17989 \begin_inset LatexCommand index
17990 name "References"
17991
17992 \end_inset
17993
17994
17995 \end_layout
17996
17997 \begin_layout Standard
17998 To reference a float, insert a label into its caption using the menu 
17999 \family sans
18000 Insert\SpecialChar \menuseparator
18001 Label
18002 \family default
18003  or the toolbar button 
18004 \begin_inset Graphics
18005         filename ../images/label-insert.xpm
18006         scale 85
18007
18008 \end_inset
18009
18010 .
18011  A grey label box like this one: 
18012 \begin_inset Graphics
18013         filename clipart/labelQt4.png
18014         scale 85
18015
18016 \end_inset
18017
18018  will be inserted and the label window pops up asking for the label text.
18019  LyX offers as text the first words of the caption with a prefix.
18020  The prefix depends on the float type, e.\InsetSpace \thinspace{}
18021 g.\InsetSpace ~
18022 for figure floats the prefix will
18023  be "
18024 \family sans
18025 fig:
18026 \family default
18027 ".
18028 \end_layout
18029
18030 \begin_layout Standard
18031 The label is used as anchor and name for the reference.
18032  You can refer to the label using the menu 
18033 \family sans
18034 Insert\SpecialChar \menuseparator
18035 Cross-reference
18036 \family default
18037  or the toolbar button 
18038 \begin_inset Graphics
18039         filename ../images/dialog-show-new-inset_ref.xpm
18040         scale 85
18041
18042 \end_inset
18043
18044 .
18045  A grey cross-reference box like this one: 
18046 \begin_inset Graphics
18047         filename clipart/referenceQt4.png
18048         scale 85
18049
18050 \end_inset
18051
18052  will be inserted and the cross-reference window appear showing all labels
18053  of the document.
18054  If you have multiple LyX-documents opened, choose the one you are working
18055  on from the drop-list at the top of the dialog.
18056  You can now sort the labels alphabetically and then choose one.
18057  At the position of the cross-reference box the float number will appear
18058  in the output.
18059 \end_layout
18060
18061 \begin_layout Standard
18062 It is recommended to use a protected space between the cross-reference name
18063  and its number to avoid line breaks between them.
18064  If a cross-reference refers to a non-existing label, you will see two question
18065  marks in the output instead of the reference.
18066 \end_layout
18067
18068 \begin_layout Standard
18069 You can change labels at any time by clicking on the label box.
18070  References to the changed label will automatically change its link to the
18071  new label text, so that you don't need to take care about this.
18072 \end_layout
18073
18074 \begin_layout Standard
18075 The button 
18076 \family sans
18077 Go\InsetSpace ~
18078 to\InsetSpace ~
18079 Label
18080 \family default
18081  in the cross-reference window sets the cursor before the referred label.
18082  The button text changes then to Go\InsetSpace ~
18083 Back and you can use it to set the cursor
18084  back to the cross-reference.
18085  Right-clicking on a cross-reference box also sets the cursor before the
18086  referenced label but without a possibility to go back.
18087 \end_layout
18088
18089 \begin_layout Subsection
18090 Cross-Reference Formats
18091 \begin_inset LatexCommand label
18092 name "sub:Cross-Reference-Formats"
18093
18094 \end_inset
18095
18096
18097 \begin_inset LatexCommand index
18098 name "References ! Formats"
18099
18100 \end_inset
18101
18102
18103 \end_layout
18104
18105 \begin_layout Standard
18106 There are six varieties of cross-references:
18107 \end_layout
18108
18109 \begin_layout Description
18110 <reference>: prints the float number, this is the default: 
18111 \begin_inset LatexCommand ref
18112 reference "fig:Two-distorted-images"
18113
18114 \end_inset
18115
18116
18117 \end_layout
18118
18119 \begin_layout Description
18120 (<reference>): prints the float number within two parentheses, this is the
18121  style normally used to reference formulas, especially when the reference
18122  name 
18123 \begin_inset Quotes eld
18124 \end_inset
18125
18126 Equation
18127 \begin_inset Quotes erd
18128 \end_inset
18129
18130  is omitted: 
18131 \begin_inset LatexCommand eqref
18132 reference "eq:Wgn"
18133
18134 \end_inset
18135
18136
18137 \end_layout
18138
18139 \begin_layout Description
18140 <page>: prints the page number: Page\InsetSpace ~
18141
18142 \begin_inset LatexCommand pageref
18143 reference "fig:Two-distorted-images"
18144
18145 \end_inset
18146
18147
18148 \end_layout
18149
18150 \begin_layout Description
18151 on\InsetSpace ~
18152 page\InsetSpace ~
18153 <page>: prints the text "on page" and the page number: 
18154 \begin_inset LatexCommand vpageref
18155 reference "fig:Two-distorted-images"
18156
18157 \end_inset
18158
18159
18160 \end_layout
18161
18162 \begin_layout Description
18163 <reference>\InsetSpace ~
18164 on\InsetSpace ~
18165 page\InsetSpace ~
18166 <page>: prints the float number, the text "on page", and
18167  the page number: 
18168 \begin_inset LatexCommand vref
18169 reference "fig:Two-distorted-images"
18170
18171 \end_inset
18172
18173
18174 \end_layout
18175
18176 \begin_layout Description
18177 Formatted\InsetSpace ~
18178 reference: prints a self defined cross-reference format.
18179  
18180 \begin_inset Note Greyedout
18181 status open
18182
18183 \begin_layout Standard
18184
18185 \series bold
18186 Note:
18187 \series default
18188  This feature is only available when you have the LaTeX-package 
18189 \series bold
18190 prettyref
18191 \series default
18192  installed.
18193 \end_layout
18194
18195 \end_inset
18196
18197
18198 \end_layout
18199
18200 \begin_layout Standard
18201 Note that the style <page> won't print the page number if the label is on
18202  the previous, the same, or the next page.
18203  You will e.\InsetSpace \thinspace{}
18204 g.\InsetSpace ~
18205 see the text 
18206 \begin_inset Quotes eld
18207 \end_inset
18208
18209
18210 \family sans
18211 on this page
18212 \family default
18213
18214 \begin_inset Quotes erd
18215 \end_inset
18216
18217  instead.
18218 \end_layout
18219
18220 \begin_layout Standard
18221 The number and current page of the referred document part in the output,
18222  is automatically calculated by LaTeX.
18223  The varieties are adjusted in the field 
18224 \family sans
18225 Format
18226 \family default
18227  of the cross-reference window, that appear when you click on the cross-referenc
18228 e box.
18229 \end_layout
18230
18231 \begin_layout Subsection
18232 Referencing Subfigures
18233 \begin_inset LatexCommand label
18234 name "sub:Referencing-Subfigures"
18235
18236 \end_inset
18237
18238
18239 \begin_inset LatexCommand index
18240 name "References ! to Subfigures"
18241
18242 \end_inset
18243
18244
18245 \end_layout
18246
18247 \begin_layout Standard
18248 Currently referencing subfigures is not supported by LyX, so you have to
18249  use LaTeX-commands.
18250  The label is the created with the command
18251 \end_layout
18252
18253 \begin_layout Standard
18254
18255 \series bold
18256
18257 \backslash
18258 label{fig:YourLabelName}
18259 \end_layout
18260
18261 \begin_layout Standard
18262 that is directly inserted into the subfigure caption field.
18263  To reference the label add this command in ERT
18264 \end_layout
18265
18266 \begin_layout Standard
18267
18268 \series bold
18269
18270 \backslash
18271 ref{fig:YourLabelName}
18272 \end_layout
18273
18274 \begin_layout Standard
18275 to the position in your document where the reference should be placed.
18276  Here is a reference to a subfigure: Subfigure\InsetSpace ~
18277
18278 \begin_inset ERT
18279 status collapsed
18280
18281 \begin_layout Standard
18282
18283
18284 \backslash
18285 ref{fig:Platypus}
18286 \end_layout
18287
18288 \end_inset
18289
18290 .
18291 \end_layout
18292
18293 \begin_layout Subsection
18294 Automatic Reference Naming
18295 \begin_inset LatexCommand index
18296 name "References ! Automatic Reference Naming"
18297
18298 \end_inset
18299
18300
18301 \end_layout
18302
18303 \begin_layout Standard
18304 The LaTeX-package 
18305 \series bold
18306 hyperref
18307 \series default
18308  provides a very useful feature that cross-references automatically include
18309  the name of the referenced floats (or text parts like sections).
18310  You save to write e.\InsetSpace \thinspace{}
18311 g.\InsetSpace ~
18312 the name 
18313 \begin_inset Quotes eld
18314 \end_inset
18315
18316 Figure
18317 \begin_inset Quotes erd
18318 \end_inset
18319
18320  before every reference box.
18321  To get this automatic reference naming, you have to load the LaTeX-package
18322  
18323 \series bold
18324 hyperref
18325 \series default
18326
18327 \begin_inset LatexCommand index
18328 name "LaTeX-packages ! hyperref"
18329
18330 \end_inset
18331
18332  in the document preamble with
18333 \end_layout
18334
18335 \begin_layout Standard
18336
18337 \series bold
18338
18339 \backslash
18340 usepackage[pdfborder={0 0 0}]{hyperref}
18341 \newline
18342
18343 \backslash
18344 AtBeginDocument{
18345 \backslash
18346 renewcommand{
18347 \backslash
18348 ref}[1]{
18349 \backslash
18350 mbox{
18351 \backslash
18352 autoref{#1}}}}
18353 \end_layout
18354
18355 \begin_layout Standard
18356
18357 \series bold
18358 hyperref
18359 \series default
18360  is used to link cross-references in the DVI- and PDF-output, this means
18361  that the reader of your document will be able to click on a table of content
18362  (TOC) entry or on a reference and he will be shown the referenced document
18363  part.
18364  
18365 \series bold
18366 hyperref
18367 \series default
18368  also creates PDF-bookmarks for every section of your document to make it
18369  easier for readers to navigate through the document.
18370  This is also used in this document but when you have a look in the document
18371  preamble you will find various options in the load command of 
18372 \series bold
18373 hyperref
18374 \series default
18375 .
18376  To learn more about the 
18377 \series bold
18378 hyperref
18379 \series default
18380  package, we refer to its documentation 
18381 \begin_inset LatexCommand cite
18382 key "hyperref"
18383
18384 \end_inset
18385
18386 .
18387 \end_layout
18388
18389 \begin_layout Standard
18390 \begin_inset Note Greyedout
18391 status open
18392
18393 \begin_layout Standard
18394
18395 \series bold
18396 Note:
18397 \series default
18398  Automatic reference naming cannot be used when you use cross-references
18399  in the 
18400 \family sans
18401 Formatted\InsetSpace ~
18402 reference
18403 \family default
18404  style, described in section\InsetSpace ~
18405
18406 \begin_inset LatexCommand ref
18407 reference "sub:Cross-Reference-Formats"
18408
18409 \end_inset
18410
18411 .
18412 \end_layout
18413
18414 \end_inset
18415
18416
18417 \end_layout
18418
18419 \begin_layout Subsection
18420 Reference Position
18421 \begin_inset LatexCommand label
18422 name "sub:Reference-Position"
18423
18424 \end_inset
18425
18426
18427 \begin_inset LatexCommand index
18428 name "References ! Reference Position"
18429
18430 \end_inset
18431
18432
18433 \end_layout
18434
18435 \begin_layout Standard
18436 If you use 
18437 \series bold
18438 hyperref
18439 \series default
18440
18441 \begin_inset LatexCommand index
18442 name "LaTeX-packages ! hyperref"
18443
18444 \end_inset
18445
18446  to link cross-references in the output, you will see that clicking on an
18447  image float reference jumps to the image label.
18448  The caption will be the first text part on the screen, so that you cannot
18449  see the image without scrolling.
18450  This is because the reference link anchor is placed at the position of
18451  the label.
18452  With the use of the package 
18453 \series bold
18454 hypcap
18455 \series default
18456
18457 \begin_inset LatexCommand index
18458 name "LaTeX-packages ! hypcap"
18459
18460 \end_inset
18461
18462 , which is part of the LaTeX-package 
18463 \series bold
18464 oberdiek
18465 \series default
18466
18467 \begin_inset LatexCommand index
18468 name "LaTeX-packages ! oberdiek"
18469
18470 \end_inset
18471
18472 , the link anchor is placed at the beginning of a float.
18473  To use this feature for figure floats, load 
18474 \series bold
18475 hypcap
18476 \series default
18477  in the document preamble with the line
18478 \end_layout
18479
18480 \begin_layout Standard
18481
18482 \series bold
18483
18484 \backslash
18485 usepackage[f\SpecialChar \textcompwordmark{}
18486 igure]{hypcap}
18487 \end_layout
18488
18489 \begin_layout Standard
18490 You can also use 
18491 \series bold
18492 hypcap
18493 \series default
18494  for all floats but this isn't recommended for stability reasons.
18495  For more informations, have a look at 
18496 \series bold
18497 hypcap
18498 \series default
18499 's manual 
18500 \begin_inset LatexCommand cite
18501 key "hypcap"
18502
18503 \end_inset
18504
18505 .
18506 \end_layout
18507
18508 \begin_layout Standard
18509 \begin_inset Note Greyedout
18510 status open
18511
18512 \begin_layout Standard
18513
18514 \series bold
18515 Note:
18516 \series default
18517  
18518 \series bold
18519 hypcap
18520 \series default
18521  must be loaded after 
18522 \series bold
18523 hyperref
18524 \series default
18525  in the document preamble.
18526 \end_layout
18527
18528 \end_inset
18529
18530
18531 \end_layout
18532
18533 \begin_layout Standard
18534 \begin_inset Note Greyedout
18535 status open
18536
18537 \begin_layout Standard
18538
18539 \series bold
18540 Note:
18541 \series default
18542  The set reference position has no effect for references to subfigures.
18543 \end_layout
18544
18545 \end_inset
18546
18547
18548 \end_layout
18549
18550 \begin_layout Section
18551 Float Placement
18552 \begin_inset LatexCommand label
18553 name "sec:Float-Placement"
18554
18555 \end_inset
18556
18557
18558 \begin_inset LatexCommand index
18559 name "Floats ! Placement"
18560
18561 \end_inset
18562
18563
18564 \end_layout
18565
18566 \begin_layout Standard
18567 Right-clicking on a float-box opens a dialog where you can alter the placement
18568  options that LaTeX uses for positioning the float.
18569 \newline
18570 The option 
18571 \family sans
18572 Span\InsetSpace ~
18573 columns
18574 \family default
18575  is only useful for two-column documents: If you select it, the float will
18576  span across both columns on the page instead of being confined to just
18577  one.
18578 \newline
18579 The option 
18580 \family sans
18581 Rotate\InsetSpace ~
18582 sideways
18583 \family default
18584  is used to rotate floats, see section 
18585 \begin_inset LatexCommand ref
18586 reference "sec:Rotated-Floats"
18587
18588 \end_inset
18589
18590 .
18591 \end_layout
18592
18593 \begin_layout Standard
18594 You can use one ore more of the following options in the float dialog to
18595  set the placement for a particular float when you uncheck the option 
18596 \family sans
18597 Use\InsetSpace ~
18598 default\InsetSpace ~
18599 placement
18600 \family default
18601 :
18602 \end_layout
18603
18604 \begin_layout Description
18605 Here\InsetSpace ~
18606 if\InsetSpace ~
18607 possible: try to place the float on the position where it is inserted
18608 \end_layout
18609
18610 \begin_layout Description
18611 Top\InsetSpace ~
18612 of\InsetSpace ~
18613 page: try to place the float on the top of the current page
18614 \end_layout
18615
18616 \begin_layout Description
18617 Bottom\InsetSpace ~
18618 of\InsetSpace ~
18619 page: try to place the float on the bottom of the current page
18620 \end_layout
18621
18622 \begin_layout Description
18623 Page\InsetSpace ~
18624 of\InsetSpace ~
18625 floats: try to place the float on an own page 
18626 \end_layout
18627
18628 \begin_layout Standard
18629 The order of the above option is 
18630 \emph on
18631 always
18632 \emph default
18633  used by LaTeX.
18634  That means, if you use the default placement, LaTeX will first try out
18635  
18636 \family sans
18637 Here\InsetSpace ~
18638 if\InsetSpace ~
18639 possible
18640 \family default
18641 , then 
18642 \family sans
18643 Top\InsetSpace ~
18644 of\InsetSpace ~
18645 page
18646 \family default
18647 , and then the others.
18648  If you don't use the default, LaTeX will try only the checked options but
18649  in the same order.
18650  If none of the 4 placements are possible the procedure is internally repeated
18651  but it is tried to put the float on the following page.
18652 \end_layout
18653
18654 \begin_layout Standard
18655 By default, each options has its own rules:
18656 \end_layout
18657
18658 \begin_layout Labeling
18659 \labelwidthstring 00.00.0000
18660
18661 \family sans
18662 Top\InsetSpace ~
18663 of\InsetSpace ~
18664 page
18665 \family default
18666  only floats occupying less than 70\InsetSpace \thinspace{}
18667 % of the page can be placed at the top
18668  of a page (
18669 \series bold
18670
18671 \backslash
18672 topfraction
18673 \series default
18674 )
18675 \end_layout
18676
18677 \begin_layout Labeling
18678 \labelwidthstring 00.00.0000
18679
18680 \family sans
18681 Bottom\InsetSpace ~
18682 of\InsetSpace ~
18683 page
18684 \family default
18685 : only floats occupying less than 30\InsetSpace \thinspace{}
18686 % of the page can be placed at the bottom
18687  of a page.
18688  (
18689 \series bold
18690
18691 \backslash
18692 bottomfraction
18693 \series default
18694 )
18695 \end_layout
18696
18697 \begin_layout Labeling
18698 \labelwidthstring 00.00.0000
18699
18700 \family sans
18701 Page\InsetSpace ~
18702 of\InsetSpace ~
18703 floats
18704 \family default
18705 : only if more than 50\InsetSpace \thinspace{}
18706 % of the page are occupied by floats, several floats
18707  can be set together on a page.
18708  (
18709 \series bold
18710
18711 \backslash
18712 floatpagefraction
18713 \series default
18714 )
18715 \end_layout
18716
18717 \begin_layout Standard
18718 If you don't like these rules, you can ignore them by using the additional
18719  option 
18720 \family sans
18721 Ignore\InsetSpace ~
18722 LaTeX\InsetSpace ~
18723 rules
18724 \family default
18725 .
18726 \newline
18727 You can also redefine the rules with LaTeX-commands that are given in parenthese
18728 s behind the rules description above.
18729  To increase for example the often too small default of the bottom-rule
18730  to 50\InsetSpace \thinspace{}
18731 % of the page, add this line to your document preamble:
18732 \end_layout
18733
18734 \begin_layout Standard
18735
18736 \series bold
18737
18738 \backslash
18739 renewcommand{
18740 \backslash
18741 bottomfraction}{0.5}
18742 \end_layout
18743
18744 \begin_layout Standard
18745 Sometimes you might need, under all circumstances, a float to be placed
18746  exactly at the position where it is inserted.
18747  For this case you can use the option 
18748 \family sans
18749 Here\InsetSpace ~
18750 definitely
18751 \family default
18752 .
18753  Use this option very rarely and only if the document is nearly ready to
18754  be printed.
18755  Because the float is then no longer able to 
18756 \begin_inset Quotes eld
18757 \end_inset
18758
18759 float
18760 \begin_inset Quotes erd
18761 \end_inset
18762
18763  when you change your document and this will often destroy the page layout.
18764 \end_layout
18765
18766 \begin_layout Standard
18767 There are no placement options for text wrap floats, because they are always
18768  surrounded by the text of a certain paragraph.
18769 \begin_inset VSpace bigskip
18770 \end_inset
18771
18772
18773 \end_layout
18774
18775 \begin_layout Standard
18776 Sometimes you have the problem that a float is placed at the top of a page
18777  while its corresponding section starts at the middle of the page, so that
18778  the reader could think the float is part of the previous section.
18779  To avoid this the LaTeX-command 
18780 \series bold
18781
18782 \backslash
18783 suppressf\SpecialChar \textcompwordmark{}
18784 loats
18785 \series default
18786  can be used.
18787  It suppresses a given float placement for the page where it is inserted
18788  and can therefore be used to avoid that floats could be set before a section
18789  starts.
18790  To get this, add these commands to your document preamble:
18791 \end_layout
18792
18793 \begin_layout Standard
18794
18795 \series bold
18796
18797 \backslash
18798 let
18799 \backslash
18800 mySection
18801 \backslash
18802 section
18803 \newline
18804
18805 \backslash
18806 renewcommand{
18807 \backslash
18808 section}{
18809 \backslash
18810 suppressf\SpecialChar \textcompwordmark{}
18811 loats[t]
18812 \backslash
18813 mySection}
18814 \end_layout
18815
18816 \begin_layout Standard
18817 You can define the same for all section headings, like chapters and subsections.
18818  This definition is not recommended to be used for small text parts like
18819  subsubsections because LaTeX may then have problems to find a suitable
18820  placement.
18821 \end_layout
18822
18823 \begin_layout Standard
18824 \begin_inset VSpace bigskip
18825 \end_inset
18826
18827 In some cases it is required to have all figures/tables at the end of the
18828  document.
18829  For this purpose the LaTeX-package 
18830 \series bold
18831 endf\SpecialChar \textcompwordmark{}
18832 loat
18833 \series default
18834
18835 \begin_inset LatexCommand index
18836 name "LaTeX-packages ! endfloat"
18837
18838 \end_inset
18839
18840  was developed.
18841  It puts all figure and table floats at the end of the document into own
18842  sections.
18843  At the original float position a text hint like 
18844 \begin_inset Quotes eld
18845 \end_inset
18846
18847
18848 \family sans
18849 [Figure\InsetSpace ~
18850 3.2 about here.]
18851 \family default
18852
18853 \begin_inset Quotes erd
18854 \end_inset
18855
18856  is inserted.
18857  The endfloat-package is loaded in the preamble with the line
18858 \end_layout
18859
18860 \begin_layout Standard
18861
18862 \series bold
18863
18864 \backslash
18865 usepackage[options]{endf\SpecialChar \textcompwordmark{}
18866 loat}
18867 \end_layout
18868
18869 \begin_layout Standard
18870 There are various package options to format the created figure/table sections.
18871  For more information we refer to the 
18872 \series bold
18873 endf\SpecialChar \textcompwordmark{}
18874 loat
18875 \series default
18876  documentation 
18877 \begin_inset LatexCommand cite
18878 key "endfloat"
18879
18880 \end_inset
18881
18882 .
18883 \newline
18884
18885 \begin_inset Note Greyedout
18886 status open
18887
18888 \begin_layout Standard
18889
18890 \series bold
18891 Note: endf\SpecialChar \textcompwordmark{}
18892 loat
18893 \series default
18894  doesn't provide an automatic translation for the text hint, you have to
18895  do this manually, see section\InsetSpace ~
18896 4 in 
18897 \begin_inset LatexCommand cite
18898 key "endfloat"
18899
18900 \end_inset
18901
18902 .
18903 \end_layout
18904
18905 \end_inset
18906
18907
18908 \newline
18909
18910 \begin_inset Note Greyedout
18911 status open
18912
18913 \begin_layout Standard
18914
18915 \series bold
18916 Note:
18917 \series default
18918  There is currently a bug in 
18919 \series bold
18920 endf\SpecialChar \textcompwordmark{}
18921 loat
18922 \series default
18923  when the caption contains a German 
18924 \begin_inset Quotes eld
18925 \end_inset
18926
18927 ß
18928 \begin_inset Quotes erd
18929 \end_inset
18930
18931 .
18932  Use in this case the command 
18933 \begin_inset Quotes eld
18934 \end_inset
18935
18936
18937 \series bold
18938
18939 \backslash
18940 ss
18941 \series default
18942
18943 \begin_inset Quotes erd
18944 \end_inset
18945
18946  in ERT instead of 
18947 \begin_inset Quotes eld
18948 \end_inset
18949
18950 ß
18951 \begin_inset Quotes erd
18952 \end_inset
18953
18954 .
18955 \end_layout
18956
18957 \end_inset
18958
18959
18960 \end_layout
18961
18962 \begin_layout Standard
18963 \begin_inset VSpace bigskip
18964 \end_inset
18965
18966 For more details about float placements, have a look at LaTeX books, 
18967 \begin_inset LatexCommand cite
18968 key "latexcompanion,latexguide,latexbook"
18969
18970 \end_inset
18971
18972 .
18973 \end_layout
18974
18975 \begin_layout Section
18976 Rotated Floats
18977 \begin_inset LatexCommand label
18978 name "sec:Rotated-Floats"
18979
18980 \end_inset
18981
18982
18983 \begin_inset LatexCommand index
18984 name "Floats ! Rotating"
18985
18986 \end_inset
18987
18988
18989 \end_layout
18990
18991 \begin_layout Standard
18992 Especially for wide tables you might have floats rotated.
18993  To rotate a whole float including the caption, right-click on the float-box
18994  and use the option 
18995 \family sans
18996 Rotate\InsetSpace ~
18997 sideways
18998 \family default
18999 .
19000 \end_layout
19001
19002 \begin_layout Standard
19003 Rotated floats are always placed on its own page (or column, when you have
19004  a two-column document).
19005  They are normally rotated so that you can read them from the outside margin
19006  -- to the left on even pages, to the right on odd pages.
19007 \end_layout
19008
19009 \begin_layout Standard
19010 Referencing rotated floats is the same like for normal floats, the caption
19011  format is also the same: Table\InsetSpace ~
19012
19013 \begin_inset LatexCommand ref
19014 reference "tab:Rotated-table"
19015
19016 \end_inset
19017
19018  is an example of a rotated table float.
19019 \end_layout
19020
19021 \begin_layout Standard
19022 \begin_inset Note Greyedout
19023 status open
19024
19025 \begin_layout Standard
19026
19027 \series bold
19028 Note:
19029 \series default
19030  Not all DVI-viewers are able to display rotated floats.
19031 \end_layout
19032
19033 \end_inset
19034
19035
19036 \end_layout
19037
19038 \begin_layout Standard
19039 \begin_inset Float table
19040 wide false
19041 sideways true
19042 status open
19043
19044 \begin_layout Standard
19045 \begin_inset Caption
19046
19047 \begin_layout Standard
19048 \begin_inset LatexCommand label
19049 name "tab:Rotated-table"
19050
19051 \end_inset
19052
19053  Rotated table
19054 \end_layout
19055
19056 \end_inset
19057
19058
19059 \end_layout
19060
19061 \begin_layout Standard
19062 \align center
19063 \begin_inset Tabular
19064 <lyxtabular version="3" rows="1" columns="5">
19065 <features>
19066 <column alignment="center" valignment="top" leftline="true" width="0">
19067 <column alignment="center" valignment="top" leftline="true" width="0">
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" rightline="true" width="0">
19071 <row topline="true" bottomline="true">
19072 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19073 \begin_inset Text
19074
19075 \begin_layout Standard
19076 test
19077 \end_layout
19078
19079 \end_inset
19080 </cell>
19081 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19082 \begin_inset Text
19083
19084 \begin_layout Standard
19085 b
19086 \end_layout
19087
19088 \end_inset
19089 </cell>
19090 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19091 \begin_inset Text
19092
19093 \begin_layout Standard
19094 c
19095 \end_layout
19096
19097 \end_inset
19098 </cell>
19099 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19100 \begin_inset Text
19101
19102 \begin_layout Standard
19103 d
19104 \end_layout
19105
19106 \end_inset
19107 </cell>
19108 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19109 \begin_inset Text
19110
19111 \begin_layout Standard
19112 e
19113 \end_layout
19114
19115 \end_inset
19116 </cell>
19117 </row>
19118 </lyxtabular>
19119
19120 \end_inset
19121
19122
19123 \end_layout
19124
19125 \end_inset
19126
19127
19128 \end_layout
19129
19130 \begin_layout Section
19131 Caption Formatting
19132 \begin_inset LatexCommand index
19133 name "Caption ! Formatting"
19134
19135 \end_inset
19136
19137
19138 \begin_inset LatexCommand index
19139 name "Floats ! Caption Formatting"
19140
19141 \end_inset
19142
19143
19144 \begin_inset LatexCommand index
19145 name "LaTeX-packages ! caption"
19146
19147 \end_inset
19148
19149
19150 \begin_inset LatexCommand label
19151 name "sec:Caption-Formatting"
19152
19153 \end_inset
19154
19155
19156 \end_layout
19157
19158 \begin_layout Standard
19159 The 
19160 \family sans
19161 Caption
19162 \family default
19163  environment is the default paragraph environment for 
19164 \family sans
19165 Floats
19166 \family default
19167 .
19168  On the LyX screen captions appear as label, e.\InsetSpace \thinspace{}
19169 g.\InsetSpace ~
19170
19171 \begin_inset Quotes eld
19172 \end_inset
19173
19174
19175 \family sans
19176 Figure #:
19177 \family default
19178
19179 \begin_inset Quotes erd
19180 \end_inset
19181
19182  followed by the caption text.
19183  The number sign 
19184 \begin_inset Quotes eld
19185 \end_inset
19186
19187 #
19188 \begin_inset Quotes erd
19189 \end_inset
19190
19191  is substituted in the printed output by the actual reference number.
19192  By default the label and the number are in the same font as the caption
19193  text and a colon follows the number to divide then label from the text.
19194  This caption format is not suitable for all document formats.
19195  
19196 \end_layout
19197
19198 \begin_layout Standard
19199 To change the default caption format, load the LaTeX-package 
19200 \series bold
19201 caption
19202 \series default
19203
19204 \begin_inset LatexCommand index
19205 name "LaTeX-packages ! caption"
19206
19207 \end_inset
19208
19209  in the document preamble with this line:
19210 \end_layout
19211
19212 \begin_layout Standard
19213
19214 \series bold
19215
19216 \backslash
19217 usepackage[format definition]{caption}
19218 \end_layout
19219
19220 \begin_layout Standard
19221 To have for example the label and the number in sans-serif bold font and
19222  the table captions always above the table like in this document, use the
19223  following command:
19224 \end_layout
19225
19226 \begin_layout Standard
19227
19228 \series bold
19229
19230 \backslash
19231 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
19232 \end_layout
19233
19234 \begin_layout Standard
19235 You can also define different caption formats for the different float types.
19236  In this case load the 
19237 \series bold
19238 caption
19239 \series default
19240  package without format specific options and define the different formats
19241  with the help of the command
19242 \end_layout
19243
19244 \begin_layout Standard
19245
19246 \series bold
19247
19248 \backslash
19249 captionsetup[float type]{format definition}
19250 \end_layout
19251
19252 \begin_layout Standard
19253 in the document preamble.
19254  For example the caption formats of Figure\InsetSpace ~
19255
19256 \begin_inset LatexCommand ref
19257 reference "fig:This-is-an-fig"
19258
19259 \end_inset
19260
19261  and Table\InsetSpace ~
19262
19263 \begin_inset LatexCommand ref
19264 reference "tab:This-is-an-tab"
19265
19266 \end_inset
19267
19268  can be created using these commands in the document preamble:
19269 \end_layout
19270
19271 \begin_layout Standard
19272
19273 \series bold
19274
19275 \backslash
19276 usepackage[tableposition=top]{caption}
19277 \series default
19278
19279 \newline
19280
19281 \series bold
19282
19283 \backslash
19284 captionsetup[f\SpecialChar \textcompwordmark{}
19285 igure]{labelfont={tt}, textfont=it, indention=1cm,%
19286 \newline
19287
19288 \begin_inset ERT
19289 status collapsed
19290
19291 \begin_layout Standard
19292
19293
19294 \backslash
19295 hphantom{
19296 \backslash
19297
19298 \backslash
19299 captionsetup[figure]
19300 \backslash
19301 {}
19302 \end_layout
19303
19304 \end_inset
19305
19306  labelsep=period}
19307 \newline
19308
19309 \backslash
19310 captionsetup[table]{labelfont={bf,sf}}
19311 \end_layout
19312
19313 \begin_layout Standard
19314 \begin_inset Note Greyedout
19315 status open
19316
19317 \begin_layout Standard
19318
19319 \series bold
19320 Note:
19321 \series default
19322  The option 
19323 \series bold
19324 tableposition=top
19325 \series default
19326  has no effect when a 
19327 \series bold
19328 koma-script
19329 \series default
19330
19331 \begin_inset LatexCommand index
19332 name "LaTeX-packages ! koma-script"
19333
19334 \end_inset
19335
19336  document class is used.
19337  In this case the document class option 
19338 \series bold
19339 tablecaptionabove
19340 \series default
19341  must be used.
19342 \end_layout
19343
19344 \end_inset
19345
19346
19347 \end_layout
19348
19349 \begin_layout Standard
19350 For more information about the package 
19351 \series bold
19352 caption
19353 \series default
19354  we refer to its documentation 
19355 \begin_inset LatexCommand cite
19356 key "caption,caption-de"
19357
19358 \end_inset
19359
19360 .
19361 \end_layout
19362
19363 \begin_layout Standard
19364 To change the label name from e.g.
19365  
19366 \begin_inset Quotes eld
19367 \end_inset
19368
19369 Figure
19370 \begin_inset Quotes erd
19371 \end_inset
19372
19373  to 
19374 \begin_inset Quotes eld
19375 \end_inset
19376
19377 Image
19378 \begin_inset Quotes erd
19379 \end_inset
19380
19381  use this preamble command:
19382 \end_layout
19383
19384 \begin_layout Standard
19385
19386 \series bold
19387
19388 \backslash
19389 renewcommand{
19390 \backslash
19391 fnum@figure}{Image~
19392 \backslash
19393 thefigure}
19394 \end_layout
19395
19396 \begin_layout Standard
19397 where 
19398 \series bold
19399
19400 \backslash
19401 thefigure
19402 \series default
19403  inserts the figure number and
19404 \series bold
19405  
19406 \begin_inset Quotes eld
19407 \end_inset
19408
19409 ~
19410 \series default
19411
19412 \begin_inset Quotes erd
19413 \end_inset
19414
19415  creates a protected space.
19416 \end_layout
19417
19418 \begin_layout Standard
19419 \begin_inset VSpace bigskip
19420 \end_inset
19421
19422 If you are using a 
19423 \series bold
19424 koma-script
19425 \series default
19426
19427 \begin_inset LatexCommand index
19428 name "LaTeX-packages ! koma-script"
19429
19430 \end_inset
19431
19432  document class (
19433 \family sans
19434 article (koma-script)
19435 \family default
19436
19437 \family sans
19438 book (koma-script)
19439 \family default
19440
19441 \family sans
19442 letter (koma-script)
19443 \family default
19444 , or 
19445 \family sans
19446 report (koma-script)
19447 \family default
19448 \InsetSpace \thinspace{}
19449 ), you can alternatively to the 
19450 \series bold
19451 caption
19452 \series default
19453  package use 
19454 \series bold
19455 koma-script
19456 \series default
19457 's built-in command 
19458 \series bold
19459
19460 \backslash
19461 setkomafont
19462 \series default
19463 .
19464  For example, to have the caption label in bold, add this command to your
19465  document preamble:
19466 \end_layout
19467
19468 \begin_layout Standard
19469
19470 \series bold
19471
19472 \backslash
19473 setkomafont{captionlabel}{
19474 \backslash
19475 bfseries}
19476 \end_layout
19477
19478 \begin_layout Standard
19479 For more information about 
19480 \series bold
19481
19482 \backslash
19483 setkomafont
19484 \series default
19485  we refer to the 
19486 \series bold
19487 koma-script
19488 \series default
19489  documentation 
19490 \begin_inset LatexCommand cite
19491 key "koma-script,koma-script-de"
19492
19493 \end_inset
19494
19495 .
19496 \end_layout
19497
19498 \begin_layout Standard
19499 \begin_inset ERT
19500 status collapsed
19501
19502 \begin_layout Standard
19503
19504
19505 \backslash
19506 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
19507 }
19508 \end_layout
19509
19510 \end_inset
19511
19512
19513 \begin_inset Note Note
19514 status open
19515
19516 \begin_layout Standard
19517 The caption format is changed only for this example.
19518 \end_layout
19519
19520 \end_inset
19521
19522
19523 \end_layout
19524
19525 \begin_layout Standard
19526 \begin_inset Float figure
19527 placement !p
19528 wide false
19529 sideways false
19530 status open
19531
19532 \begin_layout Standard
19533 \align center
19534 \begin_inset Graphics
19535         filename clipart/mobius.eps
19536         lyxscale 50
19537         scale 50
19538
19539 \end_inset
19540
19541
19542 \end_layout
19543
19544 \begin_layout Standard
19545 \begin_inset Caption
19546
19547 \begin_layout Standard
19548 \begin_inset LatexCommand label
19549 name "fig:This-is-an-fig"
19550
19551 \end_inset
19552
19553 This is an example figure caption that is longer than one line to show the
19554  different caption format.
19555  Here a self-defined caption format is used.
19556 \end_layout
19557
19558 \end_inset
19559
19560
19561 \end_layout
19562
19563 \end_inset
19564
19565
19566 \end_layout
19567
19568 \begin_layout Standard
19569 \begin_inset ERT
19570 status collapsed
19571
19572 \begin_layout Standard
19573
19574
19575 \backslash
19576 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
19577 on}
19578 \end_layout
19579
19580 \end_inset
19581
19582
19583 \end_layout
19584
19585 \begin_layout Standard
19586 \begin_inset Float table
19587 placement !p
19588 wide false
19589 sideways false
19590 status open
19591
19592 \begin_layout Standard
19593 \begin_inset Caption
19594
19595 \begin_layout Standard
19596 \begin_inset LatexCommand label
19597 name "tab:This-is-an-tab"
19598
19599 \end_inset
19600
19601 This is an example table caption that is longer than one line to show the
19602  different caption format.
19603  Here the standard caption format for tables in this document is used.
19604 \end_layout
19605
19606 \end_inset
19607
19608
19609 \end_layout
19610
19611 \begin_layout Standard
19612 \align center
19613 \begin_inset Tabular
19614 <lyxtabular version="3" rows="1" columns="5">
19615 <features>
19616 <column alignment="center" valignment="top" leftline="true" width="0">
19617 <column alignment="center" valignment="top" leftline="true" width="0">
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" rightline="true" width="0">
19621 <row topline="true" bottomline="true">
19622 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19623 \begin_inset Text
19624
19625 \begin_layout Standard
19626 a
19627 \end_layout
19628
19629 \end_inset
19630 </cell>
19631 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19632 \begin_inset Text
19633
19634 \begin_layout Standard
19635 b
19636 \end_layout
19637
19638 \end_inset
19639 </cell>
19640 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19641 \begin_inset Text
19642
19643 \begin_layout Standard
19644 c
19645 \end_layout
19646
19647 \end_inset
19648 </cell>
19649 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19650 \begin_inset Text
19651
19652 \begin_layout Standard
19653 d
19654 \end_layout
19655
19656 \end_inset
19657 </cell>
19658 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19659 \begin_inset Text
19660
19661 \begin_layout Standard
19662 e
19663 \end_layout
19664
19665 \end_inset
19666 </cell>
19667 </row>
19668 </lyxtabular>
19669
19670 \end_inset
19671
19672
19673 \end_layout
19674
19675 \end_inset
19676
19677
19678 \end_layout
19679
19680 \begin_layout Section
19681 Caption Placement
19682 \begin_inset LatexCommand index
19683 name "Caption ! Placement"
19684
19685 \end_inset
19686
19687
19688 \begin_inset LatexCommand index
19689 name "Floats ! Caption Placement"
19690
19691 \end_inset
19692
19693
19694 \begin_inset LatexCommand label
19695 name "sec:Caption-Placement"
19696
19697 \end_inset
19698
19699
19700 \end_layout
19701
19702 \begin_layout Standard
19703 The common caption placement rule is:
19704 \end_layout
19705
19706 \begin_layout Description
19707 Figure: Caption is set below the figure
19708 \end_layout
19709
19710 \begin_layout Description
19711 Table: Caption is set above the table
19712 \end_layout
19713
19714 \begin_layout Standard
19715 Having the caption above the table is unfortunately not supported in LaTeX's
19716  standard classes.
19717  That means if you are using the document classes 
19718 \family sans
19719 article
19720 \family default
19721
19722 \family sans
19723 book
19724 \family default
19725
19726 \family sans
19727 letter
19728 \family default
19729 , or 
19730 \family sans
19731 report
19732 \family default
19733  there will be no space between the caption and the table.
19734  To insert the needed space, add the following option to the load command
19735  of the LaTeX-package 
19736 \series bold
19737 caption
19738 \series default
19739  in your document preamble
19740 \begin_inset Foot
19741 status collapsed
19742
19743 \begin_layout Standard
19744 See section\InsetSpace ~
19745
19746 \begin_inset LatexCommand ref
19747 reference "sec:Caption-Formatting"
19748
19749 \end_inset
19750
19751  for more information of the package 
19752 \series bold
19753 caption
19754 \series default
19755 .
19756 \end_layout
19757
19758 \end_inset
19759
19760 :
19761 \end_layout
19762
19763 \begin_layout Standard
19764
19765 \series bold
19766 tableposition=top
19767 \end_layout
19768
19769 \begin_layout Standard
19770 If you are using a 
19771 \series bold
19772 koma-script
19773 \series default
19774
19775 \begin_inset LatexCommand index
19776 name "LaTeX-packages ! koma-script"
19777
19778 \end_inset
19779
19780  document class (
19781 \family sans
19782 article (koma-script)
19783 \family default
19784
19785 \family sans
19786 book (koma-script)
19787 \family default
19788
19789 \family sans
19790 letter (koma-script)
19791 \family default
19792 , or 
19793 \family sans
19794 report (koma-script)
19795 \family default
19796 \InsetSpace \thinspace{}
19797 ), you can alternatively to the 
19798 \series bold
19799 caption
19800 \series default
19801  package set the document class option 
19802 \series bold
19803 tablecaptionabove
19804 \series default
19805 , or you can use the environment 
19806 \family sans
19807 caption\InsetSpace ~
19808 above
19809 \family default
19810  instead of the 
19811 \family sans
19812 caption
19813 \family default
19814  environment.
19815 \end_layout
19816
19817 \begin_layout Standard
19818 \begin_inset VSpace bigskip
19819 \end_inset
19820
19821 It is also possible to set the caption beside a figure or table.
19822  To get this the LaTeX-package 
19823 \series bold
19824 sidecap
19825 \series default
19826
19827 \begin_inset LatexCommand index
19828 name "LaTeX-packages ! sidecap"
19829
19830 \end_inset
19831
19832  has to be loaded in the document preamble with the line
19833 \end_layout
19834
19835 \begin_layout Standard
19836
19837 \series bold
19838
19839 \backslash
19840 usepackage[option]{sidecap}
19841 \end_layout
19842
19843 \begin_layout Standard
19844 If you set no option, the caption is placed on the side of the outer page
19845  margin -- to the right on odd pages, to the left on even pages.
19846  You can change the placement to inner margin with the option 
19847 \series bold
19848 innercaption
19849 \series default
19850 .
19851  To force the placement always to the right or left, use the option 
19852 \series bold
19853 rightcaption
19854 \series default
19855  or 
19856 \series bold
19857 leftcaption
19858 \series default
19859 , respectively.
19860 \end_layout
19861
19862 \begin_layout Standard
19863 To place in LyX the caption of a float on the side, it is necessary to add
19864  these commands to the document preamble:
19865 \end_layout
19866
19867 \begin_layout Standard
19868
19869 \lyxline
19870
19871 \end_layout
19872
19873 \begin_layout Standard
19874
19875 \series bold
19876
19877 \backslash
19878 newcommand{
19879 \backslash
19880 TabBesBeg}{%
19881 \newline
19882
19883 \begin_inset ERT
19884 status collapsed
19885
19886 \begin_layout Standard
19887
19888
19889 \backslash
19890 hphantom{ }
19891 \end_layout
19892
19893 \end_inset
19894
19895
19896 \backslash
19897 let
19898 \backslash
19899 MyTable
19900 \backslash
19901 table
19902 \newline
19903
19904 \begin_inset ERT
19905 status collapsed
19906
19907 \begin_layout Standard
19908
19909
19910 \backslash
19911 hphantom{ }
19912 \end_layout
19913
19914 \end_inset
19915
19916
19917 \backslash
19918 let
19919 \backslash
19920 MyEndtable
19921 \backslash
19922 endtable
19923 \newline
19924
19925 \begin_inset ERT
19926 status collapsed
19927
19928 \begin_layout Standard
19929
19930
19931 \backslash
19932 hphantom{ }
19933 \end_layout
19934
19935 \end_inset
19936
19937
19938 \backslash
19939 renewenvironment{table}{
19940 \backslash
19941 begin{SCtable}}{
19942 \backslash
19943 end{SCtable}}}
19944 \end_layout
19945
19946 \begin_layout Standard
19947
19948 \series bold
19949
19950 \backslash
19951 newcommand{
19952 \backslash
19953 TabBesEnd}{%
19954 \newline
19955
19956 \begin_inset ERT
19957 status collapsed
19958
19959 \begin_layout Standard
19960
19961
19962 \backslash
19963 hphantom{ }
19964 \end_layout
19965
19966 \end_inset
19967
19968
19969 \backslash
19970 let
19971 \backslash
19972 table
19973 \backslash
19974 MyTable
19975 \newline
19976
19977 \begin_inset ERT
19978 status collapsed
19979
19980 \begin_layout Standard
19981
19982
19983 \backslash
19984 hphantom{ }
19985 \end_layout
19986
19987 \end_inset
19988
19989
19990 \backslash
19991 let
19992 \backslash
19993 endtable
19994 \backslash
19995 MyEndtable
19996 \end_layout
19997
19998 \begin_layout Standard
19999
20000 \series bold
20001
20002 \backslash
20003 newcommand{
20004 \backslash
20005 FigBesBeg}{%
20006 \newline
20007
20008 \begin_inset ERT
20009 status collapsed
20010
20011 \begin_layout Standard
20012
20013
20014 \backslash
20015 hphantom{ }
20016 \end_layout
20017
20018 \end_inset
20019
20020
20021 \backslash
20022 let
20023 \backslash
20024 MyFigure
20025 \backslash
20026 f\SpecialChar \textcompwordmark{}
20027 igure
20028 \newline
20029
20030 \begin_inset ERT
20031 status collapsed
20032
20033 \begin_layout Standard
20034
20035
20036 \backslash
20037 hphantom{ }
20038 \end_layout
20039
20040 \end_inset
20041
20042
20043 \backslash
20044 let
20045 \backslash
20046 MyEndf\SpecialChar \textcompwordmark{}
20047 igure
20048 \backslash
20049 endf\SpecialChar \textcompwordmark{}
20050 igure
20051 \newline
20052
20053 \begin_inset ERT
20054 status collapsed
20055
20056 \begin_layout Standard
20057
20058
20059 \backslash
20060 hphantom{ }
20061 \end_layout
20062
20063 \end_inset
20064
20065
20066 \backslash
20067 renewenvironment{f\SpecialChar \textcompwordmark{}
20068 igure}{
20069 \backslash
20070 begin{SCf\SpecialChar \textcompwordmark{}
20071 igure}}{
20072 \backslash
20073 end{SCf\SpecialChar \textcompwordmark{}
20074 igure}}}
20075 \end_layout
20076
20077 \begin_layout Standard
20078
20079 \series bold
20080
20081 \backslash
20082 newcommand{
20083 \backslash
20084 FigBesEnd}{%
20085 \newline
20086
20087 \begin_inset ERT
20088 status collapsed
20089
20090 \begin_layout Standard
20091
20092
20093 \backslash
20094 hphantom{ }
20095 \end_layout
20096
20097 \end_inset
20098
20099
20100 \backslash
20101 let
20102 \backslash
20103 f\SpecialChar \textcompwordmark{}
20104 igure
20105 \backslash
20106 MyFigure
20107 \newline
20108
20109 \begin_inset ERT
20110 status collapsed
20111
20112 \begin_layout Standard
20113
20114
20115 \backslash
20116 hphantom{ }
20117 \end_layout
20118
20119 \end_inset
20120
20121
20122 \backslash
20123 let
20124 \backslash
20125 endf\SpecialChar \textcompwordmark{}
20126 igure
20127 \backslash
20128 MyEndf\SpecialChar \textcompwordmark{}
20129 igure}
20130 \end_layout
20131
20132 \begin_layout Standard
20133
20134 \lyxline
20135
20136 \end_layout
20137
20138 \begin_layout Standard
20139 The commands allow you to redefine the floats so that the caption is set
20140  on the side.
20141  For figure floats use the command
20142 \end_layout
20143
20144 \begin_layout Standard
20145
20146 \series bold
20147
20148 \backslash
20149 FigBesBeg
20150 \end_layout
20151
20152 \begin_layout Standard
20153 in ERT before the float.
20154  Behind the float insert the command
20155 \end_layout
20156
20157 \begin_layout Standard
20158
20159 \series bold
20160
20161 \backslash
20162 FigBesEnd
20163 \end_layout
20164
20165 \begin_layout Standard
20166 in ERT to get back to the original float definition.
20167 \end_layout
20168
20169 \begin_layout Standard
20170 For table floats use the corresponding commands
20171 \end_layout
20172
20173 \begin_layout Standard
20174
20175 \series bold
20176
20177 \backslash
20178 TabBesBeg
20179 \series default
20180  and 
20181 \series bold
20182
20183 \backslash
20184 TabBesEnd
20185 \end_layout
20186
20187 \begin_layout Standard
20188 Figure\InsetSpace ~
20189
20190 \begin_inset LatexCommand ref
20191 reference "fig:cap-beside-fig"
20192
20193 \end_inset
20194
20195  and Table\InsetSpace ~
20196
20197 \begin_inset LatexCommand ref
20198 reference "tab:cap-beside-tab"
20199
20200 \end_inset
20201
20202  are examples where the caption is set beside.
20203 \end_layout
20204
20205 \begin_layout Standard
20206 You can see in the examples that the caption text appears at the top of
20207  the floats for table floats and at the bottom for figure floats.
20208  To change this, you can use the command
20209 \end_layout
20210
20211 \begin_layout Standard
20212
20213 \series bold
20214
20215 \backslash
20216 sidecaptionvpos{float type}{placement}
20217 \end_layout
20218
20219 \begin_layout Standard
20220 in the document preamble or in ERT before the float.
20221  The float type is either 
20222 \family sans
20223 figure
20224 \family default
20225  or 
20226 \family sans
20227 table
20228 \family default
20229 , the placement can be 
20230 \begin_inset Quotes eld
20231 \end_inset
20232
20233
20234 \family sans
20235 t
20236 \family default
20237
20238 \begin_inset Quotes erd
20239 \end_inset
20240
20241  for top, 
20242 \begin_inset Quotes eld
20243 \end_inset
20244
20245
20246 \family sans
20247 c
20248 \family default
20249
20250 \begin_inset Quotes erd
20251 \end_inset
20252
20253  for center, or 
20254 \begin_inset Quotes eld
20255 \end_inset
20256
20257
20258 \family sans
20259 b
20260 \family default
20261
20262 \begin_inset Quotes erd
20263 \end_inset
20264
20265  for bottom.
20266  To have for example the caption of figure floats vertically centered, use
20267  the command
20268 \end_layout
20269
20270 \begin_layout Standard
20271
20272 \series bold
20273
20274 \backslash
20275 sidecaptionvpos{f\SpecialChar \textcompwordmark{}
20276 igure}{c}
20277 \end_layout
20278
20279 \begin_layout Standard
20280 This was used for Figure\InsetSpace ~
20281
20282 \begin_inset LatexCommand ref
20283 reference "fig:cap-beside-fig-2"
20284
20285 \end_inset
20286
20287 .
20288 \end_layout
20289
20290 \begin_layout Standard
20291 \begin_inset VSpace defskip
20292 \end_inset
20293
20294 For more information about the package 
20295 \series bold
20296 sidecap
20297 \series default
20298  we refer to its documentation 
20299 \begin_inset LatexCommand cite
20300 key "sidecap"
20301
20302 \end_inset
20303
20304 .
20305 \end_layout
20306
20307 \begin_layout Standard
20308 \begin_inset Note Greyedout
20309 status open
20310
20311 \begin_layout Standard
20312
20313 \series bold
20314 Note:
20315 \series default
20316  The LaTeX-package 
20317 \series bold
20318 hypcap
20319 \series default
20320
20321 \begin_inset LatexCommand index
20322 name "LaTeX-packages ! hypcap"
20323
20324 \end_inset
20325
20326 , described in section\InsetSpace ~
20327
20328 \begin_inset LatexCommand ref
20329 reference "sub:Reference-Position"
20330
20331 \end_inset
20332
20333 , has no effect on floats with the caption set beside.
20334 \end_layout
20335
20336 \end_inset
20337
20338
20339 \end_layout
20340
20341 \begin_layout Standard
20342 \begin_inset ERT
20343 status collapsed
20344
20345 \begin_layout Standard
20346
20347
20348 \backslash
20349 FigBesBeg 
20350 \end_layout
20351
20352 \end_inset
20353
20354
20355 \end_layout
20356
20357 \begin_layout Standard
20358 \begin_inset Float figure
20359 wide false
20360 sideways false
20361 status open
20362
20363 \begin_layout Standard
20364 \begin_inset Graphics
20365         filename clipart/escher-lsd.eps
20366         scale 75
20367
20368 \end_inset
20369
20370
20371 \end_layout
20372
20373 \begin_layout Standard
20374 \begin_inset Caption
20375
20376 \begin_layout Standard
20377 \begin_inset LatexCommand label
20378 name "fig:cap-beside-fig"
20379
20380 \end_inset
20381
20382 This is a caption beside a figure.
20383 \end_layout
20384
20385 \end_inset
20386
20387
20388 \end_layout
20389
20390 \end_inset
20391
20392
20393 \end_layout
20394
20395 \begin_layout Standard
20396 \begin_inset ERT
20397 status collapsed
20398
20399 \begin_layout Standard
20400
20401
20402 \backslash
20403 TabBesBeg 
20404 \end_layout
20405
20406 \end_inset
20407
20408
20409 \end_layout
20410
20411 \begin_layout Standard
20412 \begin_inset Float table
20413 wide false
20414 sideways false
20415 status open
20416
20417 \begin_layout Standard
20418 \begin_inset Caption
20419
20420 \begin_layout Standard
20421 \begin_inset LatexCommand label
20422 name "tab:cap-beside-tab"
20423
20424 \end_inset
20425
20426 This is a caption beside a table.
20427 \end_layout
20428
20429 \end_inset
20430
20431
20432 \end_layout
20433
20434 \begin_layout Standard
20435 \begin_inset Tabular
20436 <lyxtabular version="3" rows="4" columns="5">
20437 <features>
20438 <column alignment="center" valignment="top" leftline="true" width="0">
20439 <column alignment="center" valignment="top" leftline="true" width="0">
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" rightline="true" width="0">
20443 <row topline="true">
20444 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20445 \begin_inset Text
20446
20447 \begin_layout Standard
20448 a
20449 \end_layout
20450
20451 \end_inset
20452 </cell>
20453 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20454 \begin_inset Text
20455
20456 \begin_layout Standard
20457
20458 \end_layout
20459
20460 \end_inset
20461 </cell>
20462 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20463 \begin_inset Text
20464
20465 \begin_layout Standard
20466 b
20467 \end_layout
20468
20469 \end_inset
20470 </cell>
20471 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20472 \begin_inset Text
20473
20474 \begin_layout Standard
20475
20476 \end_layout
20477
20478 \end_inset
20479 </cell>
20480 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20481 \begin_inset Text
20482
20483 \begin_layout Standard
20484 c
20485 \end_layout
20486
20487 \end_inset
20488 </cell>
20489 </row>
20490 <row topline="true">
20491 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20492 \begin_inset Text
20493
20494 \begin_layout Standard
20495
20496 \end_layout
20497
20498 \end_inset
20499 </cell>
20500 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20501 \begin_inset Text
20502
20503 \begin_layout Standard
20504 d
20505 \end_layout
20506
20507 \end_inset
20508 </cell>
20509 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20510 \begin_inset Text
20511
20512 \begin_layout Standard
20513
20514 \end_layout
20515
20516 \end_inset
20517 </cell>
20518 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20519 \begin_inset Text
20520
20521 \begin_layout Standard
20522 e
20523 \end_layout
20524
20525 \end_inset
20526 </cell>
20527 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20528 \begin_inset Text
20529
20530 \begin_layout Standard
20531
20532 \end_layout
20533
20534 \end_inset
20535 </cell>
20536 </row>
20537 <row topline="true">
20538 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20539 \begin_inset Text
20540
20541 \begin_layout Standard
20542 f
20543 \end_layout
20544
20545 \end_inset
20546 </cell>
20547 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20548 \begin_inset Text
20549
20550 \begin_layout Standard
20551
20552 \end_layout
20553
20554 \end_inset
20555 </cell>
20556 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20557 \begin_inset Text
20558
20559 \begin_layout Standard
20560 g
20561 \end_layout
20562
20563 \end_inset
20564 </cell>
20565 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20566 \begin_inset Text
20567
20568 \begin_layout Standard
20569
20570 \end_layout
20571
20572 \end_inset
20573 </cell>
20574 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20575 \begin_inset Text
20576
20577 \begin_layout Standard
20578 h
20579 \end_layout
20580
20581 \end_inset
20582 </cell>
20583 </row>
20584 <row topline="true" bottomline="true">
20585 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20586 \begin_inset Text
20587
20588 \begin_layout Standard
20589
20590 \end_layout
20591
20592 \end_inset
20593 </cell>
20594 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20595 \begin_inset Text
20596
20597 \begin_layout Standard
20598 i
20599 \end_layout
20600
20601 \end_inset
20602 </cell>
20603 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20604 \begin_inset Text
20605
20606 \begin_layout Standard
20607
20608 \end_layout
20609
20610 \end_inset
20611 </cell>
20612 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20613 \begin_inset Text
20614
20615 \begin_layout Standard
20616 j
20617 \end_layout
20618
20619 \end_inset
20620 </cell>
20621 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20622 \begin_inset Text
20623
20624 \begin_layout Standard
20625
20626 \end_layout
20627
20628 \end_inset
20629 </cell>
20630 </row>
20631 </lyxtabular>
20632
20633 \end_inset
20634
20635
20636 \end_layout
20637
20638 \end_inset
20639
20640
20641 \end_layout
20642
20643 \begin_layout Standard
20644 \begin_inset ERT
20645 status collapsed
20646
20647 \begin_layout Standard
20648
20649
20650 \backslash
20651 TabBesEnd
20652 \end_layout
20653
20654 \end_inset
20655
20656
20657 \end_layout
20658
20659 \begin_layout Standard
20660 \begin_inset ERT
20661 status collapsed
20662
20663 \begin_layout Standard
20664
20665
20666 \backslash
20667 sidecaptionvpos{figure}{c}
20668 \end_layout
20669
20670 \end_inset
20671
20672
20673 \begin_inset Float figure
20674 wide false
20675 sideways false
20676 status open
20677
20678 \begin_layout Standard
20679 \begin_inset Graphics
20680         filename clipart/escher-lsd.eps
20681         scale 75
20682
20683 \end_inset
20684
20685
20686 \end_layout
20687
20688 \begin_layout Standard
20689 \begin_inset Caption
20690
20691 \begin_layout Standard
20692 \begin_inset LatexCommand label
20693 name "fig:cap-beside-fig-2"
20694
20695 \end_inset
20696
20697 This is a vertically centered caption beside a figure.
20698 \end_layout
20699
20700 \end_inset
20701
20702
20703 \end_layout
20704
20705 \end_inset
20706
20707
20708 \end_layout
20709
20710 \begin_layout Standard
20711 \begin_inset ERT
20712 status collapsed
20713
20714 \begin_layout Standard
20715
20716
20717 \backslash
20718 FigBesEnd
20719 \end_layout
20720
20721 \end_inset
20722
20723
20724 \end_layout
20725
20726 \begin_layout Section
20727 Listings of Floats
20728 \begin_inset LatexCommand label
20729 name "sec:Listings-of-Floats"
20730
20731 \end_inset
20732
20733
20734 \begin_inset LatexCommand index
20735 name "Floats ! Listings"
20736
20737 \end_inset
20738
20739
20740 \end_layout
20741
20742 \begin_layout Standard
20743 Similar to the the table of contents where the sections of the document
20744  are listed, there are listings for all float types, like the figures of
20745  the documents.
20746  You can insert them via the 
20747 \family sans
20748 Insert\SpecialChar \menuseparator
20749 List\InsetSpace ~
20750 /\InsetSpace ~
20751 TOC
20752 \family default
20753  sub menus.
20754 \end_layout
20755
20756 \begin_layout Standard
20757 The list entries are the float captions or its short title, the float number,
20758  and the page number where they appear in the document.
20759 \end_layout
20760
20761 \begin_layout Standard
20762 You can find the list of figures and tables at the end of this document.
20763 \end_layout
20764
20765 \begin_layout Chapter
20766 Notes
20767 \end_layout
20768
20769 \begin_layout Section
20770 \begin_inset ERT
20771 status collapsed
20772
20773 \begin_layout Standard
20774
20775
20776 \backslash
20777 texorpdfstring{
20778 \end_layout
20779
20780 \end_inset
20781
20782 LyX
20783 \begin_inset ERT
20784 status collapsed
20785
20786 \begin_layout Standard
20787
20788 }{LyX}
20789 \end_layout
20790
20791 \end_inset
20792
20793  Notes
20794 \begin_inset LatexCommand label
20795 name "sec:LyX-Notes"
20796
20797 \end_inset
20798
20799
20800 \begin_inset LatexCommand index
20801 name "Notes ! LyX Notes"
20802
20803 \end_inset
20804
20805
20806 \begin_inset Note Note
20807 status collapsed
20808
20809 \begin_layout Standard
20810 The command 
20811 \backslash
20812 texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures
20813  are displayed wrongly in PDF-bookmarks.
20814  For more information about this, have a look at 
20815 \begin_inset LatexCommand cite
20816 key "hyperref"
20817
20818 \end_inset
20819
20820 .
20821 \end_layout
20822
20823 \end_inset
20824
20825
20826 \end_layout
20827
20828 \begin_layout Standard
20829 Notes are inserted with the toolbar button 
20830 \begin_inset Graphics
20831         filename ../images/note-insert.xpm
20832         scale 85
20833
20834 \end_inset
20835
20836  or the menu 
20837 \family sans
20838 Insert\SpecialChar \menuseparator
20839 Note
20840 \family default
20841 .
20842  There are three types of notes:
20843 \end_layout
20844
20845 \begin_layout Description
20846 LyX\InsetSpace ~
20847 Note This note type is for internal notes that won't appear in the output.
20848  Its note-box looks like this:
20849 \newline
20850
20851 \newline
20852
20853 \begin_inset Graphics
20854         filename clipart/LyXNoteImageQt4.png
20855         display none
20856         scale 85
20857
20858 \end_inset
20859
20860  
20861 \begin_inset Note Note
20862 status open
20863
20864 \begin_layout Standard
20865 This is text in a note box that doesn't appear in the output.
20866 \end_layout
20867
20868 \end_inset
20869
20870
20871 \end_layout
20872
20873 \begin_layout Description
20874 Comment This note also doesn't appear in the output but it appears as LaTeX-comm
20875 ent, when you export the document to LaTeX via the menu 
20876 \family sans
20877 File\SpecialChar \menuseparator
20878 Export\SpecialChar \menuseparator
20879 LaTeX (pdflatex) / LaTeX (plain)
20880 \family default
20881 .
20882  Its note-box looks like this:
20883 \newline
20884
20885 \newline
20886
20887 \begin_inset Graphics
20888         filename clipart/CommentNoteImageQt4.png
20889         display none
20890         scale 85
20891
20892 \end_inset
20893
20894  
20895 \begin_inset Note Comment
20896 status open
20897
20898 \begin_layout Standard
20899 This is text in a note box that only appears as comment in LaTeX-files.
20900 \end_layout
20901
20902 \end_inset
20903
20904
20905 \end_layout
20906
20907 \begin_layout Description
20908 Greyed\InsetSpace ~
20909 Out This note will appear in the output as grey text.
20910  Its note-box looks like this:
20911 \newline
20912
20913 \newline
20914
20915 \begin_inset Graphics
20916         filename clipart/GreyedOutNoteImageQt4.png
20917         display none
20918         scale 85
20919
20920 \end_inset
20921
20922
20923 \newline
20924
20925 \begin_inset ERT
20926 status collapsed
20927
20928 \begin_layout Standard
20929
20930
20931 \backslash
20932 renewenvironment{lyxgreyedout}
20933 \end_layout
20934
20935 \begin_layout Standard
20936
20937 {
20938 \backslash
20939 textcolor[gray]{0.8}
20940 \backslash
20941 bgroup}{
20942 \backslash
20943 egroup}
20944 \end_layout
20945
20946 \end_inset
20947
20948
20949 \begin_inset Note Greyedout
20950 status open
20951
20952 \begin_layout Standard
20953 This is text
20954 \begin_inset Foot
20955 status open
20956
20957 \begin_layout Standard
20958 This is an example footnote within a greyed out note.
20959 \end_layout
20960
20961 \end_inset
20962
20963  of a comment that appears in the output as grey text.
20964 \end_layout
20965
20966 \end_inset
20967
20968
20969 \begin_inset ERT
20970 status collapsed
20971
20972 \begin_layout Standard
20973
20974
20975 \backslash
20976 renewenvironment{lyxgreyedout}
20977 \end_layout
20978
20979 \begin_layout Standard
20980
20981 {
20982 \backslash
20983 textcolor{blue}
20984 \backslash
20985 bgroup}{
20986 \backslash
20987 egroup}
20988 \end_layout
20989
20990 \end_inset
20991
20992
20993 \begin_inset Note Note
20994 status collapsed
20995
20996 \begin_layout Standard
20997 The greyed out note is here redefined to show it with the original LyX definitio
20998 n because greyed out notes are redefined in the preamble of this document,
20999  as described below, to have blue text.
21000 \end_layout
21001
21002 \end_inset
21003
21004
21005 \newline
21006
21007 \newline
21008 As you can see in the example, the first line of greyed out notes is a bit
21009  indented and greyed out notes can have footnotes.
21010 \end_layout
21011
21012 \begin_layout Description
21013 Framed This note will appear in the output as framed text.
21014  Its note-box looks like this:
21015 \newline
21016
21017 \newline
21018
21019 \begin_inset Graphics
21020         filename clipart/FramedNoteImageQt4.png
21021         display none
21022         scale 85
21023
21024 \end_inset
21025
21026  
21027 \begin_inset Note Framed
21028 status open
21029
21030 \begin_layout Standard
21031 This is text in a note box that appears framed in the output.
21032 \end_layout
21033
21034 \end_inset
21035
21036  In contrary to framed boxes
21037 \begin_inset Foot
21038 status collapsed
21039
21040 \begin_layout Standard
21041 Framed boxes are described in section\InsetSpace ~
21042
21043 \begin_inset LatexCommand ref
21044 reference "sec:Framed-Boxes"
21045
21046 \end_inset
21047
21048 .
21049 \end_layout
21050
21051 \end_inset
21052
21053  the frame uses always the whole text width and the note is set into its
21054  own paragraph.
21055 \end_layout
21056
21057 \begin_layout Description
21058 Shaded This note will appear in the output with red background color.
21059  Its note box looks like this:
21060 \newline
21061
21062 \newline
21063
21064 \begin_inset Graphics
21065         filename clipart/ShadedNoteImageQt4.png
21066         display none
21067         scale 85
21068
21069 \end_inset
21070
21071
21072 \begin_inset Note Shaded
21073 status open
21074
21075 \begin_layout Standard
21076 This text in a note box appears in the output with red background.
21077 \end_layout
21078
21079 \end_inset
21080
21081 In contrary to colored boxes
21082 \begin_inset Foot
21083 status collapsed
21084
21085 \begin_layout Standard
21086 Colored boxes are described in section\InsetSpace ~
21087
21088 \begin_inset LatexCommand ref
21089 reference "sec:Colored-Boxes"
21090
21091 \end_inset
21092
21093 .
21094 \end_layout
21095
21096 \end_inset
21097
21098  the note uses always the whole text width and the note is set into its
21099  own paragraph.
21100 \end_layout
21101
21102 \begin_layout Standard
21103 \begin_inset VSpace bigskip
21104 \end_inset
21105
21106 When you use the toolbar button to insert notes, a 
21107 \family sans
21108 LyX\InsetSpace ~
21109 Note
21110 \family default
21111  is inserted.
21112  You can switch between the three note types by right-clicking on the note-box.
21113  
21114 \family roman
21115 \series medium
21116 \bar no
21117 If you want to turn existing text into a note, mark it and click on the
21118  note
21119 \family default
21120 \series default
21121 \bar default
21122  toolbar 
21123 \family roman
21124 \series medium
21125 \bar no
21126 button
21127 \family default
21128 \series default
21129 \bar default
21130 .
21131 \end_layout
21132
21133 \begin_layout Standard
21134 \begin_inset VSpace bigskip
21135 \end_inset
21136
21137 You can change the text color of the greyed out notes in the preamble with
21138  the following command:
21139 \end_layout
21140
21141 \begin_layout Standard
21142
21143 \series bold
21144
21145 \backslash
21146 renewenvironment{lyxgreyedout}
21147 \newline
21148
21149 \begin_inset ERT
21150 status collapsed
21151
21152 \begin_layout Standard
21153
21154
21155 \backslash
21156 hphantom{ }
21157 \end_layout
21158
21159 \end_inset
21160
21161 {
21162 \backslash
21163 textcolor{color}
21164 \backslash
21165 bgroup}{
21166 \backslash
21167 egroup}
21168 \end_layout
21169
21170 \begin_layout Standard
21171 The available colors and the method to define own colors is explained in
21172  section\InsetSpace ~
21173
21174 \begin_inset LatexCommand ref
21175 reference "sec:Colored-Tables"
21176
21177 \end_inset
21178
21179 .
21180 \end_layout
21181
21182 \begin_layout Standard
21183 Notes that appear in blue in this document are set using greyed out notes
21184  with blue text.
21185 \end_layout
21186
21187 \begin_layout Standard
21188 \begin_inset VSpace bigskip
21189 \end_inset
21190
21191
21192 \end_layout
21193
21194 \begin_layout Standard
21195 The text style of 
21196 \family sans
21197 Framed
21198 \family default
21199  and 
21200 \family sans
21201 Shaded
21202 \family default
21203  notes can be set in the 
21204 \family sans
21205 Text Style
21206 \family default
21207  dialog.
21208 \end_layout
21209
21210 \begin_layout Standard
21211 The default frame width for 
21212 \family sans
21213 Framed
21214 \family default
21215  notes is 0.4\InsetSpace \thinspace{}
21216 pt; it can be changed by changing the size 
21217 \series bold
21218
21219 \backslash
21220 FrameRule
21221 \series default
21222 .
21223  The default space between the note content and the frame is 9\InsetSpace \thinspace{}
21224 pt; it can
21225  be changed by changing the size 
21226 \series bold
21227
21228 \backslash
21229 FrameSep
21230 \series default
21231 .
21232  For example the frame appearance of the following 
21233 \family sans
21234 Framed
21235 \family default
21236  note is set with the ERT commands
21237 \end_layout
21238
21239 \begin_layout Standard
21240
21241 \series bold
21242
21243 \backslash
21244 FrameRule 5pt 
21245 \backslash
21246 FrameSep 0.5cm
21247 \end_layout
21248
21249 \begin_layout Standard
21250 \begin_inset ERT
21251 status collapsed
21252
21253 \begin_layout Standard
21254
21255
21256 \backslash
21257 FrameRule 5pt 
21258 \backslash
21259 FrameSep 0.5cm
21260 \end_layout
21261
21262 \end_inset
21263
21264
21265 \begin_inset Note Framed
21266 status open
21267
21268 \begin_layout Standard
21269 This is text in a 
21270 \family sans
21271 Framed
21272 \family default
21273  note.
21274 \end_layout
21275
21276 \end_inset
21277
21278
21279 \begin_inset ERT
21280 status collapsed
21281
21282 \begin_layout Standard
21283
21284
21285 \backslash
21286 FrameRule 0.4pt 
21287 \backslash
21288 FrameSep 9pt
21289 \end_layout
21290
21291 \end_inset
21292
21293
21294 \end_layout
21295
21296 \begin_layout Standard
21297 \begin_inset VSpace bigskip
21298 \end_inset
21299
21300
21301 \end_layout
21302
21303 \begin_layout Standard
21304 For 
21305 \family sans
21306 Shaded
21307 \family default
21308  notes the default space between the note content and the note border is
21309  3\InsetSpace \thinspace{}
21310 pt; it can be changed by changing the size 
21311 \series bold
21312
21313 \backslash
21314 fboxsep
21315 \series default
21316 .
21317 \newline
21318 The default background color red can be changed with the command 
21319 \series bold
21320
21321 \backslash
21322 def\SpecialChar \textcompwordmark{}
21323 inecolor{shadebox}
21324 \series default
21325 .
21326  The scheme of the 
21327 \series bold
21328
21329 \backslash
21330 def\SpecialChar \textcompwordmark{}
21331 inecolor
21332 \series default
21333  command is explained in section\InsetSpace ~
21334
21335 \begin_inset LatexCommand ref
21336 reference "sec:Colored-Tables"
21337
21338 \end_inset
21339
21340
21341 \begin_inset Foot
21342 status collapsed
21343
21344 \begin_layout Standard
21345 Note that 
21346 \series bold
21347
21348 \backslash
21349 def
21350 \series default
21351 \SpecialChar \textcompwordmark{}
21352
21353 \series bold
21354 inecolor
21355 \series default
21356  requires the LaTeX-package 
21357 \series bold
21358 color
21359 \series default
21360  in the preamble, see section\InsetSpace ~
21361
21362 \begin_inset LatexCommand ref
21363 reference "sec:Colored-Boxes"
21364
21365 \end_inset
21366
21367 .
21368 \end_layout
21369
21370 \end_inset
21371
21372 .
21373 \end_layout
21374
21375 \begin_layout Standard
21376 For example the appearance of the following 
21377 \family sans
21378 Shaded
21379 \family default
21380  note is set with the ERT commands
21381 \end_layout
21382
21383 \begin_layout Standard
21384
21385 \series bold
21386
21387 \backslash
21388 fboxsep 0.5cm
21389 \series default
21390
21391 \newline
21392
21393 \series bold
21394
21395 \backslash
21396 def\SpecialChar \textcompwordmark{}
21397 inecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
21398 \end_layout
21399
21400 \begin_layout Standard
21401 \begin_inset ERT
21402 status collapsed
21403
21404 \begin_layout Standard
21405
21406
21407 \backslash
21408 fboxsep 0.5cm
21409 \end_layout
21410
21411 \end_inset
21412
21413
21414 \begin_inset ERT
21415 status collapsed
21416
21417 \begin_layout Standard
21418
21419
21420 \backslash
21421 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
21422 \end_layout
21423
21424 \end_inset
21425
21426
21427 \begin_inset Note Shaded
21428 status open
21429
21430 \begin_layout Standard
21431
21432 \color yellow
21433 This is yellow text in a
21434 \color none
21435  
21436 \family sans
21437 \color yellow
21438 Shaded
21439 \family default
21440 \color none
21441  
21442 \color yellow
21443 note with darkgreen background.
21444 \end_layout
21445
21446 \end_inset
21447
21448
21449 \begin_inset ERT
21450 status collapsed
21451
21452 \begin_layout Standard
21453
21454
21455 \backslash
21456 fboxsep 3pt
21457 \end_layout
21458
21459 \end_inset
21460
21461
21462 \begin_inset ERT
21463 status collapsed
21464
21465 \begin_layout Standard
21466
21467
21468 \backslash
21469 definecolor{shadecolor}{rgb}{1,0,0}
21470 \end_layout
21471
21472 \end_inset
21473
21474
21475 \end_layout
21476
21477 \begin_layout Section
21478 Footnotes
21479 \begin_inset LatexCommand label
21480 name "sec:Footnotes"
21481
21482 \end_inset
21483
21484
21485 \begin_inset LatexCommand index
21486 name "Notes ! Footnotes"
21487
21488 \end_inset
21489
21490
21491 \begin_inset LatexCommand index
21492 name "Footnotes"
21493
21494 \end_inset
21495
21496
21497 \end_layout
21498
21499 \begin_layout Standard
21500 Footnotes can be inserted using the toolbar button 
21501 \begin_inset Graphics
21502         filename ../images/footnote-insert.xpm
21503         scale 85
21504
21505 \end_inset
21506
21507  or the menu 
21508 \family sans
21509 Insert\SpecialChar \menuseparator
21510 Footnote
21511 \family default
21512 .
21513  
21514 \family roman
21515 \series medium
21516 \bar no
21517 You'll see
21518 \family default
21519 \series default
21520 \bar default
21521  then the following footnote-box: 
21522 \begin_inset Graphics
21523         filename clipart/footnoteQt4.png
21524         scale 80
21525
21526 \end_inset
21527
21528  
21529 \family roman
21530 \series medium
21531 \bar no
21532 where you can enter the footnote text.
21533  If you want to turn existing text into a footnote, mark it and click on
21534  the footnote
21535 \family default
21536 \series default
21537 \bar default
21538  toolbar 
21539 \family roman
21540 \series medium
21541 \bar no
21542 button
21543 \family default
21544 \series default
21545 \bar default
21546 .
21547 \end_layout
21548
21549 \begin_layout Standard
21550 Here is an example footnote:
21551 \family roman
21552 \series medium
21553 \bar no
21554
21555 \begin_inset Foot
21556 status open
21557
21558 \begin_layout Standard
21559 \begin_inset LatexCommand label
21560 name "foot:This-is-an"
21561
21562 \end_inset
21563
21564 This is an example footnote.
21565 \end_layout
21566
21567 \end_inset
21568
21569
21570 \family default
21571 \series default
21572 \bar default
21573
21574 \begin_inset ERT
21575 status collapsed
21576
21577 \begin_layout Standard
21578
21579
21580 \backslash
21581 newcounter{MyRepeatFoot}
21582 \end_layout
21583
21584 \begin_layout Standard
21585
21586
21587 \backslash
21588 setcounter{MyRepeatFoot}{
21589 \backslash
21590 thefootnote}
21591 \end_layout
21592
21593 \end_inset
21594
21595
21596 \end_layout
21597
21598 \begin_layout Standard
21599 The footnote will appear in the output as a superscript number at the text
21600  position where the footnote box is placed.
21601  The footnote text is placed at the bottom of the current page.
21602  The footnote number is calculated by LaTeX, the numbers are consecutive.
21603  It depends on your document-class, if the footnote number is reset for
21604  every chapter.
21605 \end_layout
21606
21607 \begin_layout Standard
21608 Footnotes can be referenced like floats: Insert a label into the footnote
21609  and cross-reference this label in the text as described in section\InsetSpace ~
21610
21611 \begin_inset LatexCommand ref
21612 reference "sec:Referencing-Floats"
21613
21614 \end_inset
21615
21616 .
21617 \newline
21618 This is a cross-reference of Footnote\InsetSpace ~
21619
21620 \begin_inset LatexCommand ref
21621 reference "foot:This-is-an"
21622
21623 \end_inset
21624
21625 .
21626 \newline
21627
21628 \begin_inset Note Greyedout
21629 status open
21630
21631 \begin_layout Standard
21632
21633 \series bold
21634 Note:
21635 \series default
21636  LyX doesn't provide a prefix for labels in footnotes, so you have to insert
21637  e.\InsetSpace \thinspace{}
21638 g.\InsetSpace ~
21639 the prefix 
21640 \family sans
21641
21642 \begin_inset Quotes eld
21643 \end_inset
21644
21645 foot:
21646 \family default
21647
21648 \begin_inset Quotes erd
21649 \end_inset
21650
21651  manually when you want to use the reference style 
21652 \family sans
21653 Formatted\InsetSpace ~
21654 reference
21655 \family default
21656 .
21657 \end_layout
21658
21659 \end_inset
21660
21661
21662 \end_layout
21663
21664 \begin_layout Standard
21665 \begin_inset VSpace defskip
21666 \end_inset
21667
21668 To use footnotes within tables, you have to use minipages, see section\InsetSpace ~
21669
21670 \begin_inset LatexCommand ref
21671 reference "sec:Minipages"
21672
21673 \end_inset
21674
21675 .
21676  Footnotes within longtables are described in section\InsetSpace ~
21677
21678 \begin_inset LatexCommand ref
21679 reference "sub:Footnotes-in-Longtables"
21680
21681 \end_inset
21682
21683 .
21684 \end_layout
21685
21686 \begin_layout Standard
21687 \begin_inset VSpace defskip
21688 \end_inset
21689
21690 To create only a mark for a footnote, use the command 
21691 \series bold
21692
21693 \backslash
21694 footnotemark[number]
21695 \series default
21696  in ERT.
21697  This is used when you have the same annotation several times in a text
21698  but doesn't want to print the footnote text every time.
21699 \newline
21700 As you don't know
21701  the number of the repeating footnote while you are writing the text, you
21702  have to store its number.
21703  For the following footnote mark example, these commands were inserted in
21704  ERT behind Footnote\InsetSpace ~
21705
21706 \begin_inset LatexCommand ref
21707 reference "foot:This-is-an"
21708
21709 \end_inset
21710
21711  to store the footnote number:
21712 \end_layout
21713
21714 \begin_layout Standard
21715
21716 \series bold
21717
21718 \backslash
21719 newcounter{MyRepeatFoot}
21720 \newline
21721
21722 \backslash
21723 setcounter{MyRepeatFoot}{
21724 \backslash
21725 thefootnote}
21726 \end_layout
21727
21728 \begin_layout Standard
21729 The footnote mark was then created with this command:
21730 \end_layout
21731
21732 \begin_layout Standard
21733
21734 \series bold
21735
21736 \backslash
21737 footnotemark[
21738 \backslash
21739 theMyRepeatFoot]
21740 \end_layout
21741
21742 \begin_layout Standard
21743 Here is an example footnote mark:
21744 \family roman
21745 \series medium
21746 \bar no
21747
21748 \begin_inset ERT
21749 status collapsed
21750
21751 \begin_layout Standard
21752
21753
21754 \backslash
21755 footnotemark[
21756 \backslash
21757 theMyRepeatFoot]
21758 \end_layout
21759
21760 \end_inset
21761
21762
21763 \end_layout
21764
21765 \begin_layout Subsection
21766 Footnote Numbering
21767 \begin_inset LatexCommand label
21768 name "sub:Footnote-Numbering"
21769
21770 \end_inset
21771
21772
21773 \begin_inset LatexCommand index
21774 name "Footnotes ! Numbering"
21775
21776 \end_inset
21777
21778
21779 \end_layout
21780
21781 \begin_layout Standard
21782 If you want to have footnotes numbered in the scheme 
21783 \begin_inset Quotes eld
21784 \end_inset
21785
21786 chapter.footnote
21787 \begin_inset Quotes erd
21788 \end_inset
21789
21790 , add the following command to your document preamble:
21791 \end_layout
21792
21793 \begin_layout Standard
21794
21795 \series bold
21796
21797 \backslash
21798 numberwithin{footnote}{chapter}
21799 \end_layout
21800
21801 \begin_layout Standard
21802 To be able to use the command 
21803 \series bold
21804
21805 \backslash
21806 numberwithin
21807 \series default
21808 , set in the tab 
21809 \family sans
21810 Math\InsetSpace ~
21811 Options
21812 \family default
21813  in the document settings the option 
21814 \family sans
21815 Use\InsetSpace ~
21816 AMS\InsetSpace ~
21817 math\InsetSpace ~
21818 package
21819 \family default
21820 .
21821 \end_layout
21822
21823 \begin_layout Standard
21824 \begin_inset ERT
21825 status collapsed
21826
21827 \begin_layout Standard
21828
21829
21830 \backslash
21831 numberwithin{footnote}{chapter}
21832 \end_layout
21833
21834 \end_inset
21835
21836 This is another example footnote:
21837 \series bold
21838
21839 \begin_inset Foot
21840 status open
21841
21842 \begin_layout Standard
21843 This is a footnote numbered in the scheme 
21844 \begin_inset Quotes eld
21845 \end_inset
21846
21847 chapter.footnote
21848 \begin_inset Quotes erd
21849 \end_inset
21850
21851 .
21852 \end_layout
21853
21854 \end_inset
21855
21856
21857 \series default
21858
21859 \begin_inset ERT
21860 status collapsed
21861
21862 \begin_layout Standard
21863
21864
21865 \backslash
21866 numberwithin{footnote}{part}
21867 \end_layout
21868
21869 \end_inset
21870
21871
21872 \end_layout
21873
21874 \begin_layout Standard
21875 \begin_inset VSpace bigskip
21876 \end_inset
21877
21878
21879 \end_layout
21880
21881 \begin_layout Standard
21882 To reset the footnote number back to 1 after each section
21883 \family roman
21884 , add this command to your document preamble:
21885 \end_layout
21886
21887 \begin_layout Standard
21888
21889 \series bold
21890
21891 \backslash
21892 @addtoreset{footnote}{section}
21893 \end_layout
21894
21895 \begin_layout Standard
21896 \begin_inset VSpace bigskip
21897 \end_inset
21898
21899 The following preamble command changes the footnote numbering style to small
21900  roman numerals:
21901 \end_layout
21902
21903 \begin_layout Standard
21904
21905 \series bold
21906
21907 \backslash
21908 renewcommand{
21909 \backslash
21910 thefootnote}{
21911 \backslash
21912 roman{footnote}}
21913 \end_layout
21914
21915 \begin_layout Standard
21916 \begin_inset ERT
21917 status collapsed
21918
21919 \begin_layout Standard
21920
21921
21922 \backslash
21923 renewcommand{
21924 \backslash
21925 thefootnote}{
21926 \backslash
21927 roman{footnote}}
21928 \end_layout
21929
21930 \end_inset
21931
21932  This is a footnote with roman numbering:
21933 \begin_inset Foot
21934 status open
21935
21936 \begin_layout Standard
21937 This is an example footnote with roman numbering.
21938 \end_layout
21939
21940 \end_inset
21941
21942
21943 \begin_inset ERT
21944 status collapsed
21945
21946 \begin_layout Standard
21947
21948
21949 \backslash
21950 renewcommand{
21951 \backslash
21952 thefootnote}{
21953 \backslash
21954 arabic{footnote}}
21955 \end_layout
21956
21957 \end_inset
21958
21959
21960 \end_layout
21961
21962 \begin_layout Standard
21963 To change the numbering style to capital roman numerals replace in the command
21964  above 
21965 \series bold
21966
21967 \backslash
21968 roman
21969 \series default
21970  by 
21971 \series bold
21972
21973 \backslash
21974 Roman
21975 \series default
21976 .
21977  To 
21978 \begin_inset Quotes eld
21979 \end_inset
21980
21981 number
21982 \begin_inset Quotes erd
21983 \end_inset
21984
21985  footnotes with capital or small Latin letters use 
21986 \series bold
21987
21988 \backslash
21989 Alph
21990 \series default
21991  or 
21992 \series bold
21993
21994 \backslash
21995 alph
21996 \series default
21997 , respectively.
21998  To 
21999 \begin_inset Quotes eld
22000 \end_inset
22001
22002 number
22003 \begin_inset Quotes erd
22004 \end_inset
22005
22006  footnotes with symbols use 
22007 \series bold
22008
22009 \backslash
22010 fnsymbol
22011 \series default
22012 .
22013 \end_layout
22014
22015 \begin_layout Standard
22016 \begin_inset Note Greyedout
22017 status open
22018
22019 \begin_layout Standard
22020
22021 \series bold
22022 Note:
22023 \series default
22024  You can only number 26 footnotes with Latin letters, because this numbering
22025  is limited to single letters.
22026 \end_layout
22027
22028 \end_inset
22029
22030
22031 \newline
22032
22033 \begin_inset Note Greyedout
22034 status open
22035
22036 \begin_layout Standard
22037
22038 \series bold
22039 Note:
22040 \series default
22041  You can only number 9 footnotes with symbols.
22042 \end_layout
22043
22044 \end_inset
22045
22046
22047 \end_layout
22048
22049 \begin_layout Standard
22050 To return to the default numbering style when you changed to another one,
22051  use 
22052 \series bold
22053
22054 \backslash
22055 arabic
22056 \series default
22057  instead of 
22058 \series bold
22059
22060 \backslash
22061 roman
22062 \series default
22063  in the command above.
22064 \end_layout
22065
22066 \begin_layout Subsection
22067 Footnote Placement
22068 \begin_inset LatexCommand index
22069 name "Footnotes ! Placement"
22070
22071 \end_inset
22072
22073
22074 \end_layout
22075
22076 \begin_layout Standard
22077 If you have several footnotes in one page, they appear without vertical
22078  space between them at the bottom of the page.
22079  To make them better readable you can e.\InsetSpace \thinspace{}
22080 g.\InsetSpace ~
22081 add 1.5\InsetSpace \thinspace{}
22082 mm space with the following
22083  preamble command:
22084 \end_layout
22085
22086 \begin_layout Standard
22087
22088 \series bold
22089
22090 \backslash
22091 let
22092 \backslash
22093 myFoot
22094 \backslash
22095 footnote
22096 \newline
22097
22098 \backslash
22099 renewcommand{
22100 \backslash
22101 footnote}[1]{
22102 \backslash
22103 myFoot{#1
22104 \backslash
22105 vspace{1.5mm}}}
22106 \end_layout
22107
22108 \begin_layout Standard
22109 \begin_inset VSpace bigskip
22110 \end_inset
22111
22112 In a two-column document the footnotes appear at the bottom of every column,
22113  see Figure\InsetSpace ~
22114
22115 \begin_inset LatexCommand ref
22116 reference "fig:Standard-footnote-placement"
22117
22118 \end_inset
22119
22120 .
22121  If the footnotes should only appear at the bottom of the right column,
22122  as in Figure\InsetSpace ~
22123
22124 \begin_inset LatexCommand ref
22125 reference "fig:Footnote-placement-in"
22126
22127 \end_inset
22128
22129 , use the LaTeX-package 
22130 \series bold
22131 ftnright
22132 \series default
22133
22134 \begin_inset LatexCommand index
22135 name "LaTeX-packages ! ftnright"
22136
22137 \end_inset
22138
22139  with this command in the document preamble:
22140 \end_layout
22141
22142 \begin_layout Standard
22143
22144 \series bold
22145
22146 \backslash
22147 usepackage{ftnright}
22148 \end_layout
22149
22150 \begin_layout Standard
22151 \begin_inset Float figure
22152 placement !h
22153 wide false
22154 sideways false
22155 status open
22156
22157 \begin_layout Standard
22158 \begin_inset ERT
22159 status collapsed
22160
22161 \begin_layout Standard
22162
22163
22164 \backslash
22165 framebox{
22166 \end_layout
22167
22168 \end_inset
22169
22170
22171 \begin_inset Graphics
22172         filename clipart/without_fntright.pdf
22173         width 100col%
22174
22175 \end_inset
22176
22177
22178 \begin_inset ERT
22179 status collapsed
22180
22181 \begin_layout Standard
22182
22183 }
22184 \end_layout
22185
22186 \end_inset
22187
22188
22189 \end_layout
22190
22191 \begin_layout Standard
22192 \begin_inset Caption
22193
22194 \begin_layout Standard
22195 \begin_inset LatexCommand label
22196 name "fig:Standard-footnote-placement"
22197
22198 \end_inset
22199
22200 Standard footnote placement in two-column documents.
22201 \end_layout
22202
22203 \end_inset
22204
22205
22206 \end_layout
22207
22208 \end_inset
22209
22210
22211 \end_layout
22212
22213 \begin_layout Standard
22214 \begin_inset Float figure
22215 placement !h
22216 wide false
22217 sideways false
22218 status open
22219
22220 \begin_layout Standard
22221 \begin_inset ERT
22222 status collapsed
22223
22224 \begin_layout Standard
22225
22226
22227 \backslash
22228 framebox{
22229 \end_layout
22230
22231 \end_inset
22232
22233
22234 \begin_inset Graphics
22235         filename clipart/with_fntright.pdf
22236         width 100col%
22237
22238 \end_inset
22239
22240
22241 \begin_inset ERT
22242 status collapsed
22243
22244 \begin_layout Standard
22245
22246 }
22247 \end_layout
22248
22249 \end_inset
22250
22251
22252 \end_layout
22253
22254 \begin_layout Standard
22255 \begin_inset Caption
22256
22257 \begin_layout Standard
22258 \begin_inset LatexCommand label
22259 name "fig:Footnote-placement-in"
22260
22261 \end_inset
22262
22263 Footnote placement in two-column documents when the LaTeX-package 
22264 \series bold
22265 ftnright
22266 \series default
22267  is used.
22268 \end_layout
22269
22270 \end_inset
22271
22272
22273 \end_layout
22274
22275 \end_inset
22276
22277
22278 \end_layout
22279
22280 \begin_layout Standard
22281 \begin_inset VSpace bigskip
22282 \end_inset
22283
22284 In some scientific literature it is usual to collect the footnotes and print
22285  them in a separate paragraph at the the end of a section, like in Figure\InsetSpace ~
22286
22287 \begin_inset LatexCommand ref
22288 reference "fig:Endnotes----footnotes"
22289
22290 \end_inset
22291
22292 .
22293  They are then so called 
22294 \begin_inset Quotes eld
22295 \end_inset
22296
22297 endnotes
22298 \begin_inset Quotes erd
22299 \end_inset
22300
22301 .
22302  To use endnotes instead of footnotes in your document, load the LaTeX-package
22303  
22304 \series bold
22305 endnotes
22306 \series default
22307
22308 \begin_inset LatexCommand index
22309 name "LaTeX-packages ! endnotes"
22310
22311 \end_inset
22312
22313  with the document preamble lines
22314 \end_layout
22315
22316 \begin_layout Standard
22317
22318 \series bold
22319
22320 \backslash
22321 usepackage{endnotes}
22322 \newline
22323
22324 \backslash
22325 let
22326 \backslash
22327 footnote
22328 \backslash
22329 endnote
22330 \end_layout
22331
22332 \begin_layout Standard
22333 To insert the collected footnotes, insert the command
22334 \end_layout
22335
22336 \begin_layout Standard
22337
22338 \series bold
22339
22340 \backslash
22341 theendnotes
22342 \end_layout
22343
22344 \begin_layout Standard
22345 in ERT at the the end of a section or chapter.
22346 \end_layout
22347
22348 \begin_layout Standard
22349 \begin_inset Float figure
22350 wide false
22351 sideways false
22352 status open
22353
22354 \begin_layout Standard
22355 \align center
22356 \begin_inset ERT
22357 status collapsed
22358
22359 \begin_layout Standard
22360
22361
22362 \backslash
22363 framebox{
22364 \end_layout
22365
22366 \end_inset
22367
22368
22369 \begin_inset Graphics
22370         filename clipart/endnotes.pdf
22371
22372 \end_inset
22373
22374
22375 \begin_inset ERT
22376 status collapsed
22377
22378 \begin_layout Standard
22379
22380 }
22381 \end_layout
22382
22383 \end_inset
22384
22385
22386 \end_layout
22387
22388 \begin_layout Standard
22389 \begin_inset Caption
22390
22391 \begin_layout Standard
22392 \begin_inset LatexCommand label
22393 name "fig:Endnotes----footnotes"
22394
22395 \end_inset
22396
22397 Endnotes -- footnotes are printed in a separate paragraph at the end of
22398  sections or chapters.
22399 \end_layout
22400
22401 \end_inset
22402
22403
22404 \end_layout
22405
22406 \end_inset
22407
22408
22409 \end_layout
22410
22411 \begin_layout Standard
22412 \begin_inset VSpace defskip
22413 \end_inset
22414
22415 The paragraph heading for the endnotes isn't automatically translated into
22416  the document language, this must be done manually.
22417  The following preamble command translate the default English name 
22418 \begin_inset Quotes eld
22419 \end_inset
22420
22421 Notes
22422 \begin_inset Quotes erd
22423 \end_inset
22424
22425  to the German translation 
22426 \begin_inset Quotes eld
22427 \end_inset
22428
22429 Anmerkungen
22430 \begin_inset Quotes erd
22431 \end_inset
22432
22433 :
22434 \end_layout
22435
22436 \begin_layout Standard
22437
22438 \series bold
22439
22440 \backslash
22441 renewcommand{
22442 \backslash
22443 notesname}{Anmerkungen}
22444 \end_layout
22445
22446 \begin_layout Standard
22447 \begin_inset VSpace defskip
22448 \end_inset
22449
22450 The numbering of endnotes can be changed like the footnote numbering as
22451  described in section\InsetSpace ~
22452
22453 \begin_inset LatexCommand ref
22454 reference "sub:Footnote-Numbering"
22455
22456 \end_inset
22457
22458 ; just replace the command 
22459 \series bold
22460
22461 \backslash
22462 thefootnote
22463 \series default
22464  by 
22465 \series bold
22466
22467 \backslash
22468 theendnote
22469 \series default
22470 .
22471  To reset the endnote number use the command 
22472 \series bold
22473
22474 \backslash
22475 @addtoreset
22476 \series default
22477  as described in section\InsetSpace ~
22478
22479 \begin_inset LatexCommand ref
22480 reference "sub:Footnote-Numbering"
22481
22482 \end_inset
22483
22484  and replace the command parameter 
22485 \series bold
22486 footnote
22487 \series default
22488  by 
22489 \series bold
22490 endnote
22491 \series default
22492 .
22493 \end_layout
22494
22495 \begin_layout Standard
22496 To create only a mark for an endnote, use the command 
22497 \series bold
22498
22499 \backslash
22500 endnotemark[number]
22501 \series default
22502  similar to the command 
22503 \series bold
22504
22505 \backslash
22506 footnotemark
22507 \series default
22508 , described in section\InsetSpace ~
22509
22510 \begin_inset LatexCommand ref
22511 reference "sec:Footnotes"
22512
22513 \end_inset
22514
22515 .
22516 \end_layout
22517
22518 \begin_layout Standard
22519 \begin_inset VSpace bigskip
22520 \end_inset
22521
22522 Footnotes can also be placed in the page margin and the footnote text alignment
22523  can be changed, see the LaTeX-package 
22524 \series bold
22525 footmisc
22526 \series default
22527
22528 \begin_inset LatexCommand index
22529 name "LaTeX-packages ! footmisc"
22530
22531 \end_inset
22532
22533
22534 \begin_inset LatexCommand cite
22535 key "footmisc"
22536
22537 \end_inset
22538
22539  for more information about this.
22540 \end_layout
22541
22542 \begin_layout Standard
22543 For various further footnote formatting issues have a look at LaTeX-books,
22544  
22545 \begin_inset LatexCommand cite
22546 key "latexcompanion,latexguide,latexbook"
22547
22548 \end_inset
22549
22550 .
22551 \end_layout
22552
22553 \begin_layout Section
22554 Margin Notes
22555 \begin_inset LatexCommand index
22556 name "Notes ! Margin Notes"
22557
22558 \end_inset
22559
22560
22561 \end_layout
22562
22563 \begin_layout Standard
22564 Margin notes look and behave in LyX like footnotes.
22565  They are inserted via the menu 
22566 \family sans
22567 Insert\SpecialChar \menuseparator
22568 Marginal\InsetSpace ~
22569 Note
22570 \family default
22571  or the toolbar button 
22572 \begin_inset Graphics
22573         filename ../images/marginalnote-insert.xpm
22574         scale 85
22575
22576 \end_inset
22577
22578 .
22579  A grey 
22580 \family roman
22581 \series medium
22582 box with the
22583 \family default
22584 \series default
22585  red 
22586 \family roman
22587 \series medium
22588 label 
22589 \begin_inset Quotes eld
22590 \end_inset
22591
22592 margin
22593 \begin_inset Quotes erd
22594 \end_inset
22595
22596  appears where you can enter the text of the margin note.
22597 \end_layout
22598
22599 \begin_layout Standard
22600 At the side is an example margin note.
22601 \family roman
22602 \series medium
22603
22604 \begin_inset Marginal
22605 status open
22606
22607 \begin_layout Standard
22608 This is a margin note.
22609 \end_layout
22610
22611 \end_inset
22612
22613
22614 \end_layout
22615
22616 \begin_layout Standard
22617 Margin notes appear at the right side in single-sided documents.
22618  In double-sided documents they appear in the outer margin -- left on even
22619  pages, right on odd pages.
22620  The text of margin notes is aligned opposite to the outer margin -- right-align
22621 ed when the note appears in the left margin.
22622  The first line of the margin note is placed at the position of the text
22623  line where it is inserted in the document.
22624 \end_layout
22625
22626 \begin_layout Standard
22627 \begin_inset VSpace bigskip
22628 \end_inset
22629
22630 To place the margin note in the inner margin, add the command
22631 \end_layout
22632
22633 \begin_layout Standard
22634
22635 \series bold
22636
22637 \backslash
22638 reversemarginpar
22639 \end_layout
22640
22641 \begin_layout Standard
22642 in ERT before a margin note.
22643  The new placement is valid for all following margin notes.
22644 \begin_inset ERT
22645 status collapsed
22646
22647 \begin_layout Standard
22648
22649
22650 \backslash
22651 reversemarginpar 
22652 \end_layout
22653
22654 \end_inset
22655
22656
22657 \begin_inset Marginal
22658 status open
22659
22660 \begin_layout Standard
22661 This is a margin note in the inner margin.
22662 \end_layout
22663
22664 \end_inset
22665
22666
22667 \series bold
22668
22669 \newline
22670
22671 \series default
22672
22673 \begin_inset Note Greyedout
22674 status open
22675
22676 \begin_layout Standard
22677
22678 \series bold
22679 Note:
22680 \series default
22681  There is often not enough space in the inner margin so that the notes are
22682  not correctly displayed in the output.
22683 \end_layout
22684
22685 \end_inset
22686
22687
22688 \end_layout
22689
22690 \begin_layout Standard
22691 \begin_inset ERT
22692 status collapsed
22693
22694 \begin_layout Standard
22695
22696
22697 \backslash
22698 normalmarginpar 
22699 \end_layout
22700
22701 \end_inset
22702
22703 To return to the default placement insert the command
22704 \end_layout
22705
22706 \begin_layout Standard
22707
22708 \series bold
22709
22710 \backslash
22711 normalmarginpar
22712 \end_layout
22713
22714 \begin_layout Standard
22715 in ERT.
22716  
22717 \begin_inset Note Greyedout
22718 status open
22719
22720 \begin_layout Standard
22721
22722 \series bold
22723 Note:
22724 \series default
22725  The command is ignored when it is within a paragraph where also the command
22726  
22727 \series bold
22728
22729 \backslash
22730 reversemarginpar
22731 \series default
22732  is inserted.
22733 \end_layout
22734
22735 \end_inset
22736
22737
22738 \end_layout
22739
22740 \begin_layout Standard
22741 \begin_inset VSpace bigskip
22742 \end_inset
22743
22744
22745 \family roman
22746 \series medium
22747
22748 \begin_inset Marginal
22749 status open
22750
22751 \begin_layout Standard
22752 AVeryLongMarginParWord that isn't hyphenated.
22753 \end_layout
22754
22755 \end_inset
22756
22757
22758 \family default
22759 \series default
22760 Similar to the case described in section\InsetSpace ~
22761
22762 \begin_inset LatexCommand ref
22763 reference "sub:Multiple-Lines-in"
22764
22765 \end_inset
22766
22767 , long words cannot be hyphenated when they are the first word in a margin
22768  note.
22769  To avoid this, insert the command
22770 \end_layout
22771
22772 \begin_layout Standard
22773
22774 \series bold
22775
22776 \backslash
22777 hspace{0pt}
22778 \end_layout
22779
22780 \begin_layout Standard
22781 in ERT before the word
22782 \family roman
22783 \series medium
22784 .
22785 \begin_inset Marginal
22786 status open
22787
22788 \begin_layout Standard
22789 \begin_inset ERT
22790 status collapsed
22791
22792 \begin_layout Standard
22793
22794
22795 \backslash
22796 hspace{0pt}
22797 \end_layout
22798
22799 \end_inset
22800
22801 AVeryLongMarginParWord that is hyphenated.
22802 \end_layout
22803
22804 \end_inset
22805
22806
22807 \end_layout
22808
22809 \begin_layout Standard
22810 \begin_inset VSpace bigskip
22811 \end_inset
22812
22813
22814 \end_layout
22815
22816 \begin_layout Standard
22817 \begin_inset Note Greyedout
22818 status open
22819
22820 \begin_layout Standard
22821
22822 \series bold
22823 Note:
22824 \series default
22825  Margin notes can normally not be used inside tables, floats, and footnotes.
22826 \end_layout
22827
22828 \end_inset
22829
22830
22831 \end_layout
22832
22833 \begin_layout Standard
22834 \begin_inset VSpace bigskip
22835 \end_inset
22836
22837
22838 \end_layout
22839
22840 \begin_layout Standard
22841 \begin_inset ERT
22842 status collapsed
22843
22844 \begin_layout Standard
22845
22846
22847 \backslash
22848 ifmarginnote
22849 \end_layout
22850
22851 \end_inset
22852
22853
22854 \begin_inset Note Note
22855 status open
22856
22857 \begin_layout Standard
22858 The following section will only be displayed when you have the LaTeX-package
22859  
22860 \series bold
22861 marginnote
22862 \series default
22863  is installed.
22864 \end_layout
22865
22866 \end_inset
22867
22868
22869 \end_layout
22870
22871 \begin_layout Standard
22872 This restriction can be evaded by using the LaTeX-package 
22873 \series bold
22874 marginnote
22875 \series default
22876
22877 \begin_inset LatexCommand index
22878 name "LaTeX-packages ! marginnote"
22879
22880 \end_inset
22881
22882 .
22883  By adding these two lines to your document preamble, the command used by
22884  LyX for margin notes is redefined to use the command provided by the 
22885 \series bold
22886 marginnote
22887 \series default
22888 -package:
22889 \end_layout
22890
22891 \begin_layout Standard
22892
22893 \series bold
22894
22895 \backslash
22896 usepackage{marginnote}
22897 \newline
22898
22899 \backslash
22900 let
22901 \backslash
22902 marginpar
22903 \backslash
22904 marginnote
22905 \end_layout
22906
22907 \begin_layout Standard
22908 This is also used in this document because 
22909 \series bold
22910 marginnote
22911 \series default
22912  has another useful feature: You can set a vertical offset for the note.
22913  This is often needed when too many margin notes are too close together
22914  or for a better page layout.
22915  The offset is set in LyX as ERT directly behind the margin note in the
22916  scheme
22917 \end_layout
22918
22919 \begin_layout Standard
22920
22921 \series bold
22922 [offset]
22923 \end_layout
22924
22925 \begin_layout Standard
22926 where the offset is a length with one of the units listed in Table\InsetSpace ~
22927
22928 \begin_inset LatexCommand ref
22929 reference "tab:Units"
22930
22931 \end_inset
22932
22933 .
22934  A negative value shifts the note up, a positive value shifts it down.
22935  
22936 \family roman
22937 \series medium
22938 For example the margin note beside this text line is shifted up 1.5\InsetSpace \thinspace{}
22939 cm with
22940  the ERT-command 
22941 \begin_inset Quotes eld
22942 \end_inset
22943
22944
22945 \family default
22946 \series bold
22947 [-1.5cm]
22948 \family roman
22949 \series medium
22950
22951 \begin_inset Quotes erd
22952 \end_inset
22953
22954
22955 \begin_inset Marginal
22956 status open
22957
22958 \begin_layout Standard
22959 This margin note is shifted up 1.5\InsetSpace \thinspace{}
22960 cm from its original position.
22961 \end_layout
22962
22963 \end_inset
22964
22965
22966 \family default
22967 \series default
22968
22969 \begin_inset ERT
22970 status collapsed
22971
22972 \begin_layout Standard
22973
22974 [-1.5cm]
22975 \end_layout
22976
22977 \end_inset
22978
22979
22980 \end_layout
22981
22982 \begin_layout Standard
22983 \begin_inset VSpace defskip
22984 \end_inset
22985
22986 With 
22987 \series bold
22988 marginnote
22989 \series default
22990  you can also change the alignment of the text in the margin note.
22991  For example the commands
22992 \end_layout
22993
22994 \begin_layout Standard
22995
22996 \series bold
22997
22998 \backslash
22999 renewcommand*{
23000 \backslash
23001 raggedleftmarginnote}{
23002 \backslash
23003 centering}
23004 \newline
23005
23006 \backslash
23007 renewcommand*{
23008 \backslash
23009 raggedrightmarginnote}{
23010 \backslash
23011 centering}
23012 \end_layout
23013
23014 \begin_layout Standard
23015 set the alignment to centered.
23016  
23017 \series bold
23018
23019 \backslash
23020 raggedleftmarginnote
23021 \series default
23022  denotes margin notes that appear at the left side.
23023 \family roman
23024 \series medium
23025
23026 \begin_inset ERT
23027 status collapsed
23028
23029 \begin_layout Standard
23030
23031
23032 \backslash
23033 renewcommand*{
23034 \backslash
23035 raggedleftmarginnote}{
23036 \backslash
23037 centering}
23038 \end_layout
23039
23040 \begin_layout Standard
23041
23042
23043 \backslash
23044 renewcommand*{
23045 \backslash
23046 raggedrightmarginnote}{
23047 \backslash
23048 centering}
23049 \end_layout
23050
23051 \end_inset
23052
23053
23054 \begin_inset Marginal
23055 status open
23056
23057 \begin_layout Standard
23058 The text of this margin note is centered.
23059 \end_layout
23060
23061 \end_inset
23062
23063
23064 \family default
23065 \series default
23066  The default is
23067 \end_layout
23068
23069 \begin_layout Standard
23070
23071 \series bold
23072
23073 \backslash
23074 renewcommand*{
23075 \backslash
23076 raggedleftmarginnote}{
23077 \backslash
23078 raggedleft}
23079 \newline
23080
23081 \backslash
23082 renewcommand*{
23083 \backslash
23084 raggedrightmarginnote}{
23085 \backslash
23086 raggedright}
23087 \family roman
23088 \series medium
23089
23090 \begin_inset ERT
23091 status collapsed
23092
23093 \begin_layout Standard
23094
23095
23096 \backslash
23097 renewcommand*{
23098 \backslash
23099 raggedleftmarginnote}{
23100 \backslash
23101 raggedleft}
23102 \end_layout
23103
23104 \begin_layout Standard
23105
23106
23107 \backslash
23108 renewcommand*{
23109 \backslash
23110 raggedrightmarginnote}{
23111 \backslash
23112 raggedright}
23113 \end_layout
23114
23115 \end_inset
23116
23117
23118 \end_layout
23119
23120 \begin_layout Standard
23121 \begin_inset VSpace defskip
23122 \end_inset
23123
23124 For the other features of 
23125 \series bold
23126 marginnote
23127 \series default
23128  we refer to its documentation 
23129 \begin_inset LatexCommand cite
23130 key "marginnote"
23131
23132 \end_inset
23133
23134 .
23135 \end_layout
23136
23137 \begin_layout Standard
23138 \begin_inset VSpace bigskip
23139 \end_inset
23140
23141 You can change the layout of margin notes by redefining its definition.
23142  To create for example a header for all margin notes with the underlined,
23143  sans-serif, and bold header text 
23144 \begin_inset Quotes eld
23145 \end_inset
23146
23147
23148 \family sans
23149 \series bold
23150 \bar under
23151 Attention!
23152 \family default
23153 \series default
23154 \bar default
23155
23156 \begin_inset Quotes erd
23157 \end_inset
23158
23159 , add this to your document preamble:
23160 \end_layout
23161
23162 \begin_layout Standard
23163
23164 \series bold
23165
23166 \backslash
23167 let
23168 \backslash
23169 myMarginpar
23170 \backslash
23171 marginpar
23172 \newline
23173
23174 \backslash
23175 renewcommand{
23176 \backslash
23177 marginpar}[1]{
23178 \backslash
23179 myMarginpar{%
23180 \newline
23181
23182 \begin_inset ERT
23183 status collapsed
23184
23185 \begin_layout Standard
23186
23187
23188 \backslash
23189 hphantom{ }
23190 \end_layout
23191
23192 \end_inset
23193
23194
23195 \backslash
23196 hspace{0pt}
23197 \backslash
23198 textsf{
23199 \backslash
23200 textbf{
23201 \backslash
23202 underbar{Attention!}}}%
23203 \newline
23204
23205 \begin_inset ERT
23206 status collapsed
23207
23208 \begin_layout Standard
23209
23210
23211 \backslash
23212 hphantom{ }
23213 \end_layout
23214
23215 \end_inset
23216
23217
23218 \backslash
23219 vspace{1.5mm}
23220 \backslash
23221
23222 \backslash
23223 #1}}
23224 \end_layout
23225
23226 \begin_layout Standard
23227
23228 \family roman
23229 \series medium
23230 \begin_inset ERT
23231 status collapsed
23232
23233 \begin_layout Standard
23234
23235
23236 \backslash
23237 let
23238 \backslash
23239 myMarginpar
23240 \backslash
23241 marginpar
23242 \end_layout
23243
23244 \begin_layout Standard
23245
23246
23247 \backslash
23248 renewcommand{
23249 \backslash
23250 marginpar}[1]{
23251 \backslash
23252 myMarginpar{%
23253 \end_layout
23254
23255 \begin_layout Standard
23256
23257    
23258 \backslash
23259 textsf{
23260 \backslash
23261 textbf{
23262 \backslash
23263 underbar{Attention!}}}%
23264 \end_layout
23265
23266 \begin_layout Standard
23267
23268    
23269 \backslash
23270 vspace{1.5mm}
23271 \backslash
23272
23273 \backslash
23274 #1}}
23275 \end_layout
23276
23277 \end_inset
23278
23279
23280 \begin_inset Marginal
23281 status open
23282
23283 \begin_layout Standard
23284 This is a margin note with a defined heading.
23285 \end_layout
23286
23287 \end_inset
23288
23289
23290 \family default
23291 \series default
23292
23293 \begin_inset ERT
23294 status collapsed
23295
23296 \begin_layout Standard
23297
23298 [-1.5cm]
23299 \end_layout
23300
23301 \end_inset
23302
23303
23304 \family roman
23305 \series medium
23306
23307 \begin_inset ERT
23308 status collapsed
23309
23310 \begin_layout Standard
23311
23312
23313 \backslash
23314 renewcommand{
23315 \backslash
23316 marginpar}[1]{
23317 \backslash
23318 myMarginpar{#1}}
23319 \end_layout
23320
23321 \end_inset
23322
23323
23324 \family default
23325 \series default
23326
23327 \begin_inset Note Note
23328 status collapsed
23329
23330 \begin_layout Standard
23331 The margin note format is changed only for this example.
23332 \end_layout
23333
23334 \end_inset
23335
23336
23337 \end_layout
23338
23339 \begin_layout Standard
23340 \begin_inset ERT
23341 status collapsed
23342
23343 \begin_layout Standard
23344
23345
23346 \backslash
23347 else
23348 \end_layout
23349
23350 \end_inset
23351
23352
23353 \begin_inset Note Note
23354 status open
23355
23356 \begin_layout Standard
23357 The following will be displayed when the LaTeX-package 
23358 \series bold
23359 marginnote
23360 \series default
23361  is not installed:
23362 \end_layout
23363
23364 \end_inset
23365
23366
23367 \end_layout
23368
23369 \begin_layout Standard
23370 You need to install the LaTeX-package 
23371 \series bold
23372 marginnote
23373 \series default
23374  to see the following part of this section in the output.
23375 \end_layout
23376
23377 \begin_layout Standard
23378 \begin_inset ERT
23379 status collapsed
23380
23381 \begin_layout Standard
23382
23383
23384 \backslash
23385 fi
23386 \end_layout
23387
23388 \end_inset
23389
23390
23391 \end_layout
23392
23393 \begin_layout Chapter
23394 Boxes
23395 \end_layout
23396
23397 \begin_layout Section
23398 Introduction
23399 \begin_inset LatexCommand index
23400 name "Boxes ! Introduction"
23401
23402 \end_inset
23403
23404
23405 \end_layout
23406
23407 \begin_layout Standard
23408 Boxes are used to format a block of text.
23409  Boxes can be used to write documents with multiple languages, see section\InsetSpace ~
23410
23411 \begin_inset LatexCommand ref
23412 reference "sec:Minipages"
23413
23414 \end_inset
23415
23416 , to frame texts, see section\InsetSpace ~
23417
23418 \begin_inset LatexCommand ref
23419 reference "sec:Framed-Boxes"
23420
23421 \end_inset
23422
23423 , to prevent words to be hyphenated, see section\InsetSpace ~
23424
23425 \begin_inset LatexCommand ref
23426 reference "sec:Prevent-Hyphenation"
23427
23428 \end_inset
23429
23430 , to align text, see section\InsetSpace ~
23431
23432 \begin_inset LatexCommand ref
23433 reference "sub:Vertical-Alignment"
23434
23435 \end_inset
23436
23437 , or to set the background color of texts, see section\InsetSpace ~
23438
23439 \begin_inset LatexCommand ref
23440 reference "sec:Colored-Boxes"
23441
23442 \end_inset
23443
23444 .
23445 \end_layout
23446
23447 \begin_layout Standard
23448 Boxes can be inserted with the menu 
23449 \family sans
23450 Insert\SpecialChar \menuseparator
23451 Box
23452 \family default
23453 .
23454  A grey box with the label 
23455 \family sans
23456 Box (Minipage)
23457 \family default
23458
23459 \begin_inset Graphics
23460         filename clipart/BoxInsetDefaultQt4.png
23461         scale 85
23462
23463 \end_inset
23464
23465 , will be inserted.
23466  The box type can be specified by right-clicking on the box.
23467  The appearing box dialog offers the 
23468 \family sans
23469 Inner\InsetSpace ~
23470 Box
23471 \family default
23472  types 
23473 \family sans
23474 Parbox
23475 \family default
23476  and 
23477 \family sans
23478 Minipage
23479 \family default
23480 .
23481  The type 
23482 \family sans
23483 Minipage
23484 \family default
23485  is the default for new boxes and is explained in section\InsetSpace ~
23486
23487 \begin_inset LatexCommand ref
23488 reference "sec:Minipages"
23489
23490 \end_inset
23491
23492 ; the type 
23493 \family sans
23494 Parbox
23495 \family default
23496  is described in section\InsetSpace ~
23497
23498 \begin_inset LatexCommand ref
23499 reference "sec:Parboxes"
23500
23501 \end_inset
23502
23503 .
23504 \end_layout
23505
23506 \begin_layout Standard
23507 Boxes aren't numbered and can therefore not be referenced like floats or
23508  footnotes.
23509 \end_layout
23510
23511 \begin_layout Standard
23512 \begin_inset Note Greyedout
23513 status open
23514
23515 \begin_layout Standard
23516
23517 \series bold
23518 Note:
23519 \series default
23520  Due to a bug in LyX you have to insert a protected space behind a box when
23521  you want to separate in a line the box from the following text with a space.
23522 \end_layout
23523
23524 \end_inset
23525
23526
23527 \end_layout
23528
23529 \begin_layout Standard
23530 \begin_inset Note Greyedout
23531 status open
23532
23533 \begin_layout Standard
23534
23535 \series bold
23536 Note:
23537 \series default
23538  Boxes must not be the item in an 
23539 \family sans
23540 Itemize
23541 \family default
23542  or 
23543 \family sans
23544 Description
23545 \family default
23546  environment.
23547 \end_layout
23548
23549 \end_inset
23550
23551
23552 \end_layout
23553
23554 \begin_layout Standard
23555 \begin_inset Note Greyedout
23556 status open
23557
23558 \begin_layout Standard
23559
23560 \series bold
23561 Note:
23562 \series default
23563  For an unknown reason you can only set the 
23564 \family sans
23565 Inner\InsetSpace ~
23566 Box
23567 \family default
23568  type to 
23569 \family sans
23570 None
23571 \family default
23572  when you use a framed box.
23573  Boxes without an 
23574 \family sans
23575 Inner\InsetSpace ~
23576 Box
23577 \family default
23578  type and without frames are explained in section\InsetSpace ~
23579
23580 \begin_inset LatexCommand ref
23581 reference "sec:Prevent-Hyphenation"
23582
23583 \end_inset
23584
23585 .
23586 \end_layout
23587
23588 \end_inset
23589
23590
23591 \end_layout
23592
23593 \begin_layout Section
23594 Box Dialog
23595 \begin_inset LatexCommand label
23596 name "sec:Box-Dialog"
23597
23598 \end_inset
23599
23600
23601 \begin_inset LatexCommand index
23602 name "Boxes ! Box Dialog"
23603
23604 \end_inset
23605
23606
23607 \begin_inset LatexCommand index
23608 name "Boxes ! Alignment"
23609
23610 \end_inset
23611
23612
23613 \end_layout
23614
23615 \begin_layout Standard
23616 In the box dialog you can adjust the box geometry in the fields 
23617 \family sans
23618 Width
23619 \family default
23620  and 
23621 \family sans
23622 Height
23623 \family default
23624 .
23625  The available units for the geometry are explained in Table\InsetSpace ~
23626
23627 \begin_inset LatexCommand ref
23628 reference "tab:Units"
23629
23630 \end_inset
23631
23632 .
23633  The field 
23634 \family sans
23635 Heigth
23636 \family default
23637  offers the following additional sizes:
23638 \end_layout
23639
23640 \begin_layout Description
23641 Depth This is the plain text 
23642 \begin_inset Quotes eld
23643 \end_inset
23644
23645 height
23646 \begin_inset Quotes erd
23647 \end_inset
23648
23649 .
23650  It ignores the total depth when there are multiple text lines in the box:
23651 \newline
23652
23653 \newline
23654
23655 \newline
23656
23657 \begin_inset Box Boxed
23658 position "c"
23659 hor_pos "c"
23660 has_inner_box 1
23661 inner_pos "c"
23662 use_parbox 0
23663 width "12col%"
23664 special "none"
23665 height "1in"
23666 height_special "depth"
23667 status collapsed
23668
23669 \begin_layout Standard
23670 \align center
23671 Box height set to 1\InsetSpace \thinspace{}
23672 Depth
23673 \end_layout
23674
23675 \end_inset
23676
23677
23678 \newline
23679
23680 \newline
23681
23682 \end_layout
23683
23684 \begin_layout Description
23685 Height This is the heigth of the text that is inside the box.
23686  A value of e.\InsetSpace \thinspace{}
23687 g.\InsetSpace ~
23688 2 for this size will set the box heigth to 2 times the text
23689  height: 
23690 \begin_inset Box Boxed
23691 position "c"
23692 hor_pos "c"
23693 has_inner_box 1
23694 inner_pos "c"
23695 use_parbox 0
23696 width "20col%"
23697 special "none"
23698 height "2in"
23699 height_special "height"
23700 status collapsed
23701
23702 \begin_layout Standard
23703 \align center
23704 Box height set to 2\InsetSpace \thinspace{}
23705 Height
23706 \end_layout
23707
23708 \end_inset
23709
23710
23711 \end_layout
23712
23713 \begin_layout Description
23714 Total\InsetSpace ~
23715 Height This is the Height\InsetSpace \thinspace{}
23716 +\InsetSpace \thinspace{}
23717 Depth: 
23718 \begin_inset Box Boxed
23719 position "c"
23720 hor_pos "c"
23721 has_inner_box 1
23722 inner_pos "c"
23723 use_parbox 0
23724 width "20col%"
23725 special "none"
23726 height "1in"
23727 height_special "totalheight"
23728 status collapsed
23729
23730 \begin_layout Standard
23731 \align center
23732 Box height set to 1\InsetSpace \thinspace{}
23733 Total\InsetSpace ~
23734 Height
23735 \end_layout
23736
23737 \end_inset
23738
23739
23740 \end_layout
23741
23742 \begin_layout Description
23743 Width This set the width of the box as heigth: 
23744 \begin_inset Box Boxed
23745 position "c"
23746 hor_pos "c"
23747 has_inner_box 1
23748 inner_pos "c"
23749 use_parbox 0
23750 width "12col%"
23751 special "none"
23752 height "1in"
23753 height_special "width"
23754 status collapsed
23755
23756 \begin_layout Standard
23757 \align center
23758 Box height set to 1\InsetSpace \thinspace{}
23759 Width
23760 \end_layout
23761
23762 \end_inset
23763
23764
23765 \end_layout
23766
23767 \begin_layout Standard
23768 \begin_inset VSpace bigskip
23769 \end_inset
23770
23771 When you have chosen an 
23772 \family sans
23773 Inner\InsetSpace ~
23774 Box
23775 \family default
23776 , the vertical box alignment can be:
23777 \end_layout
23778
23779 \begin_layout Description
23780 Top This is an example text line.
23781  
23782 \begin_inset Box Boxed
23783 position "t"
23784 hor_pos "c"
23785 has_inner_box 1
23786 inner_pos "c"
23787 use_parbox 0
23788 width "12col%"
23789 special "none"
23790 height "1in"
23791 height_special "totalheight"
23792 status collapsed
23793
23794 \begin_layout Standard
23795 \align center
23796 This box is top-aligned.
23797 \end_layout
23798
23799 \end_inset
23800
23801 \InsetSpace ~
23802 This is an example text line.
23803 \end_layout
23804
23805 \begin_layout Description
23806 Middle This is an example text line.
23807  
23808 \begin_inset Box Boxed
23809 position "c"
23810 hor_pos "c"
23811 has_inner_box 1
23812 inner_pos "c"
23813 use_parbox 0
23814 width "12col%"
23815 special "none"
23816 height "1in"
23817 height_special "totalheight"
23818 status collapsed
23819
23820 \begin_layout Standard
23821 \align center
23822 This box is middle-aligned.
23823 \end_layout
23824
23825 \end_inset
23826
23827 \InsetSpace ~
23828 This is an example text line.
23829 \end_layout
23830
23831 \begin_layout Description
23832 Bottom This is an example text line.
23833  
23834 \begin_inset Box Boxed
23835 position "b"
23836 hor_pos "c"
23837 has_inner_box 1
23838 inner_pos "c"
23839 use_parbox 0
23840 width "12col%"
23841 special "none"
23842 height "1in"
23843 height_special "totalheight"
23844 status collapsed
23845
23846 \begin_layout Standard
23847 \align center
23848 This box is bottom-aligned.
23849 \end_layout
23850
23851 \end_inset
23852
23853 \InsetSpace ~
23854 This is an example text line.
23855 \end_layout
23856
23857 \begin_layout Standard
23858 The horizontal box alignment can be set via LyX's paragraph dialog when
23859  you set the box into its own paragraph.
23860 \end_layout
23861
23862 \begin_layout Standard
23863 \begin_inset VSpace bigskip
23864 \end_inset
23865
23866 When you have chosen an 
23867 \family sans
23868 Inner\InsetSpace ~
23869 Box
23870 \family default
23871 , the box content can be vertical aligned to:
23872 \end_layout
23873
23874 \begin_layout Description
23875 top This is an example text line.
23876  
23877 \begin_inset Box Boxed
23878 position "c"
23879 hor_pos "c"
23880 has_inner_box 1
23881 inner_pos "t"
23882 use_parbox 0
23883 width "12col%"
23884 special "none"
23885 height "1.5in"
23886 height_special "totalheight"
23887 status collapsed
23888
23889 \begin_layout Standard
23890 \align center
23891 This box text is top-aligned.
23892 \end_layout
23893
23894 \end_inset
23895
23896 \InsetSpace ~
23897 This is an example text line.
23898 \end_layout
23899
23900 \begin_layout Description
23901 middle This is an example text line.
23902  
23903 \begin_inset Box Boxed
23904 position "c"
23905 hor_pos "c"
23906 has_inner_box 1
23907 inner_pos "c"
23908 use_parbox 0
23909 width "12col%"
23910 special "none"
23911 height "1.5in"
23912 height_special "totalheight"
23913 status collapsed
23914
23915 \begin_layout Standard
23916 \align center
23917 This box text is middle-aligned.
23918 \end_layout
23919
23920 \end_inset
23921
23922 \InsetSpace ~
23923 This is an example text line.
23924 \end_layout
23925
23926 \begin_layout Description
23927 bottom This is an example text line.
23928  
23929 \begin_inset Box Boxed
23930 position "c"
23931 hor_pos "c"
23932 has_inner_box 1
23933 inner_pos "b"
23934 use_parbox 0
23935 width "12col%"
23936 special "none"
23937 height "1.5in"
23938 height_special "totalheight"
23939 status collapsed
23940
23941 \begin_layout Standard
23942 \align center
23943 This box text is bottom-aligned.
23944 \end_layout
23945
23946 \end_inset
23947
23948 \InsetSpace ~
23949 This is an example text line.
23950 \end_layout
23951
23952 \begin_layout Description
23953 stretch This is an example text line.
23954  
23955 \begin_inset Box Boxed
23956 position "c"
23957 hor_pos "c"
23958 has_inner_box 1
23959 inner_pos "s"
23960 use_parbox 0
23961 width "12col%"
23962 special "none"
23963 height "1.5in"
23964 height_special "totalheight"
23965 status collapsed
23966
23967 \begin_layout Standard
23968 \align center
23969 This box
23970 \end_layout
23971
23972 \begin_layout Standard
23973 \align center
23974 text is
23975 \end_layout
23976
23977 \begin_layout Standard
23978 \align center
23979 stretched.
23980 \end_layout
23981
23982 \end_inset
23983
23984 \InsetSpace ~
23985 This is an example text line.
23986 \end_layout
23987
23988 \begin_layout Standard
23989 To stretch the box content, it must consist of more than one paragraph.
23990  In the example above every text line is in an own paragraph.
23991 \end_layout
23992
23993 \begin_layout Standard
23994 \begin_inset VSpace bigskip
23995 \end_inset
23996
23997 To align the box content horizontally you can use LyX's paragraph dialog
23998  when you have chosen an 
23999 \family sans
24000 Inner\InsetSpace ~
24001 Box
24002 \family default
24003 .
24004 \end_layout
24005
24006 \begin_layout Standard
24007 \align center
24008 \begin_inset Box Boxed
24009 position "c"
24010 hor_pos "c"
24011 has_inner_box 1
24012 inner_pos "s"
24013 use_parbox 0
24014 width "15col%"
24015 special "none"
24016 height "1.25in"
24017 height_special "totalheight"
24018 status collapsed
24019
24020 \begin_layout Standard
24021 \align left
24022 This box
24023 \end_layout
24024
24025 \begin_layout Standard
24026 \align center
24027 text is
24028 \end_layout
24029
24030 \begin_layout Standard
24031 \align right
24032 stretched.
24033 \end_layout
24034
24035 \end_inset
24036
24037
24038 \end_layout
24039
24040 \begin_layout Standard
24041 If you haven't set an 
24042 \family sans
24043 Inner\InsetSpace ~
24044 Box
24045 \family default
24046 , you can align the box content horizontally in the box dialog.
24047 \end_layout
24048
24049 \begin_layout Standard
24050 \align center
24051 \begin_inset Box Boxed
24052 position "c"
24053 hor_pos "s"
24054 has_inner_box 0
24055 inner_pos "s"
24056 use_parbox 0
24057 width "90col%"
24058 special "none"
24059 height "1.25in"
24060 height_special "totalheight"
24061 status collapsed
24062
24063 \begin_layout Standard
24064 \align left
24065 This box text is horizontally stretched.
24066 \end_layout
24067
24068 \end_inset
24069
24070
24071 \end_layout
24072
24073 \begin_layout Section
24074 Framed Boxes
24075 \begin_inset LatexCommand label
24076 name "sec:Framed-Boxes"
24077
24078 \end_inset
24079
24080
24081 \begin_inset LatexCommand index
24082 name "Boxes ! Frames"
24083
24084 \end_inset
24085
24086
24087 \end_layout
24088
24089 \begin_layout Standard
24090 The frame style of the box can be specified in the box-dialog in the drop-down
24091  list 
24092 \family sans
24093 Type
24094 \family default
24095 .
24096  The following frame types are possible:
24097 \end_layout
24098
24099 \begin_layout Description
24100 Rectangular\InsetSpace ~
24101 box This draws a rectangle frame around the box.
24102  The frame line thickness has the size of 
24103 \series bold
24104
24105 \backslash
24106 fboxrule
24107 \series default
24108 .
24109  
24110 \begin_inset Box Boxed
24111 position "c"
24112 hor_pos "c"
24113 has_inner_box 1
24114 inner_pos "c"
24115 use_parbox 0
24116 width "20col%"
24117 special "none"
24118 height "1in"
24119 height_special "totalheight"
24120 status collapsed
24121
24122 \begin_layout Standard
24123 \align center
24124 Rectangular box
24125 \end_layout
24126
24127 \end_inset
24128
24129
24130 \end_layout
24131
24132 \begin_layout Description
24133 Oval\InsetSpace ~
24134 box,\InsetSpace ~
24135 thin This draws an oval frame around the box.
24136  The frame line thickness has the size 0.4\InsetSpace \thinspace{}
24137 pt.
24138  
24139 \begin_inset Box ovalbox
24140 position "c"
24141 hor_pos "c"
24142 has_inner_box 1
24143 inner_pos "c"
24144 use_parbox 0
24145 width "20col%"
24146 special "none"
24147 height "1in"
24148 height_special "totalheight"
24149 status collapsed
24150
24151 \begin_layout Standard
24152 \align center
24153 Oval box, thin
24154 \end_layout
24155
24156 \end_inset
24157
24158
24159 \end_layout
24160
24161 \begin_layout Description
24162 Oval\InsetSpace ~
24163 box,\InsetSpace ~
24164 thick This draws an oval frame around the box.
24165  The frame line thickness has the size 0.8\InsetSpace \thinspace{}
24166 pt.
24167  
24168 \begin_inset Box Ovalbox
24169 position "c"
24170 hor_pos "c"
24171 has_inner_box 1
24172 inner_pos "c"
24173 use_parbox 0
24174 width "20col%"
24175 special "none"
24176 height "1in"
24177 height_special "totalheight"
24178 status collapsed
24179
24180 \begin_layout Standard
24181 \align center
24182 Oval box, thick
24183 \end_layout
24184
24185 \end_inset
24186
24187
24188 \end_layout
24189
24190 \begin_layout Description
24191 Shadow\InsetSpace ~
24192 box This draws a rectangle frame with a shadow around the box.
24193  The frame line thickness has the size of 
24194 \series bold
24195
24196 \backslash
24197 fboxrule
24198 \series default
24199 , the shadow has a width of 4\InsetSpace \thinspace{}
24200 pt.
24201  
24202 \begin_inset Box Shadowbox
24203 position "c"
24204 hor_pos "c"
24205 has_inner_box 1
24206 inner_pos "c"
24207 use_parbox 0
24208 width "20col%"
24209 special "none"
24210 height "1in"
24211 height_special "totalheight"
24212 status collapsed
24213
24214 \begin_layout Standard
24215 \align center
24216 Shadow box
24217 \end_layout
24218
24219 \end_inset
24220
24221
24222 \end_layout
24223
24224 \begin_layout Description
24225 Double\InsetSpace ~
24226 box This draws a double-line rectangle frame around the box.
24227  The line thickness of the inner frame is 0.75\InsetSpace \thinspace{}
24228
24229 \series bold
24230
24231 \backslash
24232 fboxrule
24233 \series default
24234 , the thickness of the outer frame is 1.5\InsetSpace \thinspace{}
24235
24236 \series bold
24237
24238 \backslash
24239 fboxrule
24240 \series default
24241 .
24242  The distance between the lines is 1.5\InsetSpace \thinspace{}
24243
24244 \series bold
24245
24246 \backslash
24247 fboxrule
24248 \series default
24249 \InsetSpace \thinspace{}
24250 +\InsetSpace \thinspace{}
24251 0.5\InsetSpace \thinspace{}
24252 pt.
24253  
24254 \begin_inset Box Doublebox
24255 position "c"
24256 hor_pos "c"
24257 has_inner_box 1
24258 inner_pos "c"
24259 use_parbox 0
24260 width "20col%"
24261 special "none"
24262 height "1in"
24263 height_special "totalheight"
24264 status collapsed
24265
24266 \begin_layout Standard
24267 \align center
24268 Double box
24269 \end_layout
24270
24271 \end_inset
24272
24273
24274 \end_layout
24275
24276 \begin_layout Standard
24277 \begin_inset VSpace bigskip
24278 \end_inset
24279
24280 LyX's box label will change to the used frame style when you set a frame.
24281  To be able to use the different frame styles, the LaTeX-package 
24282 \series bold
24283 fancybox
24284 \series default
24285
24286 \begin_inset LatexCommand index
24287 name "LaTeX-packages ! fancybox"
24288
24289 \end_inset
24290
24291  must be installed.
24292 \end_layout
24293
24294 \begin_layout Standard
24295 \begin_inset VSpace bigskip
24296 \end_inset
24297
24298 The default value for the size 
24299 \series bold
24300
24301 \backslash
24302 fboxrule
24303 \series default
24304  is 0.4\InsetSpace \thinspace{}
24305 pt.
24306  It can be changed with the following command in ERT to e.\InsetSpace \thinspace{}
24307 g.\InsetSpace ~
24308 2\InsetSpace \thinspace{}
24309 pt:
24310 \end_layout
24311
24312 \begin_layout Standard
24313
24314 \series bold
24315
24316 \backslash
24317 setlength{
24318 \backslash
24319 fboxrule}{2pt}
24320 \end_layout
24321
24322 \begin_layout Standard
24323 \begin_inset ERT
24324 status collapsed
24325
24326 \begin_layout Standard
24327
24328
24329 \backslash
24330 setlength{
24331 \backslash
24332 fboxrule}{2pt}
24333 \end_layout
24334
24335 \end_inset
24336
24337
24338 \begin_inset Box Boxed
24339 position "c"
24340 hor_pos "c"
24341 has_inner_box 1
24342 inner_pos "c"
24343 use_parbox 0
24344 width "25col%"
24345 special "none"
24346 height "1in"
24347 height_special "totalheight"
24348 status collapsed
24349
24350 \begin_layout Standard
24351 \align center
24352 Rectangular box with 
24353 \series bold
24354
24355 \backslash
24356 fboxrule
24357 \series default
24358 \InsetSpace \thinspace{}
24359 =\InsetSpace \thinspace{}
24360 2\InsetSpace \thinspace{}
24361 pt
24362 \end_layout
24363
24364 \end_inset
24365
24366
24367 \begin_inset ERT
24368 status collapsed
24369
24370 \begin_layout Standard
24371
24372
24373 \backslash
24374 setlength{
24375 \backslash
24376 fboxrule}{0.4pt}
24377 \end_layout
24378
24379 \end_inset
24380
24381
24382 \end_layout
24383
24384 \begin_layout Standard
24385 \begin_inset VSpace bigskip
24386 \end_inset
24387
24388 The space between the frame and the box content is for all frame styles
24389  by default 3\InsetSpace \thinspace{}
24390 pt.
24391  You can change it by setting the length 
24392 \series bold
24393
24394 \backslash
24395 fboxsep
24396 \series default
24397  to another value.
24398  For example the command
24399 \end_layout
24400
24401 \begin_layout Standard
24402
24403 \series bold
24404
24405 \backslash
24406 setlength{
24407 \backslash
24408 fboxsep}{10pt}
24409 \end_layout
24410
24411 \begin_layout Standard
24412 sets the value to 10\InsetSpace \thinspace{}
24413 pt, like for the following box:
24414 \end_layout
24415
24416 \begin_layout Standard
24417 \begin_inset ERT
24418 status collapsed
24419
24420 \begin_layout Standard
24421
24422
24423 \backslash
24424 setlength{
24425 \backslash
24426 fboxsep}{10pt}
24427 \end_layout
24428
24429 \end_inset
24430
24431
24432 \begin_inset Box Boxed
24433 position "c"
24434 hor_pos "c"
24435 has_inner_box 1
24436 inner_pos "c"
24437 use_parbox 0
24438 width "25col%"
24439 special "none"
24440 height "1in"
24441 height_special "totalheight"
24442 status collapsed
24443
24444 \begin_layout Standard
24445 \align center
24446 Rectangular box with 
24447 \series bold
24448
24449 \backslash
24450 fboxsep
24451 \series default
24452 \InsetSpace \thinspace{}
24453 =\InsetSpace \thinspace{}
24454 10\InsetSpace \thinspace{}
24455 pt
24456 \end_layout
24457
24458 \end_inset
24459
24460
24461 \begin_inset ERT
24462 status collapsed
24463
24464 \begin_layout Standard
24465
24466
24467 \backslash
24468 setlength{
24469 \backslash
24470 fboxsep}{3pt}
24471 \end_layout
24472
24473 \end_inset
24474
24475
24476 \end_layout
24477
24478 \begin_layout Standard
24479 \begin_inset VSpace bigskip
24480 \end_inset
24481
24482 The diameter of the round corners of the oval boxes can be set with the
24483  command 
24484 \series bold
24485
24486 \backslash
24487 cornersize
24488 \series default
24489 .
24490  The command
24491 \end_layout
24492
24493 \begin_layout Standard
24494
24495 \series bold
24496
24497 \backslash
24498 cornersize*{1cm}
24499 \end_layout
24500
24501 \begin_layout Standard
24502 sets the diameter to 1\InsetSpace \thinspace{}
24503 cm.
24504  The command
24505 \end_layout
24506
24507 \begin_layout Standard
24508
24509 \series bold
24510
24511 \backslash
24512 cornersize{num}
24513 \end_layout
24514
24515 \begin_layout Standard
24516 sets the diameter to 
24517 \family sans
24518 num\InsetSpace \thinspace{}
24519 ×\InsetSpace \thinspace{}
24520 minimum(width and heigth of box)
24521 \family default
24522 .
24523  The default is 
24524 \series bold
24525
24526 \backslash
24527 cornersize{0.5}
24528 \series default
24529 .
24530 \end_layout
24531
24532 \begin_layout Standard
24533 \begin_inset ERT
24534 status collapsed
24535
24536 \begin_layout Standard
24537
24538
24539 \backslash
24540 cornersize*{1.5cm}
24541 \end_layout
24542
24543 \end_inset
24544
24545
24546 \begin_inset Box Ovalbox
24547 position "c"
24548 hor_pos "c"
24549 has_inner_box 1
24550 inner_pos "c"
24551 use_parbox 0
24552 width "25col%"
24553 special "none"
24554 height "1in"
24555 height_special "totalheight"
24556 status collapsed
24557
24558 \begin_layout Standard
24559 \align center
24560 Oval box with 
24561 \series bold
24562
24563 \backslash
24564 cornersize
24565 \series default
24566 \InsetSpace \thinspace{}
24567 =\InsetSpace \thinspace{}
24568 1.5\InsetSpace \thinspace{}
24569 cm
24570 \end_layout
24571
24572 \end_inset
24573
24574
24575 \begin_inset ERT
24576 status collapsed
24577
24578 \begin_layout Standard
24579
24580
24581 \backslash
24582 cornersize{0.5}
24583 \end_layout
24584
24585 \end_inset
24586
24587
24588 \end_layout
24589
24590 \begin_layout Standard
24591 \begin_inset VSpace bigskip
24592 \end_inset
24593
24594 The size of the shadow can be adjusted by changing the length 
24595 \series bold
24596
24597 \backslash
24598 shadowsize
24599 \series default
24600 .
24601  It it set to 2\InsetSpace \thinspace{}
24602 pt for the following box by this command:
24603 \end_layout
24604
24605 \begin_layout Standard
24606
24607 \series bold
24608
24609 \backslash
24610 setlength{
24611 \backslash
24612 shadowsize}{2pt}
24613 \end_layout
24614
24615 \begin_layout Standard
24616 \begin_inset ERT
24617 status collapsed
24618
24619 \begin_layout Standard
24620
24621
24622 \backslash
24623 setlength{
24624 \backslash
24625 shadowsize}{2pt}
24626 \end_layout
24627
24628 \end_inset
24629
24630
24631 \begin_inset Box Shadowbox
24632 position "c"
24633 hor_pos "c"
24634 has_inner_box 1
24635 inner_pos "c"
24636 use_parbox 0
24637 width "25col%"
24638 special "none"
24639 height "1in"
24640 height_special "totalheight"
24641 status collapsed
24642
24643 \begin_layout Standard
24644 \align center
24645 Shadow box with 
24646 \series bold
24647
24648 \backslash
24649 shadowsize
24650 \series default
24651 \InsetSpace \thinspace{}
24652 =\InsetSpace \thinspace{}
24653 2\InsetSpace \thinspace{}
24654 pt
24655 \end_layout
24656
24657 \end_inset
24658
24659
24660 \begin_inset ERT
24661 status collapsed
24662
24663 \begin_layout Standard
24664
24665
24666 \backslash
24667 setlength{
24668 \backslash
24669 shadowsize}{4pt}
24670 \end_layout
24671
24672 \end_inset
24673
24674
24675 \end_layout
24676
24677 \begin_layout Standard
24678 \begin_inset VSpace bigskip
24679 \end_inset
24680
24681 Changed lengths and widths are valid for all boxes following the commands
24682  that change them.
24683 \end_layout
24684
24685 \begin_layout Section
24686 Minipages
24687 \begin_inset LatexCommand label
24688 name "sec:Minipages"
24689
24690 \end_inset
24691
24692
24693 \begin_inset LatexCommand index
24694 name "Boxes ! Minipages"
24695
24696 \end_inset
24697
24698
24699 \end_layout
24700
24701 \begin_layout Standard
24702 Minipages are treated by LaTeX as pages within pages and can therefore for
24703  example have their own footnotes.
24704 \end_layout
24705
24706 \begin_layout Standard
24707 Minipages are useful when you write documents with different languages.
24708 \end_layout
24709
24710 \begin_layout Standard
24711 Below are two example minipages side by side.
24712  Their width is set to 45\InsetSpace \thinspace{}
24713 col% and they are separated by a horizontal fill,
24714  that was inserted via the menu 
24715 \family sans
24716 Insert\SpecialChar \menuseparator
24717 Special\InsetSpace ~
24718 Formatting\SpecialChar \menuseparator
24719 Horizontal\InsetSpace ~
24720 Fill
24721 \family default
24722 .
24723 \end_layout
24724
24725 \begin_layout Standard
24726 \begin_inset Box Frameless
24727 position "t"
24728 hor_pos "c"
24729 has_inner_box 1
24730 inner_pos "c"
24731 use_parbox 0
24732 width "45col%"
24733 special "none"
24734 height "1in"
24735 height_special "totalheight"
24736 status open
24737
24738 \begin_layout Standard
24739
24740 \lang german
24741 Dies ist ein deutscher Text.
24742  Dies ist ein deutscher Text.
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 \begin_inset Foot
24755 status collapsed
24756
24757 \begin_layout Standard
24758
24759 \lang german
24760 Dies ist eine deutsche Fußnote.
24761 \end_layout
24762
24763 \end_inset
24764
24765 .
24766  Dies ist ein deutscher Text.
24767  Dies ist ein deutscher Text.
24768 \end_layout
24769
24770 \end_inset
24771
24772
24773 \hfill
24774
24775 \begin_inset Box Frameless
24776 position "t"
24777 hor_pos "c"
24778 has_inner_box 1
24779 inner_pos "c"
24780 use_parbox 0
24781 width "45col%"
24782 special "none"
24783 height "1in"
24784 height_special "totalheight"
24785 status open
24786
24787 \begin_layout Standard
24788 This is an English Text.
24789  This is an English Text.
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 \begin_inset Foot
24805 status collapsed
24806
24807 \begin_layout Standard
24808 This is an English footnote.
24809 \end_layout
24810
24811 \end_inset
24812
24813  This is an English Text.
24814  
24815 \end_layout
24816
24817 \end_inset
24818
24819
24820 \end_layout
24821
24822 \begin_layout Standard
24823 \begin_inset VSpace bigskip
24824 \end_inset
24825
24826 Another application for minipages are footnotes within tables.
24827  Due to a LaTeX restriction footnotes within tables doesn't appear at the
24828  bottom of the current page.
24829  But when you put the table with the footnote to a minipage, the footnote
24830  will appear at its bottom, numbered with Latin letters.
24831  The footnote number is reset to 1 in every minipage but not outside the
24832  minipages.
24833 \end_layout
24834
24835 \begin_layout Standard
24836 The footnote of this table doesn't appear: 
24837 \begin_inset Tabular
24838 <lyxtabular version="3" rows="3" columns="4">
24839 <features>
24840 <column alignment="center" valignment="top" leftline="true" width="0pt">
24841 <column alignment="center" valignment="top" leftline="true" width="0pt">
24842 <column alignment="center" valignment="top" leftline="true" width="0pt">
24843 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
24844 <row topline="true">
24845 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24846 \begin_inset Text
24847
24848 \begin_layout Standard
24849 1
24850 \end_layout
24851
24852 \end_inset
24853 </cell>
24854 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24855 \begin_inset Text
24856
24857 \begin_layout Standard
24858 2
24859 \end_layout
24860
24861 \end_inset
24862 </cell>
24863 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24864 \begin_inset Text
24865
24866 \begin_layout Standard
24867 3
24868 \begin_inset Foot
24869 status collapsed
24870
24871 \begin_layout Standard
24872 This is a footnote within a table.
24873 \end_layout
24874
24875 \end_inset
24876
24877
24878 \end_layout
24879
24880 \end_inset
24881 </cell>
24882 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24883 \begin_inset Text
24884
24885 \begin_layout Standard
24886 4
24887 \end_layout
24888
24889 \end_inset
24890 </cell>
24891 </row>
24892 <row topline="true">
24893 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24894 \begin_inset Text
24895
24896 \begin_layout Standard
24897 a
24898 \end_layout
24899
24900 \end_inset
24901 </cell>
24902 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24903 \begin_inset Text
24904
24905 \begin_layout Standard
24906 b
24907 \end_layout
24908
24909 \end_inset
24910 </cell>
24911 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24912 \begin_inset Text
24913
24914 \begin_layout Standard
24915 c
24916 \end_layout
24917
24918 \end_inset
24919 </cell>
24920 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24921 \begin_inset Text
24922
24923 \begin_layout Standard
24924 d
24925 \end_layout
24926
24927 \end_inset
24928 </cell>
24929 </row>
24930 <row topline="true" bottomline="true">
24931 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24932 \begin_inset Text
24933
24934 \begin_layout Standard
24935 e
24936 \end_layout
24937
24938 \end_inset
24939 </cell>
24940 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24941 \begin_inset Text
24942
24943 \begin_layout Standard
24944 f
24945 \end_layout
24946
24947 \end_inset
24948 </cell>
24949 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24950 \begin_inset Text
24951
24952 \begin_layout Standard
24953 g
24954 \end_layout
24955
24956 \end_inset
24957 </cell>
24958 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24959 \begin_inset Text
24960
24961 \begin_layout Standard
24962 h
24963 \end_layout
24964
24965 \end_inset
24966 </cell>
24967 </row>
24968 </lyxtabular>
24969
24970 \end_inset
24971
24972
24973 \end_layout
24974
24975 \begin_layout Standard
24976 \align center
24977 \begin_inset Box Frameless
24978 position "t"
24979 hor_pos "c"
24980 has_inner_box 1
24981 inner_pos "c"
24982 use_parbox 0
24983 width "30col%"
24984 special "none"
24985 height "1in"
24986 height_special "totalheight"
24987 status open
24988
24989 \begin_layout Standard
24990 \align center
24991 \begin_inset Tabular
24992 <lyxtabular version="3" rows="3" columns="4">
24993 <features>
24994 <column alignment="center" valignment="top" leftline="true" width="0pt">
24995 <column alignment="center" valignment="top" leftline="true" width="0pt">
24996 <column alignment="center" valignment="top" leftline="true" width="0pt">
24997 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
24998 <row topline="true">
24999 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25000 \begin_inset Text
25001
25002 \begin_layout Standard
25003 1
25004 \end_layout
25005
25006 \end_inset
25007 </cell>
25008 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25009 \begin_inset Text
25010
25011 \begin_layout Standard
25012 2
25013 \end_layout
25014
25015 \end_inset
25016 </cell>
25017 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25018 \begin_inset Text
25019
25020 \begin_layout Standard
25021 3
25022 \begin_inset Foot
25023 status collapsed
25024
25025 \begin_layout Standard
25026 This is a footnote within a table.
25027 \end_layout
25028
25029 \end_inset
25030
25031
25032 \end_layout
25033
25034 \end_inset
25035 </cell>
25036 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25037 \begin_inset Text
25038
25039 \begin_layout Standard
25040 4
25041 \end_layout
25042
25043 \end_inset
25044 </cell>
25045 </row>
25046 <row topline="true">
25047 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25048 \begin_inset Text
25049
25050 \begin_layout Standard
25051 a
25052 \end_layout
25053
25054 \end_inset
25055 </cell>
25056 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25057 \begin_inset Text
25058
25059 \begin_layout Standard
25060 b
25061 \end_layout
25062
25063 \end_inset
25064 </cell>
25065 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25066 \begin_inset Text
25067
25068 \begin_layout Standard
25069 c
25070 \end_layout
25071
25072 \end_inset
25073 </cell>
25074 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25075 \begin_inset Text
25076
25077 \begin_layout Standard
25078 d
25079 \end_layout
25080
25081 \end_inset
25082 </cell>
25083 </row>
25084 <row topline="true" bottomline="true">
25085 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25086 \begin_inset Text
25087
25088 \begin_layout Standard
25089 e
25090 \end_layout
25091
25092 \end_inset
25093 </cell>
25094 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25095 \begin_inset Text
25096
25097 \begin_layout Standard
25098 f
25099 \end_layout
25100
25101 \end_inset
25102 </cell>
25103 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25104 \begin_inset Text
25105
25106 \begin_layout Standard
25107 g
25108 \end_layout
25109
25110 \end_inset
25111 </cell>
25112 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25113 \begin_inset Text
25114
25115 \begin_layout Standard
25116 h
25117 \end_layout
25118
25119 \end_inset
25120 </cell>
25121 </row>
25122 </lyxtabular>
25123
25124 \end_inset
25125
25126
25127 \end_layout
25128
25129 \end_inset
25130
25131
25132 \end_layout
25133
25134 \begin_layout Standard
25135 \begin_inset VSpace bigskip
25136 \end_inset
25137
25138 The document-wide paragraph settings are ignored within minipages.
25139  That means that there will be no space between paragraphs in minipages
25140  although you set it to e.\InsetSpace \thinspace{}
25141 g.\InsetSpace ~
25142
25143 \family sans
25144 MedSkip
25145 \family default
25146  in the document settings.
25147 \end_layout
25148
25149 \begin_layout Standard
25150 Minipages can also be used to set a background color for text parts, see
25151  section\InsetSpace ~
25152
25153 \begin_inset LatexCommand ref
25154 reference "sub:Color-for-Paragraphs"
25155
25156 \end_inset
25157
25158 .
25159 \end_layout
25160
25161 \begin_layout Standard
25162 \begin_inset Note Greyedout
25163 status open
25164
25165 \begin_layout Standard
25166
25167 \series bold
25168 Note:
25169 \series default
25170  You cannot have floats or margin notes inside minipages but minipages can
25171  be used inside tables, floats, and other boxes.
25172 \end_layout
25173
25174 \end_inset
25175
25176
25177 \end_layout
25178
25179 \begin_layout Section
25180 Parboxes
25181 \begin_inset LatexCommand label
25182 name "sec:Parboxes"
25183
25184 \end_inset
25185
25186
25187 \begin_inset LatexCommand index
25188 name "Boxes ! Parboxes"
25189
25190 \end_inset
25191
25192
25193 \end_layout
25194
25195 \begin_layout Standard
25196 Parboxes are very similar to minipages with the difference that they cannot
25197  have footnotes.
25198  The main difference to minipages is that minipages are in contrary to parboxes
25199  no real boxes but LaTeX-environments.
25200 \end_layout
25201
25202 \begin_layout Standard
25203 \align center
25204 \begin_inset Box Frameless
25205 position "t"
25206 hor_pos "c"
25207 has_inner_box 1
25208 inner_pos "t"
25209 use_parbox 1
25210 width "33col%"
25211 special "none"
25212 height "1in"
25213 height_special "totalheight"
25214 status collapsed
25215
25216 \begin_layout Standard
25217 This a text within a parbox.
25218  This a text within a parbox.
25219 \end_layout
25220
25221 \begin_layout Standard
25222 This footnote won't appear:
25223 \begin_inset Foot
25224 status collapsed
25225
25226 \begin_layout Standard
25227 This footnote is inside a parbox and will therefore not appear.
25228 \end_layout
25229
25230 \end_inset
25231
25232
25233 \end_layout
25234
25235 \end_inset
25236
25237
25238 \end_layout
25239
25240 \begin_layout Section
25241 Boxes for Words and Characters
25242 \begin_inset LatexCommand index
25243 name "Boxes ! for Characters"
25244
25245 \end_inset
25246
25247
25248 \end_layout
25249
25250 \begin_layout Subsection
25251 Prevent Hyphenation
25252 \begin_inset LatexCommand label
25253 name "sec:Prevent-Hyphenation"
25254
25255 \end_inset
25256
25257
25258 \begin_inset LatexCommand index
25259 name "Boxes ! to Prevent Hyphenation"
25260
25261 \end_inset
25262
25263
25264 \end_layout
25265
25266 \begin_layout Standard
25267 You can use a special kind of boxes to prevent words or text to be hyphenated.
25268 \newline
25269 Her
25270 e is an example text:
25271 \end_layout
25272
25273 \begin_layout Standard
25274 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25275 g.\InsetSpace ~
25276 veryver
25277 ylongwords.
25278 \end_layout
25279
25280 \begin_layout Standard
25281 To prevent the hyphenation of the word 
25282 \begin_inset Quotes eld
25283 \end_inset
25284
25285 veryverylongwords
25286 \begin_inset Quotes erd
25287 \end_inset
25288
25289 , add the command
25290 \end_layout
25291
25292 \begin_layout Standard
25293
25294 \series bold
25295
25296 \backslash
25297 mbox{
25298 \end_layout
25299
25300 \begin_layout Standard
25301 in ERT before the word.
25302  Behind the word insert a closing brace 
25303 \begin_inset Quotes eld
25304 \end_inset
25305
25306
25307 \series bold
25308 }
25309 \series default
25310
25311 \begin_inset Quotes erd
25312 \end_inset
25313
25314  in ERT.
25315 \begin_inset ERT
25316 status collapsed
25317
25318 \begin_layout Standard
25319
25320
25321 \backslash
25322 pagebreak 
25323 \end_layout
25324
25325 \end_inset
25326
25327
25328 \end_layout
25329
25330 \begin_layout Standard
25331 This is the result:
25332 \end_layout
25333
25334 \begin_layout Standard
25335 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25336 g.\InsetSpace ~
25337
25338 \begin_inset ERT
25339 status collapsed
25340
25341 \begin_layout Standard
25342
25343
25344 \backslash
25345 mbox{
25346 \end_layout
25347
25348 \end_inset
25349
25350 veryverylongwords.
25351 \begin_inset ERT
25352 status collapsed
25353
25354 \begin_layout Standard
25355
25356 }
25357 \end_layout
25358
25359 \end_inset
25360
25361
25362 \end_layout
25363
25364 \begin_layout Standard
25365 Of course the word now protrudes over the side margin.
25366  To avoid this, add via the menu 
25367 \family sans
25368 Insert\SpecialChar \menuseparator
25369 Special\InsetSpace ~
25370 Formatting\SpecialChar \menuseparator
25371 Line\InsetSpace ~
25372 Break
25373 \family default
25374  (shortcut 
25375 \series bold
25376 Ctrl-Return
25377 \series default
25378 ) a line break before the word:
25379 \end_layout
25380
25381 \begin_layout Standard
25382 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25383 g.\InsetSpace ~
25384
25385 \newline
25386
25387 \begin_inset ERT
25388 status collapsed
25389
25390 \begin_layout Standard
25391
25392
25393 \backslash
25394 mbox{
25395 \end_layout
25396
25397 \end_inset
25398
25399 veryverylongwords.
25400 \begin_inset ERT
25401 status collapsed
25402
25403 \begin_layout Standard
25404
25405 }
25406 \end_layout
25407
25408 \end_inset
25409
25410
25411 \end_layout
25412
25413 \begin_layout Subsection
25414 Vertical Alignment
25415 \begin_inset LatexCommand label
25416 name "sub:Vertical-Alignment"
25417
25418 \end_inset
25419
25420
25421 \begin_inset LatexCommand index
25422 name "Boxes ! for Vertical Alignment"
25423
25424 \end_inset
25425
25426
25427 \begin_inset LatexCommand index
25428 name "Boxes ! Raiseboxes"
25429
25430 \end_inset
25431
25432
25433 \end_layout
25434
25435 \begin_layout Standard
25436 With the help of the command 
25437 \series bold
25438
25439 \backslash
25440 raisebox
25441 \series default
25442  you can align words, characters or other boxes vertically to the surrounding
25443  text.
25444  
25445 \series bold
25446
25447 \backslash
25448 raisebox
25449 \series default
25450  is used with the following scheme:
25451 \end_layout
25452
25453 \begin_layout Standard
25454
25455 \series bold
25456
25457 \backslash
25458 raisebox{lift}[height][depth]{box content}
25459 \end_layout
25460
25461 \begin_layout Standard
25462 The lift can be a positive value to raise the box or a negative value to
25463  lower the box.
25464 \end_layout
25465
25466 \begin_layout Standard
25467 To align for example the word 
25468 \begin_inset Quotes eld
25469 \end_inset
25470
25471 preventing
25472 \begin_inset Quotes erd
25473 \end_inset
25474
25475  so that the bottom of the 
25476 \begin_inset Quotes eld
25477 \end_inset
25478
25479 deepest
25480 \begin_inset Quotes erd
25481 \end_inset
25482
25483  character 
25484 \begin_inset Quotes eld
25485 \end_inset
25486
25487 p
25488 \begin_inset Quotes erd
25489 \end_inset
25490
25491  is at the baseline, insert the command
25492 \end_layout
25493
25494 \begin_layout Standard
25495
25496 \series bold
25497
25498 \backslash
25499 raisebox{
25500 \backslash
25501 depth}{
25502 \end_layout
25503
25504 \begin_layout Standard
25505 in ERT before the word.
25506  Behind the word insert a closing brace 
25507 \begin_inset Quotes eld
25508 \end_inset
25509
25510
25511 \series bold
25512 }
25513 \series default
25514
25515 \begin_inset Quotes erd
25516 \end_inset
25517
25518  in ERT.
25519 \newline
25520 This is the result:
25521 \end_layout
25522
25523 \begin_layout Standard
25524 This is a text line with the word 
25525 \begin_inset ERT
25526 status collapsed
25527
25528 \begin_layout Standard
25529
25530
25531 \backslash
25532 raisebox{
25533 \backslash
25534 depth}{
25535 \end_layout
25536
25537 \end_inset
25538
25539
25540 \begin_inset Quotes eld
25541 \end_inset
25542
25543 preventing
25544 \begin_inset Quotes erd
25545 \end_inset
25546
25547
25548 \begin_inset ERT
25549 status collapsed
25550
25551 \begin_layout Standard
25552
25553 }
25554 \end_layout
25555
25556 \end_inset
25557
25558  as raised word.
25559 \end_layout
25560
25561 \begin_layout Standard
25562 \begin_inset VSpace bigskip
25563 \end_inset
25564
25565 When you raise or lower characters in a line, the line distance will be
25566  spread:
25567 \end_layout
25568
25569 \begin_layout Standard
25570 This is a text line with the word 
25571 \begin_inset ERT
25572 status collapsed
25573
25574 \begin_layout Standard
25575
25576
25577 \backslash
25578 raisebox{-
25579 \backslash
25580 depth}{
25581 \end_layout
25582
25583 \end_inset
25584
25585
25586 \begin_inset Quotes eld
25587 \end_inset
25588
25589 preventing
25590 \begin_inset Quotes erd
25591 \end_inset
25592
25593
25594 \begin_inset ERT
25595 status collapsed
25596
25597 \begin_layout Standard
25598
25599 }
25600 \end_layout
25601
25602 \end_inset
25603
25604  as lowered word.
25605 \newline
25606 This is a text line with the word 
25607 \begin_inset ERT
25608 status collapsed
25609
25610 \begin_layout Standard
25611
25612
25613 \backslash
25614 raisebox{0.5cm}{
25615 \end_layout
25616
25617 \end_inset
25618
25619
25620 \begin_inset Quotes eld
25621 \end_inset
25622
25623 testing
25624 \begin_inset Quotes erd
25625 \end_inset
25626
25627
25628 \begin_inset ERT
25629 status collapsed
25630
25631 \begin_layout Standard
25632
25633 }
25634 \end_layout
25635
25636 \end_inset
25637
25638  as raised word.
25639 \end_layout
25640
25641 \begin_layout Standard
25642 If you want to prevent this for a certain reason, set the box height to
25643  a zero value.
25644  For example use
25645 \end_layout
25646
25647 \begin_layout Standard
25648
25649 \series bold
25650
25651 \backslash
25652 raisebox{-
25653 \backslash
25654 depth}[0pt]{
25655 \end_layout
25656
25657 \begin_layout Standard
25658 This is a text line with the word 
25659 \begin_inset ERT
25660 status collapsed
25661
25662 \begin_layout Standard
25663
25664
25665 \backslash
25666 raisebox{-
25667 \backslash
25668 depth}[0pt]{
25669 \end_layout
25670
25671 \end_inset
25672
25673
25674 \begin_inset Quotes eld
25675 \end_inset
25676
25677 preventing
25678 \begin_inset Quotes erd
25679 \end_inset
25680
25681
25682 \begin_inset ERT
25683 status collapsed
25684
25685 \begin_layout Standard
25686
25687 }
25688 \end_layout
25689
25690 \end_inset
25691
25692  as lowered word.
25693 \newline
25694 This is a text line with the word 
25695 \begin_inset ERT
25696 status collapsed
25697
25698 \begin_layout Standard
25699
25700
25701 \backslash
25702 raisebox{0.5cm}[0pt]{
25703 \end_layout
25704
25705 \end_inset
25706
25707
25708 \begin_inset Quotes eld
25709 \end_inset
25710
25711 testing
25712 \begin_inset Quotes erd
25713 \end_inset
25714
25715
25716 \begin_inset ERT
25717 status collapsed
25718
25719 \begin_layout Standard
25720
25721 }
25722 \end_layout
25723
25724 \end_inset
25725
25726  as raised word.
25727 \end_layout
25728
25729 \begin_layout Section
25730 Colored Boxes
25731 \begin_inset LatexCommand label
25732 name "sec:Colored-Boxes"
25733
25734 \end_inset
25735
25736
25737 \begin_inset LatexCommand index
25738 name "Boxes ! Color"
25739
25740 \end_inset
25741
25742
25743 \end_layout
25744
25745 \begin_layout Subsection
25746 Color for Text
25747 \begin_inset LatexCommand index
25748 name "Color ! for Text"
25749
25750 \end_inset
25751
25752
25753 \end_layout
25754
25755 \begin_layout Standard
25756 To color the background of text the text must be put into a so called colorbox.
25757  This requires that the LaTeX-package 
25758 \series bold
25759 color
25760 \series default
25761
25762 \begin_inset LatexCommand index
25763 name "LaTeX-packages ! color"
25764
25765 \end_inset
25766
25767  is loaded in the document preamble with the command
25768 \end_layout
25769
25770 \begin_layout Standard
25771
25772 \series bold
25773
25774 \backslash
25775 @ifundef\SpecialChar \textcompwordmark{}
25776 ined{textcolor}
25777 \newline
25778
25779 \begin_inset ERT
25780 status collapsed
25781
25782 \begin_layout Standard
25783
25784
25785 \backslash
25786 hphantom{ }
25787 \end_layout
25788
25789 \end_inset
25790
25791 {
25792 \backslash
25793 usepackage{color}}{}
25794 \end_layout
25795
25796 \begin_layout Standard
25797 The package 
25798 \series bold
25799 color
25800 \series default
25801  will be loaded automatically by LyX when you color text
25802 \begin_inset Foot
25803 status collapsed
25804
25805 \begin_layout Standard
25806 To avoid that it is loaded twice the command 
25807 \series bold
25808
25809 \backslash
25810 @ifundef\SpecialChar \textcompwordmark{}
25811 ined
25812 \series default
25813  is used.
25814 \end_layout
25815
25816 \end_inset
25817
25818 .
25819 \end_layout
25820
25821 \begin_layout Standard
25822 \begin_inset VSpace medskip
25823 \end_inset
25824
25825 Colorboxes are created with the command 
25826 \series bold
25827
25828 \backslash
25829 colorbox
25830 \series default
25831 .
25832  This will be used with the following scheme:
25833 \end_layout
25834
25835 \begin_layout Standard
25836
25837 \series bold
25838
25839 \backslash
25840 colorbox{color}{box content}
25841 \end_layout
25842
25843 \begin_layout Standard
25844 The box content can also be a box and colorboxes can also be within other
25845  boxes.
25846 \end_layout
25847
25848 \begin_layout Standard
25849 The following colors are predefined:
25850 \newline
25851
25852 \family sans
25853 black
25854 \family default
25855
25856 \family sans
25857 blue
25858 \family default
25859
25860 \family sans
25861 cyan
25862 \family default
25863 \series bold
25864 ,
25865 \series default
25866  
25867 \family sans
25868 green
25869 \family default
25870
25871 \family sans
25872 magenta
25873 \family default
25874
25875 \family sans
25876 red
25877 \family default
25878
25879 \family sans
25880 white
25881 \family default
25882 , and 
25883 \family sans
25884 yellow
25885 \family default
25886 .
25887 \newline
25888 You can also define your own color as described in section\InsetSpace ~
25889
25890 \begin_inset LatexCommand ref
25891 reference "sec:Colored-Tables"
25892
25893 \end_inset
25894
25895 .
25896 \end_layout
25897
25898 \begin_layout Standard
25899 To have e.\InsetSpace \thinspace{}
25900 g.\InsetSpace ~
25901 a red background for a word, insert the command
25902 \end_layout
25903
25904 \begin_layout Standard
25905
25906 \series bold
25907
25908 \backslash
25909 colorbox{red}{
25910 \end_layout
25911
25912 \begin_layout Standard
25913 before the word in ERT.
25914  Behind the word insert a closing brace 
25915 \begin_inset Quotes eld
25916 \end_inset
25917
25918
25919 \series bold
25920 }
25921 \series default
25922
25923 \begin_inset Quotes erd
25924 \end_inset
25925
25926  in ERT.
25927 \newline
25928 This is the result:
25929 \end_layout
25930
25931 \begin_layout Standard
25932 This is a line where the word 
25933 \begin_inset ERT
25934 status collapsed
25935
25936 \begin_layout Standard
25937
25938
25939 \backslash
25940 colorbox{red}{
25941 \end_layout
25942
25943 \end_inset
25944
25945
25946 \begin_inset Quotes eld
25947 \end_inset
25948
25949 Attention!
25950 \begin_inset Quotes erd
25951 \end_inset
25952
25953
25954 \begin_inset ERT
25955 status collapsed
25956
25957 \begin_layout Standard
25958
25959 }
25960 \end_layout
25961
25962 \end_inset
25963
25964  has a red background.
25965 \end_layout
25966
25967 \begin_layout Standard
25968 \begin_inset VSpace bigskip
25969 \end_inset
25970
25971 If you would have the box frame in a different color, you can use the command
25972  
25973 \series bold
25974
25975 \backslash
25976 fcolorbox
25977 \series default
25978  with the following scheme:
25979 \end_layout
25980
25981 \begin_layout Standard
25982
25983 \series bold
25984
25985 \backslash
25986 fcolorbox{frame color}{box color}{box content}
25987 \end_layout
25988
25989 \begin_layout Standard
25990
25991 \series bold
25992
25993 \backslash
25994 fcolorbox
25995 \series default
25996  is an extension to 
25997 \series bold
25998
25999 \backslash
26000 colorbox
26001 \series default
26002 .
26003  The frame thickness and the space between the frame and the box content
26004  can be adjusted with the lengths 
26005 \series bold
26006
26007 \backslash
26008 fboxrule
26009 \series default
26010  and 
26011 \series bold
26012
26013 \backslash
26014 fboxsep
26015 \series default
26016 , respectively, as described in section\InsetSpace ~
26017
26018 \begin_inset LatexCommand ref
26019 reference "sec:Framed-Boxes"
26020
26021 \end_inset
26022
26023 .
26024 \end_layout
26025
26026 \begin_layout Standard
26027 For the following example the command
26028 \end_layout
26029
26030 \begin_layout Standard
26031
26032 \series bold
26033
26034 \backslash
26035 fcolorbox{cyan}{magenta}{
26036 \end_layout
26037
26038 \begin_layout Standard
26039 was used.
26040 \end_layout
26041
26042 \begin_layout Standard
26043 Here is an example where the frame line thickness was set to 1\InsetSpace \thinspace{}
26044 mm:
26045 \newline
26046
26047 \begin_inset ERT
26048 status collapsed
26049
26050 \begin_layout Standard
26051
26052
26053 \backslash
26054 fboxrule 1mm 
26055 \backslash
26056 fboxsep 1mm
26057 \end_layout
26058
26059 \end_inset
26060
26061
26062 \begin_inset ERT
26063 status collapsed
26064
26065 \begin_layout Standard
26066
26067
26068 \backslash
26069 fcolorbox{cyan}{magenta}{
26070 \end_layout
26071
26072 \end_inset
26073
26074 This is text within a colored, framed box.
26075 \begin_inset ERT
26076 status collapsed
26077
26078 \begin_layout Standard
26079
26080 }
26081 \end_layout
26082
26083 \end_inset
26084
26085
26086 \end_layout
26087
26088 \begin_layout Standard
26089 \begin_inset VSpace bigskip
26090 \end_inset
26091
26092 Of course you can also have colored text inside a colorbox:
26093 \newline
26094
26095 \begin_inset ERT
26096 status collapsed
26097
26098 \begin_layout Standard
26099
26100
26101 \backslash
26102 fcolorbox{cyan}{magenta}{
26103 \end_layout
26104
26105 \end_inset
26106
26107
26108 \color yellow
26109 This is colored text within a colored, framed box.
26110 \color none
26111
26112 \begin_inset ERT
26113 status collapsed
26114
26115 \begin_layout Standard
26116
26117 }
26118 \end_layout
26119
26120 \end_inset
26121
26122
26123 \begin_inset ERT
26124 status collapsed
26125
26126 \begin_layout Standard
26127
26128
26129 \backslash
26130 fboxrule 0.4pt 
26131 \backslash
26132 fboxsep 3pt
26133 \end_layout
26134
26135 \end_inset
26136
26137
26138 \end_layout
26139
26140 \begin_layout Standard
26141
26142 \series bold
26143 \begin_inset VSpace medskip
26144 \end_inset
26145
26146
26147 \end_layout
26148
26149 \begin_layout Standard
26150 \begin_inset Note Greyedout
26151 status open
26152
26153 \begin_layout Standard
26154
26155 \series bold
26156 Note:
26157 \series default
26158  Text in colorboxes cannot have line breaks.
26159  To color multiple text lines or paragraphs, use a box inside a colorbox
26160  as described in the following.
26161 \end_layout
26162
26163 \end_inset
26164
26165
26166 \end_layout
26167
26168 \begin_layout Subsection
26169 Color for Paragraphs
26170 \begin_inset LatexCommand label
26171 name "sub:Color-for-Paragraphs"
26172
26173 \end_inset
26174
26175
26176 \begin_inset LatexCommand index
26177 name "Color ! for Paragraphs"
26178
26179 \end_inset
26180
26181
26182 \end_layout
26183
26184 \begin_layout Standard
26185 To set the background color for more than one text line, put the text into
26186  a minipage.
26187  Before the minipage insert the 
26188 \series bold
26189
26190 \backslash
26191 colorbox
26192 \series default
26193  command
26194 \end_layout
26195
26196 \begin_layout Standard
26197
26198 \series bold
26199
26200 \backslash
26201 colorbox{color}{
26202 \end_layout
26203
26204 \begin_layout Standard
26205 in ERT.
26206  Behind the minipage insert a closing brace 
26207 \begin_inset Quotes eld
26208 \end_inset
26209
26210
26211 \series bold
26212 }
26213 \series default
26214
26215 \begin_inset Quotes erd
26216 \end_inset
26217
26218  in ERT.
26219 \end_layout
26220
26221 \begin_layout Standard
26222 \begin_inset ERT
26223 status collapsed
26224
26225 \begin_layout Standard
26226
26227
26228 \backslash
26229 colorbox{lightgrey}{
26230 \end_layout
26231
26232 \end_inset
26233
26234
26235 \begin_inset Box Frameless
26236 position "t"
26237 hor_pos "c"
26238 has_inner_box 1
26239 inner_pos "t"
26240 use_parbox 0
26241 width "100col%"
26242 special "none"
26243 height "1in"
26244 height_special "totalheight"
26245 status collapsed
26246
26247 \begin_layout Standard
26248 This is text with background color.
26249  This is text with background color.
26250 \end_layout
26251
26252 \begin_layout Standard
26253 \begin_inset VSpace defskip
26254 \end_inset
26255
26256 The text can have footnotes
26257 \begin_inset Foot
26258 status collapsed
26259
26260 \begin_layout Standard
26261 Another example footnote
26262 \end_layout
26263
26264 \end_inset
26265
26266  and can include tables and figures.
26267 \end_layout
26268
26269 \begin_layout Standard
26270 \align center
26271 \begin_inset Tabular
26272 <lyxtabular version="3" rows="3" columns="3">
26273 <features>
26274 <column alignment="center" valignment="top" leftline="true" width="0">
26275 <column alignment="center" valignment="top" leftline="true" width="0">
26276 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
26277 <row topline="true">
26278 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26279 \begin_inset Text
26280
26281 \begin_layout Standard
26282 a
26283 \end_layout
26284
26285 \end_inset
26286 </cell>
26287 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26288 \begin_inset Text
26289
26290 \begin_layout Standard
26291 !
26292 \end_layout
26293
26294 \end_inset
26295 </cell>
26296 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26297 \begin_inset Text
26298
26299 \begin_layout Standard
26300 3
26301 \end_layout
26302
26303 \end_inset
26304 </cell>
26305 </row>
26306 <row topline="true">
26307 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26308 \begin_inset Text
26309
26310 \begin_layout Standard
26311 <
26312 \end_layout
26313
26314 \end_inset
26315 </cell>
26316 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26317 \begin_inset Text
26318
26319 \begin_layout Standard
26320 b2
26321 \begin_inset Quotes erd
26322 \end_inset
26323
26324 |
26325 \end_layout
26326
26327 \end_inset
26328 </cell>
26329 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26330 \begin_inset Text
26331
26332 \begin_layout Standard
26333 >
26334 \end_layout
26335
26336 \end_inset
26337 </cell>
26338 </row>
26339 <row topline="true" bottomline="true">
26340 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26341 \begin_inset Text
26342
26343 \begin_layout Standard
26344 1
26345 \end_layout
26346
26347 \end_inset
26348 </cell>
26349 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26350 \begin_inset Text
26351
26352 \begin_layout Standard
26353 §
26354 \end_layout
26355
26356 \end_inset
26357 </cell>
26358 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26359 \begin_inset Text
26360
26361 \begin_layout Standard
26362 c
26363 \end_layout
26364
26365 \end_inset
26366 </cell>
26367 </row>
26368 </lyxtabular>
26369
26370 \end_inset
26371
26372
26373 \end_layout
26374
26375 \end_inset
26376
26377
26378 \begin_inset ERT
26379 status collapsed
26380
26381 \begin_layout Standard
26382
26383 }
26384 \end_layout
26385
26386 \end_inset
26387
26388
26389 \end_layout
26390
26391 \begin_layout Section
26392 URLs (Uniform Resource Locators)
26393 \begin_inset LatexCommand index
26394 name "URLs"
26395
26396 \end_inset
26397
26398
26399 \end_layout
26400
26401 \begin_layout Standard
26402 Links to web pages or email addresses can be inserted via the menu 
26403 \family sans
26404 Insert\SpecialChar \menuseparator
26405 URL
26406 \family default
26407 .
26408  The appearing URL dialog has two fields; the 
26409 \family sans
26410 URL
26411 \family default
26412  field and the 
26413 \family sans
26414 Name
26415 \family default
26416  field for the URL description, which will be typeset as plain text immediately
26417  before the URL.
26418 \end_layout
26419
26420 \begin_layout Standard
26421 Here is an example URL: 
26422 \begin_inset LatexCommand url
26423 name "LyX's homepage"
26424 target "http://www.lyx.org"
26425
26426 \end_inset
26427
26428
26429 \end_layout
26430
26431 \begin_layout Standard
26432 The option 
26433 \family sans
26434 Generate\InsetSpace ~
26435 hyperlink
26436 \family default
26437  in the URL dialog has only an affect when you export your document to the
26438  format 
26439 \begin_inset Quotes eld
26440 \end_inset
26441
26442
26443 \family sans
26444 LinuxDoc
26445 \family default
26446
26447 \begin_inset Quotes erd
26448 \end_inset
26449
26450 .
26451 \end_layout
26452
26453 \begin_layout Standard
26454 You cannot change the style of the link text.
26455  The text of the 
26456 \family sans
26457 Name
26458 \family default
26459  field will have the default text style of the document while the text of
26460  the 
26461 \family sans
26462 URL
26463 \family default
26464  field will have the style 
26465 \begin_inset Quotes eld
26466 \end_inset
26467
26468
26469 \family sans
26470 Typewriter
26471 \family default
26472
26473 \begin_inset Quotes erd
26474 \end_inset
26475
26476 .
26477 \end_layout
26478
26479 \begin_layout Standard
26480 When you use the LaTeX-package 
26481 \series bold
26482 hyperref
26483 \series default
26484
26485 \begin_inset LatexCommand index
26486 name "LaTeX-packages ! hyperref"
26487
26488 \end_inset
26489
26490  to link cross-references in the output, URLs will automatically become
26491  clickable hyperlinks in DVI and PDF-output.
26492 \end_layout
26493
26494 \begin_layout Standard
26495 \begin_inset Note Greyedout
26496 status open
26497
26498 \begin_layout Standard
26499
26500 \series bold
26501 Note:
26502 \series default
26503  When you use the following characters: "%", "#", "^", you have to write
26504  them with a preceding backslash, e.\InsetSpace \thinspace{}
26505 g.\InsetSpace ~
26506
26507 \begin_inset Quotes eld
26508 \end_inset
26509
26510
26511 \backslash
26512 #
26513 \begin_inset Quotes erd
26514 \end_inset
26515
26516 .
26517  URLs must not end with a backslash.
26518 \end_layout
26519
26520 \end_inset
26521
26522
26523 \end_layout
26524
26525 \begin_layout Standard
26526 \begin_inset VSpace bigskip
26527 \end_inset
26528
26529 To create real hyperlinks without the force to write the link location to
26530  the text, you can use the command
26531 \end_layout
26532
26533 \begin_layout Standard
26534
26535 \series bold
26536
26537 \backslash
26538 href{link location}{link text}
26539 \end_layout
26540
26541 \begin_layout Standard
26542 in ERT.
26543  To get for example a link to LyX's web page, write the command
26544 \end_layout
26545
26546 \begin_layout Standard
26547
26548 \series bold
26549
26550 \backslash
26551 href{http://www.lyx.org}{
26552 \end_layout
26553
26554 \begin_layout Standard
26555 in ERT.
26556  Insert after the command the link text 
26557 \begin_inset Quotes eld
26558 \end_inset
26559
26560 LyX's homepage
26561 \begin_inset Quotes erd
26562 \end_inset
26563
26564  as normal text followed by a closing brace 
26565 \begin_inset Quotes eld
26566 \end_inset
26567
26568
26569 \series bold
26570 }
26571 \series default
26572
26573 \begin_inset Quotes erd
26574 \end_inset
26575
26576  in ERT.
26577  This is the result: 
26578 \begin_inset ERT
26579 status collapsed
26580
26581 \begin_layout Standard
26582
26583
26584 \backslash
26585 href{http://www.lyx.org}{
26586 \end_layout
26587
26588 \end_inset
26589
26590 LyX's homepage
26591 \begin_inset ERT
26592 status collapsed
26593
26594 \begin_layout Standard
26595
26596 }
26597 \end_layout
26598
26599 \end_inset
26600
26601
26602 \end_layout
26603
26604 \begin_layout Standard
26605 To link to email addresses, add the prefix 
26606 \begin_inset Quotes eld
26607 \end_inset
26608
26609
26610 \family sans
26611 mailto:
26612 \family default
26613
26614 \begin_inset Quotes erd
26615 \end_inset
26616
26617  to the link location:
26618 \newline
26619 Email to 
26620 \begin_inset ERT
26621 status collapsed
26622
26623 \begin_layout Standard
26624
26625
26626 \backslash
26627 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's documentation}{
26628 \end_layout
26629
26630 \end_inset
26631
26632 lyx-docs mailing list
26633 \begin_inset ERT
26634 status collapsed
26635
26636 \begin_layout Standard
26637
26638 }
26639 \end_layout
26640
26641 \end_inset
26642
26643 .
26644 \end_layout
26645
26646 \begin_layout Standard
26647 Using 
26648 \series bold
26649
26650 \backslash
26651 href
26652 \series default
26653  instead of LyX's URL box has the advantage that you can specify the text
26654  style of the link text like for all other text parts.
26655  You can therefore set hyphenation points and forced linebreaks to have
26656  long link text broken at the page margin.
26657  You are furthermore able to change the text style for all URLs in your
26658  document with an option in 
26659 \series bold
26660 hyperref
26661 \series default
26662 's load command and the restrictions mentioned above doesn't apply for 
26663 \series bold
26664
26665 \backslash
26666 href
26667 \series default
26668 .
26669 \end_layout
26670
26671 \begin_layout Chapter
26672 External Stuff
26673 \begin_inset LatexCommand index
26674 name "External Stuff"
26675
26676 \end_inset
26677
26678
26679 \end_layout
26680
26681 \begin_layout Standard
26682 With the menu 
26683 \family sans
26684 Insert\SpecialChar \menuseparator
26685 File
26686 \family default
26687  you can insert external material to your document.
26688  This can be:
26689 \end_layout
26690
26691 \begin_layout Description
26692 LyX\InsetSpace ~
26693 Document Another LyX document; its content is directly inserted to your
26694  document.
26695 \end_layout
26696
26697 \begin_layout Description
26698 Plain\InsetSpace ~
26699 Text A text document; every of its text lines is inserted to your document
26700  as own paragraph.
26701 \end_layout
26702
26703 \begin_layout Description
26704 Plain\InsetSpace ~
26705 Text,\InsetSpace ~
26706 Join\InsetSpace ~
26707 Lines A text document; its text lines are inserted as they
26708  are.
26709  Empty text lines creates a new paragraph in your document.
26710 \end_layout
26711
26712 \begin_layout Description
26713 External\InsetSpace ~
26714 Material Files in various formats.
26715 \end_layout
26716
26717 \begin_layout Description
26718 Child\InsetSpace ~
26719 Document LyX or LaTeX-documents.
26720 \end_layout
26721
26722 \begin_layout Section
26723 External Material
26724 \begin_inset LatexCommand index
26725 name "External Stuff ! External Material"
26726
26727 \end_inset
26728
26729
26730 \end_layout
26731
26732 \begin_layout Standard
26733 The external material feature allows you to insert files to your document
26734  without converting them previously to a format that can be read by the
26735  document output format because LyX takes care of needed conversions.
26736  This is similar to images that can be inserted in various image formats
26737  to LyX documents.
26738 \end_layout
26739
26740 \begin_layout Standard
26741 External material can be inserted via the 
26742 \family sans
26743 External Material
26744 \family default
26745  dialog that is accessible with the menu 
26746 \family sans
26747 Insert\SpecialChar \menuseparator
26748 File\SpecialChar \menuseparator
26749 External\InsetSpace ~
26750 Material
26751 \family default
26752 .
26753  Currently the following file types (
26754 \family sans
26755 Templates
26756 \family default
26757 ) are allowed:
26758 \end_layout
26759
26760 \begin_layout Description
26761 ChessDiagram This template supports chess position diagrams made with the
26762  program 
26763 \begin_inset ERT
26764 status collapsed
26765
26766 \begin_layout Standard
26767
26768
26769 \backslash
26770 href{http://en.wikipedia.org/wiki/XBoard}{
26771 \end_layout
26772
26773 \end_inset
26774
26775
26776 \series bold
26777 XBoard
26778 \series default
26779
26780 \begin_inset ERT
26781 status collapsed
26782
26783 \begin_layout Standard
26784
26785 }
26786 \end_layout
26787
26788 \end_inset
26789
26790 .
26791 \end_layout
26792
26793 \begin_layout Description
26794 Date This inserts the date in the form 
26795 \emph on
26796 Date-Month-Year
26797 \emph default
26798 .
26799  This is a date inserted as external material: 
26800 \begin_inset External
26801         template Date
26802         filename .
26803
26804 \end_inset
26805
26806
26807 \newline
26808 The date is not shown within LyX, only in the output.
26809  There are two other methods of inserting a date, via menu 
26810 \family sans
26811 Insert\SpecialChar \menuseparator
26812 Date
26813 \family default
26814  and with the LaTeX command 
26815 \series bold
26816
26817 \backslash
26818 today
26819 \series default
26820  as ERT.
26821  The different methods are compared in Table\InsetSpace ~
26822
26823 \begin_inset LatexCommand ref
26824 reference "tab:Comparison-of-the"
26825
26826 \end_inset
26827
26828 .
26829 \end_layout
26830
26831 \begin_layout Description
26832 LilyPond This template is used for music notation typeset with the program
26833 \begin_inset ERT
26834 status collapsed
26835
26836 \begin_layout Standard
26837
26838
26839 \backslash
26840 linebreak 
26841 \end_layout
26842
26843 \end_inset
26844
26845
26846 \begin_inset ERT
26847 status collapsed
26848
26849 \begin_layout Standard
26850
26851
26852 \backslash
26853 href{http://en.wikipedia.org/wiki/LilyPond}{
26854 \end_layout
26855
26856 \end_inset
26857
26858
26859 \series bold
26860 LilyPond
26861 \series default
26862
26863 \begin_inset ERT
26864 status collapsed
26865
26866 \begin_layout Standard
26867
26868 }
26869 \end_layout
26870
26871 \end_inset
26872
26873 .
26874 \begin_inset Note Note
26875 status collapsed
26876
26877 \begin_layout Standard
26878 The command 
26879 \series bold
26880
26881 \backslash
26882 linebreak
26883 \series default
26884  breaks the line while the remaining text in the line is stretched to the
26885  page margin.
26886 \end_layout
26887
26888 \end_inset
26889
26890
26891 \end_layout
26892
26893 \begin_layout Description
26894 RasterImage This can be used for bitmap images.
26895  Nearly all popular image formats are supported.
26896  The image can be treated in the 
26897 \family sans
26898 External material
26899 \family default
26900  dialog like the images that are usually included via the 
26901 \family sans
26902 Graphics
26903 \family default
26904  dialog as described in section\InsetSpace ~
26905
26906 \begin_inset LatexCommand ref
26907 reference "sec:Graphics-Dialog"
26908
26909 \end_inset
26910
26911 .
26912  The difference is that only raster images are allowed, that means that
26913  PDF and EPS-images are not supported.
26914 \end_layout
26915
26916 \begin_layout Description
26917 XFig This template supports images created with the program 
26918 \begin_inset ERT
26919 status collapsed
26920
26921 \begin_layout Standard
26922
26923
26924 \backslash
26925 href{http://en.wikipedia.org/wiki/Xfig}{
26926 \end_layout
26927
26928 \end_inset
26929
26930
26931 \series bold
26932 Xfig
26933 \series default
26934
26935 \begin_inset ERT
26936 status collapsed
26937
26938 \begin_layout Standard
26939
26940 }
26941 \end_layout
26942
26943 \end_inset
26944
26945 .
26946 \end_layout
26947
26948 \begin_layout Standard
26949 \begin_inset Float table
26950 placement h
26951 wide false
26952 sideways false
26953 status open
26954
26955 \begin_layout Standard
26956 \begin_inset Caption
26957
26958 \begin_layout Standard
26959 \begin_inset LatexCommand label
26960 name "tab:Comparison-of-the"
26961
26962 \end_inset
26963
26964 Comparison of the date input methods.
26965 \end_layout
26966
26967 \end_inset
26968
26969
26970 \end_layout
26971
26972 \begin_layout Standard
26973 \align center
26974 \begin_inset Tabular
26975 <lyxtabular version="3" rows="4" columns="4">
26976 <features>
26977 <column alignment="center" valignment="top" leftline="true" width="0">
26978 <column alignment="center" valignment="top" leftline="true" width="0">
26979 <column alignment="center" valignment="top" leftline="true" width="0">
26980 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
26981 <row topline="true">
26982 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26983 \begin_inset Text
26984
26985 \begin_layout Standard
26986 Document format
26987 \end_layout
26988
26989 \end_inset
26990 </cell>
26991 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26992 \begin_inset Text
26993
26994 \begin_layout Standard
26995
26996 \family sans
26997 External Material\SpecialChar \menuseparator
26998 Date
26999 \end_layout
27000
27001 \end_inset
27002 </cell>
27003 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27004 \begin_inset Text
27005
27006 \begin_layout Standard
27007
27008 \family sans
27009 Insert\SpecialChar \menuseparator
27010 Date
27011 \end_layout
27012
27013 \end_inset
27014 </cell>
27015 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27016 \begin_inset Text
27017
27018 \begin_layout Standard
27019 command 
27020 \series bold
27021
27022 \backslash
27023 today
27024 \end_layout
27025
27026 \end_inset
27027 </cell>
27028 </row>
27029 <row topline="true">
27030 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27031 \begin_inset Text
27032
27033 \begin_layout Standard
27034 LyX
27035 \end_layout
27036
27037 \end_inset
27038 </cell>
27039 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27040 \begin_inset Text
27041
27042 \begin_layout Standard
27043 as inset box
27044 \end_layout
27045
27046 \end_inset
27047 </cell>
27048 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27049 \begin_inset Text
27050
27051 \begin_layout Standard
27052 as date
27053 \end_layout
27054
27055 \end_inset
27056 </cell>
27057 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27058 \begin_inset Text
27059
27060 \begin_layout Standard
27061 as ERT inset box
27062 \end_layout
27063
27064 \end_inset
27065 </cell>
27066 </row>
27067 <row topline="true">
27068 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27069 \begin_inset Text
27070
27071 \begin_layout Standard
27072 LaTeX
27073 \end_layout
27074
27075 \end_inset
27076 </cell>
27077 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27078 \begin_inset Text
27079
27080 \begin_layout Standard
27081 as date
27082 \end_layout
27083
27084 \end_inset
27085 </cell>
27086 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27087 \begin_inset Text
27088
27089 \begin_layout Standard
27090 as date
27091 \end_layout
27092
27093 \end_inset
27094 </cell>
27095 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27096 \begin_inset Text
27097
27098 \begin_layout Standard
27099 as command
27100 \end_layout
27101
27102 \end_inset
27103 </cell>
27104 </row>
27105 <row topline="true" bottomline="true">
27106 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27107 \begin_inset Text
27108
27109 \begin_layout Standard
27110 DVI, PDF, PS
27111 \end_layout
27112
27113 \end_inset
27114 </cell>
27115 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27116 \begin_inset Text
27117
27118 \begin_layout Standard
27119 as date
27120 \end_layout
27121
27122 \end_inset
27123 </cell>
27124 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27125 \begin_inset Text
27126
27127 \begin_layout Standard
27128 as date
27129 \end_layout
27130
27131 \end_inset
27132 </cell>
27133 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27134 \begin_inset Text
27135
27136 \begin_layout Standard
27137 as date
27138 \end_layout
27139
27140 \end_inset
27141 </cell>
27142 </row>
27143 </lyxtabular>
27144
27145 \end_inset
27146
27147
27148 \end_layout
27149
27150 \end_inset
27151
27152
27153 \end_layout
27154
27155 \begin_layout Standard
27156 When you use the option 
27157 \family sans
27158 Draft
27159 \family default
27160  in the 
27161 \family sans
27162 File
27163 \family default
27164  tab of the 
27165 \family sans
27166 External Material
27167 \family default
27168  dialog, only the path to the inserted file is shown in the output.
27169 \newline
27170 External
27171  material is displayed in LyX either as box like this: 
27172 \begin_inset Graphics
27173         filename clipart/ExternalMaterialQt4.png
27174         scale 85
27175
27176 \end_inset
27177
27178  or as image, depending on the setting in the 
27179 \family sans
27180 LyX\InsetSpace ~
27181 View
27182 \family default
27183  tab of the 
27184 \family sans
27185 External Material
27186 \family default
27187  dialog.
27188 \end_layout
27189
27190 \begin_layout Standard
27191 The 
27192 \family sans
27193 \emph on
27194 Customization
27195 \family default
27196 \emph default
27197  manual explains how you can define your own templates.
27198 \end_layout
27199
27200 \begin_layout Section
27201 Child Documents
27202 \begin_inset LatexCommand index
27203 name "External Stuff ! Child Documents"
27204
27205 \end_inset
27206
27207
27208 \begin_inset LatexCommand index
27209 name "Files ! Include"
27210
27211 \end_inset
27212
27213
27214 \end_layout
27215
27216 \begin_layout Standard
27217 Child documents are used when you have a long document consisting of several
27218  larger parts or sections.
27219  For maintenance it is often useful and sometimes even required to split
27220  the document in several files that can be revised separately.
27221  The different documents are then the so called child documents and a master
27222  document connects them to print the full document or parts of it.
27223 \end_layout
27224
27225 \begin_layout Standard
27226 Included documents are displayed in LyX as a box like this: 
27227 \begin_inset Graphics
27228         filename clipart/ChildDocumentQt4.png
27229         scale 85
27230
27231 \end_inset
27232
27233  To include child documents to a master document use the menu 
27234 \family sans
27235 Insert\SpecialChar \menuseparator
27236 File\SpecialChar \menuseparator
27237 Child\InsetSpace ~
27238 Documents
27239 \family default
27240 .
27241  A dialog pops up where you can choose between three include methods:
27242 \end_layout
27243
27244 \begin_layout Description
27245 Include You can include LyX and LaTeX-documents.
27246  When you press the 
27247 \family sans
27248 Load
27249 \family default
27250  button in the 
27251 \family sans
27252 Child Document
27253 \family default
27254  dialog, the included documents will be opened in LyX in a new file tab
27255  so that you can modify it.
27256 \newline
27257
27258 \end_layout
27259
27260 \begin_layout Standard
27261 Here is a child document inserted using 
27262 \family sans
27263 Include
27264 \family default
27265
27266 \begin_inset Include \include{DummyDocument1.lyx}
27267 preview false
27268
27269 \end_inset
27270
27271
27272 \end_layout
27273
27274 \begin_layout Standard
27275 The section numbering includes the sections of the included files in the
27276  order they are inserted in the master document.
27277  The included example document has for example a subsection that is numbered
27278  as subsection of this section.
27279  Labels of included documents can be referenced: Subsection\InsetSpace ~
27280
27281 \begin_inset LatexCommand ref
27282 reference "sub:External-Subsection-1"
27283
27284 \end_inset
27285
27286
27287 \end_layout
27288
27289 \begin_layout Standard
27290 The preamble of the child document is ignored, only the preamble of the
27291  master document is used.
27292  Included documents are inserted starting on a new page and end with a pagebreak.
27293 \end_layout
27294
27295 \begin_layout Standard
27296 With the LaTeX-command 
27297 \series bold
27298
27299 \backslash
27300 includeonly 
27301 \series default
27302 you can specify which included child documents are processed when the output
27303  is generated.
27304  This is useful when you are perhaps only working on a certain chapter of
27305  your large document as this saves compiling time.
27306  
27307 \series bold
27308
27309 \backslash
27310 includeonly
27311 \series default
27312  is inserted to the master document preamble.
27313  It takes a comma-separated list of the filenames as argument, e.g.
27314 \end_layout
27315
27316 \begin_layout Standard
27317
27318 \series bold
27319
27320 \backslash
27321 includeonly{chapter1,chapter5}
27322 \end_layout
27323
27324 \begin_layout Standard
27325 will only process the included files named 
27326 \begin_inset Quotes eld
27327 \end_inset
27328
27329 chapter1.lyx
27330 \begin_inset Quotes erd
27331 \end_inset
27332
27333  (or 
27334 \begin_inset Quotes eld
27335 \end_inset
27336
27337 chapter1.tex
27338 \begin_inset Quotes erd
27339 \end_inset
27340
27341 ) and 
27342 \begin_inset Quotes eld
27343 \end_inset
27344
27345 chapter5.lyx
27346 \begin_inset Quotes erd
27347 \end_inset
27348
27349  .
27350 \end_layout
27351
27352 \begin_layout Standard
27353 \begin_inset Note Greyedout
27354 status open
27355
27356 \begin_layout Standard
27357
27358 \series bold
27359 Note:
27360 \series default
27361  When you have included a LyX- or LaTeX-file, you are warned when you export/vie
27362 w the document in case that the child document uses another document class
27363  than the master document as this will lead to unexpected outputs.
27364 \end_layout
27365
27366 \end_inset
27367
27368
27369 \end_layout
27370
27371 \begin_layout Description
27372 Input This method is very similar to the Include method.
27373  The differences are:
27374 \end_layout
27375
27376 \begin_deeper
27377 \begin_layout Itemize
27378 Input files don't start with a new page and don't end with a pagebreak.
27379 \end_layout
27380
27381 \begin_layout Itemize
27382 Input files can be previewed in LyX when 
27383 \family sans
27384 Instant\InsetSpace ~
27385 Preview
27386 \family default
27387  is enabled in LyX's preferences under 
27388 \family sans
27389 Look\InsetSpace ~
27390 and\InsetSpace ~
27391 feel\SpecialChar \menuseparator
27392 Graphics
27393 \family default
27394 .
27395 \end_layout
27396
27397 \begin_layout Itemize
27398 The LaTeX-command 
27399 \series bold
27400
27401 \backslash
27402 includeonly
27403 \series default
27404  cannot be used.
27405 \end_layout
27406
27407 \end_deeper
27408 \begin_layout Standard
27409 Here is a child document inserted using 
27410 \family sans
27411 Input
27412 \family default
27413
27414 \begin_inset Include \input{DummyDocument2.lyx}
27415 preview true
27416
27417 \end_inset
27418
27419
27420 \end_layout
27421
27422 \begin_layout Description
27423 Verbatim With this method every text file can be included.
27424  The file is shown in the output with its source code, no command used in
27425  the text is invoked.
27426  You can use the option 
27427 \family sans
27428 Mark spaces in output
27429 \family default
27430  that displays the character 
27431 \begin_inset Quotes eld
27432 \end_inset
27433
27434
27435 \begin_inset ERT
27436 status collapsed
27437
27438 \begin_layout Standard
27439
27440
27441 \backslash
27442 textvisiblespace 
27443 \end_layout
27444
27445 \end_inset
27446
27447
27448 \begin_inset Quotes erd
27449 \end_inset
27450
27451  for every space character in the source code.
27452  The difference to the method via the menu 
27453 \family sans
27454 Insert\SpecialChar \menuseparator
27455 File\SpecialChar \menuseparator
27456 Plain\InsetSpace ~
27457 Text
27458 \family default
27459  is that the document content is not shown in LyX.
27460 \end_layout
27461
27462 \begin_layout Standard
27463 Here is a child document inserted as Verbatim: 
27464 \begin_inset Include \verbatiminput{DummyTextDocument.txt}
27465 preview false
27466
27467 \end_inset
27468
27469
27470 \begin_inset VSpace bigskip
27471 \end_inset
27472
27473 Here is a child document inserted as Verbatim using the 
27474 \family sans
27475 Mark spaces in output
27476 \family default
27477  option: 
27478 \begin_inset Include \verbatiminput*{DummyTextDocument.txt}
27479 preview false
27480
27481 \end_inset
27482
27483
27484 \end_layout
27485
27486 \begin_layout Standard
27487 \begin_inset VSpace bigskip
27488 \end_inset
27489
27490
27491 \end_layout
27492
27493 \begin_layout Standard
27494 \begin_inset Note Greyedout
27495 status open
27496
27497 \begin_layout Standard
27498
27499 \series bold
27500 Note:
27501 \series default
27502  As you can see in the examples above, the text of the documents included
27503  as verbatim is not broken at the end of the document lines.
27504 \end_layout
27505
27506 \end_inset
27507
27508
27509 \end_layout
27510
27511 \begin_layout Standard
27512 \begin_inset Note Greyedout
27513 status open
27514
27515 \begin_layout Standard
27516
27517 \series bold
27518 Note:
27519 \series default
27520  Including the same document twice in a document using different methods
27521  could cause LaTeX-problems.
27522 \end_layout
27523
27524 \end_inset
27525
27526
27527 \end_layout
27528
27529 \begin_layout Standard
27530
27531 \newpage
27532
27533 \end_layout
27534
27535 \begin_layout Chapter
27536 \start_of_appendix
27537 Units available in 
27538 \begin_inset ERT
27539 status collapsed
27540
27541 \begin_layout Standard
27542
27543
27544 \backslash
27545 texorpdfstring{
27546 \end_layout
27547
27548 \end_inset
27549
27550 LyX
27551 \begin_inset ERT
27552 status collapsed
27553
27554 \begin_layout Standard
27555
27556 }{LyX}
27557 \end_layout
27558
27559 \end_inset
27560
27561
27562 \begin_inset LatexCommand index
27563 name "Units"
27564
27565 \end_inset
27566
27567
27568 \begin_inset LatexCommand label
27569 name "cha:Units-available-in"
27570
27571 \end_inset
27572
27573
27574 \begin_inset Note Note
27575 status collapsed
27576
27577 \begin_layout Standard
27578 The command 
27579 \backslash
27580 texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures
27581  are displayed wrongly in PDF-bookmarks.
27582  For more information about this, have a look at 
27583 \begin_inset LatexCommand cite
27584 key "hyperref"
27585
27586 \end_inset
27587
27588 .
27589 \end_layout
27590
27591 \end_inset
27592
27593
27594 \end_layout
27595
27596 \begin_layout Standard
27597 To understand the units described in this documentation, Table\InsetSpace ~
27598
27599 \begin_inset LatexCommand ref
27600 reference "tab:Units"
27601
27602 \end_inset
27603
27604  explains all units available in LyX.
27605 \end_layout
27606
27607 \begin_layout Standard
27608 \begin_inset Float table
27609 placement h
27610 wide false
27611 sideways false
27612 status open
27613
27614 \begin_layout Standard
27615 \begin_inset Caption
27616
27617 \begin_layout Standard
27618 \begin_inset LatexCommand label
27619 name "tab:Units"
27620
27621 \end_inset
27622
27623 Units
27624 \end_layout
27625
27626 \end_inset
27627
27628
27629 \end_layout
27630
27631 \begin_layout Standard
27632 \begin_inset VSpace medskip
27633 \end_inset
27634
27635
27636 \end_layout
27637
27638 \begin_layout Standard
27639 \align center
27640 \begin_inset Tabular
27641 <lyxtabular version="3" rows="20" columns="2">
27642 <features>
27643 <column alignment="center" valignment="top" leftline="true" width="0">
27644 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
27645 <row topline="true" bottomline="true">
27646 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27647 \begin_inset Text
27648
27649 \begin_layout Standard
27650 unit
27651 \end_layout
27652
27653 \end_inset
27654 </cell>
27655 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27656 \begin_inset Text
27657
27658 \begin_layout Standard
27659 name/description
27660 \end_layout
27661
27662 \end_inset
27663 </cell>
27664 </row>
27665 <row topline="true">
27666 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27667 \begin_inset Text
27668
27669 \begin_layout Standard
27670 mm
27671 \end_layout
27672
27673 \end_inset
27674 </cell>
27675 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27676 \begin_inset Text
27677
27678 \begin_layout Standard
27679 millimeter
27680 \end_layout
27681
27682 \end_inset
27683 </cell>
27684 </row>
27685 <row topline="true">
27686 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27687 \begin_inset Text
27688
27689 \begin_layout Standard
27690 cm
27691 \end_layout
27692
27693 \end_inset
27694 </cell>
27695 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27696 \begin_inset Text
27697
27698 \begin_layout Standard
27699 centimeter
27700 \end_layout
27701
27702 \end_inset
27703 </cell>
27704 </row>
27705 <row topline="true">
27706 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27707 \begin_inset Text
27708
27709 \begin_layout Standard
27710 in
27711 \end_layout
27712
27713 \end_inset
27714 </cell>
27715 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27716 \begin_inset Text
27717
27718 \begin_layout Standard
27719 inch
27720 \end_layout
27721
27722 \end_inset
27723 </cell>
27724 </row>
27725 <row topline="true">
27726 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27727 \begin_inset Text
27728
27729 \begin_layout Standard
27730 pt
27731 \end_layout
27732
27733 \end_inset
27734 </cell>
27735 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27736 \begin_inset Text
27737
27738 \begin_layout Standard
27739 point (72.27\InsetSpace \thinspace{}
27740 pt = 1\InsetSpace \thinspace{}
27741 in)
27742 \end_layout
27743
27744 \end_inset
27745 </cell>
27746 </row>
27747 <row topline="true">
27748 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27749 \begin_inset Text
27750
27751 \begin_layout Standard
27752 pc
27753 \end_layout
27754
27755 \end_inset
27756 </cell>
27757 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27758 \begin_inset Text
27759
27760 \begin_layout Standard
27761 pica (1\InsetSpace \thinspace{}
27762 pc = 12\InsetSpace \thinspace{}
27763 pt)
27764 \end_layout
27765
27766 \end_inset
27767 </cell>
27768 </row>
27769 <row topline="true">
27770 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27771 \begin_inset Text
27772
27773 \begin_layout Standard
27774 sp
27775 \end_layout
27776
27777 \end_inset
27778 </cell>
27779 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27780 \begin_inset Text
27781
27782 \begin_layout Standard
27783 scaled point (65536\InsetSpace \thinspace{}
27784 sp = 1\InsetSpace \thinspace{}
27785 pt)
27786 \end_layout
27787
27788 \end_inset
27789 </cell>
27790 </row>
27791 <row topline="true">
27792 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27793 \begin_inset Text
27794
27795 \begin_layout Standard
27796 bp
27797 \end_layout
27798
27799 \end_inset
27800 </cell>
27801 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27802 \begin_inset Text
27803
27804 \begin_layout Standard
27805 big point (72\InsetSpace \thinspace{}
27806 bp = 1\InsetSpace \thinspace{}
27807 in)
27808 \end_layout
27809
27810 \end_inset
27811 </cell>
27812 </row>
27813 <row topline="true">
27814 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27815 \begin_inset Text
27816
27817 \begin_layout Standard
27818 dd
27819 \end_layout
27820
27821 \end_inset
27822 </cell>
27823 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27824 \begin_inset Text
27825
27826 \begin_layout Standard
27827 didot (72\InsetSpace \thinspace{}
27828 dd 
27829 \begin_inset Formula $\approx$
27830 \end_inset
27831
27832  37.6\InsetSpace \thinspace{}
27833 mm)
27834 \end_layout
27835
27836 \end_inset
27837 </cell>
27838 </row>
27839 <row topline="true">
27840 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27841 \begin_inset Text
27842
27843 \begin_layout Standard
27844 cc
27845 \end_layout
27846
27847 \end_inset
27848 </cell>
27849 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27850 \begin_inset Text
27851
27852 \begin_layout Standard
27853 cicero (1\InsetSpace \thinspace{}
27854 cc = 12\InsetSpace \thinspace{}
27855 dd)
27856 \end_layout
27857
27858 \end_inset
27859 </cell>
27860 </row>
27861 <row topline="true">
27862 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27863 \begin_inset Text
27864
27865 \begin_layout Standard
27866 Scale%
27867 \end_layout
27868
27869 \end_inset
27870 </cell>
27871 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27872 \begin_inset Text
27873
27874 \begin_layout Standard
27875 % of original image width
27876 \end_layout
27877
27878 \end_inset
27879 </cell>
27880 </row>
27881 <row topline="true">
27882 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27883 \begin_inset Text
27884
27885 \begin_layout Standard
27886 text%
27887 \end_layout
27888
27889 \end_inset
27890 </cell>
27891 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27892 \begin_inset Text
27893
27894 \begin_layout Standard
27895 % of text width
27896 \end_layout
27897
27898 \end_inset
27899 </cell>
27900 </row>
27901 <row topline="true">
27902 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27903 \begin_inset Text
27904
27905 \begin_layout Standard
27906 col%
27907 \end_layout
27908
27909 \end_inset
27910 </cell>
27911 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27912 \begin_inset Text
27913
27914 \begin_layout Standard
27915 % of column width
27916 \end_layout
27917
27918 \end_inset
27919 </cell>
27920 </row>
27921 <row topline="true">
27922 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27923 \begin_inset Text
27924
27925 \begin_layout Standard
27926 page%
27927 \end_layout
27928
27929 \end_inset
27930 </cell>
27931 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27932 \begin_inset Text
27933
27934 \begin_layout Standard
27935 % of paper width
27936 \end_layout
27937
27938 \end_inset
27939 </cell>
27940 </row>
27941 <row topline="true">
27942 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27943 \begin_inset Text
27944
27945 \begin_layout Standard
27946 line%
27947 \end_layout
27948
27949 \end_inset
27950 </cell>
27951 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27952 \begin_inset Text
27953
27954 \begin_layout Standard
27955 % of line width
27956 \end_layout
27957
27958 \end_inset
27959 </cell>
27960 </row>
27961 <row topline="true">
27962 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27963 \begin_inset Text
27964
27965 \begin_layout Standard
27966 theight%
27967 \end_layout
27968
27969 \end_inset
27970 </cell>
27971 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27972 \begin_inset Text
27973
27974 \begin_layout Standard
27975 % of text height
27976 \end_layout
27977
27978 \end_inset
27979 </cell>
27980 </row>
27981 <row topline="true">
27982 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27983 \begin_inset Text
27984
27985 \begin_layout Standard
27986 pheight%
27987 \end_layout
27988
27989 \end_inset
27990 </cell>
27991 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27992 \begin_inset Text
27993
27994 \begin_layout Standard
27995 % of paper height
27996 \end_layout
27997
27998 \end_inset
27999 </cell>
28000 </row>
28001 <row topline="true">
28002 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28003 \begin_inset Text
28004
28005 \begin_layout Standard
28006 ex
28007 \end_layout
28008
28009 \end_inset
28010 </cell>
28011 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28012 \begin_inset Text
28013
28014 \begin_layout Standard
28015 height of letter 
28016 \emph on
28017 x
28018 \emph default
28019  in current font
28020 \end_layout
28021
28022 \end_inset
28023 </cell>
28024 </row>
28025 <row topline="true">
28026 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28027 \begin_inset Text
28028
28029 \begin_layout Standard
28030 em
28031 \end_layout
28032
28033 \end_inset
28034 </cell>
28035 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28036 \begin_inset Text
28037
28038 \begin_layout Standard
28039 width of letter 
28040 \emph on
28041 M
28042 \emph default
28043  in current font
28044 \end_layout
28045
28046 \end_inset
28047 </cell>
28048 </row>
28049 <row topline="true" bottomline="true">
28050 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28051 \begin_inset Text
28052
28053 \begin_layout Standard
28054 mu
28055 \end_layout
28056
28057 \end_inset
28058 </cell>
28059 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28060 \begin_inset Text
28061
28062 \begin_layout Standard
28063 math unit (1\InsetSpace \thinspace{}
28064 mu = 1/18\InsetSpace \thinspace{}
28065 em)
28066 \end_layout
28067
28068 \end_inset
28069 </cell>
28070 </row>
28071 </lyxtabular>
28072
28073 \end_inset
28074
28075
28076 \end_layout
28077
28078 \end_inset
28079
28080
28081 \end_layout
28082
28083 \begin_layout Chapter
28084 Output File Formats with Graphics
28085 \begin_inset LatexCommand label
28086 name "cha:Output-File-Formats"
28087
28088 \end_inset
28089
28090
28091 \end_layout
28092
28093 \begin_layout Section
28094 DVI
28095 \begin_inset LatexCommand index
28096 name "File Formats ! DVI"
28097
28098 \end_inset
28099
28100
28101 \begin_inset LatexCommand index
28102 name "DVI|see{File Formats}"
28103
28104 \end_inset
28105
28106
28107 \end_layout
28108
28109 \begin_layout Standard
28110 This file type has the extension 
28111 \begin_inset Quotes eld
28112 \end_inset
28113
28114
28115 \family typewriter
28116 .dvi
28117 \family default
28118
28119 \begin_inset Quotes erd
28120 \end_inset
28121
28122 .
28123  It is called 
28124 \begin_inset Quotes eld
28125 \end_inset
28126
28127 device-independent
28128 \begin_inset Quotes erd
28129 \end_inset
28130
28131  (DVI), because it is completely portable; you can move them from one machine
28132  to another without needing to do any sort of conversion.
28133  At the time when this file-format was developed, this was no matter of
28134  course.
28135  DVIs are used for quick previews and as pre-stage for other output formats,
28136  like PostScript.
28137 \end_layout
28138
28139 \begin_layout Standard
28140 \begin_inset Note Greyedout
28141 status open
28142
28143 \begin_layout Standard
28144
28145 \series bold
28146 Note:
28147 \series default
28148  DVI-files doesn't contain images, they will only be a linked.
28149 \end_layout
28150
28151 \end_inset
28152
28153  So don't forget this, if you move your 
28154 \family typewriter
28155 .dvi
28156 \family default
28157  file to another computer.
28158  This property can also slow down your computer when you view the DVI.
28159  Because the DVI-viewer has to convert the image in the background to make
28160  it visible when you scroll in the DVI.
28161  So we recommend to use PDF for files with many images.
28162 \end_layout
28163
28164 \begin_layout Standard
28165 You can export your document to DVI by using the menu 
28166 \family sans
28167 File\SpecialChar \menuseparator
28168 Export\SpecialChar \menuseparator
28169 DVI
28170 \family default
28171 .
28172  You can view your document as DVI via the 
28173 \family sans
28174 View
28175 \family default
28176  menu or by using the toolbar button 
28177 \begin_inset Graphics
28178         filename ../images/buffer-view_dvi.xpm
28179         scale 85
28180
28181 \end_inset
28182
28183 .
28184 \end_layout
28185
28186 \begin_layout Section
28187 PostScript
28188 \begin_inset LatexCommand label
28189 name "sec:PostScript"
28190
28191 \end_inset
28192
28193
28194 \begin_inset LatexCommand index
28195 name "File Formats ! PostScript"
28196
28197 \end_inset
28198
28199
28200 \begin_inset LatexCommand index
28201 name "PostScript|see{File Formats}"
28202
28203 \end_inset
28204
28205
28206 \end_layout
28207
28208 \begin_layout Standard
28209 This file type has the extension 
28210 \begin_inset Quotes eld
28211 \end_inset
28212
28213
28214 \family typewriter
28215 .ps
28216 \family default
28217
28218 \begin_inset Quotes erd
28219 \end_inset
28220
28221 .
28222  PostScript was developed by the company 
28223 \family typewriter
28224 Adobe
28225 \family default
28226  as printer language.
28227  The file contains therefore commands that the printer uses to print the
28228  file.
28229  PostScript can be seen as 
28230 \begin_inset Quotes eld
28231 \end_inset
28232
28233 programming language
28234 \begin_inset Quotes erd
28235 \end_inset
28236
28237 ; you can calculate with it and draw diagrams and images
28238 \begin_inset Foot
28239 status collapsed
28240
28241 \begin_layout Standard
28242 If you are interested to learn more about this, have a look at the LaTeX-package
28243  
28244 \series bold
28245 PSTricks
28246 \series default
28247  
28248 \begin_inset LatexCommand cite
28249 key "pstricks"
28250
28251 \end_inset
28252
28253 .
28254 \end_layout
28255
28256 \end_inset
28257
28258 .
28259  Due to this ability, the files are often bigger than PDFs.
28260 \end_layout
28261
28262 \begin_layout Standard
28263 PostScript can only contain images in the format 
28264 \begin_inset Quotes eld
28265 \end_inset
28266
28267 Encapsulated PostScript
28268 \begin_inset Quotes erd
28269 \end_inset
28270
28271  (EPS, file extension 
28272 \begin_inset Quotes eld
28273 \end_inset
28274
28275
28276 \family typewriter
28277 .eps
28278 \family default
28279
28280 \begin_inset Quotes erd
28281 \end_inset
28282
28283 ).
28284  As LyX allows you to use any known image format in your document, it has
28285  to convert images in the background to EPS.
28286  If you have e.g 50 images in your document, LyX has to do 50 conversions
28287  whenever you view or export your document.
28288  This will slow down your work flow with LyX drastically.
28289  So if you plan to use PostScript, you can insert your images directly as
28290  EPS to avoid this problem.
28291 \end_layout
28292
28293 \begin_layout Standard
28294 You can export your document to PostScript using the menu 
28295 \family sans
28296 File\SpecialChar \menuseparator
28297 Export\SpecialChar \menuseparator
28298 Postscript
28299 \family default
28300 .
28301  You can view your document as PostScript via the 
28302 \family sans
28303 View
28304 \family default
28305  menu or by using the toolbar button 
28306 \begin_inset Graphics
28307         filename ../images/buffer-view_ps.xpm
28308         scale 85
28309
28310 \end_inset
28311
28312 .
28313 \end_layout
28314
28315 \begin_layout Section
28316 PDF
28317 \begin_inset LatexCommand label
28318 name "sec:PDF"
28319
28320 \end_inset
28321
28322
28323 \begin_inset LatexCommand index
28324 name "File Formats ! PDF"
28325
28326 \end_inset
28327
28328
28329 \begin_inset LatexCommand index
28330 name "PDF"
28331
28332 \end_inset
28333
28334
28335 \end_layout
28336
28337 \begin_layout Standard
28338 This file type has the extension 
28339 \begin_inset Quotes eld
28340 \end_inset
28341
28342
28343 \family typewriter
28344 .pdf
28345 \family default
28346
28347 \begin_inset Quotes erd
28348 \end_inset
28349
28350 .
28351  The 
28352 \begin_inset Quotes eld
28353 \end_inset
28354
28355 Portable Document Format
28356 \begin_inset Quotes erd
28357 \end_inset
28358
28359  (PDF) is developed by 
28360 \family typewriter
28361 Adobe
28362 \family default
28363  as derivative from PostScript.
28364  It is more compressed and it uses much less commands than PostScript.
28365  As the name 
28366 \begin_inset Quotes eld
28367 \end_inset
28368
28369 portable
28370 \begin_inset Quotes erd
28371 \end_inset
28372
28373  implies, it can be processed at any computer system and the printed output
28374  looks exactly the same.
28375 \end_layout
28376
28377 \begin_layout Standard
28378 PDF can contain images in its own PDF format, in the format 
28379 \begin_inset Quotes eld
28380 \end_inset
28381
28382 Joint Photographic Experts Group
28383 \begin_inset Quotes erd
28384 \end_inset
28385
28386  (JPG, file extension 
28387 \begin_inset Quotes eld
28388 \end_inset
28389
28390
28391 \family typewriter
28392 .jpg
28393 \family default
28394
28395 \begin_inset Quotes erd
28396 \end_inset
28397
28398  or 
28399 \begin_inset Quotes eld
28400 \end_inset
28401
28402
28403 \family typewriter
28404 .jpeg
28405 \family default
28406
28407 \begin_inset Quotes erd
28408 \end_inset
28409
28410 ), and in the format 
28411 \begin_inset Quotes eld
28412 \end_inset
28413
28414 Portable Network Graphics
28415 \begin_inset Quotes erd
28416 \end_inset
28417
28418  (PNG, file extension 
28419 \begin_inset Quotes eld
28420 \end_inset
28421
28422
28423 \family typewriter
28424 .png
28425 \family default
28426
28427 \begin_inset Quotes erd
28428 \end_inset
28429
28430 ).
28431  You can although use any other image format, because LyX converts them
28432  in the background to one of these formats.
28433  But as described in the section about PostScript, the image conversion
28434  will slow down your work flow.
28435  So it is recommended to use images in one of the three mentioned formats.
28436 \end_layout
28437
28438 \begin_layout Standard
28439 You can export your document to PDF via the menu 
28440 \family sans
28441 File\SpecialChar \menuseparator
28442 Export
28443 \family default
28444  in three different ways:
28445 \end_layout
28446
28447 \begin_layout Description
28448 PDF This uses the program 
28449 \family typewriter
28450 ps2pdf
28451 \family default
28452  that creates a PDF from a PostScript-version of your file.
28453  The PostScript-version is produced by the program 
28454 \family typewriter
28455 dvips
28456 \family default
28457  which uses a DVI-version as intermediate step.
28458  So this export variant consist of three conversions.
28459 \end_layout
28460
28461 \begin_layout Description
28462 PDF\InsetSpace ~
28463 (dvipdfm) This uses the program 
28464 \family typewriter
28465 dvipdfm
28466 \family default
28467  that converts your file in the background to DVI and in a second step to
28468  PDF.
28469 \end_layout
28470
28471 \begin_layout Description
28472 PDF\InsetSpace ~
28473 (pdflatex) This uses the program 
28474 \family typewriter
28475 pdftex
28476 \family default
28477  that converts your file directly to PDF.
28478 \end_layout
28479
28480 \begin_layout Standard
28481 It is recommended to use 
28482 \family sans
28483 PDF\InsetSpace ~
28484 (pdflatex)
28485 \family default
28486  because 
28487 \family typewriter
28488 pdftex
28489 \family default
28490  supports all features of actual PDF-versions, is quick and works stable
28491  without problems.
28492  The program 
28493 \family typewriter
28494 dvipdfm
28495 \family default
28496  is not under development and therefore a bit outdated.
28497 \end_layout
28498
28499 \begin_layout Standard
28500 You can view your document as PDF via the 
28501 \family sans
28502 View
28503 \family default
28504  menu or by using the toolbar button 
28505 \begin_inset Graphics
28506         filename ../images/buffer-view_pdf2.xpm
28507         scale 85
28508
28509 \end_inset
28510
28511  
28512 \family sans
28513 (
28514 \family default
28515 that uses 
28516 \family sans
28517 PDF\InsetSpace ~
28518 (pdflatex)
28519 \family default
28520 ).
28521 \end_layout
28522
28523 \begin_layout Chapter
28524 Explanation of Equation\InsetSpace ~
28525
28526 \begin_inset LatexCommand eqref
28527 reference "eq:Wgn"
28528
28529 \end_inset
28530
28531
28532 \begin_inset LatexCommand label
28533 name "cha:Explanation-of-Equation"
28534
28535 \end_inset
28536
28537
28538 \end_layout
28539
28540 \begin_layout Standard
28541 The total width of 
28542 \emph on
28543 n
28544 \emph default
28545  table cells 
28546 \begin_inset Formula $W_{\mathrm{tot\, n}}$
28547 \end_inset
28548
28549  can be calculated to
28550 \end_layout
28551
28552 \begin_layout Standard
28553 \begin_inset Formula \begin{equation}
28554 W_{\mathrm{tot}\, n}=n·(W_{g\, n}+2·\backslash\mbox{tabcolsep})+(n+1)·\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}\end{equation}
28555
28556 \end_inset
28557
28558
28559 \end_layout
28560
28561 \begin_layout Standard
28562 Where 
28563 \begin_inset Formula $W_{g\, n}$
28564 \end_inset
28565
28566  is the given width of all cells.
28567  
28568 \series bold
28569
28570 \backslash
28571 tabcolsep
28572 \series default
28573  is the LaTeX-length between the cell text and the cell border, its default
28574  value is 6\InsetSpace \thinspace{}
28575 pt.
28576  
28577 \series bold
28578
28579 \backslash
28580 arrayrulewidth
28581 \series default
28582  is the thickness of the cell border line, the default is 0.4\InsetSpace \thinspace{}
28583 pt.
28584 \end_layout
28585
28586 \begin_layout Standard
28587 Following equation\InsetSpace ~
28588
28589 \begin_inset LatexCommand eqref
28590 reference "eq:Wtot_n"
28591
28592 \end_inset
28593
28594 , the total width of a multicolumn 
28595 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
28596 \end_inset
28597
28598  is
28599 \end_layout
28600
28601 \begin_layout Standard
28602 \begin_inset Formula \begin{equation}
28603 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2·\backslash\mbox{tabcolsep}+2·\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}\end{equation}
28604
28605 \end_inset
28606
28607
28608 \end_layout
28609
28610 \begin_layout Standard
28611 By setting equation\InsetSpace ~
28612
28613 \begin_inset LatexCommand eqref
28614 reference "eq:Wtot_n"
28615
28616 \end_inset
28617
28618  and 
28619 \begin_inset LatexCommand eqref
28620 reference "eq:Wtot_mult"
28621
28622 \end_inset
28623
28624  equal we can calculate the needed given width 
28625 \begin_inset Formula $W_{g\, n}$
28626 \end_inset
28627
28628  when 
28629 \emph on
28630 n
28631 \emph default
28632  columns are spanned, so that each column has a total width of 
28633 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
28634 \end_inset
28635
28636 :
28637 \end_layout
28638
28639 \begin_layout Standard
28640 \begin_inset Formula \begin{equation}
28641 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)·(2·\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n\end{equation}
28642
28643 \end_inset
28644
28645
28646 \end_layout
28647
28648 \begin_layout Bibliography
28649 \begin_inset LatexCommand bibitem
28650 key "latexcompanion"
28651
28652 \end_inset
28653
28654 Frank Mittelbach and Michel Goossens: 
28655 \emph on
28656 The LaTeX Companion Second Edition.
28657
28658 \emph default
28659  Addison-Wesley, 2004
28660 \end_layout
28661
28662 \begin_layout Bibliography
28663 \begin_inset LatexCommand bibitem
28664 key "latexguide"
28665
28666 \end_inset
28667
28668 Helmut Kopka and Patrick W.
28669  Daly: 
28670 \emph on
28671 A Guide to LaTeX Fourth Edition.
28672
28673 \emph default
28674  Addison-Wesley, 2003
28675 \end_layout
28676
28677 \begin_layout Bibliography
28678 \begin_inset LatexCommand bibitem
28679 key "latexbook"
28680
28681 \end_inset
28682
28683 Leslie Lamport: 
28684 \emph on
28685 LaTeX: A Document Preparation System.
28686
28687 \emph default
28688  Addison-Wesley, second edition, 1994
28689 \end_layout
28690
28691 \begin_layout Bibliography
28692 \begin_inset LatexCommand bibitem
28693 key "booktabs"
28694
28695 \end_inset
28696
28697
28698 \begin_inset ERT
28699 status collapsed
28700
28701 \begin_layout Standard
28702
28703
28704 \backslash
28705 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf}
28706 {
28707 \end_layout
28708
28709 \end_inset
28710
28711 Documentation
28712 \begin_inset ERT
28713 status collapsed
28714
28715 \begin_layout Standard
28716
28717 }
28718 \end_layout
28719
28720 \end_inset
28721
28722  of the LaTeX-package 
28723 \series bold
28724 booktabs
28725 \series default
28726
28727 \begin_inset LatexCommand index
28728 name "LaTeX-packages ! booktabs"
28729
28730 \end_inset
28731
28732
28733 \end_layout
28734
28735 \begin_layout Bibliography
28736 \begin_inset LatexCommand bibitem
28737 key "caption"
28738
28739 \end_inset
28740
28741
28742 \begin_inset ERT
28743 status collapsed
28744
28745 \begin_layout Standard
28746
28747
28748 \backslash
28749 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf}{
28750 \end_layout
28751
28752 \end_inset
28753
28754 Documentation
28755 \begin_inset ERT
28756 status collapsed
28757
28758 \begin_layout Standard
28759
28760 }
28761 \end_layout
28762
28763 \end_inset
28764
28765  of the LaTeX-package 
28766 \series bold
28767 caption
28768 \series default
28769
28770 \begin_inset LatexCommand index
28771 name "LaTeX-packages ! caption"
28772
28773 \end_inset
28774
28775
28776 \end_layout
28777
28778 \begin_layout Bibliography
28779 \begin_inset LatexCommand bibitem
28780 key "caption-de"
28781
28782 \end_inset
28783
28784 German 
28785 \begin_inset ERT
28786 status collapsed
28787
28788 \begin_layout Standard
28789
28790
28791 \backslash
28792 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/anleitung.pdf}
28793 {
28794 \end_layout
28795
28796 \end_inset
28797
28798 documentation
28799 \begin_inset ERT
28800 status collapsed
28801
28802 \begin_layout Standard
28803
28804 }
28805 \end_layout
28806
28807 \end_inset
28808
28809  of the LaTeX-package 
28810 \series bold
28811 caption
28812 \end_layout
28813
28814 \begin_layout Bibliography
28815 \begin_inset LatexCommand bibitem
28816 key "endfloat"
28817
28818 \end_inset
28819
28820
28821 \begin_inset ERT
28822 status collapsed
28823
28824 \begin_layout Standard
28825
28826
28827 \backslash
28828 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf}
28829 {
28830 \end_layout
28831
28832 \end_inset
28833
28834 Documentation
28835 \begin_inset ERT
28836 status collapsed
28837
28838 \begin_layout Standard
28839
28840 }
28841 \end_layout
28842
28843 \end_inset
28844
28845  of the LaTeX-package 
28846 \series bold
28847 endf\SpecialChar \textcompwordmark{}
28848 loat
28849 \series default
28850
28851 \begin_inset LatexCommand index
28852 name "LaTeX-packages ! endfloat"
28853
28854 \end_inset
28855
28856
28857 \end_layout
28858
28859 \begin_layout Bibliography
28860 \begin_inset LatexCommand bibitem
28861 key "floatflt"
28862
28863 \end_inset
28864
28865
28866 \begin_inset ERT
28867 status collapsed
28868
28869 \begin_layout Standard
28870
28871
28872 \backslash
28873 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/floatflt/floatflt.pdf}
28874 {
28875 \end_layout
28876
28877 \end_inset
28878
28879 Documentation
28880 \begin_inset ERT
28881 status collapsed
28882
28883 \begin_layout Standard
28884
28885 }
28886 \end_layout
28887
28888 \end_inset
28889
28890  of the LaTeX-package 
28891 \series bold
28892 floatf\SpecialChar \textcompwordmark{}
28893 lt
28894 \series default
28895
28896 \begin_inset LatexCommand index
28897 name "LaTeX-packages ! floatflt"
28898
28899 \end_inset
28900
28901
28902 \end_layout
28903
28904 \begin_layout Bibliography
28905 \begin_inset LatexCommand bibitem
28906 key "footmisc"
28907
28908 \end_inset
28909
28910
28911 \begin_inset ERT
28912 status collapsed
28913
28914 \begin_layout Standard
28915
28916
28917 \backslash
28918 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf}
28919 {
28920 \end_layout
28921
28922 \end_inset
28923
28924 Documentation
28925 \begin_inset ERT
28926 status collapsed
28927
28928 \begin_layout Standard
28929
28930 }
28931 \end_layout
28932
28933 \end_inset
28934
28935  of the LaTeX-package 
28936 \series bold
28937 footmisc
28938 \series default
28939
28940 \begin_inset LatexCommand index
28941 name "LaTeX-packages ! footmisc"
28942
28943 \end_inset
28944
28945
28946 \end_layout
28947
28948 \begin_layout Bibliography
28949 \begin_inset LatexCommand bibitem
28950 key "hypcap"
28951
28952 \end_inset
28953
28954
28955 \begin_inset ERT
28956 status collapsed
28957
28958 \begin_layout Standard
28959
28960
28961 \backslash
28962 href{http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf}{
28963 \end_layout
28964
28965 \end_inset
28966
28967 Documentation
28968 \begin_inset ERT
28969 status collapsed
28970
28971 \begin_layout Standard
28972
28973 }
28974 \end_layout
28975
28976 \end_inset
28977
28978  of the LaTeX-package 
28979 \series bold
28980 hypcap
28981 \series default
28982
28983 \begin_inset LatexCommand index
28984 name "LaTeX-packages ! hyperref"
28985
28986 \end_inset
28987
28988
28989 \end_layout
28990
28991 \begin_layout Bibliography
28992 \begin_inset LatexCommand bibitem
28993 key "hyperref"
28994
28995 \end_inset
28996
28997
28998 \begin_inset ERT
28999 status collapsed
29000
29001 \begin_layout Standard
29002
29003
29004 \backslash
29005 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf}
29006 {
29007 \end_layout
29008
29009 \end_inset
29010
29011 Documentation
29012 \begin_inset ERT
29013 status collapsed
29014
29015 \begin_layout Standard
29016
29017 }
29018 \end_layout
29019
29020 \end_inset
29021
29022  of the LaTeX-package 
29023 \series bold
29024 hyperref
29025 \series default
29026
29027 \begin_inset LatexCommand index
29028 name "LaTeX-packages ! hyperref"
29029
29030 \end_inset
29031
29032
29033 \end_layout
29034
29035 \begin_layout Bibliography
29036 \begin_inset LatexCommand bibitem
29037 key "koma-script"
29038
29039 \end_inset
29040
29041
29042 \begin_inset ERT
29043 status collapsed
29044
29045 \begin_layout Standard
29046
29047
29048 \backslash
29049 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.p
29050 df}{
29051 \end_layout
29052
29053 \end_inset
29054
29055 Documentation
29056 \begin_inset ERT
29057 status collapsed
29058
29059 \begin_layout Standard
29060
29061 }
29062 \end_layout
29063
29064 \end_inset
29065
29066  of the LaTeX-package 
29067 \series bold
29068 koma-script
29069 \series default
29070
29071 \begin_inset LatexCommand index
29072 name "LaTeX-packages ! koma-script"
29073
29074 \end_inset
29075
29076
29077 \end_layout
29078
29079 \begin_layout Bibliography
29080 \begin_inset LatexCommand bibitem
29081 key "koma-script-de"
29082
29083 \end_inset
29084
29085 German 
29086 \begin_inset ERT
29087 status collapsed
29088
29089 \begin_layout Standard
29090
29091
29092 \backslash
29093 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguide.p
29094 df}{
29095 \end_layout
29096
29097 \end_inset
29098
29099 documentation
29100 \begin_inset ERT
29101 status collapsed
29102
29103 \begin_layout Standard
29104
29105 }
29106 \end_layout
29107
29108 \end_inset
29109
29110  of the LaTeX-package 
29111 \series bold
29112 koma-script
29113 \series default
29114
29115 \begin_inset LatexCommand index
29116 name "LaTeX-packages ! koma-script"
29117
29118 \end_inset
29119
29120
29121 \end_layout
29122
29123 \begin_layout Bibliography
29124 \begin_inset LatexCommand bibitem
29125 key "marginnote"
29126
29127 \end_inset
29128
29129
29130 \begin_inset ERT
29131 status collapsed
29132
29133 \begin_layout Standard
29134
29135
29136 \backslash
29137 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.
29138 pdf}{
29139 \end_layout
29140
29141 \end_inset
29142
29143 Documentation
29144 \begin_inset ERT
29145 status collapsed
29146
29147 \begin_layout Standard
29148
29149 }
29150 \end_layout
29151
29152 \end_inset
29153
29154  of the LaTeX-package 
29155 \series bold
29156 marginnote
29157 \series default
29158
29159 \begin_inset LatexCommand index
29160 name "LaTeX-packages ! marginnote"
29161
29162 \end_inset
29163
29164
29165 \end_layout
29166
29167 \begin_layout Bibliography
29168 \begin_inset LatexCommand bibitem
29169 key "pstricks"
29170
29171 \end_inset
29172
29173
29174 \begin_inset ERT
29175 status collapsed
29176
29177 \begin_layout Standard
29178
29179
29180 \backslash
29181 href{http://tug.org/PSTricks/main.cgi/}{
29182 \end_layout
29183
29184 \end_inset
29185
29186 Web page
29187 \begin_inset ERT
29188 status collapsed
29189
29190 \begin_layout Standard
29191
29192 }
29193 \end_layout
29194
29195 \end_inset
29196
29197  of the LaTeX-package 
29198 \series bold
29199 PSTricks
29200 \series default
29201
29202 \begin_inset LatexCommand index
29203 name "LaTeX-packages ! PSTricks"
29204
29205 \end_inset
29206
29207
29208 \end_layout
29209
29210 \begin_layout Bibliography
29211 \begin_inset LatexCommand bibitem
29212 key "sidecap"
29213
29214 \end_inset
29215
29216
29217 \begin_inset ERT
29218 status collapsed
29219
29220 \begin_layout Standard
29221
29222
29223 \backslash
29224 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf}{
29225 \end_layout
29226
29227 \end_inset
29228
29229 Documentation
29230 \begin_inset ERT
29231 status collapsed
29232
29233 \begin_layout Standard
29234
29235 }
29236 \end_layout
29237
29238 \end_inset
29239
29240  of the LaTeX-package 
29241 \series bold
29242 sidecap
29243 \series default
29244
29245 \begin_inset LatexCommand index
29246 name "LaTeX-packages ! sidecap"
29247
29248 \end_inset
29249
29250
29251 \end_layout
29252
29253 \begin_layout Bibliography
29254 \begin_inset LatexCommand bibitem
29255 key "NewInLyX15"
29256
29257 \end_inset
29258
29259
29260 \begin_inset ERT
29261 status collapsed
29262
29263 \begin_layout Standard
29264
29265
29266 \backslash
29267 href{http://wiki.lyx.org/LyX/NewInLyX15}{
29268 \end_layout
29269
29270 \end_inset
29271
29272 Wiki page
29273 \begin_inset ERT
29274 status collapsed
29275
29276 \begin_layout Standard
29277
29278 }
29279 \end_layout
29280
29281 \end_inset
29282
29283  about new LyX-features planned for the release 
29284 \family sans
29285 LyX 1.5
29286 \family default
29287 .
29288 \end_layout
29289
29290 \begin_layout Standard
29291 \begin_inset LatexCommand printindex
29292
29293 \end_inset
29294
29295
29296 \end_layout
29297
29298 \begin_layout Standard
29299 \begin_inset FloatList figure
29300
29301 \end_inset
29302
29303
29304 \end_layout
29305
29306 \begin_layout Standard
29307 \begin_inset FloatList table
29308
29309 \end_inset
29310
29311
29312 \end_layout
29313
29314 \end_body
29315 \end_document