]> git.lyx.org Git - lyx.git/blob - lib/doc/EmbeddedObjects.lyx
1b17439e6eb839f2da560a3e6be672b98ccf998b
[lyx.git] / lib / doc / EmbeddedObjects.lyx
1 #LyX 1.5.0svn created this file. For more info see http://www.lyx.org/
2 \lyxformat 265
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 and the width of the current
1526  column.
1527  When you have set a width you can also adjust the vertical alignment of
1528  the current row.
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 and 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 \end_layout
6229
6230 \begin_layout Standard
6231 \begin_inset ERT
6232 status collapsed
6233
6234 \begin_layout Standard
6235
6236
6237 \backslash
6238 setlength{
6239 \backslash
6240 LTcapwidth}{4in}
6241 \end_layout
6242
6243 \end_inset
6244
6245
6246 \end_layout
6247
6248 \begin_layout Subsubsection
6249 Different Captions for Table Pages
6250 \begin_inset LatexCommand index
6251 name "Longtables ! Different Captions for Pages"
6252
6253 \end_inset
6254
6255
6256 \end_layout
6257
6258 \begin_layout Standard
6259 When the other captions should differ from the one of the first table page,
6260  insert a caption with a non-empty short title in a dummy caption row marked
6261  as first header.
6262  The caption used for the other table pages is inserted as caption without
6263  a short title in a dummy caption row that is marked as main header.
6264  When this caption shouldn't include the table number, use the command
6265 \end_layout
6266
6267 \begin_layout Standard
6268
6269 \series bold
6270
6271 \backslash
6272 caption*{caption text}
6273 \end_layout
6274
6275 \begin_layout Standard
6276 instead of LyX's caption box.
6277  The label to reference the table is inserted into the caption of the first
6278  header.
6279  Table\InsetSpace ~
6280
6281 \begin_inset LatexCommand ref
6282 reference "tab:DiffCaptions"
6283
6284 \end_inset
6285
6286  is an example for a longtable with different heading where the second caption
6287  doesn't include the table number.
6288 \end_layout
6289
6290 \begin_layout Standard
6291 \align center
6292 \begin_inset Tabular
6293 <lyxtabular version="3" rows="60" columns="3">
6294 <features islongtable="true">
6295 <column alignment="left" valignment="top" leftline="true" width="0cm">
6296 <column alignment="left" valignment="top" rightline="true" width="0pt">
6297 <column alignment="right" valignment="top" rightline="true" width="0pt">
6298 <row endfirsthead="true">
6299 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6300 \begin_inset Text
6301
6302 \begin_layout Standard
6303 \begin_inset Caption
6304
6305 \begin_layout Standard
6306 Example Phone List
6307 \begin_inset LatexCommand label
6308 name "tab:DiffCaptions"
6309
6310 \end_inset
6311
6312
6313 \begin_inset OptArg
6314 status collapsed
6315
6316 \begin_layout Standard
6317 Example Phone List
6318 \end_layout
6319
6320 \end_inset
6321
6322
6323 \end_layout
6324
6325 \end_inset
6326
6327
6328 \begin_inset ERT
6329 status collapsed
6330
6331 \begin_layout Standard
6332
6333
6334 \backslash
6335
6336 \backslash
6337 %
6338 \end_layout
6339
6340 \end_inset
6341
6342
6343 \end_layout
6344
6345 \end_inset
6346 </cell>
6347 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6348 \begin_inset Text
6349
6350 \begin_layout Standard
6351
6352 \end_layout
6353
6354 \end_inset
6355 </cell>
6356 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6357 \begin_inset Text
6358
6359 \begin_layout Standard
6360
6361 \end_layout
6362
6363 \end_inset
6364 </cell>
6365 </row>
6366 <row topline="true" bottomline="true" endfirsthead="true">
6367 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6368 \begin_inset Text
6369
6370 \begin_layout Standard
6371
6372 \series bold
6373 Example Phone List (ignore the names)
6374 \end_layout
6375
6376 \end_inset
6377 </cell>
6378 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6379 \begin_inset Text
6380
6381 \begin_layout Standard
6382
6383 \end_layout
6384
6385 \end_inset
6386 </cell>
6387 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6388 \begin_inset Text
6389
6390 \begin_layout Standard
6391
6392 \end_layout
6393
6394 \end_inset
6395 </cell>
6396 </row>
6397 <row topline="true" bottomline="true" endfirsthead="true">
6398 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6399 \begin_inset Text
6400
6401 \begin_layout Standard
6402
6403 \series bold
6404 NAME
6405 \end_layout
6406
6407 \end_inset
6408 </cell>
6409 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6410 \begin_inset Text
6411
6412 \begin_layout Standard
6413
6414 \end_layout
6415
6416 \end_inset
6417 </cell>
6418 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6419 \begin_inset Text
6420
6421 \begin_layout Standard
6422
6423 \series bold
6424 TEL.
6425 \end_layout
6426
6427 \end_inset
6428 </cell>
6429 </row>
6430 <row bottomline="true" endhead="true">
6431 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6432 \begin_inset Text
6433
6434 \begin_layout Standard
6435 \begin_inset ERT
6436 status collapsed
6437
6438 \begin_layout Standard
6439
6440
6441 \backslash
6442 caption*{Continued Example Phone List}
6443 \backslash
6444
6445 \backslash
6446 %
6447 \end_layout
6448
6449 \end_inset
6450
6451
6452 \end_layout
6453
6454 \end_inset
6455 </cell>
6456 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6457 \begin_inset Text
6458
6459 \begin_layout Standard
6460
6461 \end_layout
6462
6463 \end_inset
6464 </cell>
6465 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6466 \begin_inset Text
6467
6468 \begin_layout Standard
6469
6470 \end_layout
6471
6472 \end_inset
6473 </cell>
6474 </row>
6475 <row topline="true" bottomline="true" endhead="true">
6476 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6477 \begin_inset Text
6478
6479 \begin_layout Standard
6480
6481 \series bold
6482 Example Phone List
6483 \end_layout
6484
6485 \end_inset
6486 </cell>
6487 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6488 \begin_inset Text
6489
6490 \begin_layout Standard
6491
6492 \end_layout
6493
6494 \end_inset
6495 </cell>
6496 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6497 \begin_inset Text
6498
6499 \begin_layout Standard
6500
6501 \end_layout
6502
6503 \end_inset
6504 </cell>
6505 </row>
6506 <row topline="true" bottomline="true" endhead="true">
6507 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6508 \begin_inset Text
6509
6510 \begin_layout Standard
6511
6512 \series bold
6513 NAME
6514 \end_layout
6515
6516 \end_inset
6517 </cell>
6518 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6519 \begin_inset Text
6520
6521 \begin_layout Standard
6522
6523 \end_layout
6524
6525 \end_inset
6526 </cell>
6527 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6528 \begin_inset Text
6529
6530 \begin_layout Standard
6531
6532 \series bold
6533 TEL.
6534 \end_layout
6535
6536 \end_inset
6537 </cell>
6538 </row>
6539 <row topline="true" bottomline="true" endfoot="true">
6540 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
6541 \begin_inset Text
6542
6543 \begin_layout Standard
6544 continued on next page
6545 \end_layout
6546
6547 \end_inset
6548 </cell>
6549 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6550 \begin_inset Text
6551
6552 \begin_layout Standard
6553
6554 \end_layout
6555
6556 \end_inset
6557 </cell>
6558 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6559 \begin_inset Text
6560
6561 \begin_layout Standard
6562
6563 \end_layout
6564
6565 \end_inset
6566 </cell>
6567 </row>
6568 <row>
6569 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6570 \begin_inset Text
6571
6572 \begin_layout Standard
6573
6574 \series bold
6575 Annovi
6576 \end_layout
6577
6578 \end_inset
6579 </cell>
6580 <cell alignment="center" valignment="top" topline="true" usebox="none">
6581 \begin_inset Text
6582
6583 \begin_layout Standard
6584 Silvia
6585 \end_layout
6586
6587 \end_inset
6588 </cell>
6589 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6590 \begin_inset Text
6591
6592 \begin_layout Standard
6593 111
6594 \end_layout
6595
6596 \end_inset
6597 </cell>
6598 </row>
6599 <row>
6600 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6601 \begin_inset Text
6602
6603 \begin_layout Standard
6604
6605 \series bold
6606 Bertoli
6607 \end_layout
6608
6609 \end_inset
6610 </cell>
6611 <cell alignment="center" valignment="top" topline="true" usebox="none">
6612 \begin_inset Text
6613
6614 \begin_layout Standard
6615 Stefano
6616 \end_layout
6617
6618 \end_inset
6619 </cell>
6620 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6621 \begin_inset Text
6622
6623 \begin_layout Standard
6624 111
6625 \end_layout
6626
6627 \end_inset
6628 </cell>
6629 </row>
6630 <row>
6631 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6632 \begin_inset Text
6633
6634 \begin_layout Standard
6635
6636 \series bold
6637 Bozzi
6638 \end_layout
6639
6640 \end_inset
6641 </cell>
6642 <cell alignment="center" valignment="top" topline="true" usebox="none">
6643 \begin_inset Text
6644
6645 \begin_layout Standard
6646 Walter
6647 \end_layout
6648
6649 \end_inset
6650 </cell>
6651 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6652 \begin_inset Text
6653
6654 \begin_layout Standard
6655 111
6656 \end_layout
6657
6658 \end_inset
6659 </cell>
6660 </row>
6661 <row>
6662 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6663 \begin_inset Text
6664
6665 \begin_layout Standard
6666
6667 \series bold
6668 Cachia
6669 \end_layout
6670
6671 \end_inset
6672 </cell>
6673 <cell alignment="center" valignment="top" topline="true" usebox="none">
6674 \begin_inset Text
6675
6676 \begin_layout Standard
6677 Maria
6678 \end_layout
6679
6680 \end_inset
6681 </cell>
6682 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6683 \begin_inset Text
6684
6685 \begin_layout Standard
6686 111
6687 \end_layout
6688
6689 \end_inset
6690 </cell>
6691 </row>
6692 <row>
6693 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6694 \begin_inset Text
6695
6696 \begin_layout Standard
6697
6698 \series bold
6699 Cachia
6700 \end_layout
6701
6702 \end_inset
6703 </cell>
6704 <cell alignment="center" valignment="top" topline="true" usebox="none">
6705 \begin_inset Text
6706
6707 \begin_layout Standard
6708 Maurizio
6709 \end_layout
6710
6711 \end_inset
6712 </cell>
6713 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6714 \begin_inset Text
6715
6716 \begin_layout Standard
6717 111
6718 \end_layout
6719
6720 \end_inset
6721 </cell>
6722 </row>
6723 <row>
6724 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6725 \begin_inset Text
6726
6727 \begin_layout Standard
6728
6729 \series bold
6730 Cinquemani
6731 \end_layout
6732
6733 \end_inset
6734 </cell>
6735 <cell alignment="center" valignment="top" topline="true" usebox="none">
6736 \begin_inset Text
6737
6738 \begin_layout Standard
6739 Giusi
6740 \end_layout
6741
6742 \end_inset
6743 </cell>
6744 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6745 \begin_inset Text
6746
6747 \begin_layout Standard
6748 111
6749 \end_layout
6750
6751 \end_inset
6752 </cell>
6753 </row>
6754 <row>
6755 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6756 \begin_inset Text
6757
6758 \begin_layout Standard
6759
6760 \series bold
6761 Colin
6762 \end_layout
6763
6764 \end_inset
6765 </cell>
6766 <cell alignment="center" valignment="top" topline="true" usebox="none">
6767 \begin_inset Text
6768
6769 \begin_layout Standard
6770 Bernard
6771 \end_layout
6772
6773 \end_inset
6774 </cell>
6775 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6776 \begin_inset Text
6777
6778 \begin_layout Standard
6779 111
6780 \end_layout
6781
6782 \end_inset
6783 </cell>
6784 </row>
6785 <row>
6786 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6787 \begin_inset Text
6788
6789 \begin_layout Standard
6790
6791 \series bold
6792 Concli
6793 \end_layout
6794
6795 \end_inset
6796 </cell>
6797 <cell alignment="center" valignment="top" topline="true" usebox="none">
6798 \begin_inset Text
6799
6800 \begin_layout Standard
6801 Gianfranco
6802 \end_layout
6803
6804 \end_inset
6805 </cell>
6806 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6807 \begin_inset Text
6808
6809 \begin_layout Standard
6810 111
6811 \end_layout
6812
6813 \end_inset
6814 </cell>
6815 </row>
6816 <row>
6817 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6818 \begin_inset Text
6819
6820 \begin_layout Standard
6821
6822 \series bold
6823 Dal Bosco
6824 \end_layout
6825
6826 \end_inset
6827 </cell>
6828 <cell alignment="center" valignment="top" topline="true" usebox="none">
6829 \begin_inset Text
6830
6831 \begin_layout Standard
6832 Carolina
6833 \end_layout
6834
6835 \end_inset
6836 </cell>
6837 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6838 \begin_inset Text
6839
6840 \begin_layout Standard
6841 111
6842 \end_layout
6843
6844 \end_inset
6845 </cell>
6846 </row>
6847 <row>
6848 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6849 \begin_inset Text
6850
6851 \begin_layout Standard
6852
6853 \series bold
6854 Dalpiaz
6855 \end_layout
6856
6857 \end_inset
6858 </cell>
6859 <cell alignment="center" valignment="top" topline="true" usebox="none">
6860 \begin_inset Text
6861
6862 \begin_layout Standard
6863 Annamaria
6864 \end_layout
6865
6866 \end_inset
6867 </cell>
6868 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6869 \begin_inset Text
6870
6871 \begin_layout Standard
6872 111
6873 \end_layout
6874
6875 \end_inset
6876 </cell>
6877 </row>
6878 <row>
6879 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6880 \begin_inset Text
6881
6882 \begin_layout Standard
6883
6884 \series bold
6885 Feliciello
6886 \end_layout
6887
6888 \end_inset
6889 </cell>
6890 <cell alignment="center" valignment="top" topline="true" usebox="none">
6891 \begin_inset Text
6892
6893 \begin_layout Standard
6894 Domenico
6895 \end_layout
6896
6897 \end_inset
6898 </cell>
6899 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6900 \begin_inset Text
6901
6902 \begin_layout Standard
6903 111
6904 \end_layout
6905
6906 \end_inset
6907 </cell>
6908 </row>
6909 <row>
6910 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6911 \begin_inset Text
6912
6913 \begin_layout Standard
6914
6915 \series bold
6916 Focarelli
6917 \end_layout
6918
6919 \end_inset
6920 </cell>
6921 <cell alignment="center" valignment="top" topline="true" usebox="none">
6922 \begin_inset Text
6923
6924 \begin_layout Standard
6925 Paola
6926 \end_layout
6927
6928 \end_inset
6929 </cell>
6930 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6931 \begin_inset Text
6932
6933 \begin_layout Standard
6934 111
6935 \end_layout
6936
6937 \end_inset
6938 </cell>
6939 </row>
6940 <row>
6941 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6942 \begin_inset Text
6943
6944 \begin_layout Standard
6945
6946 \series bold
6947 Galletti
6948 \end_layout
6949
6950 \end_inset
6951 </cell>
6952 <cell alignment="center" valignment="top" topline="true" usebox="none">
6953 \begin_inset Text
6954
6955 \begin_layout Standard
6956 Oreste
6957 \end_layout
6958
6959 \end_inset
6960 </cell>
6961 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6962 \begin_inset Text
6963
6964 \begin_layout Standard
6965 111
6966 \end_layout
6967
6968 \end_inset
6969 </cell>
6970 </row>
6971 <row>
6972 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6973 \begin_inset Text
6974
6975 \begin_layout Standard
6976
6977 \series bold
6978 Gasparini
6979 \end_layout
6980
6981 \end_inset
6982 </cell>
6983 <cell alignment="center" valignment="top" topline="true" usebox="none">
6984 \begin_inset Text
6985
6986 \begin_layout Standard
6987 Franca
6988 \end_layout
6989
6990 \end_inset
6991 </cell>
6992 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6993 \begin_inset Text
6994
6995 \begin_layout Standard
6996 111
6997 \end_layout
6998
6999 \end_inset
7000 </cell>
7001 </row>
7002 <row>
7003 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7004 \begin_inset Text
7005
7006 \begin_layout Standard
7007
7008 \series bold
7009 Rizzardi
7010 \series default
7011
7012 \begin_inset Foot
7013 status collapsed
7014
7015 \begin_layout Standard
7016 Example footnote
7017 \end_layout
7018
7019 \end_inset
7020
7021
7022 \end_layout
7023
7024 \end_inset
7025 </cell>
7026 <cell alignment="center" valignment="top" topline="true" usebox="none">
7027 \begin_inset Text
7028
7029 \begin_layout Standard
7030 Paola
7031 \end_layout
7032
7033 \end_inset
7034 </cell>
7035 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7036 \begin_inset Text
7037
7038 \begin_layout Standard
7039 111
7040 \end_layout
7041
7042 \end_inset
7043 </cell>
7044 </row>
7045 <row>
7046 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7047 \begin_inset Text
7048
7049 \begin_layout Standard
7050
7051 \series bold
7052 Lassini
7053 \end_layout
7054
7055 \end_inset
7056 </cell>
7057 <cell alignment="center" valignment="top" topline="true" usebox="none">
7058 \begin_inset Text
7059
7060 \begin_layout Standard
7061 Giancarlo
7062 \end_layout
7063
7064 \end_inset
7065 </cell>
7066 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7067 \begin_inset Text
7068
7069 \begin_layout Standard
7070 111
7071 \end_layout
7072
7073 \end_inset
7074 </cell>
7075 </row>
7076 <row>
7077 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7078 \begin_inset Text
7079
7080 \begin_layout Standard
7081
7082 \series bold
7083 Malfatti
7084 \end_layout
7085
7086 \end_inset
7087 </cell>
7088 <cell alignment="center" valignment="top" topline="true" usebox="none">
7089 \begin_inset Text
7090
7091 \begin_layout Standard
7092 Luciano
7093 \end_layout
7094
7095 \end_inset
7096 </cell>
7097 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7098 \begin_inset Text
7099
7100 \begin_layout Standard
7101 111
7102 \end_layout
7103
7104 \end_inset
7105 </cell>
7106 </row>
7107 <row>
7108 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7109 \begin_inset Text
7110
7111 \begin_layout Standard
7112
7113 \series bold
7114 Malfatti
7115 \end_layout
7116
7117 \end_inset
7118 </cell>
7119 <cell alignment="center" valignment="top" topline="true" usebox="none">
7120 \begin_inset Text
7121
7122 \begin_layout Standard
7123 Valeriano
7124 \end_layout
7125
7126 \end_inset
7127 </cell>
7128 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7129 \begin_inset Text
7130
7131 \begin_layout Standard
7132 111
7133 \end_layout
7134
7135 \end_inset
7136 </cell>
7137 </row>
7138 <row>
7139 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7140 \begin_inset Text
7141
7142 \begin_layout Standard
7143
7144 \series bold
7145 Meneguzzo
7146 \end_layout
7147
7148 \end_inset
7149 </cell>
7150 <cell alignment="center" valignment="top" topline="true" usebox="none">
7151 \begin_inset Text
7152
7153 \begin_layout Standard
7154 Roberto
7155 \end_layout
7156
7157 \end_inset
7158 </cell>
7159 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7160 \begin_inset Text
7161
7162 \begin_layout Standard
7163 111
7164 \end_layout
7165
7166 \end_inset
7167 </cell>
7168 </row>
7169 <row>
7170 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7171 \begin_inset Text
7172
7173 \begin_layout Standard
7174
7175 \series bold
7176 Mezzadra
7177 \end_layout
7178
7179 \end_inset
7180 </cell>
7181 <cell alignment="center" valignment="top" topline="true" usebox="none">
7182 \begin_inset Text
7183
7184 \begin_layout Standard
7185 Roberto
7186 \end_layout
7187
7188 \end_inset
7189 </cell>
7190 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7191 \begin_inset Text
7192
7193 \begin_layout Standard
7194 111
7195 \end_layout
7196
7197 \end_inset
7198 </cell>
7199 </row>
7200 <row>
7201 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7202 \begin_inset Text
7203
7204 \begin_layout Standard
7205
7206 \series bold
7207 Pirpamer
7208 \end_layout
7209
7210 \end_inset
7211 </cell>
7212 <cell alignment="center" valignment="top" topline="true" usebox="none">
7213 \begin_inset Text
7214
7215 \begin_layout Standard
7216 Erich
7217 \end_layout
7218
7219 \end_inset
7220 </cell>
7221 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7222 \begin_inset Text
7223
7224 \begin_layout Standard
7225 111
7226 \end_layout
7227
7228 \end_inset
7229 </cell>
7230 </row>
7231 <row>
7232 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7233 \begin_inset Text
7234
7235 \begin_layout Standard
7236
7237 \series bold
7238 Pochiesa
7239 \end_layout
7240
7241 \end_inset
7242 </cell>
7243 <cell alignment="center" valignment="top" topline="true" usebox="none">
7244 \begin_inset Text
7245
7246 \begin_layout Standard
7247 Paolo
7248 \end_layout
7249
7250 \end_inset
7251 </cell>
7252 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7253 \begin_inset Text
7254
7255 \begin_layout Standard
7256 111, 222
7257 \end_layout
7258
7259 \end_inset
7260 </cell>
7261 </row>
7262 <row>
7263 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7264 \begin_inset Text
7265
7266 \begin_layout Standard
7267
7268 \series bold
7269 Radina
7270 \end_layout
7271
7272 \end_inset
7273 </cell>
7274 <cell alignment="center" valignment="top" topline="true" usebox="none">
7275 \begin_inset Text
7276
7277 \begin_layout Standard
7278 Claudio
7279 \end_layout
7280
7281 \end_inset
7282 </cell>
7283 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7284 \begin_inset Text
7285
7286 \begin_layout Standard
7287 111
7288 \end_layout
7289
7290 \end_inset
7291 </cell>
7292 </row>
7293 <row>
7294 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7295 \begin_inset Text
7296
7297 \begin_layout Standard
7298
7299 \series bold
7300 Stuffer
7301 \end_layout
7302
7303 \end_inset
7304 </cell>
7305 <cell alignment="center" valignment="top" topline="true" usebox="none">
7306 \begin_inset Text
7307
7308 \begin_layout Standard
7309 Oskar
7310 \end_layout
7311
7312 \end_inset
7313 </cell>
7314 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7315 \begin_inset Text
7316
7317 \begin_layout Standard
7318 111
7319 \end_layout
7320
7321 \end_inset
7322 </cell>
7323 </row>
7324 <row>
7325 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7326 \begin_inset Text
7327
7328 \begin_layout Standard
7329
7330 \series bold
7331 Tacchelli
7332 \end_layout
7333
7334 \end_inset
7335 </cell>
7336 <cell alignment="center" valignment="top" topline="true" usebox="none">
7337 \begin_inset Text
7338
7339 \begin_layout Standard
7340 Ugo
7341 \end_layout
7342
7343 \end_inset
7344 </cell>
7345 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7346 \begin_inset Text
7347
7348 \begin_layout Standard
7349 111
7350 \end_layout
7351
7352 \end_inset
7353 </cell>
7354 </row>
7355 <row>
7356 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7357 \begin_inset Text
7358
7359 \begin_layout Standard
7360
7361 \series bold
7362 Tezzele
7363 \end_layout
7364
7365 \end_inset
7366 </cell>
7367 <cell alignment="center" valignment="top" topline="true" usebox="none">
7368 \begin_inset Text
7369
7370 \begin_layout Standard
7371 Margit
7372 \end_layout
7373
7374 \end_inset
7375 </cell>
7376 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7377 \begin_inset Text
7378
7379 \begin_layout Standard
7380 111
7381 \end_layout
7382
7383 \end_inset
7384 </cell>
7385 </row>
7386 <row>
7387 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7388 \begin_inset Text
7389
7390 \begin_layout Standard
7391
7392 \series bold
7393 Unterkalmsteiner
7394 \end_layout
7395
7396 \end_inset
7397 </cell>
7398 <cell alignment="center" valignment="top" topline="true" usebox="none">
7399 \begin_inset Text
7400
7401 \begin_layout Standard
7402 Frieda
7403 \end_layout
7404
7405 \end_inset
7406 </cell>
7407 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7408 \begin_inset Text
7409
7410 \begin_layout Standard
7411 111
7412 \end_layout
7413
7414 \end_inset
7415 </cell>
7416 </row>
7417 <row>
7418 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7419 \begin_inset Text
7420
7421 \begin_layout Standard
7422
7423 \series bold
7424 Vieider
7425 \end_layout
7426
7427 \end_inset
7428 </cell>
7429 <cell alignment="center" valignment="top" topline="true" usebox="none">
7430 \begin_inset Text
7431
7432 \begin_layout Standard
7433 Hilde
7434 \end_layout
7435
7436 \end_inset
7437 </cell>
7438 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7439 \begin_inset Text
7440
7441 \begin_layout Standard
7442 111
7443 \end_layout
7444
7445 \end_inset
7446 </cell>
7447 </row>
7448 <row>
7449 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7450 \begin_inset Text
7451
7452 \begin_layout Standard
7453
7454 \series bold
7455 Vigna
7456 \end_layout
7457
7458 \end_inset
7459 </cell>
7460 <cell alignment="center" valignment="top" topline="true" usebox="none">
7461 \begin_inset Text
7462
7463 \begin_layout Standard
7464 Jürgen
7465 \end_layout
7466
7467 \end_inset
7468 </cell>
7469 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7470 \begin_inset Text
7471
7472 \begin_layout Standard
7473 111
7474 \end_layout
7475
7476 \end_inset
7477 </cell>
7478 </row>
7479 <row>
7480 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7481 \begin_inset Text
7482
7483 \begin_layout Standard
7484
7485 \series bold
7486 Weber
7487 \end_layout
7488
7489 \end_inset
7490 </cell>
7491 <cell alignment="center" valignment="top" topline="true" usebox="none">
7492 \begin_inset Text
7493
7494 \begin_layout Standard
7495 Maurizio
7496 \end_layout
7497
7498 \end_inset
7499 </cell>
7500 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7501 \begin_inset Text
7502
7503 \begin_layout Standard
7504 111
7505 \end_layout
7506
7507 \end_inset
7508 </cell>
7509 </row>
7510 <row bottomline="true">
7511 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7512 \begin_inset Text
7513
7514 \begin_layout Standard
7515
7516 \series bold
7517 Winkler
7518 \end_layout
7519
7520 \end_inset
7521 </cell>
7522 <cell alignment="center" valignment="top" topline="true" usebox="none">
7523 \begin_inset Text
7524
7525 \begin_layout Standard
7526 Franz
7527 \end_layout
7528
7529 \end_inset
7530 </cell>
7531 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7532 \begin_inset Text
7533
7534 \begin_layout Standard
7535 111
7536 \end_layout
7537
7538 \end_inset
7539 </cell>
7540 </row>
7541 <row bottomline="true">
7542 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7543 \begin_inset Text
7544
7545 \begin_layout Standard
7546  
7547 \end_layout
7548
7549 \end_inset
7550 </cell>
7551 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
7552 \begin_inset Text
7553
7554 \begin_layout Standard
7555
7556 \end_layout
7557
7558 \end_inset
7559 </cell>
7560 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7561 \begin_inset Text
7562
7563 \begin_layout Standard
7564
7565 \end_layout
7566
7567 \end_inset
7568 </cell>
7569 </row>
7570 <row>
7571 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7572 \begin_inset Text
7573
7574 \begin_layout Standard
7575
7576 \series bold
7577 Annovi
7578 \end_layout
7579
7580 \end_inset
7581 </cell>
7582 <cell alignment="center" valignment="top" topline="true" usebox="none">
7583 \begin_inset Text
7584
7585 \begin_layout Standard
7586 Silvia
7587 \end_layout
7588
7589 \end_inset
7590 </cell>
7591 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7592 \begin_inset Text
7593
7594 \begin_layout Standard
7595 555
7596 \end_layout
7597
7598 \end_inset
7599 </cell>
7600 </row>
7601 <row>
7602 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7603 \begin_inset Text
7604
7605 \begin_layout Standard
7606
7607 \series bold
7608 Bertoli
7609 \end_layout
7610
7611 \end_inset
7612 </cell>
7613 <cell alignment="center" valignment="top" topline="true" usebox="none">
7614 \begin_inset Text
7615
7616 \begin_layout Standard
7617 Stefano
7618 \end_layout
7619
7620 \end_inset
7621 </cell>
7622 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7623 \begin_inset Text
7624
7625 \begin_layout Standard
7626 555
7627 \end_layout
7628
7629 \end_inset
7630 </cell>
7631 </row>
7632 <row>
7633 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7634 \begin_inset Text
7635
7636 \begin_layout Standard
7637
7638 \series bold
7639 Bozzi
7640 \end_layout
7641
7642 \end_inset
7643 </cell>
7644 <cell alignment="center" valignment="top" topline="true" usebox="none">
7645 \begin_inset Text
7646
7647 \begin_layout Standard
7648 Walter
7649 \end_layout
7650
7651 \end_inset
7652 </cell>
7653 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7654 \begin_inset Text
7655
7656 \begin_layout Standard
7657 555
7658 \end_layout
7659
7660 \end_inset
7661 </cell>
7662 </row>
7663 <row>
7664 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7665 \begin_inset Text
7666
7667 \begin_layout Standard
7668
7669 \series bold
7670 Cachia
7671 \end_layout
7672
7673 \end_inset
7674 </cell>
7675 <cell alignment="center" valignment="top" topline="true" usebox="none">
7676 \begin_inset Text
7677
7678 \begin_layout Standard
7679 Maria
7680 \end_layout
7681
7682 \end_inset
7683 </cell>
7684 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7685 \begin_inset Text
7686
7687 \begin_layout Standard
7688 555
7689 \end_layout
7690
7691 \end_inset
7692 </cell>
7693 </row>
7694 <row>
7695 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7696 \begin_inset Text
7697
7698 \begin_layout Standard
7699
7700 \series bold
7701 Cachia
7702 \end_layout
7703
7704 \end_inset
7705 </cell>
7706 <cell alignment="center" valignment="top" topline="true" usebox="none">
7707 \begin_inset Text
7708
7709 \begin_layout Standard
7710 Maurizio
7711 \end_layout
7712
7713 \end_inset
7714 </cell>
7715 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7716 \begin_inset Text
7717
7718 \begin_layout Standard
7719 555
7720 \end_layout
7721
7722 \end_inset
7723 </cell>
7724 </row>
7725 <row>
7726 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7727 \begin_inset Text
7728
7729 \begin_layout Standard
7730
7731 \series bold
7732 Cinquemani
7733 \end_layout
7734
7735 \end_inset
7736 </cell>
7737 <cell alignment="center" valignment="top" topline="true" usebox="none">
7738 \begin_inset Text
7739
7740 \begin_layout Standard
7741 Giusi
7742 \end_layout
7743
7744 \end_inset
7745 </cell>
7746 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7747 \begin_inset Text
7748
7749 \begin_layout Standard
7750 555
7751 \end_layout
7752
7753 \end_inset
7754 </cell>
7755 </row>
7756 <row>
7757 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7758 \begin_inset Text
7759
7760 \begin_layout Standard
7761
7762 \series bold
7763 Colin
7764 \end_layout
7765
7766 \end_inset
7767 </cell>
7768 <cell alignment="center" valignment="top" topline="true" usebox="none">
7769 \begin_inset Text
7770
7771 \begin_layout Standard
7772 Bernard
7773 \end_layout
7774
7775 \end_inset
7776 </cell>
7777 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7778 \begin_inset Text
7779
7780 \begin_layout Standard
7781 555
7782 \end_layout
7783
7784 \end_inset
7785 </cell>
7786 </row>
7787 <row>
7788 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7789 \begin_inset Text
7790
7791 \begin_layout Standard
7792
7793 \series bold
7794 Concli
7795 \end_layout
7796
7797 \end_inset
7798 </cell>
7799 <cell alignment="center" valignment="top" topline="true" usebox="none">
7800 \begin_inset Text
7801
7802 \begin_layout Standard
7803 Gianfranco
7804 \end_layout
7805
7806 \end_inset
7807 </cell>
7808 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7809 \begin_inset Text
7810
7811 \begin_layout Standard
7812 555
7813 \end_layout
7814
7815 \end_inset
7816 </cell>
7817 </row>
7818 <row>
7819 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7820 \begin_inset Text
7821
7822 \begin_layout Standard
7823
7824 \series bold
7825 Dal Bosco
7826 \end_layout
7827
7828 \end_inset
7829 </cell>
7830 <cell alignment="center" valignment="top" topline="true" usebox="none">
7831 \begin_inset Text
7832
7833 \begin_layout Standard
7834 Carolina
7835 \end_layout
7836
7837 \end_inset
7838 </cell>
7839 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7840 \begin_inset Text
7841
7842 \begin_layout Standard
7843 555
7844 \end_layout
7845
7846 \end_inset
7847 </cell>
7848 </row>
7849 <row>
7850 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7851 \begin_inset Text
7852
7853 \begin_layout Standard
7854
7855 \series bold
7856 Dalpiaz
7857 \end_layout
7858
7859 \end_inset
7860 </cell>
7861 <cell alignment="center" valignment="top" topline="true" usebox="none">
7862 \begin_inset Text
7863
7864 \begin_layout Standard
7865 Annamaria
7866 \end_layout
7867
7868 \end_inset
7869 </cell>
7870 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7871 \begin_inset Text
7872
7873 \begin_layout Standard
7874 555
7875 \end_layout
7876
7877 \end_inset
7878 </cell>
7879 </row>
7880 <row>
7881 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7882 \begin_inset Text
7883
7884 \begin_layout Standard
7885
7886 \series bold
7887 Feliciello
7888 \end_layout
7889
7890 \end_inset
7891 </cell>
7892 <cell alignment="center" valignment="top" topline="true" usebox="none">
7893 \begin_inset Text
7894
7895 \begin_layout Standard
7896 Domenico
7897 \end_layout
7898
7899 \end_inset
7900 </cell>
7901 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7902 \begin_inset Text
7903
7904 \begin_layout Standard
7905 555
7906 \end_layout
7907
7908 \end_inset
7909 </cell>
7910 </row>
7911 <row>
7912 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7913 \begin_inset Text
7914
7915 \begin_layout Standard
7916
7917 \series bold
7918 Focarelli
7919 \end_layout
7920
7921 \end_inset
7922 </cell>
7923 <cell alignment="center" valignment="top" topline="true" usebox="none">
7924 \begin_inset Text
7925
7926 \begin_layout Standard
7927 Paola
7928 \end_layout
7929
7930 \end_inset
7931 </cell>
7932 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7933 \begin_inset Text
7934
7935 \begin_layout Standard
7936 555
7937 \end_layout
7938
7939 \end_inset
7940 </cell>
7941 </row>
7942 <row>
7943 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7944 \begin_inset Text
7945
7946 \begin_layout Standard
7947
7948 \series bold
7949 Galletti
7950 \end_layout
7951
7952 \end_inset
7953 </cell>
7954 <cell alignment="center" valignment="top" topline="true" usebox="none">
7955 \begin_inset Text
7956
7957 \begin_layout Standard
7958 Oreste
7959 \end_layout
7960
7961 \end_inset
7962 </cell>
7963 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7964 \begin_inset Text
7965
7966 \begin_layout Standard
7967 555
7968 \end_layout
7969
7970 \end_inset
7971 </cell>
7972 </row>
7973 <row>
7974 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7975 \begin_inset Text
7976
7977 \begin_layout Standard
7978
7979 \series bold
7980 Gasparini
7981 \end_layout
7982
7983 \end_inset
7984 </cell>
7985 <cell alignment="center" valignment="top" topline="true" usebox="none">
7986 \begin_inset Text
7987
7988 \begin_layout Standard
7989 Franca
7990 \end_layout
7991
7992 \end_inset
7993 </cell>
7994 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7995 \begin_inset Text
7996
7997 \begin_layout Standard
7998 555
7999 \end_layout
8000
8001 \end_inset
8002 </cell>
8003 </row>
8004 <row>
8005 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8006 \begin_inset Text
8007
8008 \begin_layout Standard
8009
8010 \series bold
8011 Rizzardi
8012 \end_layout
8013
8014 \end_inset
8015 </cell>
8016 <cell alignment="center" valignment="top" topline="true" usebox="none">
8017 \begin_inset Text
8018
8019 \begin_layout Standard
8020 Paola
8021 \end_layout
8022
8023 \end_inset
8024 </cell>
8025 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8026 \begin_inset Text
8027
8028 \begin_layout Standard
8029 555
8030 \end_layout
8031
8032 \end_inset
8033 </cell>
8034 </row>
8035 <row>
8036 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8037 \begin_inset Text
8038
8039 \begin_layout Standard
8040
8041 \series bold
8042 Lassini
8043 \end_layout
8044
8045 \end_inset
8046 </cell>
8047 <cell alignment="center" valignment="top" topline="true" usebox="none">
8048 \begin_inset Text
8049
8050 \begin_layout Standard
8051 Giancarlo
8052 \end_layout
8053
8054 \end_inset
8055 </cell>
8056 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8057 \begin_inset Text
8058
8059 \begin_layout Standard
8060 555
8061 \end_layout
8062
8063 \end_inset
8064 </cell>
8065 </row>
8066 <row>
8067 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8068 \begin_inset Text
8069
8070 \begin_layout Standard
8071
8072 \series bold
8073 Malfatti
8074 \end_layout
8075
8076 \end_inset
8077 </cell>
8078 <cell alignment="center" valignment="top" topline="true" usebox="none">
8079 \begin_inset Text
8080
8081 \begin_layout Standard
8082 Luciano
8083 \end_layout
8084
8085 \end_inset
8086 </cell>
8087 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8088 \begin_inset Text
8089
8090 \begin_layout Standard
8091 555
8092 \end_layout
8093
8094 \end_inset
8095 </cell>
8096 </row>
8097 <row>
8098 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8099 \begin_inset Text
8100
8101 \begin_layout Standard
8102
8103 \series bold
8104 Malfatti
8105 \end_layout
8106
8107 \end_inset
8108 </cell>
8109 <cell alignment="center" valignment="top" topline="true" usebox="none">
8110 \begin_inset Text
8111
8112 \begin_layout Standard
8113 Valeriano
8114 \end_layout
8115
8116 \end_inset
8117 </cell>
8118 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8119 \begin_inset Text
8120
8121 \begin_layout Standard
8122 555
8123 \end_layout
8124
8125 \end_inset
8126 </cell>
8127 </row>
8128 <row>
8129 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8130 \begin_inset Text
8131
8132 \begin_layout Standard
8133
8134 \series bold
8135 Meneguzzo
8136 \end_layout
8137
8138 \end_inset
8139 </cell>
8140 <cell alignment="center" valignment="top" topline="true" usebox="none">
8141 \begin_inset Text
8142
8143 \begin_layout Standard
8144 Roberto
8145 \end_layout
8146
8147 \end_inset
8148 </cell>
8149 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8150 \begin_inset Text
8151
8152 \begin_layout Standard
8153 555
8154 \end_layout
8155
8156 \end_inset
8157 </cell>
8158 </row>
8159 <row bottomline="true">
8160 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8161 \begin_inset Text
8162
8163 \begin_layout Standard
8164
8165 \series bold
8166 Mezzadra
8167 \end_layout
8168
8169 \end_inset
8170 </cell>
8171 <cell alignment="center" valignment="top" topline="true" usebox="none">
8172 \begin_inset Text
8173
8174 \begin_layout Standard
8175 Roberto
8176 \end_layout
8177
8178 \end_inset
8179 </cell>
8180 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8181 \begin_inset Text
8182
8183 \begin_layout Standard
8184 555
8185 \end_layout
8186
8187 \end_inset
8188 </cell>
8189 </row>
8190 <row bottomline="true" endlastfoot="true">
8191 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
8192 \begin_inset Text
8193
8194 \begin_layout Standard
8195
8196 \end_layout
8197
8198 \end_inset
8199 </cell>
8200 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8201 \begin_inset Text
8202
8203 \begin_layout Standard
8204
8205 \end_layout
8206
8207 \end_inset
8208 </cell>
8209 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8210 \begin_inset Text
8211
8212 \begin_layout Standard
8213
8214 \end_layout
8215
8216 \end_inset
8217 </cell>
8218 </row>
8219 </lyxtabular>
8220
8221 \end_inset
8222
8223
8224 \end_layout
8225
8226 \begin_layout Section
8227 Special Longtable Issues
8228 \begin_inset LatexCommand label
8229 name "sec:Special-Longtable-Issues"
8230
8231 \end_inset
8232
8233
8234 \end_layout
8235
8236 \begin_layout Subsection
8237 Longtable Calculation
8238 \begin_inset LatexCommand index
8239 name "Longtables ! Calculation"
8240
8241 \end_inset
8242
8243
8244 \end_layout
8245
8246 \begin_layout Standard
8247 LaTeX calculates the height of table pages and their page breaks using so
8248  called chunks.
8249  Chunks are pieces of the tables that are at once in LaTeX's memory.
8250  The default value is historically set to only 20 table rows.
8251  If you are using longtables with many pages this may slow down the creation
8252  of your document.
8253  You can safely increase the chunk size to values of 100-1000 by adding
8254  this command line to your document preamble:
8255 \end_layout
8256
8257 \begin_layout Standard
8258
8259 \series bold
8260
8261 \backslash
8262 setcounter{LTchunksize}{100}
8263 \end_layout
8264
8265 \begin_layout Subsection
8266 Floats and Longtables
8267 \begin_inset LatexCommand index
8268 name "Longtables ! Floats"
8269
8270 \end_inset
8271
8272
8273 \end_layout
8274
8275 \begin_layout Standard
8276 There might be problems when a float appears on the same page where a longtable
8277  starts.
8278  To avoid such situation, add the command 
8279 \series bold
8280
8281 \backslash
8282 clearpage
8283 \series default
8284  as ERT before your longtable.
8285 \end_layout
8286
8287 \begin_layout Subsection
8288 Forced Page Breaks
8289 \begin_inset LatexCommand index
8290 name "Longtables ! Forced Page Breaks"
8291
8292 \end_inset
8293
8294
8295 \end_layout
8296
8297 \begin_layout Standard
8298 By default tables are only broken between rows.
8299  If you have a cell with multiples lines and want to have a page break within
8300  the cell, insert the new line command 
8301 \begin_inset Quotes eld
8302 \end_inset
8303
8304
8305 \series bold
8306
8307 \backslash
8308
8309 \backslash
8310
8311 \series default
8312
8313 \begin_inset Quotes erd
8314 \end_inset
8315
8316  as ERT at this point of the cell where it should be broken.
8317  Before the 
8318 \series bold
8319
8320 \backslash
8321
8322 \backslash
8323
8324 \series default
8325  command you have to insert in ERT so many 
8326 \begin_inset Quotes eld
8327 \end_inset
8328
8329
8330 \series bold
8331 &
8332 \series default
8333
8334 \begin_inset Quotes erd
8335 \end_inset
8336
8337  characters like the number of the following table columns.
8338  The 
8339 \series bold
8340 &
8341 \series default
8342  is the character to separate table cells.
8343  Write in ERT after each 
8344 \series bold
8345 &
8346 \series default
8347  the content of the corresponding following cell and delete the content
8348  of these cells.
8349 \newline
8350 Behind the the 
8351 \series bold
8352
8353 \backslash
8354
8355 \backslash
8356
8357 \series default
8358  command, insert so many 
8359 \series bold
8360 &
8361 \series default
8362  characters like the number of table columns before the current column.
8363  In Table\InsetSpace ~
8364
8365 \begin_inset LatexCommand ref
8366 reference "tab:ForcedPagebreak"
8367
8368 \end_inset
8369
8370  the cell that should be broken is in the second column followed by another
8371  column.
8372  Therefore the following command was inserted in the cell as ERT behind
8373  
8374 \begin_inset Quotes eld
8375 \end_inset
8376
8377
8378 \emph on
8379 Castelchiodato,
8380 \emph default
8381
8382 \begin_inset Quotes erd
8383 \end_inset
8384
8385 :
8386 \end_layout
8387
8388 \begin_layout Standard
8389
8390 \series bold
8391 & 111
8392 \backslash
8393
8394 \backslash
8395
8396 \newline
8397 &
8398 \end_layout
8399
8400 \begin_layout Standard
8401 The 
8402 \begin_inset Quotes eld
8403 \end_inset
8404
8405 111
8406 \begin_inset Quotes erd
8407 \end_inset
8408
8409  in the third columns of the row was deleted.
8410  If your footer row of the longtable has for a certain reason no upper line
8411  but you would have a horizontal line where the cell is broken, use this
8412  command instead:
8413 \end_layout
8414
8415 \begin_layout Standard
8416
8417 \series bold
8418 & 111
8419 \backslash
8420
8421 \backslash
8422
8423 \newline
8424
8425 \backslash
8426 hline &
8427 \end_layout
8428
8429 \begin_layout Standard
8430 When the cell to be broken is in the last column, the command
8431 \end_layout
8432
8433 \begin_layout Standard
8434
8435 \series bold
8436
8437 \backslash
8438 setlength{
8439 \backslash
8440 parf\SpecialChar \textcompwordmark{}
8441 illskip}{0pt}
8442 \end_layout
8443
8444 \begin_layout Standard
8445 must be inserted as ERT at the beginning of the cell.
8446  This assures that the part of the cell that will be displayed on the new
8447  page appears with the full width.
8448  
8449 \end_layout
8450
8451 \begin_layout Standard
8452 \align center
8453 \begin_inset Tabular
8454 <lyxtabular version="3" rows="39" columns="3">
8455 <features islongtable="true">
8456 <column alignment="left" valignment="top" leftline="true" width="0cm">
8457 <column alignment="left" valignment="top" rightline="true" width="3cm">
8458 <column alignment="right" valignment="top" rightline="true" width="0pt">
8459 <row endfirsthead="true">
8460 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8461 \begin_inset Text
8462
8463 \begin_layout Standard
8464 \begin_inset Caption
8465
8466 \begin_layout Standard
8467 Table with forced page break in table cell
8468 \begin_inset LatexCommand label
8469 name "tab:ForcedPagebreak"
8470
8471 \end_inset
8472
8473
8474 \begin_inset OptArg
8475 status collapsed
8476
8477 \begin_layout Standard
8478 Table with forced page break in table cell
8479 \end_layout
8480
8481 \end_inset
8482
8483
8484 \end_layout
8485
8486 \end_inset
8487
8488
8489 \begin_inset ERT
8490 status collapsed
8491
8492 \begin_layout Standard
8493
8494
8495 \backslash
8496
8497 \backslash
8498 %
8499 \end_layout
8500
8501 \end_inset
8502
8503
8504 \end_layout
8505
8506 \end_inset
8507 </cell>
8508 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8509 \begin_inset Text
8510
8511 \begin_layout Standard
8512
8513 \end_layout
8514
8515 \end_inset
8516 </cell>
8517 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8518 \begin_inset Text
8519
8520 \begin_layout Standard
8521
8522 \end_layout
8523
8524 \end_inset
8525 </cell>
8526 </row>
8527 <row topline="true" bottomline="true" endfirsthead="true">
8528 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8529 \begin_inset Text
8530
8531 \begin_layout Standard
8532
8533 \series bold
8534 Example Phone List (ignore the names)
8535 \end_layout
8536
8537 \end_inset
8538 </cell>
8539 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8540 \begin_inset Text
8541
8542 \begin_layout Standard
8543
8544 \end_layout
8545
8546 \end_inset
8547 </cell>
8548 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8549 \begin_inset Text
8550
8551 \begin_layout Standard
8552
8553 \end_layout
8554
8555 \end_inset
8556 </cell>
8557 </row>
8558 <row topline="true" bottomline="true" endfirsthead="true">
8559 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8560 \begin_inset Text
8561
8562 \begin_layout Standard
8563
8564 \series bold
8565 NAME
8566 \end_layout
8567
8568 \end_inset
8569 </cell>
8570 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8571 \begin_inset Text
8572
8573 \begin_layout Standard
8574
8575 \end_layout
8576
8577 \end_inset
8578 </cell>
8579 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8580 \begin_inset Text
8581
8582 \begin_layout Standard
8583
8584 \series bold
8585 TEL.
8586 \end_layout
8587
8588 \end_inset
8589 </cell>
8590 </row>
8591 <row bottomline="true" endhead="true">
8592 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8593 \begin_inset Text
8594
8595 \begin_layout Standard
8596 \begin_inset ERT
8597 status collapsed
8598
8599 \begin_layout Standard
8600
8601
8602 \backslash
8603 caption*{Continued table with forced page break in table cell}
8604 \backslash
8605
8606 \backslash
8607 %
8608 \end_layout
8609
8610 \end_inset
8611
8612
8613 \end_layout
8614
8615 \end_inset
8616 </cell>
8617 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8618 \begin_inset Text
8619
8620 \begin_layout Standard
8621
8622 \end_layout
8623
8624 \end_inset
8625 </cell>
8626 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8627 \begin_inset Text
8628
8629 \begin_layout Standard
8630
8631 \end_layout
8632
8633 \end_inset
8634 </cell>
8635 </row>
8636 <row topline="true" bottomline="true" endhead="true">
8637 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8638 \begin_inset Text
8639
8640 \begin_layout Standard
8641  
8642 \series bold
8643 Example Phone List
8644 \end_layout
8645
8646 \end_inset
8647 </cell>
8648 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8649 \begin_inset Text
8650
8651 \begin_layout Standard
8652
8653 \end_layout
8654
8655 \end_inset
8656 </cell>
8657 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8658 \begin_inset Text
8659
8660 \begin_layout Standard
8661
8662 \end_layout
8663
8664 \end_inset
8665 </cell>
8666 </row>
8667 <row topline="true" bottomline="true" endhead="true">
8668 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8669 \begin_inset Text
8670
8671 \begin_layout Standard
8672
8673 \series bold
8674 NAME
8675 \end_layout
8676
8677 \end_inset
8678 </cell>
8679 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8680 \begin_inset Text
8681
8682 \begin_layout Standard
8683
8684 \end_layout
8685
8686 \end_inset
8687 </cell>
8688 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8689 \begin_inset Text
8690
8691 \begin_layout Standard
8692
8693 \series bold
8694 TEL.
8695 \end_layout
8696
8697 \end_inset
8698 </cell>
8699 </row>
8700 <row topline="true" bottomline="true" endfoot="true">
8701 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
8702 \begin_inset Text
8703
8704 \begin_layout Standard
8705 continued on next page
8706 \end_layout
8707
8708 \end_inset
8709 </cell>
8710 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8711 \begin_inset Text
8712
8713 \begin_layout Standard
8714
8715 \end_layout
8716
8717 \end_inset
8718 </cell>
8719 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8720 \begin_inset Text
8721
8722 \begin_layout Standard
8723
8724 \end_layout
8725
8726 \end_inset
8727 </cell>
8728 </row>
8729 <row>
8730 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8731 \begin_inset Text
8732
8733 \begin_layout Standard
8734
8735 \series bold
8736 Annovi
8737 \end_layout
8738
8739 \end_inset
8740 </cell>
8741 <cell alignment="center" valignment="top" topline="true" usebox="none">
8742 \begin_inset Text
8743
8744 \begin_layout Standard
8745 Silvia
8746 \end_layout
8747
8748 \end_inset
8749 </cell>
8750 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8751 \begin_inset Text
8752
8753 \begin_layout Standard
8754 111
8755 \end_layout
8756
8757 \end_inset
8758 </cell>
8759 </row>
8760 <row>
8761 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8762 \begin_inset Text
8763
8764 \begin_layout Standard
8765
8766 \series bold
8767 Bertoli
8768 \end_layout
8769
8770 \end_inset
8771 </cell>
8772 <cell alignment="center" valignment="top" topline="true" usebox="none">
8773 \begin_inset Text
8774
8775 \begin_layout Standard
8776 Stefano
8777 \end_layout
8778
8779 \end_inset
8780 </cell>
8781 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8782 \begin_inset Text
8783
8784 \begin_layout Standard
8785 111
8786 \end_layout
8787
8788 \end_inset
8789 </cell>
8790 </row>
8791 <row>
8792 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8793 \begin_inset Text
8794
8795 \begin_layout Standard
8796
8797 \series bold
8798 Bozzi
8799 \end_layout
8800
8801 \end_inset
8802 </cell>
8803 <cell alignment="center" valignment="top" topline="true" usebox="none">
8804 \begin_inset Text
8805
8806 \begin_layout Standard
8807 Walter
8808 \end_layout
8809
8810 \end_inset
8811 </cell>
8812 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8813 \begin_inset Text
8814
8815 \begin_layout Standard
8816 111
8817 \end_layout
8818
8819 \end_inset
8820 </cell>
8821 </row>
8822 <row>
8823 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8824 \begin_inset Text
8825
8826 \begin_layout Standard
8827
8828 \series bold
8829 Cachia
8830 \end_layout
8831
8832 \end_inset
8833 </cell>
8834 <cell alignment="center" valignment="top" topline="true" usebox="none">
8835 \begin_inset Text
8836
8837 \begin_layout Standard
8838 Maria
8839 \end_layout
8840
8841 \end_inset
8842 </cell>
8843 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8844 \begin_inset Text
8845
8846 \begin_layout Standard
8847 111
8848 \end_layout
8849
8850 \end_inset
8851 </cell>
8852 </row>
8853 <row>
8854 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8855 \begin_inset Text
8856
8857 \begin_layout Standard
8858
8859 \series bold
8860 Cachia
8861 \end_layout
8862
8863 \end_inset
8864 </cell>
8865 <cell alignment="center" valignment="top" topline="true" usebox="none">
8866 \begin_inset Text
8867
8868 \begin_layout Standard
8869 Maurizio
8870 \end_layout
8871
8872 \end_inset
8873 </cell>
8874 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8875 \begin_inset Text
8876
8877 \begin_layout Standard
8878 111
8879 \end_layout
8880
8881 \end_inset
8882 </cell>
8883 </row>
8884 <row>
8885 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8886 \begin_inset Text
8887
8888 \begin_layout Standard
8889
8890 \series bold
8891 Cinquemani
8892 \end_layout
8893
8894 \end_inset
8895 </cell>
8896 <cell alignment="center" valignment="top" topline="true" usebox="none">
8897 \begin_inset Text
8898
8899 \begin_layout Standard
8900 Giusi
8901 \end_layout
8902
8903 \end_inset
8904 </cell>
8905 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8906 \begin_inset Text
8907
8908 \begin_layout Standard
8909 111
8910 \end_layout
8911
8912 \end_inset
8913 </cell>
8914 </row>
8915 <row>
8916 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8917 \begin_inset Text
8918
8919 \begin_layout Standard
8920
8921 \series bold
8922 Colin
8923 \end_layout
8924
8925 \end_inset
8926 </cell>
8927 <cell alignment="center" valignment="top" topline="true" usebox="none">
8928 \begin_inset Text
8929
8930 \begin_layout Standard
8931 Bernard
8932 \end_layout
8933
8934 \end_inset
8935 </cell>
8936 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8937 \begin_inset Text
8938
8939 \begin_layout Standard
8940 111
8941 \end_layout
8942
8943 \end_inset
8944 </cell>
8945 </row>
8946 <row>
8947 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8948 \begin_inset Text
8949
8950 \begin_layout Standard
8951
8952 \series bold
8953 Concli
8954 \end_layout
8955
8956 \end_inset
8957 </cell>
8958 <cell alignment="center" valignment="top" topline="true" usebox="none">
8959 \begin_inset Text
8960
8961 \begin_layout Standard
8962 Gianfranco
8963 \end_layout
8964
8965 \end_inset
8966 </cell>
8967 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8968 \begin_inset Text
8969
8970 \begin_layout Standard
8971 111
8972 \end_layout
8973
8974 \end_inset
8975 </cell>
8976 </row>
8977 <row>
8978 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8979 \begin_inset Text
8980
8981 \begin_layout Standard
8982
8983 \series bold
8984 Dal Bosco
8985 \end_layout
8986
8987 \end_inset
8988 </cell>
8989 <cell alignment="center" valignment="top" topline="true" usebox="none">
8990 \begin_inset Text
8991
8992 \begin_layout Standard
8993 Carolina
8994 \end_layout
8995
8996 \end_inset
8997 </cell>
8998 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8999 \begin_inset Text
9000
9001 \begin_layout Standard
9002 111
9003 \end_layout
9004
9005 \end_inset
9006 </cell>
9007 </row>
9008 <row>
9009 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9010 \begin_inset Text
9011
9012 \begin_layout Standard
9013
9014 \series bold
9015 Dalpiaz
9016 \end_layout
9017
9018 \end_inset
9019 </cell>
9020 <cell alignment="center" valignment="top" topline="true" usebox="none">
9021 \begin_inset Text
9022
9023 \begin_layout Standard
9024 Annamaria
9025 \end_layout
9026
9027 \end_inset
9028 </cell>
9029 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9030 \begin_inset Text
9031
9032 \begin_layout Standard
9033 111
9034 \end_layout
9035
9036 \end_inset
9037 </cell>
9038 </row>
9039 <row>
9040 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9041 \begin_inset Text
9042
9043 \begin_layout Standard
9044
9045 \series bold
9046 Feliciello
9047 \end_layout
9048
9049 \end_inset
9050 </cell>
9051 <cell alignment="center" valignment="top" topline="true" usebox="none">
9052 \begin_inset Text
9053
9054 \begin_layout Standard
9055 Domenico
9056 \end_layout
9057
9058 \end_inset
9059 </cell>
9060 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9061 \begin_inset Text
9062
9063 \begin_layout Standard
9064 111
9065 \end_layout
9066
9067 \end_inset
9068 </cell>
9069 </row>
9070 <row>
9071 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9072 \begin_inset Text
9073
9074 \begin_layout Standard
9075
9076 \series bold
9077 Focarelli
9078 \end_layout
9079
9080 \end_inset
9081 </cell>
9082 <cell alignment="center" valignment="top" topline="true" usebox="none">
9083 \begin_inset Text
9084
9085 \begin_layout Standard
9086 Paola
9087 \end_layout
9088
9089 \end_inset
9090 </cell>
9091 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9092 \begin_inset Text
9093
9094 \begin_layout Standard
9095 111
9096 \end_layout
9097
9098 \end_inset
9099 </cell>
9100 </row>
9101 <row>
9102 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9103 \begin_inset Text
9104
9105 \begin_layout Standard
9106
9107 \series bold
9108 Galletti
9109 \end_layout
9110
9111 \end_inset
9112 </cell>
9113 <cell alignment="center" valignment="top" topline="true" usebox="none">
9114 \begin_inset Text
9115
9116 \begin_layout Standard
9117 Oreste
9118 \end_layout
9119
9120 \end_inset
9121 </cell>
9122 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9123 \begin_inset Text
9124
9125 \begin_layout Standard
9126 111
9127 \end_layout
9128
9129 \end_inset
9130 </cell>
9131 </row>
9132 <row>
9133 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9134 \begin_inset Text
9135
9136 \begin_layout Standard
9137
9138 \series bold
9139 Gasparini
9140 \end_layout
9141
9142 \end_inset
9143 </cell>
9144 <cell alignment="center" valignment="top" topline="true" usebox="none">
9145 \begin_inset Text
9146
9147 \begin_layout Standard
9148 Franca
9149 \end_layout
9150
9151 \end_inset
9152 </cell>
9153 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9154 \begin_inset Text
9155
9156 \begin_layout Standard
9157 111
9158 \end_layout
9159
9160 \end_inset
9161 </cell>
9162 </row>
9163 <row>
9164 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9165 \begin_inset Text
9166
9167 \begin_layout Standard
9168
9169 \series bold
9170 Lassini
9171 \end_layout
9172
9173 \end_inset
9174 </cell>
9175 <cell alignment="center" valignment="top" topline="true" usebox="none">
9176 \begin_inset Text
9177
9178 \begin_layout Standard
9179 Giancarlo
9180 \end_layout
9181
9182 \end_inset
9183 </cell>
9184 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9185 \begin_inset Text
9186
9187 \begin_layout Standard
9188 111
9189 \end_layout
9190
9191 \end_inset
9192 </cell>
9193 </row>
9194 <row>
9195 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9196 \begin_inset Text
9197
9198 \begin_layout Standard
9199
9200 \series bold
9201 Malfatti
9202 \end_layout
9203
9204 \end_inset
9205 </cell>
9206 <cell alignment="center" valignment="top" topline="true" usebox="none">
9207 \begin_inset Text
9208
9209 \begin_layout Standard
9210 Luciano
9211 \end_layout
9212
9213 \end_inset
9214 </cell>
9215 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9216 \begin_inset Text
9217
9218 \begin_layout Standard
9219 111
9220 \end_layout
9221
9222 \end_inset
9223 </cell>
9224 </row>
9225 <row>
9226 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9227 \begin_inset Text
9228
9229 \begin_layout Standard
9230
9231 \series bold
9232 Malfatti
9233 \end_layout
9234
9235 \end_inset
9236 </cell>
9237 <cell alignment="center" valignment="top" topline="true" usebox="none">
9238 \begin_inset Text
9239
9240 \begin_layout Standard
9241 Valeriano
9242 \end_layout
9243
9244 \end_inset
9245 </cell>
9246 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9247 \begin_inset Text
9248
9249 \begin_layout Standard
9250 111
9251 \end_layout
9252
9253 \end_inset
9254 </cell>
9255 </row>
9256 <row>
9257 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9258 \begin_inset Text
9259
9260 \begin_layout Standard
9261
9262 \series bold
9263 Meneguzzo
9264 \end_layout
9265
9266 \end_inset
9267 </cell>
9268 <cell alignment="center" valignment="top" topline="true" usebox="none">
9269 \begin_inset Text
9270
9271 \begin_layout Standard
9272 Roberto
9273 \end_layout
9274
9275 \end_inset
9276 </cell>
9277 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9278 \begin_inset Text
9279
9280 \begin_layout Standard
9281 111
9282 \end_layout
9283
9284 \end_inset
9285 </cell>
9286 </row>
9287 <row>
9288 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9289 \begin_inset Text
9290
9291 \begin_layout Standard
9292
9293 \series bold
9294 Mezzadra
9295 \end_layout
9296
9297 \end_inset
9298 </cell>
9299 <cell alignment="center" valignment="top" topline="true" usebox="none">
9300 \begin_inset Text
9301
9302 \begin_layout Standard
9303 Roberto
9304 \end_layout
9305
9306 \end_inset
9307 </cell>
9308 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9309 \begin_inset Text
9310
9311 \begin_layout Standard
9312 111
9313 \end_layout
9314
9315 \end_inset
9316 </cell>
9317 </row>
9318 <row>
9319 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9320 \begin_inset Text
9321
9322 \begin_layout Standard
9323
9324 \series bold
9325 Pirpamer
9326 \end_layout
9327
9328 \end_inset
9329 </cell>
9330 <cell alignment="center" valignment="top" topline="true" usebox="none">
9331 \begin_inset Text
9332
9333 \begin_layout Standard
9334 Erich
9335 \end_layout
9336
9337 \end_inset
9338 </cell>
9339 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9340 \begin_inset Text
9341
9342 \begin_layout Standard
9343 111
9344 \end_layout
9345
9346 \end_inset
9347 </cell>
9348 </row>
9349 <row>
9350 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9351 \begin_inset Text
9352
9353 \begin_layout Standard
9354
9355 \series bold
9356 Pochiesa
9357 \end_layout
9358
9359 \end_inset
9360 </cell>
9361 <cell alignment="center" valignment="top" topline="true" usebox="none">
9362 \begin_inset Text
9363
9364 \begin_layout Standard
9365 Paolo
9366 \end_layout
9367
9368 \end_inset
9369 </cell>
9370 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9371 \begin_inset Text
9372
9373 \begin_layout Standard
9374 111, 222
9375 \end_layout
9376
9377 \end_inset
9378 </cell>
9379 </row>
9380 <row>
9381 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9382 \begin_inset Text
9383
9384 \begin_layout Standard
9385
9386 \series bold
9387 Radina
9388 \end_layout
9389
9390 \end_inset
9391 </cell>
9392 <cell alignment="center" valignment="top" topline="true" usebox="none">
9393 \begin_inset Text
9394
9395 \begin_layout Standard
9396 Claudio
9397 \end_layout
9398
9399 \end_inset
9400 </cell>
9401 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9402 \begin_inset Text
9403
9404 \begin_layout Standard
9405 111
9406 \end_layout
9407
9408 \end_inset
9409 </cell>
9410 </row>
9411 <row>
9412 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9413 \begin_inset Text
9414
9415 \begin_layout Standard
9416
9417 \series bold
9418 Rizzardi
9419 \end_layout
9420
9421 \end_inset
9422 </cell>
9423 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9424 \begin_inset Text
9425
9426 \begin_layout Standard
9427 Paolo, 11.
9428  Fürst von Montecompatri, 11.
9429  Fürst von Sulmona und Vivaro, 10.
9430  Fürst von Rossano, 5.
9431  Herzog von Canemorte, 11.
9432  Herzog von Palombara, 5.
9433  Herzog von Castelchiodato,
9434 \begin_inset ERT
9435 status collapsed
9436
9437 \begin_layout Standard
9438
9439 & 111
9440 \backslash
9441
9442 \backslash
9443
9444 \end_layout
9445
9446 \begin_layout Standard
9447
9448 &
9449 \end_layout
9450
9451 \end_inset
9452
9453  11.
9454  Herzog von Poggionativo, 11.
9455  Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
9456  Graf von Valinfreda, 11.
9457  Baron von Cropalati, 11.
9458  Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
9459 \end_layout
9460
9461 \end_inset
9462 </cell>
9463 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9464 \begin_inset Text
9465
9466 \begin_layout Standard
9467
9468 \end_layout
9469
9470 \end_inset
9471 </cell>
9472 </row>
9473 <row>
9474 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9475 \begin_inset Text
9476
9477 \begin_layout Standard
9478
9479 \series bold
9480 Stuffer
9481 \end_layout
9482
9483 \end_inset
9484 </cell>
9485 <cell alignment="center" valignment="top" topline="true" usebox="none">
9486 \begin_inset Text
9487
9488 \begin_layout Standard
9489 Oskar
9490 \end_layout
9491
9492 \end_inset
9493 </cell>
9494 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9495 \begin_inset Text
9496
9497 \begin_layout Standard
9498 111
9499 \end_layout
9500
9501 \end_inset
9502 </cell>
9503 </row>
9504 <row>
9505 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9506 \begin_inset Text
9507
9508 \begin_layout Standard
9509
9510 \series bold
9511 Tacchelli
9512 \end_layout
9513
9514 \end_inset
9515 </cell>
9516 <cell alignment="center" valignment="top" topline="true" usebox="none">
9517 \begin_inset Text
9518
9519 \begin_layout Standard
9520 Ugo
9521 \end_layout
9522
9523 \end_inset
9524 </cell>
9525 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9526 \begin_inset Text
9527
9528 \begin_layout Standard
9529 111
9530 \end_layout
9531
9532 \end_inset
9533 </cell>
9534 </row>
9535 <row>
9536 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9537 \begin_inset Text
9538
9539 \begin_layout Standard
9540
9541 \series bold
9542 Tezzele
9543 \end_layout
9544
9545 \end_inset
9546 </cell>
9547 <cell alignment="center" valignment="top" topline="true" usebox="none">
9548 \begin_inset Text
9549
9550 \begin_layout Standard
9551 Margit
9552 \end_layout
9553
9554 \end_inset
9555 </cell>
9556 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9557 \begin_inset Text
9558
9559 \begin_layout Standard
9560 111
9561 \end_layout
9562
9563 \end_inset
9564 </cell>
9565 </row>
9566 <row>
9567 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9568 \begin_inset Text
9569
9570 \begin_layout Standard
9571
9572 \series bold
9573 Unterkalmsteiner
9574 \end_layout
9575
9576 \end_inset
9577 </cell>
9578 <cell alignment="center" valignment="top" topline="true" usebox="none">
9579 \begin_inset Text
9580
9581 \begin_layout Standard
9582 Frieda
9583 \end_layout
9584
9585 \end_inset
9586 </cell>
9587 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9588 \begin_inset Text
9589
9590 \begin_layout Standard
9591 111
9592 \end_layout
9593
9594 \end_inset
9595 </cell>
9596 </row>
9597 <row>
9598 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9599 \begin_inset Text
9600
9601 \begin_layout Standard
9602
9603 \series bold
9604 Vieider
9605 \end_layout
9606
9607 \end_inset
9608 </cell>
9609 <cell alignment="center" valignment="top" topline="true" usebox="none">
9610 \begin_inset Text
9611
9612 \begin_layout Standard
9613 Hilde
9614 \end_layout
9615
9616 \end_inset
9617 </cell>
9618 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9619 \begin_inset Text
9620
9621 \begin_layout Standard
9622 111
9623 \end_layout
9624
9625 \end_inset
9626 </cell>
9627 </row>
9628 <row>
9629 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9630 \begin_inset Text
9631
9632 \begin_layout Standard
9633
9634 \series bold
9635 Vigna
9636 \end_layout
9637
9638 \end_inset
9639 </cell>
9640 <cell alignment="center" valignment="top" topline="true" usebox="none">
9641 \begin_inset Text
9642
9643 \begin_layout Standard
9644 Jürgen
9645 \end_layout
9646
9647 \end_inset
9648 </cell>
9649 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9650 \begin_inset Text
9651
9652 \begin_layout Standard
9653 111
9654 \end_layout
9655
9656 \end_inset
9657 </cell>
9658 </row>
9659 <row>
9660 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9661 \begin_inset Text
9662
9663 \begin_layout Standard
9664
9665 \series bold
9666 Weber
9667 \end_layout
9668
9669 \end_inset
9670 </cell>
9671 <cell alignment="center" valignment="top" topline="true" usebox="none">
9672 \begin_inset Text
9673
9674 \begin_layout Standard
9675 Maurizio
9676 \end_layout
9677
9678 \end_inset
9679 </cell>
9680 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9681 \begin_inset Text
9682
9683 \begin_layout Standard
9684 111
9685 \end_layout
9686
9687 \end_inset
9688 </cell>
9689 </row>
9690 <row bottomline="true">
9691 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9692 \begin_inset Text
9693
9694 \begin_layout Standard
9695
9696 \series bold
9697 Winkler
9698 \end_layout
9699
9700 \end_inset
9701 </cell>
9702 <cell alignment="center" valignment="top" topline="true" usebox="none">
9703 \begin_inset Text
9704
9705 \begin_layout Standard
9706 Franz
9707 \end_layout
9708
9709 \end_inset
9710 </cell>
9711 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9712 \begin_inset Text
9713
9714 \begin_layout Standard
9715 111
9716 \end_layout
9717
9718 \end_inset
9719 </cell>
9720 </row>
9721 <row endlastfoot="true">
9722 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
9723 \begin_inset Text
9724
9725 \begin_layout Standard
9726
9727 \end_layout
9728
9729 \end_inset
9730 </cell>
9731 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9732 \begin_inset Text
9733
9734 \begin_layout Standard
9735
9736 \end_layout
9737
9738 \end_inset
9739 </cell>
9740 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9741 \begin_inset Text
9742
9743 \begin_layout Standard
9744
9745 \end_layout
9746
9747 \end_inset
9748 </cell>
9749 </row>
9750 </lyxtabular>
9751
9752 \end_inset
9753
9754
9755 \end_layout
9756
9757 \begin_layout Section
9758 Multiple Lines Columns and Rows
9759 \end_layout
9760
9761 \begin_layout Subsection
9762 Multiple Lines in Table Cells
9763 \begin_inset LatexCommand label
9764 name "sub:Multiple-Lines-in"
9765
9766 \end_inset
9767
9768
9769 \begin_inset LatexCommand index
9770 name "Multiple Lines in Table Cells"
9771
9772 \end_inset
9773
9774
9775 \begin_inset LatexCommand index
9776 name "Table ! Linebreaks"
9777
9778 \end_inset
9779
9780
9781 \end_layout
9782
9783 \begin_layout Standard
9784 \align center
9785 \begin_inset Float table
9786 placement H
9787 wide false
9788 sideways false
9789 status open
9790
9791 \begin_layout Standard
9792 \begin_inset Caption
9793
9794 \begin_layout Standard
9795 \begin_inset LatexCommand label
9796 name "tab:Table-with-multiple"
9797
9798 \end_inset
9799
9800 Table with multiple lines in cells
9801 \end_layout
9802
9803 \end_inset
9804
9805
9806 \end_layout
9807
9808 \begin_layout Standard
9809 \align center
9810 \begin_inset Tabular
9811 <lyxtabular version="3" rows="3" columns="3">
9812 <features>
9813 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
9814 <column alignment="center" valignment="middle" leftline="true" width="0.5cm">
9815 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0.5cm">
9816 <row topline="true">
9817 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9818 \begin_inset Text
9819
9820 \begin_layout Standard
9821 multiple
9822 \begin_inset ERT
9823 status collapsed
9824
9825 \begin_layout Standard
9826
9827
9828 \backslash
9829 linebreak 
9830 \end_layout
9831
9832 \end_inset
9833
9834  lines
9835 \end_layout
9836
9837 \end_inset
9838 </cell>
9839 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9840 \begin_inset Text
9841
9842 \begin_layout Standard
9843 b
9844 \end_layout
9845
9846 \end_inset
9847 </cell>
9848 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9849 \begin_inset Text
9850
9851 \begin_layout Standard
9852 c
9853 \end_layout
9854
9855 \end_inset
9856 </cell>
9857 </row>
9858 <row topline="true">
9859 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9860 \begin_inset Text
9861
9862 \begin_layout Standard
9863 d
9864 \end_layout
9865
9866 \end_inset
9867 </cell>
9868 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9869 \begin_inset Text
9870
9871 \begin_layout Standard
9872 e
9873 \end_layout
9874
9875 \end_inset
9876 </cell>
9877 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9878 \begin_inset Text
9879
9880 \begin_layout Standard
9881 f
9882 \end_layout
9883
9884 \end_inset
9885 </cell>
9886 </row>
9887 <row topline="true" bottomline="true">
9888 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9889 \begin_inset Text
9890
9891 \begin_layout Standard
9892 g
9893 \end_layout
9894
9895 \end_inset
9896 </cell>
9897 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9898 \begin_inset Text
9899
9900 \begin_layout Standard
9901 h
9902 \end_layout
9903
9904 \end_inset
9905 </cell>
9906 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9907 \begin_inset Text
9908
9909 \begin_layout Standard
9910 i
9911 \end_layout
9912
9913 \end_inset
9914 </cell>
9915 </row>
9916 </lyxtabular>
9917
9918 \end_inset
9919
9920
9921 \end_layout
9922
9923 \end_inset
9924
9925
9926 \end_layout
9927
9928 \begin_layout Standard
9929 Adjusting a fixed width for a column, enables to enter text as a paragraph
9930  with multiple lines and hyphenations.
9931 \end_layout
9932
9933 \begin_layout Standard
9934 To produce Table\InsetSpace ~
9935
9936 \begin_inset LatexCommand ref
9937 reference "tab:Table-with-multiple"
9938
9939 \end_inset
9940
9941 , create a 3×3 table, mark the first cell and right-click on it.
9942  In the appearing table dialog we set a cell width of 2.5\InsetSpace \thinspace{}
9943 cm and choose centered
9944  for the vertical and horizontal alignment.
9945  As our text is smaller than than 2.5\InsetSpace \thinspace{}
9946 cm, only one line will appear.
9947  To get two lines, we add a line break with the command
9948 \end_layout
9949
9950 \begin_layout Standard
9951
9952 \series bold
9953
9954 \backslash
9955 linebreak
9956 \end_layout
9957
9958 \begin_layout Standard
9959 in ERT.
9960  If the text is wider than the set cell width it will automatically be broken
9961  to several lines.
9962 \end_layout
9963
9964 \begin_layout Standard
9965 To center the text inside the two other cells of the first row vertically,
9966  right-click in the second cell, adjust a fixed width of 0.5\InsetSpace \thinspace{}
9967 cm and choose
9968  centered alignments.
9969  Then do the same for the third cell of the row.
9970 \end_layout
9971
9972 \begin_layout Standard
9973 If you have a long word in a cell with a fixed width, it cannot be hyphenated
9974  by LaTeX if it is the first entry.
9975  Therefore you need to insert something, to make the word not being the
9976  first entry: Add the command
9977 \end_layout
9978
9979 \begin_layout Standard
9980
9981 \series bold
9982
9983 \backslash
9984 hspace{0pt}
9985 \end_layout
9986
9987 \begin_layout Standard
9988 in ERT before the word.
9989  As the space is zero, it doesn't change the output.
9990  Table\InsetSpace ~
9991
9992 \begin_inset LatexCommand ref
9993 reference "tab:Table-with-and"
9994
9995 \end_inset
9996
9997  shows the effect.
9998 \end_layout
9999
10000 \begin_layout Standard
10001 \begin_inset Float table
10002 placement h
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 command 
10952 \series bold
10953 >{ }
10954 \series default
10955  means, that the commands inside the braces are applied before the cell
10956  is created.
10957 \end_layout
10958
10959 \begin_layout Standard
10960 Although we have chosen centered alignment for the text of the multicolumn
10961  cell, it is still left aligned.
10962  This is because LyX only applies the alignment to single columns.
10963  So we have to use for the multicolumn the LaTeX-argument
10964 \end_layout
10965
10966 \begin_layout Standard
10967
10968 \series bold
10969 >{
10970 \backslash
10971 centering}m{2.5cm}
10972 \end_layout
10973
10974 \begin_layout Subsection
10975 Multirows
10976 \begin_inset LatexCommand index
10977 name "Multirows"
10978
10979 \end_inset
10980
10981
10982 \begin_inset LatexCommand index
10983 name "Table ! Multirows"
10984
10985 \end_inset
10986
10987
10988 \begin_inset LatexCommand index
10989 name "LaTeX-packages ! multirow"
10990
10991 \end_inset
10992
10993
10994 \end_layout
10995
10996 \begin_layout Standard
10997 In contrary to multicolumns multirows are not yet supported by LyX so a
10998  bit of ERT needs to be used.
10999  To use multirows load the LaTeX-package 
11000 \series bold
11001 multirow
11002 \series default
11003  in your document preamble with the command
11004 \end_layout
11005
11006 \begin_layout Standard
11007
11008 \series bold
11009
11010 \backslash
11011 usepackage{multirow}
11012 \end_layout
11013
11014 \begin_layout Standard
11015 Multirows are created with the command
11016 \end_layout
11017
11018 \begin_layout Standard
11019
11020 \series bold
11021
11022 \backslash
11023 multirow{number of rows}{cell width}{cell entry}
11024 \end_layout
11025
11026 \begin_layout Standard
11027 To create the following table:
11028 \end_layout
11029
11030 \begin_layout Standard
11031 \align center
11032 \begin_inset ERT
11033 status collapsed
11034
11035 \begin_layout Standard
11036
11037
11038 \backslash
11039 renewcommand{
11040 \backslash
11041 multirowsetup}{
11042 \backslash
11043 centering}
11044 \end_layout
11045
11046 \end_inset
11047
11048
11049 \begin_inset Tabular
11050 <lyxtabular version="3" rows="3" columns="3">
11051 <features>
11052 <column alignment="center" valignment="top" leftline="true" width="0">
11053 <column alignment="center" valignment="top" leftline="true" width="0">
11054 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
11055 <row topline="true">
11056 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11057 \begin_inset Text
11058
11059 \begin_layout Standard
11060 a
11061 \end_layout
11062
11063 \end_inset
11064 </cell>
11065 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11066 \begin_inset Text
11067
11068 \begin_layout Standard
11069 b
11070 \end_layout
11071
11072 \end_inset
11073 </cell>
11074 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11075 \begin_inset Text
11076
11077 \begin_layout Standard
11078 c
11079 \end_layout
11080
11081 \end_inset
11082 </cell>
11083 </row>
11084 <row topline="true">
11085 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11086 \begin_inset Text
11087
11088 \begin_layout Standard
11089 \begin_inset ERT
11090 status collapsed
11091
11092 \begin_layout Standard
11093
11094
11095 \backslash
11096 multirow{2}{2.5cm}{
11097 \end_layout
11098
11099 \end_inset
11100
11101 multirow entry
11102 \begin_inset ERT
11103 status collapsed
11104
11105 \begin_layout Standard
11106
11107 }
11108 \end_layout
11109
11110 \end_inset
11111
11112
11113 \end_layout
11114
11115 \end_inset
11116 </cell>
11117 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11118 \begin_inset Text
11119
11120 \begin_layout Standard
11121 e
11122 \end_layout
11123
11124 \end_inset
11125 </cell>
11126 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11127 \begin_inset Text
11128
11129 \begin_layout Standard
11130 f
11131 \end_layout
11132
11133 \end_inset
11134 </cell>
11135 </row>
11136 <row topline="true" bottomline="true">
11137 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11138 \begin_inset Text
11139
11140 \begin_layout Standard
11141
11142 \end_layout
11143
11144 \end_inset
11145 </cell>
11146 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11147 \begin_inset Text
11148
11149 \begin_layout Standard
11150 h
11151 \end_layout
11152
11153 \end_inset
11154 </cell>
11155 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11156 \begin_inset Text
11157
11158 \begin_layout Standard
11159 i
11160 \end_layout
11161
11162 \end_inset
11163 </cell>
11164 </row>
11165 </lyxtabular>
11166
11167 \end_inset
11168
11169
11170 \begin_inset ERT
11171 status collapsed
11172
11173 \begin_layout Standard
11174
11175
11176 \backslash
11177 renewcommand{
11178 \backslash
11179 multirowsetup}{
11180 \backslash
11181 raggedright}
11182 \end_layout
11183
11184 \end_inset
11185
11186
11187 \end_layout
11188
11189 \begin_layout Standard
11190 create a 3×3 table.
11191  To get rid of the line above the last cell in the first column, the cell
11192  is marked as multicolumn and the upper border is unset.
11193  The multirow is now created in the second row of the first column by inserting
11194  there the command
11195 \end_layout
11196
11197 \begin_layout Standard
11198
11199 \series bold
11200
11201 \backslash
11202 multirow{2}{2.5cm}{
11203 \end_layout
11204
11205 \begin_layout Standard
11206 as ERT.
11207  According to the command parameters the multirow spans now two rows and
11208  has a width of 2.5\InsetSpace \thinspace{}
11209 cm.
11210  The content of the multirow cell follows outside the ERT box and the command
11211  is finished with a right brace 
11212 \series bold
11213 }
11214 \series default
11215  in another ERT-box behind the text.
11216 \end_layout
11217
11218 \begin_layout Standard
11219
11220 \series bold
11221
11222 \backslash
11223 multirow
11224 \series default
11225  left-aligns its content by default.
11226  To override the default, renew the command 
11227 \series bold
11228
11229 \backslash
11230 multirowsetup
11231 \series default
11232  with the command
11233 \end_layout
11234
11235 \begin_layout Standard
11236
11237 \series bold
11238
11239 \backslash
11240 renewcommand{
11241 \backslash
11242 multirowsetup}{
11243 \backslash
11244 centering}
11245 \end_layout
11246
11247 \begin_layout Standard
11248 in ERT in the document preamble.
11249  Then all entries of multirow cells in the document are centered.
11250  If centering is only needed for several tables, you can renew the command
11251  in an ERT box just before the table instead of the preamble.
11252  If the text should be right-aligned, replace 
11253 \series bold
11254
11255 \backslash
11256 centering
11257 \series default
11258  by 
11259 \series bold
11260
11261 \backslash
11262 raggedleft
11263 \series default
11264 .
11265  To return to left-alignment 
11266 \series bold
11267
11268 \backslash
11269 raggedright
11270 \series default
11271  is used.
11272 \end_layout
11273
11274 \begin_layout Section
11275 Formal Tables
11276 \begin_inset LatexCommand label
11277 name "sec:Formal-Tables"
11278
11279 \end_inset
11280
11281
11282 \begin_inset LatexCommand index
11283 name "Table ! Formal"
11284
11285 \end_inset
11286
11287
11288 \end_layout
11289
11290 \begin_layout Standard
11291 Tables are often typeset in books similar to Table\InsetSpace ~
11292
11293 \begin_inset LatexCommand ref
11294 reference "tab:Example-booktabs-table"
11295
11296 \end_inset
11297
11298 .
11299  This kind of tables is called 
11300 \begin_inset Quotes eld
11301 \end_inset
11302
11303
11304 \emph on
11305 formal
11306 \emph default
11307
11308 \begin_inset Quotes erd
11309 \end_inset
11310
11311 .
11312  To make a table a formal table use the option 
11313 \family sans
11314 Formal
11315 \family default
11316  in the 
11317 \family sans
11318 Borders
11319 \family default
11320  tab of the table dialog.
11321 \end_layout
11322
11323 \begin_layout Standard
11324 \begin_inset Float table
11325 placement h
11326 wide false
11327 sideways false
11328 status open
11329
11330 \begin_layout Standard
11331 \begin_inset Caption
11332
11333 \begin_layout Standard
11334 \begin_inset LatexCommand label
11335 name "tab:Example-booktabs-table"
11336
11337 \end_inset
11338
11339 Example booktabs-table
11340 \end_layout
11341
11342 \end_inset
11343
11344
11345 \end_layout
11346
11347 \begin_layout Standard
11348 \align center
11349 \begin_inset Tabular
11350 <lyxtabular version="3" rows="8" columns="4">
11351 <features booktabs="true">
11352 <column alignment="center" valignment="top" rightline="true" width="0">
11353 <column alignment="center" valignment="top" width="0">
11354 <column alignment="center" valignment="top" width="0">
11355 <column alignment="center" valignment="top" width="0">
11356 <row topline="true">
11357 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11358 \begin_inset Text
11359
11360 \begin_layout Standard
11361 System
11362 \end_layout
11363
11364 \end_inset
11365 </cell>
11366 <cell alignment="center" valignment="top" topline="true" usebox="none">
11367 \begin_inset Text
11368
11369 \begin_layout Standard
11370 Medipix
11371 \begin_inset Formula $\,$
11372 \end_inset
11373
11374 1
11375 \end_layout
11376
11377 \end_inset
11378 </cell>
11379 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
11380 \begin_inset Text
11381
11382 \begin_layout Standard
11383 Medipix
11384 \begin_inset Formula $\,$
11385 \end_inset
11386
11387 2
11388 \end_layout
11389
11390 \end_inset
11391 </cell>
11392 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11393 \begin_inset Text
11394
11395 \begin_layout Standard
11396
11397 \end_layout
11398
11399 \end_inset
11400 </cell>
11401 </row>
11402 <row>
11403 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11404 \begin_inset Text
11405
11406 \begin_layout Standard
11407 \begin_inset ERT
11408 status collapsed
11409
11410 \begin_layout Standard
11411
11412
11413 \backslash
11414 cmidrule(r){2-2}
11415 \end_layout
11416
11417 \end_inset
11418
11419
11420 \begin_inset ERT
11421 status collapsed
11422
11423 \begin_layout Standard
11424
11425
11426 \backslash
11427 cmidrule(l){3-4}
11428 \end_layout
11429
11430 \end_inset
11431
11432 Detector thickness [µm]
11433 \end_layout
11434
11435 \end_inset
11436 </cell>
11437 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11438 \begin_inset Text
11439
11440 \begin_layout Standard
11441 300
11442 \end_layout
11443
11444 \end_inset
11445 </cell>
11446 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11447 \begin_inset Text
11448
11449 \begin_layout Standard
11450 300
11451 \end_layout
11452
11453 \end_inset
11454 </cell>
11455 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11456 \begin_inset Text
11457
11458 \begin_layout Standard
11459 700
11460 \end_layout
11461
11462 \end_inset
11463 </cell>
11464 </row>
11465 <row topline="true">
11466 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11467 \begin_inset Text
11468
11469 \begin_layout Standard
11470 Edge angle [°]
11471 \end_layout
11472
11473 \end_inset
11474 </cell>
11475 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11476 \begin_inset Text
11477
11478 \begin_layout Standard
11479 3.55
11480 \end_layout
11481
11482 \end_inset
11483 </cell>
11484 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11485 \begin_inset Text
11486
11487 \begin_layout Standard
11488 2.71
11489 \end_layout
11490
11491 \end_inset
11492 </cell>
11493 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11494 \begin_inset Text
11495
11496 \begin_layout Standard
11497 7.99
11498 \end_layout
11499
11500 \end_inset
11501 </cell>
11502 </row>
11503 <row topspace="default">
11504 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11505 \begin_inset Text
11506
11507 \begin_layout Standard
11508 Spatial resolution [µm]
11509 \end_layout
11510
11511 \end_inset
11512 </cell>
11513 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11514 \begin_inset Text
11515
11516 \begin_layout Standard
11517 4.26
11518 \end_layout
11519
11520 \end_inset
11521 </cell>
11522 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11523 \begin_inset Text
11524
11525 \begin_layout Standard
11526 10.17
11527 \end_layout
11528
11529 \end_inset
11530 </cell>
11531 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11532 \begin_inset Text
11533
11534 \begin_layout Standard
11535 10.56
11536 \end_layout
11537
11538 \end_inset
11539 </cell>
11540 </row>
11541 <row topspace="default">
11542 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11543 \begin_inset Text
11544
11545 \begin_layout Standard
11546 MTF at 
11547 \begin_inset Formula $f_{\mathrm{max}}$
11548 \end_inset
11549
11550
11551 \end_layout
11552
11553 \end_inset
11554 </cell>
11555 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11556 \begin_inset Text
11557
11558 \begin_layout Standard
11559 0.53
11560 \end_layout
11561
11562 \end_inset
11563 </cell>
11564 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11565 \begin_inset Text
11566
11567 \begin_layout Standard
11568 0.37
11569 \end_layout
11570
11571 \end_inset
11572 </cell>
11573 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11574 \begin_inset Text
11575
11576 \begin_layout Standard
11577 0.39
11578 \end_layout
11579
11580 \end_inset
11581 </cell>
11582 </row>
11583 <row topspace="default">
11584 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11585 \begin_inset Text
11586
11587 \begin_layout Standard
11588 \begin_inset ERT
11589 status collapsed
11590
11591 \begin_layout Standard
11592
11593
11594 \backslash
11595 cmidrule(l{10pt}){1-1}
11596 \end_layout
11597
11598 \end_inset
11599
11600 LSF-spatial resolution
11601 \end_layout
11602
11603 \end_inset
11604 </cell>
11605 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11606 \begin_inset Text
11607
11608 \begin_layout Standard
11609
11610 \end_layout
11611
11612 \end_inset
11613 </cell>
11614 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11615 \begin_inset Text
11616
11617 \begin_layout Standard
11618
11619 \end_layout
11620
11621 \end_inset
11622 </cell>
11623 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11624 \begin_inset Text
11625
11626 \begin_layout Standard
11627
11628 \end_layout
11629
11630 \end_inset
11631 </cell>
11632 </row>
11633 <row>
11634 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11635 \begin_inset Text
11636
11637 \begin_layout Standard
11638 in µm
11639 \end_layout
11640
11641 \end_inset
11642 </cell>
11643 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11644 \begin_inset Text
11645
11646 \begin_layout Standard
11647 129.7
11648 \end_layout
11649
11650 \end_inset
11651 </cell>
11652 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11653 \begin_inset Text
11654
11655 \begin_layout Standard
11656 52.75
11657 \end_layout
11658
11659 \end_inset
11660 </cell>
11661 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11662 \begin_inset Text
11663
11664 \begin_layout Standard
11665 50.78
11666 \end_layout
11667
11668 \end_inset
11669 </cell>
11670 </row>
11671 <row bottomline="true">
11672 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11673 \begin_inset Text
11674
11675 \begin_layout Standard
11676 in % of pixel size
11677 \end_layout
11678
11679 \end_inset
11680 </cell>
11681 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11682 \begin_inset Text
11683
11684 \begin_layout Standard
11685 76.3
11686 \end_layout
11687
11688 \end_inset
11689 </cell>
11690 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11691 \begin_inset Text
11692
11693 \begin_layout Standard
11694 95.9
11695 \end_layout
11696
11697 \end_inset
11698 </cell>
11699 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11700 \begin_inset Text
11701
11702 \begin_layout Standard
11703 92.3
11704 \end_layout
11705
11706 \end_inset
11707 </cell>
11708 </row>
11709 </lyxtabular>
11710
11711 \end_inset
11712
11713
11714 \end_layout
11715
11716 \end_inset
11717
11718
11719 \end_layout
11720
11721 \begin_layout Standard
11722 Spaces to table rows can be added using the 
11723 \family sans
11724 Borders
11725 \family default
11726  tab of the table dialog as described in section\InsetSpace ~
11727
11728 \begin_inset LatexCommand ref
11729 reference "sub:Row-Spacing"
11730
11731 \end_inset
11732
11733 .
11734 \end_layout
11735
11736 \begin_layout Standard
11737 In contrary to normal tables, formal tables have no vertical table lines.
11738  The horizontal table lines can be set like for normal tables but they appear
11739  with different width in the output:
11740 \newline
11741 The first and the last table line have
11742  a default width of 0.08\InsetSpace \thinspace{}
11743 em while the other lines have a default width of
11744  0.05\InsetSpace \thinspace{}
11745 em.
11746 \end_layout
11747
11748 \begin_layout Standard
11749 The default widths can be changed with the following preamble lines
11750 \end_layout
11751
11752 \begin_layout Standard
11753
11754 \series bold
11755
11756 \backslash
11757 let
11758 \backslash
11759 mytoprule
11760 \backslash
11761 toprule
11762 \newline
11763
11764 \backslash
11765 renewcommand{
11766 \backslash
11767 toprule}{
11768 \backslash
11769 mytoprule[width]}
11770 \end_layout
11771
11772 \begin_layout Standard
11773 This example is for the first line, the so called toprule.
11774  If you want to change the width for the last line, replace 
11775 \series bold
11776 toprule
11777 \series default
11778  by 
11779 \series bold
11780 bottomrule
11781 \series default
11782 .
11783  To change the width for the other lines replace 
11784 \series bold
11785 toprule
11786 \series default
11787  by 
11788 \series bold
11789 midrule
11790 \series default
11791 .
11792  You can use all units listed in appendix\InsetSpace ~
11793
11794 \begin_inset LatexCommand ref
11795 reference "cha:Units-available-in"
11796
11797 \end_inset
11798
11799  to set the width.
11800 \end_layout
11801
11802 \begin_layout Standard
11803 Lines that don't span over all table columns can be created by setting a
11804  table line for multicolumn cells.
11805  LyX will then internally use the command 
11806 \series bold
11807
11808 \backslash
11809 cmidrule
11810 \series default
11811  to create this line.
11812  Its full scheme is
11813 \end_layout
11814
11815 \begin_layout Standard
11816
11817 \series bold
11818
11819 \backslash
11820 cmidrule[width](trim){startcol-endcol}
11821 \end_layout
11822
11823 \begin_layout Standard
11824 The options of 
11825 \series bold
11826
11827 \backslash
11828 cmidrule
11829 \series default
11830  are are currently not supported by LyX so you have to use ERT to be able
11831  to use them.
11832  
11833 \series bold
11834
11835 \backslash
11836 cmidrule
11837 \series default
11838 s can manually be created by inserting the command as ERT as first cell
11839  entry of the first cell of a row.
11840  The line is then drawn in the output above the current row.
11841 \end_layout
11842
11843 \begin_layout Standard
11844 The default for the width is 0.03\InsetSpace \thinspace{}
11845 em.
11846  Startcol is the number of the column where the line starts and endcol the
11847  column number where the line ends.
11848  The endcol always needs to be specified, also when the line should span
11849  only one column.
11850  The optional parameter trim could be either 
11851 \emph on
11852 l{trimwidth}
11853 \emph default
11854 , or 
11855 \emph on
11856 r{trimwidth}
11857 \emph default
11858  where the trimwidth is also optional.
11859  Using for example the parameter 
11860 \emph on
11861 l{2pt}
11862 \emph default
11863  means that the line is trimmed from its left end by 2\InsetSpace \thinspace{}
11864 pt.
11865  If you don't specify the trimwidth the lines are trimmed by the default
11866  of 0.5\InsetSpace \thinspace{}
11867 em.
11868 \end_layout
11869
11870 \begin_layout Standard
11871 \begin_inset VSpace bigskip
11872 \end_inset
11873
11874 Table\InsetSpace ~
11875
11876 \begin_inset LatexCommand ref
11877 reference "tab:Example-booktabs-table"
11878
11879 \end_inset
11880
11881  was created using the commands
11882 \end_layout
11883
11884 \begin_layout Standard
11885
11886 \series bold
11887
11888 \backslash
11889 cmidrule(r){2-2}
11890 \backslash
11891 cmidrule(l){3-4}
11892 \end_layout
11893
11894 \begin_layout Standard
11895 at the beginning of the in the second row and
11896 \end_layout
11897
11898 \begin_layout Standard
11899
11900 \series bold
11901
11902 \backslash
11903 cmidrule(l{10pt}){1-1}
11904 \end_layout
11905
11906 \begin_layout Standard
11907 in the sixth row.
11908 \end_layout
11909
11910 \begin_layout Standard
11911
11912 \end_layout
11913
11914 \begin_layout Standard
11915 \begin_inset VSpace bigskip
11916 \end_inset
11917
11918
11919 \end_layout
11920
11921 \begin_layout Standard
11922 You might want to have overlapping 
11923 \series bold
11924
11925 \backslash
11926 cmidrule
11927 \series default
11928 s like in Table\InsetSpace ~
11929
11930 \begin_inset LatexCommand ref
11931 reference "tab:Special-booktabs-table"
11932
11933 \end_inset
11934
11935 .
11936  This can be achieved with the ERT command
11937 \end_layout
11938
11939 \begin_layout Standard
11940
11941 \series bold
11942
11943 \backslash
11944 morecmidrules
11945 \end_layout
11946
11947 \begin_layout Standard
11948 The command that was used for the second row of Table\InsetSpace ~
11949
11950 \begin_inset LatexCommand ref
11951 reference "tab:Special-booktabs-table"
11952
11953 \end_inset
11954
11955  is
11956 \end_layout
11957
11958 \begin_layout Standard
11959
11960 \series bold
11961
11962 \backslash
11963 cmidrule(r){2-2}
11964 \backslash
11965 cmidrule(l){3-4}
11966 \backslash
11967 morecmidrules
11968 \backslash
11969 cmidrule{2-4}
11970 \end_layout
11971
11972 \begin_layout Standard
11973 The command for the sixth row is
11974 \end_layout
11975
11976 \begin_layout Standard
11977
11978 \series bold
11979
11980 \backslash
11981 midrule
11982 \backslash
11983 morecmidrules
11984 \backslash
11985 cmidrule{3-4}
11986 \end_layout
11987
11988 \begin_layout Standard
11989 \begin_inset VSpace bigskip
11990 \end_inset
11991
11992
11993 \end_layout
11994
11995 \begin_layout Standard
11996 If you are anyway not satisfied with the border line spacing, you can use
11997  the following command to produce lines that span over all table columns
11998 \series bold
11999 :
12000 \end_layout
12001
12002 \begin_layout Standard
12003
12004 \series bold
12005
12006 \backslash
12007 specialrule{width}{space above}{space below}
12008 \end_layout
12009
12010 \begin_layout Standard
12011 For more informations about these specialties, we refer to the manual of
12012  the LaTeX-package 
12013 \series bold
12014 booktabs
12015 \series default
12016  
12017 \begin_inset LatexCommand cite
12018 key "booktabs"
12019
12020 \end_inset
12021
12022 .
12023 \begin_inset LatexCommand index
12024 name "LaTeX-packages ! booktabs"
12025
12026 \end_inset
12027
12028
12029 \end_layout
12030
12031 \begin_layout Standard
12032 \begin_inset Float table
12033 placement h
12034 wide false
12035 sideways false
12036 status open
12037
12038 \begin_layout Standard
12039 \begin_inset Caption
12040
12041 \begin_layout Standard
12042 \begin_inset LatexCommand label
12043 name "tab:Special-booktabs-table"
12044
12045 \end_inset
12046
12047 Special booktabs-table
12048 \end_layout
12049
12050 \end_inset
12051
12052
12053 \end_layout
12054
12055 \begin_layout Standard
12056 \align center
12057 \begin_inset Tabular
12058 <lyxtabular version="3" rows="8" columns="4">
12059 <features booktabs="true">
12060 <column alignment="center" valignment="top" width="0">
12061 <column alignment="center" valignment="top" width="0">
12062 <column alignment="center" valignment="top" width="0">
12063 <column alignment="center" valignment="top" width="0">
12064 <row topline="true">
12065 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12066 \begin_inset Text
12067
12068 \begin_layout Standard
12069 System
12070 \end_layout
12071
12072 \end_inset
12073 </cell>
12074 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12075 \begin_inset Text
12076
12077 \begin_layout Standard
12078 Medipix\InsetSpace \thinspace{}
12079 1
12080 \end_layout
12081
12082 \end_inset
12083 </cell>
12084 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
12085 \begin_inset Text
12086
12087 \begin_layout Standard
12088 Medipix\InsetSpace \thinspace{}
12089 2
12090 \end_layout
12091
12092 \end_inset
12093 </cell>
12094 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12095 \begin_inset Text
12096
12097 \begin_layout Standard
12098
12099 \end_layout
12100
12101 \end_inset
12102 </cell>
12103 </row>
12104 <row>
12105 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12106 \begin_inset Text
12107
12108 \begin_layout Standard
12109 \begin_inset ERT
12110 status collapsed
12111
12112 \begin_layout Standard
12113
12114
12115 \backslash
12116 cmidrule(r){2-2}
12117 \end_layout
12118
12119 \end_inset
12120
12121
12122 \begin_inset ERT
12123 status collapsed
12124
12125 \begin_layout Standard
12126
12127
12128 \backslash
12129 cmidrule(l){3-4}
12130 \end_layout
12131
12132 \end_inset
12133
12134
12135 \begin_inset ERT
12136 status collapsed
12137
12138 \begin_layout Standard
12139
12140
12141 \backslash
12142 morecmidrules 
12143 \end_layout
12144
12145 \end_inset
12146
12147
12148 \begin_inset ERT
12149 status collapsed
12150
12151 \begin_layout Standard
12152
12153
12154 \backslash
12155 cmidrule{2-4}
12156 \end_layout
12157
12158 \end_inset
12159
12160 Detector thickness [µm]
12161 \end_layout
12162
12163 \end_inset
12164 </cell>
12165 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12166 \begin_inset Text
12167
12168 \begin_layout Standard
12169 300
12170 \end_layout
12171
12172 \end_inset
12173 </cell>
12174 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12175 \begin_inset Text
12176
12177 \begin_layout Standard
12178 300
12179 \end_layout
12180
12181 \end_inset
12182 </cell>
12183 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12184 \begin_inset Text
12185
12186 \begin_layout Standard
12187 700
12188 \end_layout
12189
12190 \end_inset
12191 </cell>
12192 </row>
12193 <row topline="true">
12194 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12195 \begin_inset Text
12196
12197 \begin_layout Standard
12198 Edge angle [°]
12199 \end_layout
12200
12201 \end_inset
12202 </cell>
12203 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12204 \begin_inset Text
12205
12206 \begin_layout Standard
12207 3.55
12208 \end_layout
12209
12210 \end_inset
12211 </cell>
12212 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12213 \begin_inset Text
12214
12215 \begin_layout Standard
12216 2.71
12217 \end_layout
12218
12219 \end_inset
12220 </cell>
12221 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12222 \begin_inset Text
12223
12224 \begin_layout Standard
12225 7.99
12226 \end_layout
12227
12228 \end_inset
12229 </cell>
12230 </row>
12231 <row topspace="default">
12232 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12233 \begin_inset Text
12234
12235 \begin_layout Standard
12236 Spatial resolution [µm]
12237 \end_layout
12238
12239 \end_inset
12240 </cell>
12241 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12242 \begin_inset Text
12243
12244 \begin_layout Standard
12245 4.26
12246 \end_layout
12247
12248 \end_inset
12249 </cell>
12250 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12251 \begin_inset Text
12252
12253 \begin_layout Standard
12254 10.17
12255 \end_layout
12256
12257 \end_inset
12258 </cell>
12259 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12260 \begin_inset Text
12261
12262 \begin_layout Standard
12263 10.56
12264 \end_layout
12265
12266 \end_inset
12267 </cell>
12268 </row>
12269 <row topspace="default">
12270 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12271 \begin_inset Text
12272
12273 \begin_layout Standard
12274 MTF at 
12275 \begin_inset Formula $f_{\mathrm{max}}$
12276 \end_inset
12277
12278
12279 \end_layout
12280
12281 \end_inset
12282 </cell>
12283 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12284 \begin_inset Text
12285
12286 \begin_layout Standard
12287 0.53
12288 \end_layout
12289
12290 \end_inset
12291 </cell>
12292 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12293 \begin_inset Text
12294
12295 \begin_layout Standard
12296 0.37
12297 \end_layout
12298
12299 \end_inset
12300 </cell>
12301 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12302 \begin_inset Text
12303
12304 \begin_layout Standard
12305 0.39
12306 \end_layout
12307
12308 \end_inset
12309 </cell>
12310 </row>
12311 <row topline="true">
12312 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12313 \begin_inset Text
12314
12315 \begin_layout Standard
12316 \begin_inset ERT
12317 status collapsed
12318
12319 \begin_layout Standard
12320
12321
12322 \backslash
12323 morecmidrules 
12324 \end_layout
12325
12326 \end_inset
12327
12328
12329 \begin_inset ERT
12330 status collapsed
12331
12332 \begin_layout Standard
12333
12334
12335 \backslash
12336 cmidrule{3-4}
12337 \end_layout
12338
12339 \end_inset
12340
12341 LSF-spatial resolution
12342 \end_layout
12343
12344 \end_inset
12345 </cell>
12346 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12347 \begin_inset Text
12348
12349 \begin_layout Standard
12350
12351 \end_layout
12352
12353 \end_inset
12354 </cell>
12355 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12356 \begin_inset Text
12357
12358 \begin_layout Standard
12359
12360 \end_layout
12361
12362 \end_inset
12363 </cell>
12364 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12365 \begin_inset Text
12366
12367 \begin_layout Standard
12368
12369 \end_layout
12370
12371 \end_inset
12372 </cell>
12373 </row>
12374 <row>
12375 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12376 \begin_inset Text
12377
12378 \begin_layout Standard
12379 in µm
12380 \end_layout
12381
12382 \end_inset
12383 </cell>
12384 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12385 \begin_inset Text
12386
12387 \begin_layout Standard
12388 129.7
12389 \end_layout
12390
12391 \end_inset
12392 </cell>
12393 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12394 \begin_inset Text
12395
12396 \begin_layout Standard
12397 52.75
12398 \end_layout
12399
12400 \end_inset
12401 </cell>
12402 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12403 \begin_inset Text
12404
12405 \begin_layout Standard
12406 50.78
12407 \end_layout
12408
12409 \end_inset
12410 </cell>
12411 </row>
12412 <row bottomline="true">
12413 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12414 \begin_inset Text
12415
12416 \begin_layout Standard
12417 in % of pixel size
12418 \end_layout
12419
12420 \end_inset
12421 </cell>
12422 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12423 \begin_inset Text
12424
12425 \begin_layout Standard
12426 76.3
12427 \end_layout
12428
12429 \end_inset
12430 </cell>
12431 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12432 \begin_inset Text
12433
12434 \begin_layout Standard
12435 95.9
12436 \end_layout
12437
12438 \end_inset
12439 </cell>
12440 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12441 \begin_inset Text
12442
12443 \begin_layout Standard
12444 92.3
12445 \end_layout
12446
12447 \end_inset
12448 </cell>
12449 </row>
12450 </lyxtabular>
12451
12452 \end_inset
12453
12454
12455 \end_layout
12456
12457 \end_inset
12458
12459
12460 \end_layout
12461
12462 \begin_layout Section
12463 Vertical Table Alignment
12464 \begin_inset LatexCommand index
12465 name "Table ! Alignment"
12466
12467 \end_inset
12468
12469
12470 \end_layout
12471
12472 \begin_layout Standard
12473 To align tables vertically in a text line the table must be inside a box.
12474  The box can then be vertically aligned as described in section\InsetSpace ~
12475
12476 \begin_inset LatexCommand ref
12477 reference "sec:Box-Dialog"
12478
12479 \end_inset
12480
12481 .
12482 \end_layout
12483
12484 \begin_layout Standard
12485 In the following example the tables are inside a minipage
12486 \begin_inset Foot
12487 status collapsed
12488
12489 \begin_layout Standard
12490 Minipages are described in section\InsetSpace ~
12491
12492 \begin_inset LatexCommand ref
12493 reference "sec:Minipages"
12494
12495 \end_inset
12496
12497 .
12498 \end_layout
12499
12500 \end_inset
12501
12502  box that has a width of 15\InsetSpace \thinspace{}
12503 col%:
12504 \end_layout
12505
12506 \begin_layout Itemize
12507 test 
12508 \begin_inset Box Frameless
12509 position "t"
12510 hor_pos "c"
12511 has_inner_box 1
12512 inner_pos "c"
12513 use_parbox 0
12514 width "15col%"
12515 special "none"
12516 height "1in"
12517 height_special "totalheight"
12518 status collapsed
12519
12520 \begin_layout Standard
12521 \begin_inset Tabular
12522 <lyxtabular version="3" rows="3" columns="3">
12523 <features>
12524 <column alignment="center" valignment="top" leftline="true" width="0">
12525 <column alignment="center" valignment="top" leftline="true" width="0">
12526 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12527 <row topline="true">
12528 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12529 \begin_inset Text
12530
12531 \begin_layout Standard
12532 a
12533 \end_layout
12534
12535 \end_inset
12536 </cell>
12537 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12538 \begin_inset Text
12539
12540 \begin_layout Standard
12541 d
12542 \end_layout
12543
12544 \end_inset
12545 </cell>
12546 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12547 \begin_inset Text
12548
12549 \begin_layout Standard
12550 g
12551 \end_layout
12552
12553 \end_inset
12554 </cell>
12555 </row>
12556 <row topline="true">
12557 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12558 \begin_inset Text
12559
12560 \begin_layout Standard
12561 b
12562 \end_layout
12563
12564 \end_inset
12565 </cell>
12566 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12567 \begin_inset Text
12568
12569 \begin_layout Standard
12570 e
12571 \end_layout
12572
12573 \end_inset
12574 </cell>
12575 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12576 \begin_inset Text
12577
12578 \begin_layout Standard
12579 h
12580 \end_layout
12581
12582 \end_inset
12583 </cell>
12584 </row>
12585 <row topline="true" bottomline="true">
12586 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12587 \begin_inset Text
12588
12589 \begin_layout Standard
12590 c
12591 \end_layout
12592
12593 \end_inset
12594 </cell>
12595 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12596 \begin_inset Text
12597
12598 \begin_layout Standard
12599 f
12600 \end_layout
12601
12602 \end_inset
12603 </cell>
12604 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12605 \begin_inset Text
12606
12607 \begin_layout Standard
12608 i
12609 \end_layout
12610
12611 \end_inset
12612 </cell>
12613 </row>
12614 </lyxtabular>
12615
12616 \end_inset
12617
12618
12619 \end_layout
12620
12621 \end_inset
12622
12623  test 
12624 \begin_inset ERT
12625 status collapsed
12626
12627 \begin_layout Standard
12628
12629
12630 \backslash
12631 raisebox{0.85
12632 \backslash
12633 baselineskip}{
12634 \end_layout
12635
12636 \end_inset
12637
12638
12639 \begin_inset Box Frameless
12640 position "t"
12641 hor_pos "c"
12642 has_inner_box 1
12643 inner_pos "c"
12644 use_parbox 0
12645 width "15col%"
12646 special "none"
12647 height "1in"
12648 height_special "totalheight"
12649 status collapsed
12650
12651 \begin_layout Standard
12652 \begin_inset Tabular
12653 <lyxtabular version="3" rows="3" columns="3">
12654 <features>
12655 <column alignment="center" valignment="top" leftline="true" width="0">
12656 <column alignment="center" valignment="top" leftline="true" width="0">
12657 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12658 <row topline="true">
12659 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12660 \begin_inset Text
12661
12662 \begin_layout Standard
12663 a
12664 \end_layout
12665
12666 \end_inset
12667 </cell>
12668 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12669 \begin_inset Text
12670
12671 \begin_layout Standard
12672 d
12673 \end_layout
12674
12675 \end_inset
12676 </cell>
12677 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12678 \begin_inset Text
12679
12680 \begin_layout Standard
12681 g
12682 \end_layout
12683
12684 \end_inset
12685 </cell>
12686 </row>
12687 <row topline="true">
12688 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12689 \begin_inset Text
12690
12691 \begin_layout Standard
12692 b
12693 \end_layout
12694
12695 \end_inset
12696 </cell>
12697 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12698 \begin_inset Text
12699
12700 \begin_layout Standard
12701 e
12702 \end_layout
12703
12704 \end_inset
12705 </cell>
12706 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12707 \begin_inset Text
12708
12709 \begin_layout Standard
12710 h
12711 \end_layout
12712
12713 \end_inset
12714 </cell>
12715 </row>
12716 <row topline="true" bottomline="true">
12717 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12718 \begin_inset Text
12719
12720 \begin_layout Standard
12721 c
12722 \end_layout
12723
12724 \end_inset
12725 </cell>
12726 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12727 \begin_inset Text
12728
12729 \begin_layout Standard
12730 f
12731 \end_layout
12732
12733 \end_inset
12734 </cell>
12735 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12736 \begin_inset Text
12737
12738 \begin_layout Standard
12739 i
12740 \end_layout
12741
12742 \end_inset
12743 </cell>
12744 </row>
12745 </lyxtabular>
12746
12747 \end_inset
12748
12749
12750 \end_layout
12751
12752 \end_inset
12753
12754
12755 \begin_inset ERT
12756 status collapsed
12757
12758 \begin_layout Standard
12759
12760 }
12761 \end_layout
12762
12763 \end_inset
12764
12765
12766 \end_layout
12767
12768 \begin_layout Itemize
12769 test 
12770 \begin_inset Box Frameless
12771 position "c"
12772 hor_pos "c"
12773 has_inner_box 1
12774 inner_pos "c"
12775 use_parbox 0
12776 width "15col%"
12777 special "none"
12778 height "1in"
12779 height_special "totalheight"
12780 status collapsed
12781
12782 \begin_layout Standard
12783 \begin_inset Tabular
12784 <lyxtabular version="3" rows="3" columns="3">
12785 <features>
12786 <column alignment="center" valignment="top" leftline="true" width="0">
12787 <column alignment="center" valignment="top" leftline="true" width="0">
12788 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12789 <row topline="true">
12790 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12791 \begin_inset Text
12792
12793 \begin_layout Standard
12794 a
12795 \end_layout
12796
12797 \end_inset
12798 </cell>
12799 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12800 \begin_inset Text
12801
12802 \begin_layout Standard
12803 d
12804 \end_layout
12805
12806 \end_inset
12807 </cell>
12808 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12809 \begin_inset Text
12810
12811 \begin_layout Standard
12812 g
12813 \end_layout
12814
12815 \end_inset
12816 </cell>
12817 </row>
12818 <row topline="true">
12819 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12820 \begin_inset Text
12821
12822 \begin_layout Standard
12823 b
12824 \end_layout
12825
12826 \end_inset
12827 </cell>
12828 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12829 \begin_inset Text
12830
12831 \begin_layout Standard
12832 e
12833 \end_layout
12834
12835 \end_inset
12836 </cell>
12837 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12838 \begin_inset Text
12839
12840 \begin_layout Standard
12841 h
12842 \end_layout
12843
12844 \end_inset
12845 </cell>
12846 </row>
12847 <row topline="true" bottomline="true">
12848 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12849 \begin_inset Text
12850
12851 \begin_layout Standard
12852 c
12853 \end_layout
12854
12855 \end_inset
12856 </cell>
12857 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12858 \begin_inset Text
12859
12860 \begin_layout Standard
12861 f
12862 \end_layout
12863
12864 \end_inset
12865 </cell>
12866 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12867 \begin_inset Text
12868
12869 \begin_layout Standard
12870 i
12871 \end_layout
12872
12873 \end_inset
12874 </cell>
12875 </row>
12876 </lyxtabular>
12877
12878 \end_inset
12879
12880
12881 \end_layout
12882
12883 \end_inset
12884
12885
12886 \end_layout
12887
12888 \begin_layout Itemize
12889 test 
12890 \begin_inset Box Frameless
12891 position "b"
12892 hor_pos "c"
12893 has_inner_box 1
12894 inner_pos "c"
12895 use_parbox 0
12896 width "15col%"
12897 special "none"
12898 height "1in"
12899 height_special "totalheight"
12900 status collapsed
12901
12902 \begin_layout Standard
12903 \begin_inset Tabular
12904 <lyxtabular version="3" rows="3" columns="3">
12905 <features>
12906 <column alignment="center" valignment="top" leftline="true" width="0">
12907 <column alignment="center" valignment="top" leftline="true" width="0">
12908 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12909 <row topline="true">
12910 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12911 \begin_inset Text
12912
12913 \begin_layout Standard
12914 a
12915 \end_layout
12916
12917 \end_inset
12918 </cell>
12919 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12920 \begin_inset Text
12921
12922 \begin_layout Standard
12923 d
12924 \end_layout
12925
12926 \end_inset
12927 </cell>
12928 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12929 \begin_inset Text
12930
12931 \begin_layout Standard
12932 g
12933 \end_layout
12934
12935 \end_inset
12936 </cell>
12937 </row>
12938 <row topline="true">
12939 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12940 \begin_inset Text
12941
12942 \begin_layout Standard
12943 b
12944 \end_layout
12945
12946 \end_inset
12947 </cell>
12948 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12949 \begin_inset Text
12950
12951 \begin_layout Standard
12952 e
12953 \end_layout
12954
12955 \end_inset
12956 </cell>
12957 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12958 \begin_inset Text
12959
12960 \begin_layout Standard
12961 h
12962 \end_layout
12963
12964 \end_inset
12965 </cell>
12966 </row>
12967 <row topline="true" bottomline="true">
12968 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12969 \begin_inset Text
12970
12971 \begin_layout Standard
12972 c
12973 \end_layout
12974
12975 \end_inset
12976 </cell>
12977 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12978 \begin_inset Text
12979
12980 \begin_layout Standard
12981 f
12982 \end_layout
12983
12984 \end_inset
12985 </cell>
12986 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12987 \begin_inset Text
12988
12989 \begin_layout Standard
12990 i
12991 \end_layout
12992
12993 \end_inset
12994 </cell>
12995 </row>
12996 </lyxtabular>
12997
12998 \end_inset
12999
13000
13001 \end_layout
13002
13003 \end_inset
13004
13005  test 
13006 \begin_inset ERT
13007 status collapsed
13008
13009 \begin_layout Standard
13010
13011
13012 \backslash
13013 raisebox{-0.32
13014 \backslash
13015 baselineskip}{
13016 \end_layout
13017
13018 \end_inset
13019
13020
13021 \begin_inset Box Frameless
13022 position "b"
13023 hor_pos "c"
13024 has_inner_box 1
13025 inner_pos "c"
13026 use_parbox 0
13027 width "15col%"
13028 special "none"
13029 height "1in"
13030 height_special "totalheight"
13031 status collapsed
13032
13033 \begin_layout Standard
13034 \begin_inset Tabular
13035 <lyxtabular version="3" rows="3" columns="3">
13036 <features>
13037 <column alignment="center" valignment="top" leftline="true" width="0">
13038 <column alignment="center" valignment="top" leftline="true" width="0">
13039 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13040 <row topline="true">
13041 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13042 \begin_inset Text
13043
13044 \begin_layout Standard
13045 a
13046 \end_layout
13047
13048 \end_inset
13049 </cell>
13050 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13051 \begin_inset Text
13052
13053 \begin_layout Standard
13054 d
13055 \end_layout
13056
13057 \end_inset
13058 </cell>
13059 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13060 \begin_inset Text
13061
13062 \begin_layout Standard
13063 g
13064 \end_layout
13065
13066 \end_inset
13067 </cell>
13068 </row>
13069 <row topline="true">
13070 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13071 \begin_inset Text
13072
13073 \begin_layout Standard
13074 b
13075 \end_layout
13076
13077 \end_inset
13078 </cell>
13079 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13080 \begin_inset Text
13081
13082 \begin_layout Standard
13083 e
13084 \end_layout
13085
13086 \end_inset
13087 </cell>
13088 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13089 \begin_inset Text
13090
13091 \begin_layout Standard
13092 h
13093 \end_layout
13094
13095 \end_inset
13096 </cell>
13097 </row>
13098 <row topline="true" bottomline="true">
13099 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13100 \begin_inset Text
13101
13102 \begin_layout Standard
13103 c
13104 \end_layout
13105
13106 \end_inset
13107 </cell>
13108 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13109 \begin_inset Text
13110
13111 \begin_layout Standard
13112 f
13113 \end_layout
13114
13115 \end_inset
13116 </cell>
13117 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13118 \begin_inset Text
13119
13120 \begin_layout Standard
13121 i
13122 \end_layout
13123
13124 \end_inset
13125 </cell>
13126 </row>
13127 </lyxtabular>
13128
13129 \end_inset
13130
13131
13132 \end_layout
13133
13134 \end_inset
13135
13136
13137 \begin_inset ERT
13138 status collapsed
13139
13140 \begin_layout Standard
13141
13142 }
13143 \end_layout
13144
13145 \end_inset
13146
13147
13148 \end_layout
13149
13150 \begin_layout Standard
13151 As you can see, the content of the first and last table row is not correctly
13152  aligned with the text line where the table is in.
13153  To get this alignment, the minipage box must be set into a raisebox
13154 \begin_inset Foot
13155 status collapsed
13156
13157 \begin_layout Standard
13158 Raiseboxes are described in section\InsetSpace ~
13159
13160 \begin_inset LatexCommand ref
13161 reference "sub:Vertical-Alignment"
13162
13163 \end_inset
13164
13165 .
13166 \end_layout
13167
13168 \end_inset
13169
13170 .
13171  In the example above the second table in the first item is aligned using
13172  the ERT-command
13173 \end_layout
13174
13175 \begin_layout Standard
13176
13177 \series bold
13178
13179 \backslash
13180 raisebox{0.85
13181 \backslash
13182 baselineskip}{
13183 \end_layout
13184
13185 \begin_layout Standard
13186 before the box.
13187  Behind the box the closing brace 
13188 \series bold
13189 }
13190 \series default
13191  is inserted as ERT.
13192  For the second table in the last item the command
13193 \end_layout
13194
13195 \begin_layout Standard
13196
13197 \series bold
13198
13199 \backslash
13200 raisebox{-0.32
13201 \backslash
13202 baselineskip}{
13203 \end_layout
13204
13205 \begin_layout Standard
13206 is used.
13207 \end_layout
13208
13209 \begin_layout Standard
13210 \begin_inset Note Greyedout
13211 status open
13212
13213 \begin_layout Standard
13214
13215 \series bold
13216 Note:
13217 \series default
13218  The alignment of the table row content to the surrounding text line is
13219  not exact.
13220  The needed factor of the 
13221 \series bold
13222
13223 \backslash
13224 raisebox
13225 \series default
13226  command for this alignment depends on the document font, the font size,
13227  and the table line thickness.
13228 \end_layout
13229
13230 \end_inset
13231
13232
13233 \end_layout
13234
13235 \begin_layout Section
13236 Colored Tables
13237 \begin_inset LatexCommand label
13238 name "sec:Colored-Tables"
13239
13240 \end_inset
13241
13242
13243 \begin_inset LatexCommand index
13244 name "Table ! Color"
13245
13246 \end_inset
13247
13248
13249 \end_layout
13250
13251 \begin_layout Subsection
13252 Colored Cells
13253 \begin_inset LatexCommand index
13254 name "Table Color ! for Cells"
13255
13256 \end_inset
13257
13258
13259 \begin_inset LatexCommand index
13260 name "Color ! for Table Cells"
13261
13262 \end_inset
13263
13264
13265 \end_layout
13266
13267 \begin_layout Standard
13268 \begin_inset Float table
13269 placement h
13270 wide false
13271 sideways false
13272 status open
13273
13274 \begin_layout Standard
13275 \begin_inset Caption
13276
13277 \begin_layout Standard
13278 \begin_inset LatexCommand label
13279 name "tab:Table-colored-without"
13280
13281 \end_inset
13282
13283 Table colored without using the package 
13284 \series bold
13285 colortbl
13286 \series default
13287
13288 \begin_inset OptArg
13289 status collapsed
13290
13291 \begin_layout Standard
13292 Table without colortbl
13293 \end_layout
13294
13295 \end_inset
13296
13297
13298 \end_layout
13299
13300 \end_inset
13301
13302
13303 \end_layout
13304
13305 \begin_layout Standard
13306 \align center
13307 \begin_inset Tabular
13308 <lyxtabular version="3" rows="3" columns="3">
13309 <features>
13310 <column alignment="center" valignment="top" leftline="true" width="0">
13311 <column alignment="center" valignment="top" leftline="true" width="0">
13312 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13313 <row topline="true">
13314 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13315 \begin_inset Text
13316
13317 \begin_layout Standard
13318
13319 \color green
13320 a
13321 \end_layout
13322
13323 \end_inset
13324 </cell>
13325 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13326 \begin_inset Text
13327
13328 \begin_layout Standard
13329
13330 \color red
13331 b
13332 \end_layout
13333
13334 \end_inset
13335 </cell>
13336 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13337 \begin_inset Text
13338
13339 \begin_layout Standard
13340
13341 \color red
13342 c
13343 \end_layout
13344
13345 \end_inset
13346 </cell>
13347 </row>
13348 <row topline="true">
13349 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13350 \begin_inset Text
13351
13352 \begin_layout Standard
13353
13354 \color green
13355 d
13356 \end_layout
13357
13358 \end_inset
13359 </cell>
13360 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13361 \begin_inset Text
13362
13363 \begin_layout Standard
13364
13365 \color blue
13366 e
13367 \end_layout
13368
13369 \end_inset
13370 </cell>
13371 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13372 \begin_inset Text
13373
13374 \begin_layout Standard
13375
13376 \color blue
13377 f
13378 \end_layout
13379
13380 \end_inset
13381 </cell>
13382 </row>
13383 <row topline="true" bottomline="true">
13384 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13385 \begin_inset Text
13386
13387 \begin_layout Standard
13388
13389 \color green
13390 g
13391 \end_layout
13392
13393 \end_inset
13394 </cell>
13395 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13396 \begin_inset Text
13397
13398 \begin_layout Standard
13399
13400 \color blue
13401 h
13402 \end_layout
13403
13404 \end_inset
13405 </cell>
13406 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13407 \begin_inset Text
13408
13409 \begin_layout Standard
13410
13411 \color blue
13412 i
13413 \end_layout
13414
13415 \end_inset
13416 </cell>
13417 </row>
13418 </lyxtabular>
13419
13420 \end_inset
13421
13422
13423 \end_layout
13424
13425 \end_inset
13426
13427
13428 \end_layout
13429
13430 \begin_layout Standard
13431 If you only need colored text, mark the cells and choose a color in the
13432  menu 
13433 \family sans
13434 Edit\SpecialChar \menuseparator
13435 Text\InsetSpace ~
13436 Style
13437 \family default
13438 .
13439  This was used to create Table\InsetSpace ~
13440
13441 \begin_inset LatexCommand ref
13442 reference "tab:Table-colored-without"
13443
13444 \end_inset
13445
13446 .
13447  In any other case you have to use the LaTeX-package 
13448 \series bold
13449 colortbl
13450 \series default
13451 .
13452 \begin_inset LatexCommand index
13453 name "LaTeX-packages ! colortbl"
13454
13455 \end_inset
13456
13457
13458 \end_layout
13459
13460 \begin_layout Standard
13461 To create colored tables, 
13462 \series bold
13463 colortbl
13464 \series default
13465  must be loaded in the preamble with the line
13466 \end_layout
13467
13468 \begin_layout Standard
13469
13470 \series bold
13471
13472 \backslash
13473 usepackage{colortbl}
13474 \end_layout
13475
13476 \begin_layout Standard
13477 The color of a column is adjusted with the command
13478 \end_layout
13479
13480 \begin_layout Standard
13481
13482 \series bold
13483
13484 \backslash
13485 columncolor{name of color}
13486 \end_layout
13487
13488 \begin_layout Standard
13489 inside the command 
13490 \series bold
13491 >{ }
13492 \series default
13493 .
13494  More about the command 
13495 \series bold
13496 >{}
13497 \series default
13498  is described in section\InsetSpace ~
13499
13500 \begin_inset LatexCommand ref
13501 reference "sub:Multicolumn-Calculations"
13502
13503 \end_inset
13504
13505 .
13506 \end_layout
13507
13508 \begin_layout Standard
13509 The following color names are predefined:
13510 \end_layout
13511
13512 \begin_layout Standard
13513
13514 \family sans
13515 red
13516 \family default
13517
13518 \family sans
13519 green
13520 \family default
13521
13522 \family sans
13523 yellow
13524 \family default
13525
13526 \family sans
13527 blue
13528 \family default
13529
13530 \family sans
13531 cyan
13532 \family default
13533
13534 \family sans
13535 magenta
13536 \family default
13537
13538 \family sans
13539 black
13540 \family default
13541  and 
13542 \family sans
13543 white
13544 \end_layout
13545
13546 \begin_layout Standard
13547 \begin_inset VSpace medskip
13548 \end_inset
13549
13550
13551 \end_layout
13552
13553 \begin_layout Standard
13554 You can also define your own color with the command
13555 \end_layout
13556
13557 \begin_layout Standard
13558
13559 \series bold
13560
13561 \backslash
13562 def\SpecialChar \textcompwordmark{}
13563 inecolor{color name}{color model}{color values}
13564 \end_layout
13565
13566 \begin_layout Standard
13567 The color model can be
13568 \end_layout
13569
13570 \begin_layout Labeling
13571 \labelwidthstring 00.00.0000
13572 cmyk: cyan, magenta, yellow, black
13573 \end_layout
13574
13575 \begin_layout Labeling
13576 \labelwidthstring 00.00.0000
13577 rgb: red, green blue
13578 \end_layout
13579
13580 \begin_layout Labeling
13581 \labelwidthstring 00.00.0000
13582 gray gray
13583 \end_layout
13584
13585 \begin_layout Standard
13586 and the color values are comma separated numbers between 0 and 1 describing
13587  the factor for the corresponding color of the color model.
13588 \end_layout
13589
13590 \begin_layout Standard
13591 You can e.\InsetSpace \thinspace{}
13592 g.\InsetSpace ~
13593 define the color "
13594 \emph on
13595 darkgreen
13596 \emph default
13597 " in the preamble with
13598 \end_layout
13599
13600 \begin_layout Standard
13601
13602 \series bold
13603
13604 \backslash
13605 def\SpecialChar \textcompwordmark{}
13606 inecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
13607 \end_layout
13608
13609 \begin_layout Standard
13610 and the color "
13611 \emph on
13612 lightgray
13613 \emph default
13614 " with
13615 \end_layout
13616
13617 \begin_layout Standard
13618
13619 \series bold
13620
13621 \backslash
13622 def\SpecialChar \textcompwordmark{}
13623 inecolor{lightgray}{gray}{0.8}
13624 \end_layout
13625
13626 \begin_layout Standard
13627 \begin_inset VSpace medskip
13628 \end_inset
13629
13630
13631 \end_layout
13632
13633 \begin_layout Standard
13634 Lines are colored with the command
13635 \end_layout
13636
13637 \begin_layout Standard
13638
13639 \series bold
13640
13641 \backslash
13642 rowcolor{name of color}
13643 \end_layout
13644
13645 \begin_layout Standard
13646 and cells are colored with the command
13647 \end_layout
13648
13649 \begin_layout Standard
13650
13651 \series bold
13652
13653 \backslash
13654 cellcolor{name of color}
13655 \end_layout
13656
13657 \begin_layout Standard
13658 Both commands are inserted at the beginning of a cell as ERT.
13659 \end_layout
13660
13661 \begin_layout Standard
13662 To color characters in the table, mark the cells and use the LyX menu 
13663 \family sans
13664 Edit\SpecialChar \menuseparator
13665 Text\InsetSpace ~
13666 Style
13667 \family default
13668 .
13669  If a cell contains ERT mark only the characters, otherwise the colored
13670  ERT will cause LaTeX-errors.
13671 \end_layout
13672
13673 \begin_layout Standard
13674 \begin_inset VSpace bigskip
13675 \end_inset
13676
13677
13678 \end_layout
13679
13680 \begin_layout Standard
13681 To create Table\InsetSpace ~
13682
13683 \begin_inset LatexCommand ref
13684 reference "tab:Table-colored-using"
13685
13686 \end_inset
13687
13688  do the following: The color of the first column should be 
13689 \emph on
13690 darkgreen
13691 \emph default
13692 .
13693  So insert
13694 \end_layout
13695
13696 \begin_layout Standard
13697
13698 \series bold
13699 >{
13700 \backslash
13701 columncolor{darkgreen}
13702 \backslash
13703 centering}c
13704 \end_layout
13705
13706 \begin_layout Standard
13707 as LaTeX-argument for this column.
13708  The first row should be blue, therefore the ERT command
13709 \end_layout
13710
13711 \begin_layout Standard
13712
13713 \series bold
13714
13715 \backslash
13716 rowcolow{cyan}
13717 \end_layout
13718
13719 \begin_layout Standard
13720 is inserted to the first cell of this row.
13721  Note that this overwrites the column color for the first cell.
13722  The last cell of the last row is colored magenta by inserting the ERT command
13723 \end_layout
13724
13725 \begin_layout Standard
13726
13727 \series bold
13728
13729 \backslash
13730 cellcolor{magenta}
13731 \end_layout
13732
13733 \begin_layout Standard
13734 The characters could now be colored using the menu 
13735 \family sans
13736 Edit\SpecialChar \menuseparator
13737 Text\InsetSpace ~
13738 Style
13739 \family default
13740 .
13741 \end_layout
13742
13743 \begin_layout Standard
13744 \begin_inset Float table
13745 placement h
13746 wide false
13747 sideways false
13748 status open
13749
13750 \begin_layout Standard
13751 \begin_inset Caption
13752
13753 \begin_layout Standard
13754 \begin_inset LatexCommand label
13755 name "tab:Table-colored-using"
13756
13757 \end_inset
13758
13759 Table colored using the package 
13760 \series bold
13761 colortbl
13762 \series default
13763
13764 \begin_inset OptArg
13765 status collapsed
13766
13767 \begin_layout Standard
13768 Table with colortbl
13769 \end_layout
13770
13771 \end_inset
13772
13773
13774 \end_layout
13775
13776 \end_inset
13777
13778
13779 \end_layout
13780
13781 \begin_layout Standard
13782 \align center
13783 \begin_inset Tabular
13784 <lyxtabular version="3" rows="3" columns="3">
13785 <features>
13786 <column alignment="center" valignment="top" width="0" special=">{\columncolor{darkgreen}\centering}c">
13787 <column alignment="center" valignment="top" width="0">
13788 <column alignment="center" valignment="top" width="0">
13789 <row>
13790 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13791 \begin_inset Text
13792
13793 \begin_layout Standard
13794 \begin_inset ERT
13795 status collapsed
13796
13797 \begin_layout Standard
13798
13799
13800 \backslash
13801 rowcolor{cyan}
13802 \end_layout
13803
13804 \end_inset
13805
13806
13807 \color magenta
13808 a
13809 \end_layout
13810
13811 \end_inset
13812 </cell>
13813 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13814 \begin_inset Text
13815
13816 \begin_layout Standard
13817
13818 \color red
13819 b
13820 \end_layout
13821
13822 \end_inset
13823 </cell>
13824 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13825 \begin_inset Text
13826
13827 \begin_layout Standard
13828
13829 \color red
13830 c
13831 \end_layout
13832
13833 \end_inset
13834 </cell>
13835 </row>
13836 <row>
13837 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13838 \begin_inset Text
13839
13840 \begin_layout Standard
13841
13842 \color yellow
13843 d
13844 \end_layout
13845
13846 \end_inset
13847 </cell>
13848 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13849 \begin_inset Text
13850
13851 \begin_layout Standard
13852
13853 \color blue
13854 e
13855 \end_layout
13856
13857 \end_inset
13858 </cell>
13859 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13860 \begin_inset Text
13861
13862 \begin_layout Standard
13863
13864 \color blue
13865 f
13866 \end_layout
13867
13868 \end_inset
13869 </cell>
13870 </row>
13871 <row>
13872 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13873 \begin_inset Text
13874
13875 \begin_layout Standard
13876
13877 \color yellow
13878 g
13879 \end_layout
13880
13881 \end_inset
13882 </cell>
13883 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13884 \begin_inset Text
13885
13886 \begin_layout Standard
13887
13888 \color blue
13889 h
13890 \end_layout
13891
13892 \end_inset
13893 </cell>
13894 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13895 \begin_inset Text
13896
13897 \begin_layout Standard
13898 \begin_inset ERT
13899 status collapsed
13900
13901 \begin_layout Standard
13902
13903
13904 \backslash
13905 cellcolor{magenta}
13906 \end_layout
13907
13908 \end_inset
13909
13910
13911 \color green
13912 i
13913 \end_layout
13914
13915 \end_inset
13916 </cell>
13917 </row>
13918 </lyxtabular>
13919
13920 \end_inset
13921
13922
13923 \end_layout
13924
13925 \end_inset
13926
13927
13928 \end_layout
13929
13930 \begin_layout Subsection
13931 Colored Lines
13932 \begin_inset LatexCommand index
13933 name "Table Color ! for Lines"
13934
13935 \end_inset
13936
13937
13938 \begin_inset LatexCommand index
13939 name "Color ! for Table Lines"
13940
13941 \end_inset
13942
13943
13944 \end_layout
13945
13946 \begin_layout Standard
13947 As described in section\InsetSpace ~
13948
13949 \begin_inset LatexCommand ref
13950 reference "sub:Line-Thickness"
13951
13952 \end_inset
13953
13954 , the line thickness for all lines in a table can be adjusted with the length
13955  
13956 \series bold
13957
13958 \backslash
13959 arrayrulewidth
13960 \series default
13961 .
13962  It is set to 1.5\InsetSpace \thinspace{}
13963 pt for all tables of this section.
13964 \begin_inset ERT
13965 status collapsed
13966
13967 \begin_layout Standard
13968
13969
13970 \backslash
13971 setlength{
13972 \backslash
13973 arrayrulewidth}{1.5pt}
13974 \end_layout
13975
13976 \end_inset
13977
13978
13979 \end_layout
13980
13981 \begin_layout Standard
13982 To color vertical lines for example with green, create the following column
13983  format in the document preamble, according to the description in section\InsetSpace ~
13984
13985 \begin_inset LatexCommand ref
13986 reference "sub:Customized-Format"
13987
13988 \end_inset
13989
13990 :
13991 \end_layout
13992
13993 \begin_layout Standard
13994
13995 \series bold
13996
13997 \backslash
13998 newcolumntype{W}{!{
13999 \backslash
14000 color{green}
14001 \backslash
14002 vline}}
14003 \end_layout
14004
14005 \begin_layout Standard
14006 For Table\InsetSpace ~
14007
14008 \begin_inset LatexCommand ref
14009 reference "tab:Table-with-vertical-colored"
14010
14011 \end_inset
14012
14013  the LaTeX-argument
14014 \end_layout
14015
14016 \begin_layout Standard
14017
14018 \series bold
14019 WcW
14020 \end_layout
14021
14022 \begin_layout Standard
14023 was used for the last column and
14024 \end_layout
14025
14026 \begin_layout Standard
14027
14028 \series bold
14029 Wc
14030 \end_layout
14031
14032 \begin_layout Standard
14033 for the other columns.
14034 \end_layout
14035
14036 \begin_layout Standard
14037 If you want to have several colors, define more column formats.
14038 \end_layout
14039
14040 \begin_layout Standard
14041 \begin_inset Float table
14042 wide false
14043 sideways false
14044 status open
14045
14046 \begin_layout Standard
14047 \begin_inset Caption
14048
14049 \begin_layout Standard
14050 \begin_inset LatexCommand label
14051 name "tab:Table-with-vertical-colored"
14052
14053 \end_inset
14054
14055 Table with colored vertical lines
14056 \end_layout
14057
14058 \end_inset
14059
14060
14061 \end_layout
14062
14063 \begin_layout Standard
14064 \align center
14065 \begin_inset Tabular
14066 <lyxtabular version="3" rows="3" columns="3">
14067 <features>
14068 <column alignment="center" valignment="top" width="0" special="Wc">
14069 <column alignment="center" valignment="top" width="0" special="Wc">
14070 <column alignment="center" valignment="top" width="0" special="WcW">
14071 <row topline="true">
14072 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14073 \begin_inset Text
14074
14075 \begin_layout Standard
14076 sd
14077 \end_layout
14078
14079 \end_inset
14080 </cell>
14081 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14082 \begin_inset Text
14083
14084 \begin_layout Standard
14085
14086 \end_layout
14087
14088 \end_inset
14089 </cell>
14090 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14091 \begin_inset Text
14092
14093 \begin_layout Standard
14094
14095 \end_layout
14096
14097 \end_inset
14098 </cell>
14099 </row>
14100 <row topline="true">
14101 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14102 \begin_inset Text
14103
14104 \begin_layout Standard
14105
14106 \end_layout
14107
14108 \end_inset
14109 </cell>
14110 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14111 \begin_inset Text
14112
14113 \begin_layout Standard
14114 sd
14115 \end_layout
14116
14117 \end_inset
14118 </cell>
14119 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14120 \begin_inset Text
14121
14122 \begin_layout Standard
14123
14124 \end_layout
14125
14126 \end_inset
14127 </cell>
14128 </row>
14129 <row topline="true" bottomline="true">
14130 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14131 \begin_inset Text
14132
14133 \begin_layout Standard
14134
14135 \end_layout
14136
14137 \end_inset
14138 </cell>
14139 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14140 \begin_inset Text
14141
14142 \begin_layout Standard
14143
14144 \end_layout
14145
14146 \end_inset
14147 </cell>
14148 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14149 \begin_inset Text
14150
14151 \begin_layout Standard
14152 sd
14153 \end_layout
14154
14155 \end_inset
14156 </cell>
14157 </row>
14158 </lyxtabular>
14159
14160 \end_inset
14161
14162
14163 \end_layout
14164
14165 \end_inset
14166
14167
14168 \end_layout
14169
14170 \begin_layout Standard
14171 \begin_inset VSpace bigskip
14172 \end_inset
14173
14174 To color horizontal lines for example with red, like in Table\InsetSpace ~
14175
14176 \begin_inset LatexCommand ref
14177 reference "tab:Table-with-horizontal-colored"
14178
14179 \end_inset
14180
14181 , insert these commands in ERT before the table or table float:
14182 \end_layout
14183
14184 \begin_layout Standard
14185
14186 \series bold
14187
14188 \backslash
14189 let
14190 \backslash
14191 myHlineC
14192 \backslash
14193 hline
14194 \newline
14195
14196 \backslash
14197 renewcommand{
14198 \backslash
14199 hline}{
14200 \backslash
14201 arrayrulecolor{red}
14202 \backslash
14203 myHlineC
14204 \backslash
14205 arrayrulecolor{black}}
14206 \end_layout
14207
14208 \begin_layout Standard
14209 \begin_inset ERT
14210 status collapsed
14211
14212 \begin_layout Standard
14213
14214
14215 \backslash
14216 let
14217 \backslash
14218 myHlineC
14219 \backslash
14220 hline
14221 \end_layout
14222
14223 \begin_layout Standard
14224
14225
14226 \backslash
14227 renewcommand{
14228 \backslash
14229 hline}{
14230 \backslash
14231 arrayrulecolor{red}
14232 \backslash
14233 myHlineC
14234 \backslash
14235 arrayrulecolor{black}}
14236 \end_layout
14237
14238 \end_inset
14239
14240
14241 \begin_inset Float table
14242 wide false
14243 sideways false
14244 status open
14245
14246 \begin_layout Standard
14247 \begin_inset Caption
14248
14249 \begin_layout Standard
14250 \begin_inset LatexCommand label
14251 name "tab:Table-with-horizontal-colored"
14252
14253 \end_inset
14254
14255 Table with colored horizontal lines
14256 \end_layout
14257
14258 \end_inset
14259
14260
14261 \end_layout
14262
14263 \begin_layout Standard
14264 \align center
14265 \begin_inset Tabular
14266 <lyxtabular version="3" rows="3" columns="3">
14267 <features>
14268 <column alignment="center" valignment="top" leftline="true" width="0">
14269 <column alignment="center" valignment="top" leftline="true" width="0">
14270 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14271 <row topline="true">
14272 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14273 \begin_inset Text
14274
14275 \begin_layout Standard
14276 sd
14277 \end_layout
14278
14279 \end_inset
14280 </cell>
14281 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14282 \begin_inset Text
14283
14284 \begin_layout Standard
14285
14286 \end_layout
14287
14288 \end_inset
14289 </cell>
14290 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14291 \begin_inset Text
14292
14293 \begin_layout Standard
14294
14295 \end_layout
14296
14297 \end_inset
14298 </cell>
14299 </row>
14300 <row topline="true">
14301 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14302 \begin_inset Text
14303
14304 \begin_layout Standard
14305
14306 \end_layout
14307
14308 \end_inset
14309 </cell>
14310 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14311 \begin_inset Text
14312
14313 \begin_layout Standard
14314 sd
14315 \end_layout
14316
14317 \end_inset
14318 </cell>
14319 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14320 \begin_inset Text
14321
14322 \begin_layout Standard
14323
14324 \end_layout
14325
14326 \end_inset
14327 </cell>
14328 </row>
14329 <row topline="true" bottomline="true">
14330 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14331 \begin_inset Text
14332
14333 \begin_layout Standard
14334
14335 \end_layout
14336
14337 \end_inset
14338 </cell>
14339 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14340 \begin_inset Text
14341
14342 \begin_layout Standard
14343
14344 \end_layout
14345
14346 \end_inset
14347 </cell>
14348 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14349 \begin_inset Text
14350
14351 \begin_layout Standard
14352 sd
14353 \end_layout
14354
14355 \end_inset
14356 </cell>
14357 </row>
14358 </lyxtabular>
14359
14360 \end_inset
14361
14362
14363 \end_layout
14364
14365 \end_inset
14366
14367
14368 \end_layout
14369
14370 \begin_layout Standard
14371 \begin_inset ERT
14372 status collapsed
14373
14374 \begin_layout Standard
14375
14376
14377 \backslash
14378 pagebreak 
14379 \end_layout
14380
14381 \end_inset
14382
14383
14384 \end_layout
14385
14386 \begin_layout Standard
14387 To return to the default line color black, insert this command in ERT behind
14388  the table or table float:
14389 \end_layout
14390
14391 \begin_layout Standard
14392
14393 \series bold
14394
14395 \backslash
14396 renewcommand{
14397 \backslash
14398 hline}{
14399 \backslash
14400 myHlineC}
14401 \end_layout
14402
14403 \begin_layout Standard
14404 Table\InsetSpace ~
14405
14406 \begin_inset LatexCommand ref
14407 reference "tab:Table-with-colored"
14408
14409 \end_inset
14410
14411  is an example with colored vertical and horizontal lines.
14412 \end_layout
14413
14414 \begin_layout Standard
14415 \begin_inset Float table
14416 wide false
14417 sideways false
14418 status open
14419
14420 \begin_layout Standard
14421 \begin_inset Caption
14422
14423 \begin_layout Standard
14424 \begin_inset LatexCommand label
14425 name "tab:Table-with-colored"
14426
14427 \end_inset
14428
14429 Table with colored lines
14430 \end_layout
14431
14432 \end_inset
14433
14434
14435 \end_layout
14436
14437 \begin_layout Standard
14438 \align center
14439 \begin_inset Tabular
14440 <lyxtabular version="3" rows="3" columns="3">
14441 <features>
14442 <column alignment="center" valignment="top" width="0" special="Wc">
14443 <column alignment="center" valignment="top" width="0" special="Wc">
14444 <column alignment="center" valignment="top" width="0" special="WcW">
14445 <row topline="true">
14446 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14447 \begin_inset Text
14448
14449 \begin_layout Standard
14450 sd
14451 \end_layout
14452
14453 \end_inset
14454 </cell>
14455 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14456 \begin_inset Text
14457
14458 \begin_layout Standard
14459
14460 \end_layout
14461
14462 \end_inset
14463 </cell>
14464 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14465 \begin_inset Text
14466
14467 \begin_layout Standard
14468
14469 \end_layout
14470
14471 \end_inset
14472 </cell>
14473 </row>
14474 <row topline="true">
14475 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14476 \begin_inset Text
14477
14478 \begin_layout Standard
14479
14480 \end_layout
14481
14482 \end_inset
14483 </cell>
14484 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14485 \begin_inset Text
14486
14487 \begin_layout Standard
14488 sd
14489 \end_layout
14490
14491 \end_inset
14492 </cell>
14493 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14494 \begin_inset Text
14495
14496 \begin_layout Standard
14497
14498 \end_layout
14499
14500 \end_inset
14501 </cell>
14502 </row>
14503 <row topline="true" bottomline="true" topspace="default">
14504 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14505 \begin_inset Text
14506
14507 \begin_layout Standard
14508
14509 \end_layout
14510
14511 \end_inset
14512 </cell>
14513 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14514 \begin_inset Text
14515
14516 \begin_layout Standard
14517
14518 \end_layout
14519
14520 \end_inset
14521 </cell>
14522 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14523 \begin_inset Text
14524
14525 \begin_layout Standard
14526 sd
14527 \end_layout
14528
14529 \end_inset
14530 </cell>
14531 </row>
14532 </lyxtabular>
14533
14534 \end_inset
14535
14536
14537 \end_layout
14538
14539 \end_inset
14540
14541
14542 \end_layout
14543
14544 \begin_layout Standard
14545 \begin_inset ERT
14546 status collapsed
14547
14548 \begin_layout Standard
14549
14550
14551 \backslash
14552 renewcommand{
14553 \backslash
14554 hline}{
14555 \backslash
14556 myHlineC}
14557 \end_layout
14558
14559 \end_inset
14560
14561
14562 \end_layout
14563
14564 \begin_layout Standard
14565 \begin_inset ERT
14566 status collapsed
14567
14568 \begin_layout Standard
14569
14570
14571 \backslash
14572 setlength{
14573 \backslash
14574 arrayrulewidth}{0.4pt}
14575 \end_layout
14576
14577 \end_inset
14578
14579
14580 \end_layout
14581
14582 \begin_layout Section
14583 Table Customization
14584 \begin_inset LatexCommand index
14585 name "Table Customization"
14586
14587 \end_inset
14588
14589
14590 \begin_inset LatexCommand index
14591 name "Table ! Customization"
14592
14593 \end_inset
14594
14595
14596 \end_layout
14597
14598 \begin_layout Subsection
14599 Row Spacing
14600 \begin_inset LatexCommand label
14601 name "sub:Row-Spacing"
14602
14603 \end_inset
14604
14605
14606 \begin_inset LatexCommand index
14607 name "Table Customization ! Row Spacing"
14608
14609 \end_inset
14610
14611
14612 \end_layout
14613
14614 \begin_layout Standard
14615 You can add vertical space to table rows in the 
14616 \family sans
14617 Borders
14618 \family default
14619  tab of the table dialog.
14620  You find there three possibilities:
14621 \end_layout
14622
14623 \begin_layout Description
14624 Top\InsetSpace ~
14625 of\InsetSpace ~
14626 row will add space above the characters of the table row.
14627  If the table is a formal table
14628 \begin_inset Foot
14629 status collapsed
14630
14631 \begin_layout Standard
14632 Formal tables are explained in section\InsetSpace ~
14633
14634 \begin_inset LatexCommand ref
14635 reference "sec:Formal-Tables"
14636
14637 \end_inset
14638
14639 .
14640 \end_layout
14641
14642 \end_inset
14643
14644  LyX will insert as default 0.5\InsetSpace \thinspace{}
14645 em space.
14646  For normal tables the inserted space will unfortunately destroy the vertical
14647  table lines as in the following table:
14648 \begin_inset VSpace defskip
14649 \end_inset
14650
14651
14652 \newline
14653
14654 \begin_inset ERT
14655 status collapsed
14656
14657 \begin_layout Standard
14658
14659
14660 \backslash
14661 hspace*{0pt}
14662 \end_layout
14663
14664 \end_inset
14665
14666
14667 \hfill
14668
14669 \begin_inset Tabular
14670 <lyxtabular version="3" rows="3" columns="1">
14671 <features>
14672 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14673 <row topline="true">
14674 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14675 \begin_inset Text
14676
14677 \begin_layout Standard
14678 A
14679 \end_layout
14680
14681 \end_inset
14682 </cell>
14683 </row>
14684 <row topline="true" topspace="3mm">
14685 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14686 \begin_inset Text
14687
14688 \begin_layout Standard
14689 3\InsetSpace \thinspace{}
14690 mm space top of row
14691 \end_layout
14692
14693 \end_inset
14694 </cell>
14695 </row>
14696 <row topline="true" bottomline="true">
14697 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14698 \begin_inset Text
14699
14700 \begin_layout Standard
14701 C
14702 \end_layout
14703
14704 \end_inset
14705 </cell>
14706 </row>
14707 </lyxtabular>
14708
14709 \end_inset
14710
14711
14712 \hfill
14713
14714 \begin_inset ERT
14715 status collapsed
14716
14717 \begin_layout Standard
14718
14719
14720 \backslash
14721 hspace*{0pt}
14722 \end_layout
14723
14724 \end_inset
14725
14726
14727 \begin_inset VSpace defskip
14728 \end_inset
14729
14730
14731 \newline
14732 So inserting space to the top of row for normal tables is only useful when
14733  you don't have vertical lines.
14734 \end_layout
14735
14736 \begin_layout Description
14737 Bottom\InsetSpace ~
14738 of\InsetSpace ~
14739 row will add space below the characters of the table row.
14740  If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
14741 em space, for
14742  normal tables the default size is 2\InsetSpace \thinspace{}
14743 pt.
14744 \end_layout
14745
14746 \begin_layout Description
14747 Between\InsetSpace ~
14748 rows adds space between the current and the following row.
14749  If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
14750 em space.
14751  For normal tables the inserted space will unfortunately destroy the vertical
14752  table lines as in the following table:
14753 \begin_inset VSpace defskip
14754 \end_inset
14755
14756
14757 \newline
14758
14759 \begin_inset ERT
14760 status collapsed
14761
14762 \begin_layout Standard
14763
14764
14765 \backslash
14766 hspace*{0pt}
14767 \end_layout
14768
14769 \end_inset
14770
14771
14772 \hfill
14773
14774 \begin_inset Tabular
14775 <lyxtabular version="3" rows="3" columns="1">
14776 <features>
14777 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14778 <row topline="true">
14779 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14780 \begin_inset Text
14781
14782 \begin_layout Standard
14783 A
14784 \end_layout
14785
14786 \end_inset
14787 </cell>
14788 </row>
14789 <row topline="true" interlinespace="3mm">
14790 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14791 \begin_inset Text
14792
14793 \begin_layout Standard
14794 \begin_inset Formula $\downarrow$
14795 \end_inset
14796
14797  3\InsetSpace \thinspace{}
14798 mm space between row 
14799 \begin_inset Formula $\downarrow$
14800 \end_inset
14801
14802
14803 \end_layout
14804
14805 \end_inset
14806 </cell>
14807 </row>
14808 <row topline="true" bottomline="true">
14809 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14810 \begin_inset Text
14811
14812 \begin_layout Standard
14813 \begin_inset Formula $\uparrow$
14814 \end_inset
14815
14816  3\InsetSpace \thinspace{}
14817 mm space between row 
14818 \begin_inset Formula $\uparrow$
14819 \end_inset
14820
14821
14822 \end_layout
14823
14824 \end_inset
14825 </cell>
14826 </row>
14827 </lyxtabular>
14828
14829 \end_inset
14830
14831
14832 \hfill
14833
14834 \begin_inset ERT
14835 status collapsed
14836
14837 \begin_layout Standard
14838
14839
14840 \backslash
14841 hspace*{0pt}
14842 \end_layout
14843
14844 \end_inset
14845
14846
14847 \begin_inset VSpace defskip
14848 \end_inset
14849
14850
14851 \newline
14852 So inserting space between rows for normal tables is only useful when you
14853  don't have vertical lines.
14854 \end_layout
14855
14856 \begin_layout Standard
14857 When you want to add extra height to all cells of all tables, you can do
14858  this with the following preamble line:
14859 \end_layout
14860
14861 \begin_layout Standard
14862
14863 \series bold
14864
14865 \backslash
14866 setlength{
14867 \backslash
14868 extrarowheight}{height}
14869 \end_layout
14870
14871 \begin_layout Standard
14872 But this has the disadvantage that the cell texts are no longer exactly
14873  vertically centered.
14874 \end_layout
14875
14876 \begin_layout Subsection
14877 Special Cell Alignment
14878 \begin_inset LatexCommand index
14879 name "Table Customization ! Special Cell Alignment"
14880
14881 \end_inset
14882
14883
14884 \end_layout
14885
14886 \begin_layout Standard
14887 Sometimes it looks better when the cell entries of a column are aligned
14888  with a special character, e.\InsetSpace \thinspace{}
14889 g.\InsetSpace ~
14890 with the decimal separator as in Table\InsetSpace ~
14891
14892 \begin_inset LatexCommand ref
14893 reference "tab:Table-cells-of"
14894
14895 \end_inset
14896
14897 .
14898 \end_layout
14899
14900 \begin_layout Standard
14901 \begin_inset Float table
14902 placement h
14903 wide false
14904 sideways false
14905 status open
14906
14907 \begin_layout Standard
14908 \begin_inset Caption
14909
14910 \begin_layout Standard
14911 \begin_inset LatexCommand label
14912 name "tab:Table-cells-of"
14913
14914 \end_inset
14915
14916 Table cells of a column aligned with the decimal separator.
14917 \end_layout
14918
14919 \end_inset
14920
14921
14922 \end_layout
14923
14924 \begin_layout Standard
14925 \align center
14926 \begin_inset Tabular
14927 <lyxtabular version="3" rows="4" columns="2">
14928 <features>
14929 <column alignment="right" valignment="top" width="0">
14930 <column alignment="left" valignment="top" width="0" special="@{}l">
14931 <row bottomline="true">
14932 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
14933 \begin_inset Text
14934
14935 \begin_layout Standard
14936 heading
14937 \end_layout
14938
14939 \end_inset
14940 </cell>
14941 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14942 \begin_inset Text
14943
14944 \begin_layout Standard
14945
14946 \end_layout
14947
14948 \end_inset
14949 </cell>
14950 </row>
14951 <row>
14952 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14953 \begin_inset Text
14954
14955 \begin_layout Standard
14956 12.
14957 \end_layout
14958
14959 \end_inset
14960 </cell>
14961 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14962 \begin_inset Text
14963
14964 \begin_layout Standard
14965 6
14966 \end_layout
14967
14968 \end_inset
14969 </cell>
14970 </row>
14971 <row>
14972 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14973 \begin_inset Text
14974
14975 \begin_layout Standard
14976 0.
14977 \end_layout
14978
14979 \end_inset
14980 </cell>
14981 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14982 \begin_inset Text
14983
14984 \begin_layout Standard
14985 68
14986 \end_layout
14987
14988 \end_inset
14989 </cell>
14990 </row>
14991 <row>
14992 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14993 \begin_inset Text
14994
14995 \begin_layout Standard
14996 -123.
14997 \end_layout
14998
14999 \end_inset
15000 </cell>
15001 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15002 \begin_inset Text
15003
15004 \begin_layout Standard
15005 0
15006 \end_layout
15007
15008 \end_inset
15009 </cell>
15010 </row>
15011 </lyxtabular>
15012
15013 \end_inset
15014
15015
15016 \end_layout
15017
15018 \end_inset
15019
15020
15021 \end_layout
15022
15023 \begin_layout Standard
15024 This table was created with a 4×2 table.
15025  The heading is a centered multicolumn.
15026  The first column is right-aligned and contains the digits before the decimal
15027  point and the decimal point.
15028  The second column is left aligned and contains the digits after the decimal
15029  point.
15030  To omit the space that is normally between two table columns, use the following
15031  LaTeX-argument for the second column:
15032 \end_layout
15033
15034 \begin_layout Standard
15035
15036 \series bold
15037 @{}l
15038 \end_layout
15039
15040 \begin_layout Standard
15041 Table\InsetSpace ~
15042
15043 \begin_inset LatexCommand ref
15044 reference "tab:Several-table-cell"
15045
15046 \end_inset
15047
15048  shows some example alignments.
15049  For the alignment with the relation sign, you must add the second smallest
15050  math-space at the beginning of the last column to get the correct space
15051  surrounding the relation sign.
15052 \end_layout
15053
15054 \begin_layout Standard
15055 \begin_inset Float table
15056 wide false
15057 sideways false
15058 status open
15059
15060 \begin_layout Standard
15061 \begin_inset Caption
15062
15063 \begin_layout Standard
15064 \begin_inset LatexCommand label
15065 name "tab:Several-table-cell"
15066
15067 \end_inset
15068
15069 Several table cell alignments.
15070 \end_layout
15071
15072 \end_inset
15073
15074
15075 \end_layout
15076
15077 \begin_layout Standard
15078 \align center
15079 \begin_inset Tabular
15080 <lyxtabular version="3" rows="4" columns="6">
15081 <features>
15082 <column alignment="right" valignment="top" width="0">
15083 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l">
15084 <column alignment="right" valignment="top" width="0">
15085 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l">
15086 <column alignment="right" valignment="top" width="0">
15087 <column alignment="left" valignment="top" width="0" special="@{}l">
15088 <row bottomline="true">
15089 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15090 \begin_inset Text
15091
15092 \begin_layout Standard
15093 units
15094 \end_layout
15095
15096 \end_inset
15097 </cell>
15098 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15099 \begin_inset Text
15100
15101 \begin_layout Standard
15102
15103 \end_layout
15104
15105 \end_inset
15106 </cell>
15107 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15108 \begin_inset Text
15109
15110 \begin_layout Standard
15111 exponents
15112 \end_layout
15113
15114 \end_inset
15115 </cell>
15116 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15117 \begin_inset Text
15118
15119 \begin_layout Standard
15120
15121 \end_layout
15122
15123 \end_inset
15124 </cell>
15125 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15126 \begin_inset Text
15127
15128 \begin_layout Standard
15129 relations
15130 \end_layout
15131
15132 \end_inset
15133 </cell>
15134 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15135 \begin_inset Text
15136
15137 \begin_layout Standard
15138
15139 \end_layout
15140
15141 \end_inset
15142 </cell>
15143 </row>
15144 <row>
15145 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15146 \begin_inset Text
15147
15148 \begin_layout Standard
15149 12×
15150 \end_layout
15151
15152 \end_inset
15153 </cell>
15154 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15155 \begin_inset Text
15156
15157 \begin_layout Standard
15158 24\InsetSpace \thinspace{}
15159 bottles
15160 \end_layout
15161
15162 \end_inset
15163 </cell>
15164 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15165 \begin_inset Text
15166
15167 \begin_layout Standard
15168 \begin_inset Formula $10\cdot$
15169 \end_inset
15170
15171
15172 \end_layout
15173
15174 \end_inset
15175 </cell>
15176 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15177 \begin_inset Text
15178
15179 \begin_layout Standard
15180 \begin_inset Formula $10^{\mbox{-}17}$
15181 \end_inset
15182
15183
15184 \end_layout
15185
15186 \end_inset
15187 </cell>
15188 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15189 \begin_inset Text
15190
15191 \begin_layout Standard
15192 \begin_inset Formula $\Gamma(t)\propto$
15193 \end_inset
15194
15195
15196 \end_layout
15197
15198 \end_inset
15199 </cell>
15200 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15201 \begin_inset Text
15202
15203 \begin_layout Standard
15204 \begin_inset Formula $\:\Upsilon(t)$
15205 \end_inset
15206
15207
15208 \end_layout
15209
15210 \end_inset
15211 </cell>
15212 </row>
15213 <row>
15214 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15215 \begin_inset Text
15216
15217 \begin_layout Standard
15218 1024×
15219 \end_layout
15220
15221 \end_inset
15222 </cell>
15223 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15224 \begin_inset Text
15225
15226 \begin_layout Standard
15227 768\InsetSpace \thinspace{}
15228 Pixels
15229 \end_layout
15230
15231 \end_inset
15232 </cell>
15233 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15234 \begin_inset Text
15235
15236 \begin_layout Standard
15237 \begin_inset Formula $5.78\cdot$
15238 \end_inset
15239
15240
15241 \end_layout
15242
15243 \end_inset
15244 </cell>
15245 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15246 \begin_inset Text
15247
15248 \begin_layout Standard
15249 \begin_inset Formula $10^{7}$
15250 \end_inset
15251
15252
15253 \end_layout
15254
15255 \end_inset
15256 </cell>
15257 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15258 \begin_inset Text
15259
15260 \begin_layout Standard
15261 \begin_inset Formula $A\ne$
15262 \end_inset
15263
15264
15265 \end_layout
15266
15267 \end_inset
15268 </cell>
15269 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15270 \begin_inset Text
15271
15272 \begin_layout Standard
15273 \begin_inset Formula $\: B_{\mathrm{red}}$
15274 \end_inset
15275
15276
15277 \end_layout
15278
15279 \end_inset
15280 </cell>
15281 </row>
15282 <row>
15283 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15284 \begin_inset Text
15285
15286 \begin_layout Standard
15287 32×
15288 \end_layout
15289
15290 \end_inset
15291 </cell>
15292 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15293 \begin_inset Text
15294
15295 \begin_layout Standard
15296 6\InsetSpace \thinspace{}
15297 cm
15298 \end_layout
15299
15300 \end_inset
15301 </cell>
15302 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15303 \begin_inset Text
15304
15305 \begin_layout Standard
15306 -
15307 \begin_inset Formula $33.5\cdot$
15308 \end_inset
15309
15310
15311 \end_layout
15312
15313 \end_inset
15314 </cell>
15315 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15316 \begin_inset Text
15317
15318 \begin_layout Standard
15319 \begin_inset Formula $10^{4}$
15320 \end_inset
15321
15322
15323 \end_layout
15324
15325 \end_inset
15326 </cell>
15327 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15328 \begin_inset Text
15329
15330 \begin_layout Standard
15331 \begin_inset Formula $\sin(\alpha)\ge$
15332 \end_inset
15333
15334
15335 \end_layout
15336
15337 \end_inset
15338 </cell>
15339 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15340 \begin_inset Text
15341
15342 \begin_layout Standard
15343 \begin_inset Formula $\:\sin(\beta)$
15344 \end_inset
15345
15346
15347 \end_layout
15348
15349 \end_inset
15350 </cell>
15351 </row>
15352 </lyxtabular>
15353
15354 \end_inset
15355
15356
15357 \end_layout
15358
15359 \end_inset
15360
15361
15362 \end_layout
15363
15364 \begin_layout Standard
15365 \begin_inset VSpace bigskip
15366 \end_inset
15367
15368 There is also the LaTeX-package 
15369 \series bold
15370 dcolumn
15371 \series default
15372
15373 \begin_inset LatexCommand index
15374 name "LaTeX-packages ! dcolumn"
15375
15376 \end_inset
15377
15378  that provides table cell alignments.
15379  But this unfortunately treats the cell entries as math and doesn't allow
15380  formulas in table cells: The first column of Table\InsetSpace ~
15381
15382 \begin_inset LatexCommand ref
15383 reference "tab:Several-table-cell"
15384
15385 \end_inset
15386
15387  will look with 
15388 \series bold
15389 dcolumn
15390 \series default
15391  like the first column in Table\InsetSpace ~
15392
15393 \begin_inset LatexCommand ref
15394 reference "tab:Alignments-when"
15395
15396 \end_inset
15397
15398  and only with some tricks like the expected.
15399  The alignment of the second and third column of Table\InsetSpace ~
15400
15401 \begin_inset LatexCommand ref
15402 reference "tab:Several-table-cell"
15403
15404 \end_inset
15405
15406  is not possible with 
15407 \series bold
15408 dcolumn
15409 \series default
15410 .
15411 \end_layout
15412
15413 \begin_layout Standard
15414 \begin_inset Float table
15415 placement h
15416 wide false
15417 sideways false
15418 status open
15419
15420 \begin_layout Standard
15421 \begin_inset Caption
15422
15423 \begin_layout Standard
15424 \begin_inset LatexCommand label
15425 name "tab:Alignments-when"
15426
15427 \end_inset
15428
15429 Alignments when LaTeX-package dcolumn is used.
15430  For all column alignments tricks have to be used to get the output.
15431 \end_layout
15432
15433 \end_inset
15434
15435
15436 \end_layout
15437
15438 \begin_layout Standard
15439 \align center
15440 \begin_inset Tabular
15441 <lyxtabular version="3" rows="4" columns="3">
15442 <features>
15443 <column alignment="center" valignment="top" rightline="true" width="0" special="D{x}{\times}{-1}">
15444 <column alignment="center" valignment="top" rightline="true" width="0" special="D{x}{\times}{4.9}">
15445 <column alignment="center" valignment="top" width="0" special="D{~}{\,}{9.7}">
15446 <row bottomline="true">
15447 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15448 \begin_inset Text
15449
15450 \begin_layout Standard
15451 units
15452 \end_layout
15453
15454 \end_inset
15455 </cell>
15456 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15457 \begin_inset Text
15458
15459 \begin_layout Standard
15460 units
15461 \end_layout
15462
15463 \end_inset
15464 </cell>
15465 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15466 \begin_inset Text
15467
15468 \begin_layout Standard
15469 units
15470 \end_layout
15471
15472 \end_inset
15473 </cell>
15474 </row>
15475 <row>
15476 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15477 \begin_inset Text
15478
15479 \begin_layout Standard
15480 12x24\InsetSpace \thinspace{}
15481 bottles
15482 \end_layout
15483
15484 \end_inset
15485 </cell>
15486 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15487 \begin_inset Text
15488
15489 \begin_layout Standard
15490 12x24\InsetSpace \thinspace{}
15491
15492 \begin_inset Formula $\mbox{bottles}$
15493 \end_inset
15494
15495
15496 \end_layout
15497
15498 \end_inset
15499 </cell>
15500 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15501 \begin_inset Text
15502
15503 \begin_layout Standard
15504 12
15505 \begin_inset ERT
15506 status collapsed
15507
15508 \begin_layout Standard
15509
15510
15511 \backslash
15512 times 
15513 \end_layout
15514
15515 \end_inset
15516
15517 24~
15518 \begin_inset Formula $\mbox{bottles}$
15519 \end_inset
15520
15521
15522 \end_layout
15523
15524 \end_inset
15525 </cell>
15526 </row>
15527 <row>
15528 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15529 \begin_inset Text
15530
15531 \begin_layout Standard
15532 1024x768\InsetSpace \thinspace{}
15533 Pixels
15534 \end_layout
15535
15536 \end_inset
15537 </cell>
15538 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15539 \begin_inset Text
15540
15541 \begin_layout Standard
15542 1024x768\InsetSpace \thinspace{}
15543
15544 \begin_inset Formula $\mbox{Pixels}$
15545 \end_inset
15546
15547
15548 \end_layout
15549
15550 \end_inset
15551 </cell>
15552 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15553 \begin_inset Text
15554
15555 \begin_layout Standard
15556 1024
15557 \begin_inset ERT
15558 status collapsed
15559
15560 \begin_layout Standard
15561
15562
15563 \backslash
15564 times 
15565 \end_layout
15566
15567 \end_inset
15568
15569 768~
15570 \begin_inset Formula $\mbox{Pixels}$
15571 \end_inset
15572
15573
15574 \end_layout
15575
15576 \end_inset
15577 </cell>
15578 </row>
15579 <row>
15580 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15581 \begin_inset Text
15582
15583 \begin_layout Standard
15584 32x6\InsetSpace \thinspace{}
15585 cm
15586 \end_layout
15587
15588 \end_inset
15589 </cell>
15590 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15591 \begin_inset Text
15592
15593 \begin_layout Standard
15594 32x6\InsetSpace \thinspace{}
15595
15596 \begin_inset Formula $\mbox{cm}$
15597 \end_inset
15598
15599
15600 \end_layout
15601
15602 \end_inset
15603 </cell>
15604 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15605 \begin_inset Text
15606
15607 \begin_layout Standard
15608 32
15609 \begin_inset ERT
15610 status collapsed
15611
15612 \begin_layout Standard
15613
15614
15615 \backslash
15616 times 
15617 \end_layout
15618
15619 \end_inset
15620
15621 6~
15622 \begin_inset Formula $\mbox{cm}$
15623 \end_inset
15624
15625
15626 \end_layout
15627
15628 \end_inset
15629 </cell>
15630 </row>
15631 </lyxtabular>
15632
15633 \end_inset
15634
15635
15636 \end_layout
15637
15638 \end_inset
15639
15640
15641 \end_layout
15642
15643 \begin_layout Subsection
15644 Customized Cell/Column Format
15645 \begin_inset LatexCommand label
15646 name "sub:Customized-Format"
15647
15648 \end_inset
15649
15650
15651 \begin_inset LatexCommand index
15652 name "Table Customization ! Cell/Column Format"
15653
15654 \end_inset
15655
15656
15657 \end_layout
15658
15659 \begin_layout Standard
15660 Calculating the needed width for spanned columns like in section\InsetSpace ~
15661
15662 \begin_inset LatexCommand ref
15663 reference "sub:Multicolumn-Calculations"
15664
15665 \end_inset
15666
15667  is very annoying if you have several tables with multicolumn cells.
15668  To make life easier, you can define a cell/column format in the preamble,
15669  so that it can be used in all tables of the document.
15670  The format is defined with the command
15671 \end_layout
15672
15673 \begin_layout Standard
15674
15675 \series bold
15676
15677 \backslash
15678 newcolumntype{name of format}[number of arguments]{commands}
15679 \end_layout
15680
15681 \begin_layout Standard
15682 The format name may only consist of one letter.
15683  The letters 
15684 \emph on
15685 b
15686 \emph default
15687
15688 \emph on
15689 c
15690 \emph default
15691
15692 \emph on
15693 l
15694 \emph default
15695
15696 \emph on
15697 m
15698 \emph default
15699
15700 \emph on
15701 p
15702 \emph default
15703  and 
15704 \emph on
15705 r
15706 \emph default
15707  are predefined and cannot be used.
15708  But all letters are allowed as capitals.
15709 \end_layout
15710
15711 \begin_layout Standard
15712 \begin_inset VSpace medskip
15713 \end_inset
15714
15715
15716 \end_layout
15717
15718 \begin_layout Standard
15719 For vertically and horizontally centered multicolumn cells with a fixed
15720  width you can define the cell format
15721 \end_layout
15722
15723 \begin_layout Standard
15724
15725 \series bold
15726
15727 \backslash
15728 newcolumntype{M}[1]{>{
15729 \backslash
15730 centering
15731 \backslash
15732 hspace{0pt}}m{#1}}
15733 \end_layout
15734
15735 \begin_layout Standard
15736 where 
15737 \series bold
15738
15739 \backslash
15740 hspace{0pt}
15741 \series default
15742  avoids the problem of hyphenating the first word, as described in section\InsetSpace ~
15743
15744 \begin_inset LatexCommand ref
15745 reference "sub:Multiple-Lines-in"
15746
15747 \end_inset
15748
15749 .
15750  Now you can simply enter
15751 \end_layout
15752
15753 \begin_layout Standard
15754
15755 \series bold
15756 M{width}
15757 \end_layout
15758
15759 \begin_layout Standard
15760 as LaTeX-argument in the table dialog to create a multicolumn.
15761 \end_layout
15762
15763 \begin_layout Standard
15764 \begin_inset VSpace bigskip
15765 \end_inset
15766
15767
15768 \end_layout
15769
15770 \begin_layout Standard
15771 For cells spanned by a multicolumn cell, you can define the format
15772 \end_layout
15773
15774 \begin_layout Standard
15775
15776 \series bold
15777
15778 \backslash
15779 newcolumntype{S}[2]{>{
15780 \backslash
15781 centering
15782 \backslash
15783 hspace{0pt}}
15784 \newline
15785
15786 \begin_inset ERT
15787 status collapsed
15788
15789 \begin_layout Standard
15790
15791
15792 \backslash
15793 phantom{
15794 \end_layout
15795
15796 \end_inset
15797
15798
15799 \backslash
15800 newcolumntype{S}[2]
15801 \begin_inset ERT
15802 status collapsed
15803
15804 \begin_layout Standard
15805
15806 }
15807 \end_layout
15808
15809 \end_inset
15810
15811 m{(#1+(2
15812 \backslash
15813 tabcolsep+
15814 \backslash
15815 arrayrulewidth)*(1-#2))/#2}}
15816 \end_layout
15817
15818 \begin_layout Standard
15819 This format uses equation 
15820 \begin_inset LatexCommand eqref
15821 reference "eq:Wgn"
15822
15823 \end_inset
15824
15825  to calculate the needed width so that each spanned cell has the same width.
15826 \end_layout
15827
15828 \begin_layout Standard
15829 You can now enter
15830 \end_layout
15831
15832 \begin_layout Standard
15833
15834 \series bold
15835 S{width of multicolumn cell}{number of spanned columns}
15836 \end_layout
15837
15838 \begin_layout Standard
15839 as LaTeX-argument of the column.
15840 \end_layout
15841
15842 \begin_layout Standard
15843 \begin_inset VSpace bigskip
15844 \end_inset
15845
15846
15847 \end_layout
15848
15849 \begin_layout Standard
15850 For colored columns, you can define
15851 \end_layout
15852
15853 \begin_layout Standard
15854
15855 \series bold
15856
15857 \backslash
15858 newcolumntype{K}[1]{>{
15859 \backslash
15860 columncolor{#1}
15861 \backslash
15862 hspace{0pt}}c}
15863 \end_layout
15864
15865 \begin_layout Standard
15866 The 
15867 \begin_inset Quotes eld
15868 \end_inset
15869
15870 c
15871 \begin_inset Quotes erd
15872 \end_inset
15873
15874  at the end creates a column with a flexible width whose text is horizontally
15875  centered.
15876  You can now enter
15877 \end_layout
15878
15879 \begin_layout Standard
15880
15881 \series bold
15882 K{color name}
15883 \end_layout
15884
15885 \begin_layout Standard
15886 as LaTeX-argument.
15887 \end_layout
15888
15889 \begin_layout Standard
15890 \begin_inset VSpace bigskip
15891 \end_inset
15892
15893
15894 \end_layout
15895
15896 \begin_layout Standard
15897 To create Table\InsetSpace ~
15898
15899 \begin_inset LatexCommand ref
15900 reference "tab:Table-using-user-defined"
15901
15902 \end_inset
15903
15904  use the LaTeX-arguments
15905 \end_layout
15906
15907 \begin_layout Standard
15908
15909 \series bold
15910 M{2.5cm}
15911 \end_layout
15912
15913 \begin_layout Standard
15914 for the first column and the multicolumn,
15915 \end_layout
15916
15917 \begin_layout Standard
15918
15919 \series bold
15920 K{red}
15921 \end_layout
15922
15923 \begin_layout Standard
15924 for the the last column, and
15925 \end_layout
15926
15927 \begin_layout Standard
15928
15929 \series bold
15930 S{2.5cm}{2}
15931 \end_layout
15932
15933 \begin_layout Standard
15934 for the cells in the second column.
15935 \end_layout
15936
15937 \begin_layout Standard
15938 \begin_inset Float table
15939 placement h
15940 wide false
15941 sideways false
15942 status open
15943
15944 \begin_layout Standard
15945 \begin_inset Caption
15946
15947 \begin_layout Standard
15948 \begin_inset LatexCommand label
15949 name "tab:Table-using-user-defined"
15950
15951 \end_inset
15952
15953 Table using user-defined table formats
15954 \end_layout
15955
15956 \end_inset
15957
15958
15959 \end_layout
15960
15961 \begin_layout Standard
15962 \align center
15963 \begin_inset Tabular
15964 <lyxtabular version="3" rows="3" columns="4">
15965 <features>
15966 <column alignment="center" valignment="middle" leftline="true" width="2.5cm" special="M{2.5cm}">
15967 <column alignment="center" valignment="middle" leftline="true" width="0" special="S{2.5cm}{2}">
15968 <column alignment="center" valignment="middle" leftline="true" width="0">
15969 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0" special="K{red}">
15970 <row topline="true">
15971 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15972 \begin_inset Text
15973
15974 \begin_layout Standard
15975 verylongtablecellword
15976 \end_layout
15977
15978 \end_inset
15979 </cell>
15980 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none" special="M{2.5cm}">
15981 \begin_inset Text
15982
15983 \begin_layout Standard
15984 multiple lines multicolumn
15985 \end_layout
15986
15987 \end_inset
15988 </cell>
15989 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15990 \begin_inset Text
15991
15992 \begin_layout Standard
15993
15994 \end_layout
15995
15996 \end_inset
15997 </cell>
15998 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15999 \begin_inset Text
16000
16001 \begin_layout Standard
16002 c
16003 \end_layout
16004
16005 \end_inset
16006 </cell>
16007 </row>
16008 <row topline="true">
16009 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16010 \begin_inset Text
16011
16012 \begin_layout Standard
16013 d
16014 \end_layout
16015
16016 \end_inset
16017 </cell>
16018 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16019 \begin_inset Text
16020
16021 \begin_layout Standard
16022 e
16023 \end_layout
16024
16025 \end_inset
16026 </cell>
16027 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16028 \begin_inset Text
16029
16030 \begin_layout Standard
16031 f
16032 \end_layout
16033
16034 \end_inset
16035 </cell>
16036 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16037 \begin_inset Text
16038
16039 \begin_layout Standard
16040 g
16041 \end_layout
16042
16043 \end_inset
16044 </cell>
16045 </row>
16046 <row topline="true" bottomline="true">
16047 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16048 \begin_inset Text
16049
16050 \begin_layout Standard
16051 h
16052 \end_layout
16053
16054 \end_inset
16055 </cell>
16056 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16057 \begin_inset Text
16058
16059 \begin_layout Standard
16060 i
16061 \end_layout
16062
16063 \end_inset
16064 </cell>
16065 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16066 \begin_inset Text
16067
16068 \begin_layout Standard
16069 j
16070 \end_layout
16071
16072 \end_inset
16073 </cell>
16074 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16075 \begin_inset Text
16076
16077 \begin_layout Standard
16078 k
16079 \end_layout
16080
16081 \end_inset
16082 </cell>
16083 </row>
16084 </lyxtabular>
16085
16086 \end_inset
16087
16088
16089 \end_layout
16090
16091 \end_inset
16092
16093
16094 \end_layout
16095
16096 \begin_layout Subsection
16097 Line Thickness
16098 \begin_inset LatexCommand label
16099 name "sub:Line-Thickness"
16100
16101 \end_inset
16102
16103
16104 \begin_inset LatexCommand index
16105 name "Table Customization ! Line Thickness"
16106
16107 \end_inset
16108
16109
16110 \end_layout
16111
16112 \begin_layout Standard
16113 The line thickness for all lines in a table can be adjusted with the length
16114  
16115 \series bold
16116
16117 \backslash
16118 arrayrulewidth
16119 \series default
16120 .
16121  To set for example a line thickness of 1.5\InsetSpace \thinspace{}
16122 pt, like in Table\InsetSpace ~
16123
16124 \begin_inset LatexCommand ref
16125 reference "tab:Table-with-1.5"
16126
16127 \end_inset
16128
16129 , insert the command
16130 \end_layout
16131
16132 \begin_layout Standard
16133
16134 \series bold
16135
16136 \backslash
16137 setlength{
16138 \backslash
16139 arrayrulewidth}{1.5pt}
16140 \end_layout
16141
16142 \begin_layout Standard
16143 in ERT before the table or table float.
16144  The changed thickness is valid for all following tables.
16145  To use the default value again, set 
16146 \series bold
16147
16148 \backslash
16149 arrayrulewidth
16150 \series default
16151  to 0.4\InsetSpace \thinspace{}
16152 pt in ERT behind the table or table float.
16153 \end_layout
16154
16155 \begin_layout Standard
16156 \begin_inset ERT
16157 status collapsed
16158
16159 \begin_layout Standard
16160
16161
16162 \backslash
16163 setlength{
16164 \backslash
16165 arrayrulewidth}{1.5pt}
16166 \end_layout
16167
16168 \end_inset
16169
16170
16171 \begin_inset Float table
16172 wide false
16173 sideways false
16174 status open
16175
16176 \begin_layout Standard
16177 \begin_inset Caption
16178
16179 \begin_layout Standard
16180 \begin_inset LatexCommand label
16181 name "tab:Table-with-1.5"
16182
16183 \end_inset
16184
16185 Table with 1.5\InsetSpace \thinspace{}
16186 pt thick lines
16187 \end_layout
16188
16189 \end_inset
16190
16191
16192 \end_layout
16193
16194 \begin_layout Standard
16195 \align center
16196 \begin_inset Tabular
16197 <lyxtabular version="3" rows="3" columns="3">
16198 <features>
16199 <column alignment="center" valignment="top" leftline="true" width="0">
16200 <column alignment="center" valignment="top" leftline="true" width="0">
16201 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16202 <row topline="true">
16203 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16204 \begin_inset Text
16205
16206 \begin_layout Standard
16207 sd
16208 \end_layout
16209
16210 \end_inset
16211 </cell>
16212 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16213 \begin_inset Text
16214
16215 \begin_layout Standard
16216
16217 \end_layout
16218
16219 \end_inset
16220 </cell>
16221 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16222 \begin_inset Text
16223
16224 \begin_layout Standard
16225
16226 \end_layout
16227
16228 \end_inset
16229 </cell>
16230 </row>
16231 <row topline="true">
16232 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16233 \begin_inset Text
16234
16235 \begin_layout Standard
16236
16237 \end_layout
16238
16239 \end_inset
16240 </cell>
16241 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16242 \begin_inset Text
16243
16244 \begin_layout Standard
16245 sd
16246 \end_layout
16247
16248 \end_inset
16249 </cell>
16250 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16251 \begin_inset Text
16252
16253 \begin_layout Standard
16254
16255 \end_layout
16256
16257 \end_inset
16258 </cell>
16259 </row>
16260 <row topline="true" bottomline="true">
16261 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16262 \begin_inset Text
16263
16264 \begin_layout Standard
16265
16266 \end_layout
16267
16268 \end_inset
16269 </cell>
16270 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16271 \begin_inset Text
16272
16273 \begin_layout Standard
16274
16275 \end_layout
16276
16277 \end_inset
16278 </cell>
16279 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16280 \begin_inset Text
16281
16282 \begin_layout Standard
16283 sd
16284 \end_layout
16285
16286 \end_inset
16287 </cell>
16288 </row>
16289 </lyxtabular>
16290
16291 \end_inset
16292
16293
16294 \end_layout
16295
16296 \end_inset
16297
16298
16299 \begin_inset ERT
16300 status collapsed
16301
16302 \begin_layout Standard
16303
16304
16305 \backslash
16306 setlength{
16307 \backslash
16308 arrayrulewidth}{0.4pt}
16309 \end_layout
16310
16311 \end_inset
16312
16313
16314 \end_layout
16315
16316 \begin_layout Standard
16317 \begin_inset VSpace bigskip
16318 \end_inset
16319
16320 To set the line thickness to 1.5\InsetSpace \thinspace{}
16321 pt only for horizontal lines, like in Table\InsetSpace ~
16322
16323 \begin_inset LatexCommand ref
16324 reference "tab:Table-with-horizontal"
16325
16326 \end_inset
16327
16328 , insert these commands in ERT before the table or table float:
16329 \end_layout
16330
16331 \begin_layout Standard
16332
16333 \series bold
16334
16335 \backslash
16336 let
16337 \backslash
16338 myHline
16339 \backslash
16340 hline
16341 \newline
16342
16343 \backslash
16344 renewcommand{
16345 \backslash
16346 hline}
16347 \newline
16348  {
16349 \backslash
16350 noalign{
16351 \backslash
16352 global
16353 \backslash
16354 arrayrulewidth 1.5pt}
16355 \newline
16356   
16357 \backslash
16358 myHline
16359 \backslash
16360 noalign{
16361 \backslash
16362 global
16363 \backslash
16364 arrayrulewidth 0.4pt}}
16365 \end_layout
16366
16367 \begin_layout Standard
16368 To return to the default line thickness, insert this command in ERT behind
16369  the table or table float:
16370 \end_layout
16371
16372 \begin_layout Standard
16373
16374 \series bold
16375
16376 \backslash
16377 renewcommand{
16378 \backslash
16379 hline}{
16380 \backslash
16381 myHline}
16382 \end_layout
16383
16384 \begin_layout Standard
16385 \begin_inset ERT
16386 status collapsed
16387
16388 \begin_layout Standard
16389
16390
16391 \backslash
16392 let
16393 \backslash
16394 myHline
16395 \backslash
16396 hline
16397 \end_layout
16398
16399 \begin_layout Standard
16400
16401
16402 \backslash
16403 renewcommand{
16404 \backslash
16405 hline}
16406 \end_layout
16407
16408 \begin_layout Standard
16409
16410  {
16411 \backslash
16412 noalign{
16413 \backslash
16414 global
16415 \backslash
16416 arrayrulewidth 1.5pt}
16417 \end_layout
16418
16419 \begin_layout Standard
16420
16421   
16422 \backslash
16423 myHline
16424 \backslash
16425 noalign{
16426 \backslash
16427 global
16428 \backslash
16429 arrayrulewidth 0.4pt}}
16430 \end_layout
16431
16432 \end_inset
16433
16434
16435 \begin_inset Float table
16436 wide false
16437 sideways false
16438 status open
16439
16440 \begin_layout Standard
16441 \begin_inset Caption
16442
16443 \begin_layout Standard
16444 \begin_inset LatexCommand label
16445 name "tab:Table-with-horizontal"
16446
16447 \end_inset
16448
16449 Table with 1.5\InsetSpace \thinspace{}
16450 pt thick horizontal lines
16451 \end_layout
16452
16453 \end_inset
16454
16455
16456 \end_layout
16457
16458 \begin_layout Standard
16459 \align center
16460 \begin_inset Tabular
16461 <lyxtabular version="3" rows="3" columns="3">
16462 <features>
16463 <column alignment="center" valignment="top" leftline="true" width="0">
16464 <column alignment="center" valignment="top" leftline="true" width="0">
16465 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16466 <row topline="true">
16467 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16468 \begin_inset Text
16469
16470 \begin_layout Standard
16471 sd
16472 \end_layout
16473
16474 \end_inset
16475 </cell>
16476 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16477 \begin_inset Text
16478
16479 \begin_layout Standard
16480
16481 \end_layout
16482
16483 \end_inset
16484 </cell>
16485 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16486 \begin_inset Text
16487
16488 \begin_layout Standard
16489
16490 \end_layout
16491
16492 \end_inset
16493 </cell>
16494 </row>
16495 <row topline="true">
16496 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16497 \begin_inset Text
16498
16499 \begin_layout Standard
16500
16501 \end_layout
16502
16503 \end_inset
16504 </cell>
16505 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16506 \begin_inset Text
16507
16508 \begin_layout Standard
16509 sd
16510 \end_layout
16511
16512 \end_inset
16513 </cell>
16514 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16515 \begin_inset Text
16516
16517 \begin_layout Standard
16518
16519 \end_layout
16520
16521 \end_inset
16522 </cell>
16523 </row>
16524 <row topline="true" bottomline="true">
16525 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16526 \begin_inset Text
16527
16528 \begin_layout Standard
16529
16530 \end_layout
16531
16532 \end_inset
16533 </cell>
16534 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16535 \begin_inset Text
16536
16537 \begin_layout Standard
16538
16539 \end_layout
16540
16541 \end_inset
16542 </cell>
16543 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16544 \begin_inset Text
16545
16546 \begin_layout Standard
16547 sd
16548 \end_layout
16549
16550 \end_inset
16551 </cell>
16552 </row>
16553 </lyxtabular>
16554
16555 \end_inset
16556
16557
16558 \end_layout
16559
16560 \end_inset
16561
16562
16563 \begin_inset ERT
16564 status collapsed
16565
16566 \begin_layout Standard
16567
16568
16569 \backslash
16570 renewcommand{
16571 \backslash
16572 hline}{
16573 \backslash
16574 myHline}
16575 \end_layout
16576
16577 \end_inset
16578
16579
16580 \end_layout
16581
16582 \begin_layout Standard
16583 \begin_inset VSpace bigskip
16584 \end_inset
16585
16586 To set the line thickness to 1.5\InsetSpace \thinspace{}
16587 pt only for vertical lines, create the following
16588  column format in the document preamble, according to the description in
16589  section\InsetSpace ~
16590
16591 \begin_inset LatexCommand ref
16592 reference "sub:Customized-Format"
16593
16594 \end_inset
16595
16596 :
16597 \end_layout
16598
16599 \begin_layout Standard
16600
16601 \series bold
16602
16603 \backslash
16604 newcolumntype{V}{!{
16605 \backslash
16606 vrule width 1.5pt}}
16607 \end_layout
16608
16609 \begin_layout Standard
16610 For Table\InsetSpace ~
16611
16612 \begin_inset LatexCommand ref
16613 reference "tab:Table-with-vertical"
16614
16615 \end_inset
16616
16617  the LaTeX-argument
16618 \end_layout
16619
16620 \begin_layout Standard
16621
16622 \series bold
16623 VcV
16624 \end_layout
16625
16626 \begin_layout Standard
16627 was used for the last column and
16628 \end_layout
16629
16630 \begin_layout Standard
16631
16632 \series bold
16633 Vc
16634 \end_layout
16635
16636 \begin_layout Standard
16637 for the other columns.
16638 \end_layout
16639
16640 \begin_layout Standard
16641 \begin_inset Float table
16642 wide false
16643 sideways false
16644 status open
16645
16646 \begin_layout Standard
16647 \begin_inset Caption
16648
16649 \begin_layout Standard
16650 \begin_inset LatexCommand label
16651 name "tab:Table-with-vertical"
16652
16653 \end_inset
16654
16655 Table with 1.5\InsetSpace \thinspace{}
16656 pt thick vertical lines
16657 \end_layout
16658
16659 \end_inset
16660
16661
16662 \end_layout
16663
16664 \begin_layout Standard
16665 \align center
16666 \begin_inset Tabular
16667 <lyxtabular version="3" rows="3" columns="3">
16668 <features>
16669 <column alignment="center" valignment="top" width="0" special="Vc">
16670 <column alignment="center" valignment="top" width="0" special="Vc">
16671 <column alignment="center" valignment="top" width="0" special="VcV">
16672 <row topline="true">
16673 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16674 \begin_inset Text
16675
16676 \begin_layout Standard
16677 sd
16678 \end_layout
16679
16680 \end_inset
16681 </cell>
16682 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16683 \begin_inset Text
16684
16685 \begin_layout Standard
16686
16687 \end_layout
16688
16689 \end_inset
16690 </cell>
16691 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16692 \begin_inset Text
16693
16694 \begin_layout Standard
16695
16696 \end_layout
16697
16698 \end_inset
16699 </cell>
16700 </row>
16701 <row topline="true">
16702 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16703 \begin_inset Text
16704
16705 \begin_layout Standard
16706
16707 \end_layout
16708
16709 \end_inset
16710 </cell>
16711 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16712 \begin_inset Text
16713
16714 \begin_layout Standard
16715 sd
16716 \end_layout
16717
16718 \end_inset
16719 </cell>
16720 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16721 \begin_inset Text
16722
16723 \begin_layout Standard
16724
16725 \end_layout
16726
16727 \end_inset
16728 </cell>
16729 </row>
16730 <row topline="true" bottomline="true">
16731 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16732 \begin_inset Text
16733
16734 \begin_layout Standard
16735
16736 \end_layout
16737
16738 \end_inset
16739 </cell>
16740 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16741 \begin_inset Text
16742
16743 \begin_layout Standard
16744
16745 \end_layout
16746
16747 \end_inset
16748 </cell>
16749 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16750 \begin_inset Text
16751
16752 \begin_layout Standard
16753 sd
16754 \end_layout
16755
16756 \end_inset
16757 </cell>
16758 </row>
16759 </lyxtabular>
16760
16761 \end_inset
16762
16763
16764 \end_layout
16765
16766 \end_inset
16767
16768
16769 \end_layout
16770
16771 \begin_layout Subsection
16772 Dashed Lines
16773 \begin_inset LatexCommand index
16774 name "Table Customization ! Dashed Lines"
16775
16776 \end_inset
16777
16778
16779 \end_layout
16780
16781 \begin_layout Standard
16782 \begin_inset ERT
16783 status collapsed
16784
16785 \begin_layout Standard
16786
16787
16788 \backslash
16789 ifarydshln
16790 \end_layout
16791
16792 \end_inset
16793
16794
16795 \begin_inset Note Note
16796 status open
16797
16798 \begin_layout Standard
16799 The following section will only be displayed when you have the LaTeX-package
16800  
16801 \series bold
16802 arydshln
16803 \series default
16804  is installed.
16805 \end_layout
16806
16807 \end_inset
16808
16809
16810 \end_layout
16811
16812 \begin_layout Standard
16813 \begin_inset Float table
16814 placement H
16815 wide false
16816 sideways false
16817 status open
16818
16819 \begin_layout Standard
16820 \begin_inset Caption
16821
16822 \begin_layout Standard
16823 \begin_inset LatexCommand label
16824 name "tab:Table-with-dashed"
16825
16826 \end_inset
16827
16828 Table with dashed lines
16829 \end_layout
16830
16831 \end_inset
16832
16833
16834 \end_layout
16835
16836 \begin_layout Standard
16837 \align center
16838 \begin_inset Tabular
16839 <lyxtabular version="3" rows="5" columns="5">
16840 <features>
16841 <column alignment="center" valignment="top" leftline="true" width="0">
16842 <column alignment="center" valignment="top" leftline="true" width="0">
16843 <column alignment="center" valignment="top" width="0" special=":c">
16844 <column alignment="center" valignment="top" leftline="true" width="0">
16845 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16846 <row topline="true" bottomline="true">
16847 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16848 \begin_inset Text
16849
16850 \begin_layout Standard
16851 a
16852 \end_layout
16853
16854 \end_inset
16855 </cell>
16856 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16857 \begin_inset Text
16858
16859 \begin_layout Standard
16860 b
16861 \end_layout
16862
16863 \end_inset
16864 </cell>
16865 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16866 \begin_inset Text
16867
16868 \begin_layout Standard
16869 c
16870 \end_layout
16871
16872 \end_inset
16873 </cell>
16874 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16875 \begin_inset Text
16876
16877 \begin_layout Standard
16878 d
16879 \end_layout
16880
16881 \end_inset
16882 </cell>
16883 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16884 \begin_inset Text
16885
16886 \begin_layout Standard
16887 e
16888 \end_layout
16889
16890 \end_inset
16891 </cell>
16892 </row>
16893 <row topline="true">
16894 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16895 \begin_inset Text
16896
16897 \begin_layout Standard
16898 f
16899 \end_layout
16900
16901 \end_inset
16902 </cell>
16903 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16904 \begin_inset Text
16905
16906 \begin_layout Standard
16907 g
16908 \end_layout
16909
16910 \end_inset
16911 </cell>
16912 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16913 \begin_inset Text
16914
16915 \begin_layout Standard
16916 h
16917 \end_layout
16918
16919 \end_inset
16920 </cell>
16921 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16922 \begin_inset Text
16923
16924 \begin_layout Standard
16925 i
16926 \end_layout
16927
16928 \end_inset
16929 </cell>
16930 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16931 \begin_inset Text
16932
16933 \begin_layout Standard
16934 j
16935 \end_layout
16936
16937 \end_inset
16938 </cell>
16939 </row>
16940 <row>
16941 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16942 \begin_inset Text
16943
16944 \begin_layout Standard
16945 \begin_inset ERT
16946 status collapsed
16947
16948 \begin_layout Standard
16949
16950
16951 \backslash
16952 hdashline 
16953 \end_layout
16954
16955 \end_inset
16956
16957 k
16958 \end_layout
16959
16960 \end_inset
16961 </cell>
16962 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16963 \begin_inset Text
16964
16965 \begin_layout Standard
16966 l
16967 \end_layout
16968
16969 \end_inset
16970 </cell>
16971 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16972 \begin_inset Text
16973
16974 \begin_layout Standard
16975 m
16976 \end_layout
16977
16978 \end_inset
16979 </cell>
16980 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16981 \begin_inset Text
16982
16983 \begin_layout Standard
16984 n
16985 \end_layout
16986
16987 \end_inset
16988 </cell>
16989 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16990 \begin_inset Text
16991
16992 \begin_layout Standard
16993 o
16994 \end_layout
16995
16996 \end_inset
16997 </cell>
16998 </row>
16999 <row topline="true">
17000 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17001 \begin_inset Text
17002
17003 \begin_layout Standard
17004 \begin_inset ERT
17005 status collapsed
17006
17007 \begin_layout Standard
17008
17009
17010 \backslash
17011 cdashline{4-5}
17012 \end_layout
17013
17014 \end_inset
17015
17016 p
17017 \end_layout
17018
17019 \end_inset
17020 </cell>
17021 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17022 \begin_inset Text
17023
17024 \begin_layout Standard
17025 q
17026 \end_layout
17027
17028 \end_inset
17029 </cell>
17030 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="c:">
17031 \begin_inset Text
17032
17033 \begin_layout Standard
17034 r
17035 \end_layout
17036
17037 \end_inset
17038 </cell>
17039 <cell multicolumn="1" alignment="center" valignment="top" rightline="true" usebox="none" special="c:">
17040 \begin_inset Text
17041
17042 \begin_layout Standard
17043 s
17044 \end_layout
17045
17046 \end_inset
17047 </cell>
17048 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17049 \begin_inset Text
17050
17051 \begin_layout Standard
17052
17053 \end_layout
17054
17055 \end_inset
17056 </cell>
17057 </row>
17058 <row topline="true" bottomline="true">
17059 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17060 \begin_inset Text
17061
17062 \begin_layout Standard
17063 t
17064 \end_layout
17065
17066 \end_inset
17067 </cell>
17068 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17069 \begin_inset Text
17070
17071 \begin_layout Standard
17072 u
17073 \end_layout
17074
17075 \end_inset
17076 </cell>
17077 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17078 \begin_inset Text
17079
17080 \begin_layout Standard
17081 v
17082 \end_layout
17083
17084 \end_inset
17085 </cell>
17086 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17087 \begin_inset Text
17088
17089 \begin_layout Standard
17090 w
17091 \end_layout
17092
17093 \end_inset
17094 </cell>
17095 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17096 \begin_inset Text
17097
17098 \begin_layout Standard
17099 x
17100 \end_layout
17101
17102 \end_inset
17103 </cell>
17104 </row>
17105 </lyxtabular>
17106
17107 \end_inset
17108
17109
17110 \end_layout
17111
17112 \end_inset
17113
17114
17115 \end_layout
17116
17117 \begin_layout Standard
17118 LyX doesn't natively support dashed lines, so you have to use ERT.
17119  As prerequisite the LaTeX-package 
17120 \series bold
17121 arydshln
17122 \series default
17123
17124 \begin_inset LatexCommand index
17125 name "LaTeX-packages ! arydshln"
17126
17127 \end_inset
17128
17129  must be loaded in the document preamble with the command
17130 \end_layout
17131
17132 \begin_layout Standard
17133
17134 \series bold
17135
17136 \backslash
17137 usepackage{arydshln}
17138 \end_layout
17139
17140 \begin_layout Standard
17141 To make a vertical line dashed, enter the colon 
17142 \begin_inset Quotes eld
17143 \end_inset
17144
17145 :
17146 \begin_inset Quotes erd
17147 \end_inset
17148
17149  together with the character for the horizontal alignment as LaTeX-argument
17150  in the table cell dialog.
17151 \end_layout
17152
17153 \begin_layout Standard
17154 For a horizontal dashed line add the command
17155 \end_layout
17156
17157 \begin_layout Standard
17158
17159 \series bold
17160
17161 \backslash
17162 hdashline
17163 \end_layout
17164
17165 \begin_layout Standard
17166 in ERT as first element of the first cell in the table row.
17167 \end_layout
17168
17169 \begin_layout Standard
17170 For dashed multicolumn lines use the command
17171 \end_layout
17172
17173 \begin_layout Standard
17174
17175 \series bold
17176
17177 \backslash
17178 cdashline{line number
17179 \series default
17180 }
17181 \end_layout
17182
17183 \begin_layout Standard
17184 in ERT as first element of the first cell in the table row.
17185  If you have for example a multicolumn spanning over columns 2 to 4 and
17186  you want to have a dashed line above, add the command
17187 \end_layout
17188
17189 \begin_layout Standard
17190
17191 \series bold
17192
17193 \backslash
17194 cdashline{2-4}
17195 \end_layout
17196
17197 \begin_layout Standard
17198 as first element of the first cell in the row of the multicolumn.
17199 \end_layout
17200
17201 \begin_layout Standard
17202 \begin_inset VSpace bigskip
17203 \end_inset
17204
17205
17206 \end_layout
17207
17208 \begin_layout Standard
17209 Table\InsetSpace ~
17210
17211 \begin_inset LatexCommand ref
17212 reference "tab:Table-with-dashed"
17213
17214 \end_inset
17215
17216  was created using 
17217 \begin_inset Quotes eld
17218 \end_inset
17219
17220
17221 \series bold
17222 :c
17223 \series default
17224
17225 \begin_inset Quotes erd
17226 \end_inset
17227
17228  as LaTeX-argument of the third column.
17229  The ERT command 
17230 \series bold
17231
17232 \backslash
17233 hdashline
17234 \series default
17235  was inserted to the first cell of the third row and the the ERT command
17236 \newline
17237
17238  
17239 \series bold
17240
17241 \backslash
17242 cdashline{4-5}
17243 \series default
17244  was inserted to the first cell of the fourth row.
17245 \end_layout
17246
17247 \begin_layout Standard
17248 \begin_inset Note Greyedout
17249 status open
17250
17251 \begin_layout Standard
17252
17253 \series bold
17254 Note:
17255 \series default
17256  The used LaTeX-package 
17257 \series bold
17258 arydshln
17259 \series default
17260  is apparently not compatible with the LaTeX-package 
17261 \series bold
17262 colortbl
17263 \series default
17264
17265 \begin_inset LatexCommand index
17266 name "LaTeX-packages ! colortbl"
17267
17268 \end_inset
17269
17270  that is used for colored tables in section\InsetSpace ~
17271
17272 \begin_inset LatexCommand ref
17273 reference "sec:Colored-Tables"
17274
17275 \end_inset
17276
17277 .
17278  That means colored tables cannot have dashed lines.
17279 \end_layout
17280
17281 \end_inset
17282
17283
17284 \end_layout
17285
17286 \begin_layout Standard
17287 \begin_inset ERT
17288 status collapsed
17289
17290 \begin_layout Standard
17291
17292
17293 \backslash
17294 else
17295 \end_layout
17296
17297 \end_inset
17298
17299
17300 \begin_inset Note Note
17301 status open
17302
17303 \begin_layout Standard
17304 The following will be displayed when the LaTeX-package 
17305 \series bold
17306 arydshln
17307 \series default
17308  is not installed:
17309 \end_layout
17310
17311 \end_inset
17312
17313
17314 \end_layout
17315
17316 \begin_layout Standard
17317 You need to install the package 
17318 \series bold
17319 arydshln
17320 \series default
17321  to see the contents of this section in the output.
17322 \end_layout
17323
17324 \begin_layout Standard
17325 \begin_inset ERT
17326 status collapsed
17327
17328 \begin_layout Standard
17329
17330
17331 \backslash
17332 fi
17333 \end_layout
17334
17335 \end_inset
17336
17337
17338 \end_layout
17339
17340 \begin_layout Chapter
17341 Floats
17342 \begin_inset LatexCommand index
17343 name "Floats"
17344
17345 \end_inset
17346
17347
17348 \begin_inset LatexCommand label
17349 name "cha:Floats"
17350
17351 \end_inset
17352
17353
17354 \end_layout
17355
17356 \begin_layout Section
17357 Introduction
17358 \begin_inset LatexCommand label
17359 name "sec:FloatIntroduction"
17360
17361 \end_inset
17362
17363
17364 \begin_inset LatexCommand index
17365 name "Floats ! Introduction"
17366
17367 \end_inset
17368
17369
17370 \end_layout
17371
17372 \begin_layout Standard
17373 A float is a block of text associated with some sort of label, which doesn't
17374  have a fixed location.
17375  It can 
17376 \begin_inset Quotes eld
17377 \end_inset
17378
17379 float
17380 \begin_inset Quotes erd
17381 \end_inset
17382
17383  forward or backward a page or two, to wherever it fits best.
17384  
17385 \family sans
17386 Footnotes
17387 \family default
17388  and 
17389 \family sans
17390 Margin\InsetSpace ~
17391 Notes
17392 \family default
17393  are also floats, because they can float to the next page when there are
17394  too many notes at the page.
17395 \end_layout
17396
17397 \begin_layout Standard
17398 Floats allow a high quality layout.
17399  Images and tables can evenly be spread to the pages to avoid white space
17400  and pages without text.
17401  As the floating often destroys the context between the text and the image/table
17402 , every float can be referenced in the text.
17403  Floats are therefore numbered.
17404  Referencing is described in section\InsetSpace ~
17405
17406 \begin_inset LatexCommand ref
17407 reference "sec:Referencing-Floats"
17408
17409 \end_inset
17410
17411 .
17412 \end_layout
17413
17414 \begin_layout Standard
17415 To insert a float, use the menu 
17416 \family sans
17417 Insert\SpecialChar \menuseparator
17418 Floats
17419 \family default
17420 .
17421  This inserts a box with a label in the 
17422 \family sans
17423 Caption
17424 \family default
17425  environment
17426 \begin_inset Foot
17427 status collapsed
17428
17429 \begin_layout Standard
17430 The 
17431 \family sans
17432 Caption
17433 \family default
17434  environment is described in LyX's 
17435 \emph on
17436 Userguide
17437 \emph default
17438 .
17439 \end_layout
17440
17441 \end_inset
17442
17443  into your document.
17444  Every label ends with the character 
17445 \begin_inset Quotes eld
17446 \end_inset
17447
17448 #
17449 \begin_inset Quotes erd
17450 \end_inset
17451
17452  as placeholder for the float number in the output.
17453  The label will automatically be translated to the document language in
17454  the output.
17455  Behind the label you can insert the caption text.
17456  The image or table is inserted above or below the caption in a separate
17457  paragraph within the float.
17458  More about the caption placement is described in section\InsetSpace ~
17459
17460 \begin_inset LatexCommand ref
17461 reference "sec:Caption-Placement"
17462
17463 \end_inset
17464
17465 .
17466  To keep your LyX-document readable, you can open and close the float box
17467  by left-clicking on the box label.
17468  A closed float box looks like this: 
17469 \begin_inset Graphics
17470         filename clipart/floatQt4.png
17471         scale 70
17472
17473 \end_inset
17474
17475  -- a gray button with a red label.
17476 \end_layout
17477
17478 \begin_layout Standard
17479 It is recommended to insert floats as a separate paragraph to avoid possible
17480  LaTeX-errors that can occur when the surrounding text is specially formatted.
17481 \end_layout
17482
17483 \begin_layout Standard
17484 Existing figures or tables can be put into a float by marking them and then
17485  pressing the corresponding toolbar button for a new float.
17486 \end_layout
17487
17488 \begin_layout Section
17489 Float Types
17490 \end_layout
17491
17492 \begin_layout Standard
17493 Besides figure and table floats that are described in section\InsetSpace ~
17494
17495 \begin_inset LatexCommand ref
17496 reference "sec:Figure-Floats"
17497
17498 \end_inset
17499
17500  and 
17501 \begin_inset LatexCommand ref
17502 reference "sec:Table-Floats"
17503
17504 \end_inset
17505
17506 , respectively, LyX offers the float types 
17507 \series bold
17508 Algorithm
17509 \series default
17510  and 
17511 \series bold
17512 Text\InsetSpace ~
17513 Wrap\InsetSpace ~
17514 Float
17515 \series default
17516 .
17517 \end_layout
17518
17519 \begin_layout Subsection
17520 Algorithm Floats
17521 \begin_inset LatexCommand index
17522 name "Floats ! Algorithm Floats"
17523
17524 \end_inset
17525
17526
17527 \end_layout
17528
17529 \begin_layout Standard
17530 \begin_inset Float algorithm
17531 placement h
17532 wide false
17533 sideways false
17534 status open
17535
17536 \begin_layout Standard
17537 \begin_inset Caption
17538
17539 \begin_layout Standard
17540 \begin_inset LatexCommand label
17541 name "alg:Example-Algorithm-float"
17542
17543 \end_inset
17544
17545 Example Algorithm float
17546 \end_layout
17547
17548 \end_inset
17549
17550
17551 \end_layout
17552
17553 \begin_layout LyX-Code
17554 for I in 1..N loop
17555 \newline
17556  Sum:= Sum + A(I); /*senseless comment*/
17557 \newline
17558 end loop
17559 \begin_inset VSpace -4mm
17560 \end_inset
17561
17562
17563 \end_layout
17564
17565 \end_inset
17566
17567
17568 \end_layout
17569
17570 \begin_layout Standard
17571 This float type is inserted with the menu 
17572 \family sans
17573 Insert\SpecialChar \menuseparator
17574 Floats\SpecialChar \menuseparator
17575 Algorithm
17576 \family default
17577 .
17578  It is used for program codes and descriptions of algorithms.
17579  A possible environment for algorithms is the 
17580 \family sans
17581 LyX-Code
17582 \family default
17583 , described in LyX's 
17584 \emph on
17585 Userguide
17586 \emph default
17587 .
17588  Algorithm\InsetSpace ~
17589
17590 \begin_inset LatexCommand ref
17591 reference "alg:Example-Algorithm-float"
17592
17593 \end_inset
17594
17595  is an example of an algorithm float where -4\InsetSpace \thinspace{}
17596 mm vertical space was added
17597  at the end of the float to have the bottom rule exactly below the last
17598  text line.
17599 \end_layout
17600
17601 \begin_layout Standard
17602 The float label is not automatically translated into the document language.
17603  If your document is not in English, you have to do this manually by adding
17604  the following line to the document preamble
17605 \series bold
17606 :
17607 \end_layout
17608
17609 \begin_layout Standard
17610
17611 \series bold
17612
17613 \backslash
17614 floatname{algorithm}{your\InsetSpace ~
17615 name}
17616 \end_layout
17617
17618 \begin_layout Standard
17619
17620 \family sans
17621 your\InsetSpace ~
17622 name
17623 \family default
17624  is the word 
17625 \begin_inset Quotes eld
17626 \end_inset
17627
17628
17629 \emph on
17630 algorithm
17631 \emph default
17632
17633 \begin_inset Quotes erd
17634 \end_inset
17635
17636  in your language.
17637 \end_layout
17638
17639 \begin_layout Description
17640
17641 \series bold
17642 Note:
17643 \series default
17644  When the LaTeX-package 
17645 \series bold
17646 hyperref
17647 \series default
17648
17649 \begin_inset LatexCommand index
17650 name "LaTeX-packages ! hyperref"
17651
17652 \end_inset
17653
17654  is used to link cross-references to floats in the PDF-output, it must be
17655  loaded in the document preamble before the definition of floats to be able
17656  to reference floats.
17657  As LyX sets the float definition for algorithm floats automatically before
17658  the user editable part of the document preamble, you need to insert the
17659  following preamble lines 
17660 \emph on
17661 after
17662 \emph default
17663  the loading command of 
17664 \series bold
17665 hyperref
17666 \series default
17667 :
17668 \series bold
17669
17670 \begin_inset VSpace defskip
17671 \end_inset
17672
17673
17674 \newline
17675
17676 \backslash
17677 newfloat{Xalgorithm}{tbp}{loa}
17678 \newline
17679
17680 \backslash
17681 floatname{Xalgorithm}{your\InsetSpace ~
17682 name}
17683 \newline
17684
17685 \backslash
17686 newcommand{
17687 \backslash
17688 theHalgorithm}{
17689 \backslash
17690 theHXalgorithm}
17691 \newline
17692
17693 \backslash
17694 renewenvironment{algorithm}[1][tbp]
17695 \newline
17696
17697 \begin_inset ERT
17698 status collapsed
17699
17700 \begin_layout Standard
17701
17702
17703 \backslash
17704 hphantom{ }
17705 \end_layout
17706
17707 \end_inset
17708
17709 {
17710 \backslash
17711 begin{Xalgorithm}[#1]}{
17712 \backslash
17713 end{Xalgorithm}}
17714 \begin_inset VSpace defskip
17715 \end_inset
17716
17717
17718 \series default
17719
17720 \newline
17721 Where 
17722 \family sans
17723 your\InsetSpace ~
17724 name
17725 \family default
17726  is the word 
17727 \begin_inset Quotes eld
17728 \end_inset
17729
17730
17731 \emph on
17732 algorithm
17733 \emph default
17734
17735 \begin_inset Quotes erd
17736 \end_inset
17737
17738  in your language.
17739 \end_layout
17740
17741 \begin_layout Standard
17742 Algorithm floats are not by default numbered in the scheme 
17743 \begin_inset Quotes eld
17744 \end_inset
17745
17746 chapter.algorithm
17747 \begin_inset Quotes erd
17748 \end_inset
17749
17750  like it is the case for table and figure floats in many document-classes.
17751  To number algorithm floats in the same scheme, add this command to your
17752  document preamble:
17753 \end_layout
17754
17755 \begin_layout Standard
17756
17757 \series bold
17758
17759 \backslash
17760 numberwithin{algorithm}{chapter}
17761 \end_layout
17762
17763 \begin_layout Standard
17764 If you use the LaTeX-package 
17765 \series bold
17766 hyperref
17767 \series default
17768 , add this line instead 
17769 \emph on
17770 after
17771 \emph default
17772  the definition of 
17773 \family sans
17774 Xalgorithm
17775 \family default
17776  (the commands from above) to the preamble:
17777 \end_layout
17778
17779 \begin_layout Standard
17780
17781 \series bold
17782
17783 \backslash
17784 numberwithin{Xalgorithm}{chapter}
17785 \end_layout
17786
17787 \begin_layout Standard
17788 To be able to use the command 
17789 \series bold
17790
17791 \backslash
17792 numberwithin
17793 \series default
17794 , set in the tab 
17795 \family sans
17796 Math\InsetSpace ~
17797 Options
17798 \family default
17799  in the document settings the option 
17800 \family sans
17801 Use\InsetSpace ~
17802 AMS\InsetSpace ~
17803 math\InsetSpace ~
17804 package
17805 \family default
17806 .
17807 \end_layout
17808
17809 \begin_layout Subsection
17810 Text Wrap Floats
17811 \begin_inset LatexCommand index
17812 name "Floats ! Text Wrap Floats"
17813
17814 \end_inset
17815
17816
17817 \begin_inset LatexCommand label
17818 name "sub:floatflt-wrap-float"
17819
17820 \end_inset
17821
17822
17823 \end_layout
17824
17825 \begin_layout Standard
17826 This float type is used if you want to 
17827 \begin_inset Quotes eld
17828 \end_inset
17829
17830 wrap
17831 \begin_inset Quotes erd
17832 \end_inset
17833
17834  text around a figure so that it only occupies some fraction of the column
17835  width.
17836  It can be inserted using the menu 
17837 \begin_inset Wrap figure
17838 placement l
17839 width "40col%"
17840 status open
17841
17842 \begin_layout Standard
17843 \begin_inset Graphics
17844         filename clipart/mobius.eps
17845         display color
17846         width 40col%
17847         rotateOrigin center
17848
17849 \end_inset
17850
17851
17852 \end_layout
17853
17854 \begin_layout Standard
17855 \begin_inset Caption
17856
17857 \begin_layout Standard
17858 \begin_inset LatexCommand label
17859 name "fig:This-is-a"
17860
17861 \end_inset
17862
17863 This is a wrapped figure, and this is the brilliant caption that describes
17864  it.
17865 \begin_inset VSpace medskip
17866 \end_inset
17867
17868
17869 \end_layout
17870
17871 \end_inset
17872
17873
17874 \end_layout
17875
17876 \end_inset
17877
17878  
17879 \family sans
17880 Insert\SpecialChar \menuseparator
17881 Floats\SpecialChar \menuseparator
17882 Text\InsetSpace ~
17883 Wrap\InsetSpace ~
17884 Float
17885 \family default
17886  if the LaTeX-package 
17887 \series bold
17888 floatflt
17889 \series default
17890
17891 \begin_inset LatexCommand index
17892 name "LaTeX-packages ! floatflt"
17893
17894 \end_inset
17895
17896  is installed.
17897 \begin_inset Foot
17898 status collapsed
17899
17900 \begin_layout Standard
17901 Installing a LaTeX-package is explained it in the 
17902 \emph on
17903 LaTeX\InsetSpace ~
17904 Configuration
17905 \emph default
17906  manual.
17907 \end_layout
17908
17909 \end_inset
17910
17911  The width and placement of the float is adjusted by right-clicking on the
17912  float box.
17913  Figure\InsetSpace ~
17914
17915 \begin_inset LatexCommand ref
17916 reference "fig:This-is-a"
17917
17918 \end_inset
17919
17920  is an example text wrap float with a width of 40
17921 \begin_inset Formula $\,$
17922 \end_inset
17923
17924 col%.
17925 \begin_inset Foot
17926 status collapsed
17927
17928 \begin_layout Standard
17929 Available units are explained in 
17930 \begin_inset LatexCommand ref
17931 reference "cha:Units-available-in"
17932
17933 \end_inset
17934
17935 .
17936 \end_layout
17937
17938 \end_inset
17939
17940  Some space was added under the caption to separate it better from the surroundi
17941 ng text.
17942 \end_layout
17943
17944 \begin_layout Standard
17945 The LaTeX-package 
17946 \series bold
17947 floatflt
17948 \series default
17949  also supports table wrap floats, but they are not yet supported by LyX.
17950  If you need this, read the documentation of 
17951 \series bold
17952 floatflt
17953 \series default
17954  
17955 \begin_inset LatexCommand cite
17956 key "floatflt"
17957
17958 \end_inset
17959
17960 .
17961 \end_layout
17962
17963 \begin_layout Standard
17964 \begin_inset Note Greyedout
17965 status open
17966
17967 \begin_layout Standard
17968
17969 \series bold
17970 Note:
17971 \series default
17972  Text\InsetSpace ~
17973 wrap float floats are fragile! E.\InsetSpace \thinspace{}
17974 g.\InsetSpace ~
17975 having a figure too close to the bottom
17976  of the page can mess things up in the way that the float doesn't appear
17977  in the output or that it is placed over some other text.
17978 \begin_inset Foot
17979 status open
17980
17981 \begin_layout Standard
17982 The better solution is to use the LaTeX-package 
17983 \series bold
17984 wrapf\SpecialChar \textcompwordmark{}
17985 ig
17986 \series default
17987
17988 \begin_inset LatexCommand index
17989 name "LaTeX-packages ! wrapfig\\vspace{4mm}"
17990
17991 \end_inset
17992
17993  instead of 
17994 \series bold
17995 floatf\SpecialChar \textcompwordmark{}
17996 lt
17997 \series default
17998 , but it is currently not supported by LyX.
17999 \end_layout
18000
18001 \end_inset
18002
18003
18004 \end_layout
18005
18006 \end_inset
18007
18008
18009 \end_layout
18010
18011 \begin_layout Standard
18012 In general:
18013 \end_layout
18014
18015 \begin_layout Itemize
18016 Wrap floats should not be placed in paragraphs that run over a page break.
18017  That means that wrap floats should better be inserted to the exact place
18018  when the document is nearly ready and you are able to estimate where page
18019  breaks will appear.
18020 \end_layout
18021
18022 \begin_layout Itemize
18023 Wrap floats should either be placed in an own paragraph before the paragraph
18024  where they should wrap into or within a paragraph.
18025 \end_layout
18026
18027 \begin_layout Itemize
18028 Wrap floats in consecutive paragraphs may cause troubles, so assure that
18029  there is a text paragraph between them as separator.
18030 \end_layout
18031
18032 \begin_layout Itemize
18033 Wrap floats are not allowed in section headings or tables.
18034 \end_layout
18035
18036 \begin_layout Section
18037 Referencing Floats
18038 \begin_inset LatexCommand label
18039 name "sec:Referencing-Floats"
18040
18041 \end_inset
18042
18043
18044 \begin_inset LatexCommand index
18045 name "Floats ! References"
18046
18047 \end_inset
18048
18049
18050 \begin_inset LatexCommand index
18051 name "References"
18052
18053 \end_inset
18054
18055
18056 \end_layout
18057
18058 \begin_layout Standard
18059 To reference a float, insert a label into its caption using the menu 
18060 \family sans
18061 Insert\SpecialChar \menuseparator
18062 Label
18063 \family default
18064  or the toolbar button 
18065 \begin_inset Graphics
18066         filename ../images/label-insert.xpm
18067         scale 85
18068
18069 \end_inset
18070
18071 .
18072  A grey label box like this one: 
18073 \begin_inset Graphics
18074         filename clipart/labelQt4.png
18075         scale 85
18076
18077 \end_inset
18078
18079  will be inserted and the label window pops up asking for the label text.
18080  LyX offers as text the first words of the caption with a prefix.
18081  The prefix depends on the float type, e.\InsetSpace \thinspace{}
18082 g.\InsetSpace ~
18083 for figure floats the prefix will
18084  be "
18085 \family sans
18086 fig:
18087 \family default
18088 ".
18089 \end_layout
18090
18091 \begin_layout Standard
18092 The label is used as anchor and name for the reference.
18093  You can refer to the label using the menu 
18094 \family sans
18095 Insert\SpecialChar \menuseparator
18096 Cross-reference
18097 \family default
18098  or the toolbar button 
18099 \begin_inset Graphics
18100         filename ../images/dialog-show-new-inset_ref.xpm
18101         scale 85
18102
18103 \end_inset
18104
18105 .
18106  A grey cross-reference box like this one: 
18107 \begin_inset Graphics
18108         filename clipart/referenceQt4.png
18109         scale 85
18110
18111 \end_inset
18112
18113  will be inserted and the cross-reference window appear showing all labels
18114  of the document.
18115  If you have multiple LyX-documents opened, choose the one you are working
18116  on from the drop-list at the top of the dialog.
18117  You can now sort the labels alphabetically and then choose one.
18118  At the position of the cross-reference box the float number will appear
18119  in the output.
18120 \end_layout
18121
18122 \begin_layout Standard
18123 It is recommended to use a protected space between the cross-reference name
18124  and its number to avoid line breaks between them.
18125  If a cross-reference refers to a non-existing label, you will see two question
18126  marks in the output instead of the reference.
18127 \end_layout
18128
18129 \begin_layout Standard
18130 You can change labels at any time by clicking on the label box.
18131  References to the changed label will automatically change its link to the
18132  new label text, so that you don't need to take care about this.
18133 \end_layout
18134
18135 \begin_layout Standard
18136 The button 
18137 \family sans
18138 Go\InsetSpace ~
18139 to\InsetSpace ~
18140 Label
18141 \family default
18142  in the cross-reference window sets the cursor before the referred label.
18143  The button text changes then to Go\InsetSpace ~
18144 Back and you can use it to set the cursor
18145  back to the cross-reference.
18146  Right-clicking on a cross-reference box also sets the cursor before the
18147  referenced label but without a possibility to go back.
18148 \end_layout
18149
18150 \begin_layout Subsection
18151 Cross-Reference Formats
18152 \begin_inset LatexCommand label
18153 name "sub:Cross-Reference-Formats"
18154
18155 \end_inset
18156
18157
18158 \begin_inset LatexCommand index
18159 name "References ! Formats"
18160
18161 \end_inset
18162
18163
18164 \end_layout
18165
18166 \begin_layout Standard
18167 There are six varieties of cross-references:
18168 \end_layout
18169
18170 \begin_layout Description
18171 <reference>: prints the float number, this is the default: 
18172 \begin_inset LatexCommand ref
18173 reference "fig:Two-distorted-images"
18174
18175 \end_inset
18176
18177
18178 \end_layout
18179
18180 \begin_layout Description
18181 (<reference>): prints the float number within two parentheses, this is the
18182  style normally used to reference formulas, especially when the reference
18183  name 
18184 \begin_inset Quotes eld
18185 \end_inset
18186
18187 Equation
18188 \begin_inset Quotes erd
18189 \end_inset
18190
18191  is omitted: 
18192 \begin_inset LatexCommand eqref
18193 reference "eq:Wgn"
18194
18195 \end_inset
18196
18197
18198 \end_layout
18199
18200 \begin_layout Description
18201 <page>: prints the page number: Page\InsetSpace ~
18202
18203 \begin_inset LatexCommand pageref
18204 reference "fig:Two-distorted-images"
18205
18206 \end_inset
18207
18208
18209 \end_layout
18210
18211 \begin_layout Description
18212 on\InsetSpace ~
18213 page\InsetSpace ~
18214 <page>: prints the text "on page" and the page number: 
18215 \begin_inset LatexCommand vpageref
18216 reference "fig:Two-distorted-images"
18217
18218 \end_inset
18219
18220
18221 \end_layout
18222
18223 \begin_layout Description
18224 <reference>\InsetSpace ~
18225 on\InsetSpace ~
18226 page\InsetSpace ~
18227 <page>: prints the float number, the text "on page", and
18228  the page number: 
18229 \begin_inset LatexCommand vref
18230 reference "fig:Two-distorted-images"
18231
18232 \end_inset
18233
18234
18235 \end_layout
18236
18237 \begin_layout Description
18238 Formatted\InsetSpace ~
18239 reference: prints a self defined cross-reference format.
18240  
18241 \begin_inset Note Greyedout
18242 status open
18243
18244 \begin_layout Standard
18245
18246 \series bold
18247 Note:
18248 \series default
18249  This feature is only available when you have the LaTeX-package 
18250 \series bold
18251 prettyref
18252 \series default
18253  installed.
18254 \end_layout
18255
18256 \end_inset
18257
18258
18259 \end_layout
18260
18261 \begin_layout Standard
18262 Note that the style <page> won't print the page number if the label is on
18263  the previous, the same, or the next page.
18264  You will e.\InsetSpace \thinspace{}
18265 g.\InsetSpace ~
18266 see the text 
18267 \begin_inset Quotes eld
18268 \end_inset
18269
18270
18271 \family sans
18272 on this page
18273 \family default
18274
18275 \begin_inset Quotes erd
18276 \end_inset
18277
18278  instead.
18279 \end_layout
18280
18281 \begin_layout Standard
18282 The number and current page of the referred document part in the output,
18283  is automatically calculated by LaTeX.
18284  The varieties are adjusted in the field 
18285 \family sans
18286 Format
18287 \family default
18288  of the cross-reference window, that appear when you click on the cross-referenc
18289 e box.
18290 \end_layout
18291
18292 \begin_layout Subsection
18293 Referencing Subfigures
18294 \begin_inset LatexCommand label
18295 name "sub:Referencing-Subfigures"
18296
18297 \end_inset
18298
18299
18300 \begin_inset LatexCommand index
18301 name "References ! to Subfigures"
18302
18303 \end_inset
18304
18305
18306 \end_layout
18307
18308 \begin_layout Standard
18309 Currently referencing subfigures is not supported by LyX, so you have to
18310  use LaTeX-commands.
18311  The label is the created with the command
18312 \end_layout
18313
18314 \begin_layout Standard
18315
18316 \series bold
18317
18318 \backslash
18319 label{fig:YourLabelName}
18320 \end_layout
18321
18322 \begin_layout Standard
18323 that is directly inserted into the subfigure caption field.
18324  To reference the label add this command in ERT
18325 \end_layout
18326
18327 \begin_layout Standard
18328
18329 \series bold
18330
18331 \backslash
18332 ref{fig:YourLabelName}
18333 \end_layout
18334
18335 \begin_layout Standard
18336 to the position in your document where the reference should be placed.
18337  Here is a reference to a subfigure: Subfigure\InsetSpace ~
18338
18339 \begin_inset ERT
18340 status collapsed
18341
18342 \begin_layout Standard
18343
18344
18345 \backslash
18346 ref{fig:Platypus}
18347 \end_layout
18348
18349 \end_inset
18350
18351 .
18352 \end_layout
18353
18354 \begin_layout Subsection
18355 Automatic Reference Naming
18356 \begin_inset LatexCommand index
18357 name "References ! Automatic Reference Naming"
18358
18359 \end_inset
18360
18361
18362 \end_layout
18363
18364 \begin_layout Standard
18365 The LaTeX-package 
18366 \series bold
18367 hyperref
18368 \series default
18369  provides a very useful feature that cross-references automatically include
18370  the name of the referenced floats (or text parts like sections).
18371  You save to write e.\InsetSpace \thinspace{}
18372 g.\InsetSpace ~
18373 the name 
18374 \begin_inset Quotes eld
18375 \end_inset
18376
18377 Figure
18378 \begin_inset Quotes erd
18379 \end_inset
18380
18381  before every reference box.
18382  To get this automatic reference naming, you have to load the LaTeX-package
18383  
18384 \series bold
18385 hyperref
18386 \series default
18387
18388 \begin_inset LatexCommand index
18389 name "LaTeX-packages ! hyperref"
18390
18391 \end_inset
18392
18393  in the document preamble with
18394 \end_layout
18395
18396 \begin_layout Standard
18397
18398 \series bold
18399
18400 \backslash
18401 usepackage[pdfborder={0 0 0}]{hyperref}
18402 \newline
18403
18404 \backslash
18405 AtBeginDocument{
18406 \backslash
18407 renewcommand{
18408 \backslash
18409 ref}[1]{
18410 \backslash
18411 mbox{
18412 \backslash
18413 autoref{#1}}}}
18414 \end_layout
18415
18416 \begin_layout Standard
18417
18418 \series bold
18419 hyperref
18420 \series default
18421  is used to link cross-references in the DVI- and PDF-output, this means
18422  that the reader of your document will be able to click on a table of content
18423  (TOC) entry or on a reference and he will be shown the referenced document
18424  part.
18425  
18426 \series bold
18427 hyperref
18428 \series default
18429  also creates PDF-bookmarks for every section of your document to make it
18430  easier for readers to navigate through the document.
18431  This is also used in this document but when you have a look in the document
18432  preamble you will find various options in the load command of 
18433 \series bold
18434 hyperref
18435 \series default
18436 .
18437  To learn more about the 
18438 \series bold
18439 hyperref
18440 \series default
18441  package, we refer to its documentation 
18442 \begin_inset LatexCommand cite
18443 key "hyperref"
18444
18445 \end_inset
18446
18447 .
18448 \end_layout
18449
18450 \begin_layout Standard
18451 \begin_inset Note Greyedout
18452 status open
18453
18454 \begin_layout Standard
18455
18456 \series bold
18457 Note:
18458 \series default
18459  Automatic reference naming cannot be used when you use cross-references
18460  in the 
18461 \family sans
18462 Formatted\InsetSpace ~
18463 reference
18464 \family default
18465  style, described in section\InsetSpace ~
18466
18467 \begin_inset LatexCommand ref
18468 reference "sub:Cross-Reference-Formats"
18469
18470 \end_inset
18471
18472 .
18473 \end_layout
18474
18475 \end_inset
18476
18477
18478 \end_layout
18479
18480 \begin_layout Subsection
18481 Reference Position
18482 \begin_inset LatexCommand label
18483 name "sub:Reference-Position"
18484
18485 \end_inset
18486
18487
18488 \begin_inset LatexCommand index
18489 name "References ! Reference Position"
18490
18491 \end_inset
18492
18493
18494 \end_layout
18495
18496 \begin_layout Standard
18497 If you use 
18498 \series bold
18499 hyperref
18500 \series default
18501
18502 \begin_inset LatexCommand index
18503 name "LaTeX-packages ! hyperref"
18504
18505 \end_inset
18506
18507  to link cross-references in the output, you will see that clicking on an
18508  image float reference jumps to the image label.
18509  The caption will be the first text part on the screen, so that you cannot
18510  see the image without scrolling.
18511  This is because the reference link anchor is placed at the position of
18512  the label.
18513  With the use of the package 
18514 \series bold
18515 hypcap
18516 \series default
18517
18518 \begin_inset LatexCommand index
18519 name "LaTeX-packages ! hypcap"
18520
18521 \end_inset
18522
18523 , which is part of the LaTeX-package 
18524 \series bold
18525 oberdiek
18526 \series default
18527
18528 \begin_inset LatexCommand index
18529 name "LaTeX-packages ! oberdiek"
18530
18531 \end_inset
18532
18533 , the link anchor is placed at the beginning of a float.
18534  To use this feature for figure floats, load 
18535 \series bold
18536 hypcap
18537 \series default
18538  in the document preamble with the line
18539 \end_layout
18540
18541 \begin_layout Standard
18542
18543 \series bold
18544
18545 \backslash
18546 usepackage[f\SpecialChar \textcompwordmark{}
18547 igure]{hypcap}
18548 \end_layout
18549
18550 \begin_layout Standard
18551 You can also use 
18552 \series bold
18553 hypcap
18554 \series default
18555  for all floats but this isn't recommended for stability reasons.
18556  For more informations, have a look at 
18557 \series bold
18558 hypcap
18559 \series default
18560 's manual 
18561 \begin_inset LatexCommand cite
18562 key "hypcap"
18563
18564 \end_inset
18565
18566 .
18567 \end_layout
18568
18569 \begin_layout Standard
18570 \begin_inset Note Greyedout
18571 status open
18572
18573 \begin_layout Standard
18574
18575 \series bold
18576 Note:
18577 \series default
18578  
18579 \series bold
18580 hypcap
18581 \series default
18582  must be loaded after 
18583 \series bold
18584 hyperref
18585 \series default
18586  in the document preamble.
18587 \end_layout
18588
18589 \end_inset
18590
18591
18592 \end_layout
18593
18594 \begin_layout Standard
18595 \begin_inset Note Greyedout
18596 status open
18597
18598 \begin_layout Standard
18599
18600 \series bold
18601 Note:
18602 \series default
18603  The set reference position has no effect for references to subfigures.
18604 \end_layout
18605
18606 \end_inset
18607
18608
18609 \end_layout
18610
18611 \begin_layout Section
18612 Float Placement
18613 \begin_inset LatexCommand label
18614 name "sec:Float-Placement"
18615
18616 \end_inset
18617
18618
18619 \begin_inset LatexCommand index
18620 name "Floats ! Placement"
18621
18622 \end_inset
18623
18624
18625 \end_layout
18626
18627 \begin_layout Standard
18628 Right-clicking on a float-box opens a dialog where you can alter the placement
18629  options that LaTeX uses for positioning the float.
18630 \newline
18631 The option 
18632 \family sans
18633 Span\InsetSpace ~
18634 columns
18635 \family default
18636  is only useful for two-column documents: If you select it, the float will
18637  span across both columns on the page instead of being confined to just
18638  one.
18639 \newline
18640 The option 
18641 \family sans
18642 Rotate\InsetSpace ~
18643 sideways
18644 \family default
18645  is used to rotate floats, see section 
18646 \begin_inset LatexCommand ref
18647 reference "sec:Rotated-Floats"
18648
18649 \end_inset
18650
18651 .
18652 \end_layout
18653
18654 \begin_layout Standard
18655 You can use one ore more of the following options in the float dialog to
18656  set the placement for a particular float when you uncheck the option 
18657 \family sans
18658 Use\InsetSpace ~
18659 default\InsetSpace ~
18660 placement
18661 \family default
18662 :
18663 \end_layout
18664
18665 \begin_layout Description
18666 Here\InsetSpace ~
18667 if\InsetSpace ~
18668 possible: try to place the float on the position where it is inserted
18669 \end_layout
18670
18671 \begin_layout Description
18672 Top\InsetSpace ~
18673 of\InsetSpace ~
18674 page: try to place the float on the top of the current page
18675 \end_layout
18676
18677 \begin_layout Description
18678 Bottom\InsetSpace ~
18679 of\InsetSpace ~
18680 page: try to place the float on the bottom of the current page
18681 \end_layout
18682
18683 \begin_layout Description
18684 Page\InsetSpace ~
18685 of\InsetSpace ~
18686 floats: try to place the float on an own page 
18687 \end_layout
18688
18689 \begin_layout Standard
18690 The order of the above option is 
18691 \emph on
18692 always
18693 \emph default
18694  used by LaTeX.
18695  That means, if you use the default placement, LaTeX will first try out
18696  
18697 \family sans
18698 Here\InsetSpace ~
18699 if\InsetSpace ~
18700 possible
18701 \family default
18702 , then 
18703 \family sans
18704 Top\InsetSpace ~
18705 of\InsetSpace ~
18706 page
18707 \family default
18708 , and then the others.
18709  If you don't use the default, LaTeX will try only the checked options but
18710  in the same order.
18711  If none of the 4 placements are possible the procedure is internally repeated
18712  but it is tried to put the float on the following page.
18713 \end_layout
18714
18715 \begin_layout Standard
18716 By default, each options has its own rules:
18717 \end_layout
18718
18719 \begin_layout Labeling
18720 \labelwidthstring 00.00.0000
18721
18722 \family sans
18723 Top\InsetSpace ~
18724 of\InsetSpace ~
18725 page
18726 \family default
18727  only floats occupying less than 70\InsetSpace \thinspace{}
18728 % of the page can be placed at the top
18729  of a page (
18730 \series bold
18731
18732 \backslash
18733 topfraction
18734 \series default
18735 )
18736 \end_layout
18737
18738 \begin_layout Labeling
18739 \labelwidthstring 00.00.0000
18740
18741 \family sans
18742 Bottom\InsetSpace ~
18743 of\InsetSpace ~
18744 page
18745 \family default
18746 : only floats occupying less than 30\InsetSpace \thinspace{}
18747 % of the page can be placed at the bottom
18748  of a page.
18749  (
18750 \series bold
18751
18752 \backslash
18753 bottomfraction
18754 \series default
18755 )
18756 \end_layout
18757
18758 \begin_layout Labeling
18759 \labelwidthstring 00.00.0000
18760
18761 \family sans
18762 Page\InsetSpace ~
18763 of\InsetSpace ~
18764 floats
18765 \family default
18766 : only if more than 50\InsetSpace \thinspace{}
18767 % of the page are occupied by floats, several floats
18768  can be set together on a page.
18769  (
18770 \series bold
18771
18772 \backslash
18773 floatpagefraction
18774 \series default
18775 )
18776 \end_layout
18777
18778 \begin_layout Standard
18779 If you don't like these rules, you can ignore them by using the additional
18780  option 
18781 \family sans
18782 Ignore\InsetSpace ~
18783 LaTeX\InsetSpace ~
18784 rules
18785 \family default
18786 .
18787 \newline
18788 You can also redefine the rules with LaTeX-commands that are given in parenthese
18789 s behind the rules description above.
18790  To increase for example the often too small default of the bottom-rule
18791  to 50\InsetSpace \thinspace{}
18792 % of the page, add this line to your document preamble:
18793 \end_layout
18794
18795 \begin_layout Standard
18796
18797 \series bold
18798
18799 \backslash
18800 renewcommand{
18801 \backslash
18802 bottomfraction}{0.5}
18803 \end_layout
18804
18805 \begin_layout Standard
18806 Sometimes you might need, under all circumstances, a float to be placed
18807  exactly at the position where it is inserted.
18808  For this case you can use the option 
18809 \family sans
18810 Here\InsetSpace ~
18811 definitely
18812 \family default
18813 .
18814  Use this option very rarely and only if the document is nearly ready to
18815  be printed.
18816  Because the float is then no longer able to 
18817 \begin_inset Quotes eld
18818 \end_inset
18819
18820 float
18821 \begin_inset Quotes erd
18822 \end_inset
18823
18824  when you change your document and this will often destroy the page layout.
18825 \end_layout
18826
18827 \begin_layout Standard
18828 There are no placement options for text wrap floats, because they are always
18829  surrounded by the text of a certain paragraph.
18830 \begin_inset VSpace bigskip
18831 \end_inset
18832
18833
18834 \end_layout
18835
18836 \begin_layout Standard
18837 Sometimes you have the problem that a float is placed at the top of a page
18838  while its corresponding section starts at the middle of the page, so that
18839  the reader could think the float is part of the previous section.
18840  To avoid this the LaTeX-command 
18841 \series bold
18842
18843 \backslash
18844 suppressf\SpecialChar \textcompwordmark{}
18845 loats
18846 \series default
18847  can be used.
18848  It suppresses a given float placement for the page where it is inserted
18849  and can therefore be used to avoid that floats could be set before a section
18850  starts.
18851  To get this, add these commands to your document preamble:
18852 \end_layout
18853
18854 \begin_layout Standard
18855
18856 \series bold
18857
18858 \backslash
18859 let
18860 \backslash
18861 mySection
18862 \backslash
18863 section
18864 \newline
18865
18866 \backslash
18867 renewcommand{
18868 \backslash
18869 section}{
18870 \backslash
18871 suppressf\SpecialChar \textcompwordmark{}
18872 loats[t]
18873 \backslash
18874 mySection}
18875 \end_layout
18876
18877 \begin_layout Standard
18878 You can define the same for all section headings, like chapters and subsections.
18879  This definition is not recommended to be used for small text parts like
18880  subsubsections because LaTeX may then have problems to find a suitable
18881  placement.
18882 \end_layout
18883
18884 \begin_layout Standard
18885 \begin_inset VSpace bigskip
18886 \end_inset
18887
18888 In some cases it is required to have all figures/tables at the end of the
18889  document.
18890  For this purpose the LaTeX-package 
18891 \series bold
18892 endf\SpecialChar \textcompwordmark{}
18893 loat
18894 \series default
18895
18896 \begin_inset LatexCommand index
18897 name "LaTeX-packages ! endfloat"
18898
18899 \end_inset
18900
18901  was developed.
18902  It puts all figure and table floats at the end of the document into own
18903  sections.
18904  At the original float position a text hint like 
18905 \begin_inset Quotes eld
18906 \end_inset
18907
18908
18909 \family sans
18910 [Figure\InsetSpace ~
18911 3.2 about here.]
18912 \family default
18913
18914 \begin_inset Quotes erd
18915 \end_inset
18916
18917  is inserted.
18918  The endfloat-package is loaded in the preamble with the line
18919 \end_layout
18920
18921 \begin_layout Standard
18922
18923 \series bold
18924
18925 \backslash
18926 usepackage[options]{endf\SpecialChar \textcompwordmark{}
18927 loat}
18928 \end_layout
18929
18930 \begin_layout Standard
18931 There are various package options to format the created figure/table sections.
18932  For more information we refer to the 
18933 \series bold
18934 endf\SpecialChar \textcompwordmark{}
18935 loat
18936 \series default
18937  documentation 
18938 \begin_inset LatexCommand cite
18939 key "endfloat"
18940
18941 \end_inset
18942
18943 .
18944 \newline
18945
18946 \begin_inset Note Greyedout
18947 status open
18948
18949 \begin_layout Standard
18950
18951 \series bold
18952 Note: endf\SpecialChar \textcompwordmark{}
18953 loat
18954 \series default
18955  doesn't provide an automatic translation for the text hint, you have to
18956  do this manually, see section\InsetSpace ~
18957 4 in 
18958 \begin_inset LatexCommand cite
18959 key "endfloat"
18960
18961 \end_inset
18962
18963 .
18964 \end_layout
18965
18966 \end_inset
18967
18968
18969 \newline
18970
18971 \begin_inset Note Greyedout
18972 status open
18973
18974 \begin_layout Standard
18975
18976 \series bold
18977 Note:
18978 \series default
18979  There is currently a bug in 
18980 \series bold
18981 endf\SpecialChar \textcompwordmark{}
18982 loat
18983 \series default
18984  when the caption contains a German 
18985 \begin_inset Quotes eld
18986 \end_inset
18987
18988 ß
18989 \begin_inset Quotes erd
18990 \end_inset
18991
18992 .
18993  Use in this case the command 
18994 \begin_inset Quotes eld
18995 \end_inset
18996
18997
18998 \series bold
18999
19000 \backslash
19001 ss
19002 \series default
19003
19004 \begin_inset Quotes erd
19005 \end_inset
19006
19007  in ERT instead of 
19008 \begin_inset Quotes eld
19009 \end_inset
19010
19011 ß
19012 \begin_inset Quotes erd
19013 \end_inset
19014
19015 .
19016 \end_layout
19017
19018 \end_inset
19019
19020
19021 \end_layout
19022
19023 \begin_layout Standard
19024 \begin_inset VSpace bigskip
19025 \end_inset
19026
19027 For more details about float placements, have a look at LaTeX books, 
19028 \begin_inset LatexCommand cite
19029 key "latexcompanion,latexguide,latexbook"
19030
19031 \end_inset
19032
19033 .
19034 \end_layout
19035
19036 \begin_layout Section
19037 Rotated Floats
19038 \begin_inset LatexCommand label
19039 name "sec:Rotated-Floats"
19040
19041 \end_inset
19042
19043
19044 \begin_inset LatexCommand index
19045 name "Floats ! Rotating"
19046
19047 \end_inset
19048
19049
19050 \end_layout
19051
19052 \begin_layout Standard
19053 Especially for wide tables you might have floats rotated.
19054  To rotate a whole float including the caption, right-click on the float-box
19055  and use the option 
19056 \family sans
19057 Rotate\InsetSpace ~
19058 sideways
19059 \family default
19060 .
19061 \end_layout
19062
19063 \begin_layout Standard
19064 Rotated floats are always placed on its own page (or column, when you have
19065  a two-column document).
19066  They are normally rotated so that you can read them from the outside margin
19067  -- to the left on even pages, to the right on odd pages.
19068 \end_layout
19069
19070 \begin_layout Standard
19071 Referencing rotated floats is the same like for normal floats, the caption
19072  format is also the same: Table\InsetSpace ~
19073
19074 \begin_inset LatexCommand ref
19075 reference "tab:Rotated-table"
19076
19077 \end_inset
19078
19079  is an example of a rotated table float.
19080 \end_layout
19081
19082 \begin_layout Standard
19083 \begin_inset Note Greyedout
19084 status open
19085
19086 \begin_layout Standard
19087
19088 \series bold
19089 Note:
19090 \series default
19091  Not all DVI-viewers are able to display rotated floats.
19092 \end_layout
19093
19094 \end_inset
19095
19096
19097 \end_layout
19098
19099 \begin_layout Standard
19100 \begin_inset Float table
19101 wide false
19102 sideways true
19103 status open
19104
19105 \begin_layout Standard
19106 \begin_inset Caption
19107
19108 \begin_layout Standard
19109 \begin_inset LatexCommand label
19110 name "tab:Rotated-table"
19111
19112 \end_inset
19113
19114  Rotated table
19115 \end_layout
19116
19117 \end_inset
19118
19119
19120 \end_layout
19121
19122 \begin_layout Standard
19123 \align center
19124 \begin_inset Tabular
19125 <lyxtabular version="3" rows="1" columns="5">
19126 <features>
19127 <column alignment="center" valignment="top" leftline="true" width="0">
19128 <column alignment="center" valignment="top" leftline="true" width="0">
19129 <column alignment="center" valignment="top" leftline="true" width="0">
19130 <column alignment="center" valignment="top" leftline="true" width="0">
19131 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
19132 <row topline="true" bottomline="true">
19133 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19134 \begin_inset Text
19135
19136 \begin_layout Standard
19137 test
19138 \end_layout
19139
19140 \end_inset
19141 </cell>
19142 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19143 \begin_inset Text
19144
19145 \begin_layout Standard
19146 b
19147 \end_layout
19148
19149 \end_inset
19150 </cell>
19151 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19152 \begin_inset Text
19153
19154 \begin_layout Standard
19155 c
19156 \end_layout
19157
19158 \end_inset
19159 </cell>
19160 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19161 \begin_inset Text
19162
19163 \begin_layout Standard
19164 d
19165 \end_layout
19166
19167 \end_inset
19168 </cell>
19169 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19170 \begin_inset Text
19171
19172 \begin_layout Standard
19173 e
19174 \end_layout
19175
19176 \end_inset
19177 </cell>
19178 </row>
19179 </lyxtabular>
19180
19181 \end_inset
19182
19183
19184 \end_layout
19185
19186 \end_inset
19187
19188
19189 \end_layout
19190
19191 \begin_layout Section
19192 Caption Formatting
19193 \begin_inset LatexCommand index
19194 name "Caption ! Formatting"
19195
19196 \end_inset
19197
19198
19199 \begin_inset LatexCommand index
19200 name "Floats ! Caption Formatting"
19201
19202 \end_inset
19203
19204
19205 \begin_inset LatexCommand index
19206 name "LaTeX-packages ! caption"
19207
19208 \end_inset
19209
19210
19211 \begin_inset LatexCommand label
19212 name "sec:Caption-Formatting"
19213
19214 \end_inset
19215
19216
19217 \end_layout
19218
19219 \begin_layout Standard
19220 The 
19221 \family sans
19222 Caption
19223 \family default
19224  environment is the default paragraph environment for 
19225 \family sans
19226 Floats
19227 \family default
19228 .
19229  On the LyX screen captions appear as label, e.\InsetSpace \thinspace{}
19230 g.\InsetSpace ~
19231
19232 \begin_inset Quotes eld
19233 \end_inset
19234
19235
19236 \family sans
19237 Figure #:
19238 \family default
19239
19240 \begin_inset Quotes erd
19241 \end_inset
19242
19243  followed by the caption text.
19244  The number sign 
19245 \begin_inset Quotes eld
19246 \end_inset
19247
19248 #
19249 \begin_inset Quotes erd
19250 \end_inset
19251
19252  is substituted in the printed output by the actual reference number.
19253  By default the label and the number are in the same font as the caption
19254  text and a colon follows the number to divide then label from the text.
19255  This caption format is not suitable for all document formats.
19256  
19257 \end_layout
19258
19259 \begin_layout Standard
19260 To change the default caption format, load the LaTeX-package 
19261 \series bold
19262 caption
19263 \series default
19264
19265 \begin_inset LatexCommand index
19266 name "LaTeX-packages ! caption"
19267
19268 \end_inset
19269
19270  in the document preamble with this line:
19271 \end_layout
19272
19273 \begin_layout Standard
19274
19275 \series bold
19276
19277 \backslash
19278 usepackage[format definition]{caption}
19279 \end_layout
19280
19281 \begin_layout Standard
19282 To have for example the label and the number in sans-serif bold font and
19283  the table captions always above the table like in this document, use the
19284  following command:
19285 \end_layout
19286
19287 \begin_layout Standard
19288
19289 \series bold
19290
19291 \backslash
19292 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
19293 \end_layout
19294
19295 \begin_layout Standard
19296 You can also define different caption formats for the different float types.
19297  In this case load the 
19298 \series bold
19299 caption
19300 \series default
19301  package without format specific options and define the different formats
19302  with the help of the command
19303 \end_layout
19304
19305 \begin_layout Standard
19306
19307 \series bold
19308
19309 \backslash
19310 captionsetup[float type]{format definition}
19311 \end_layout
19312
19313 \begin_layout Standard
19314 in the document preamble.
19315  For example the caption formats of Figure\InsetSpace ~
19316
19317 \begin_inset LatexCommand ref
19318 reference "fig:This-is-an-fig"
19319
19320 \end_inset
19321
19322  and Table\InsetSpace ~
19323
19324 \begin_inset LatexCommand ref
19325 reference "tab:This-is-an-tab"
19326
19327 \end_inset
19328
19329  can be created using these commands in the document preamble:
19330 \end_layout
19331
19332 \begin_layout Standard
19333
19334 \series bold
19335
19336 \backslash
19337 usepackage[tableposition=top]{caption}
19338 \series default
19339
19340 \newline
19341
19342 \series bold
19343
19344 \backslash
19345 captionsetup[f\SpecialChar \textcompwordmark{}
19346 igure]{labelfont={tt}, textfont=it, indention=1cm,%
19347 \newline
19348
19349 \begin_inset ERT
19350 status collapsed
19351
19352 \begin_layout Standard
19353
19354
19355 \backslash
19356 hphantom{
19357 \backslash
19358
19359 \backslash
19360 captionsetup[figure]
19361 \backslash
19362 {}
19363 \end_layout
19364
19365 \end_inset
19366
19367  labelsep=period}
19368 \newline
19369
19370 \backslash
19371 captionsetup[table]{labelfont={bf,sf}}
19372 \end_layout
19373
19374 \begin_layout Standard
19375 \begin_inset Note Greyedout
19376 status open
19377
19378 \begin_layout Standard
19379
19380 \series bold
19381 Note:
19382 \series default
19383  The option 
19384 \series bold
19385 tableposition=top
19386 \series default
19387  has no effect when a 
19388 \series bold
19389 koma-script
19390 \series default
19391
19392 \begin_inset LatexCommand index
19393 name "LaTeX-packages ! koma-script"
19394
19395 \end_inset
19396
19397  document class is used.
19398  In this case the document class option 
19399 \series bold
19400 tablecaptionabove
19401 \series default
19402  must be used.
19403 \end_layout
19404
19405 \end_inset
19406
19407
19408 \end_layout
19409
19410 \begin_layout Standard
19411 For more information about the package 
19412 \series bold
19413 caption
19414 \series default
19415  we refer to its documentation 
19416 \begin_inset LatexCommand cite
19417 key "caption,caption-de"
19418
19419 \end_inset
19420
19421 .
19422 \end_layout
19423
19424 \begin_layout Standard
19425 To change the label name from e.g.
19426  
19427 \begin_inset Quotes eld
19428 \end_inset
19429
19430 Figure
19431 \begin_inset Quotes erd
19432 \end_inset
19433
19434  to 
19435 \begin_inset Quotes eld
19436 \end_inset
19437
19438 Image
19439 \begin_inset Quotes erd
19440 \end_inset
19441
19442  use this preamble command:
19443 \end_layout
19444
19445 \begin_layout Standard
19446
19447 \series bold
19448
19449 \backslash
19450 renewcommand{
19451 \backslash
19452 fnum@figure}{Image~
19453 \backslash
19454 thefigure}
19455 \end_layout
19456
19457 \begin_layout Standard
19458 where 
19459 \series bold
19460
19461 \backslash
19462 thefigure
19463 \series default
19464  inserts the figure number and
19465 \series bold
19466  
19467 \begin_inset Quotes eld
19468 \end_inset
19469
19470 ~
19471 \series default
19472
19473 \begin_inset Quotes erd
19474 \end_inset
19475
19476  creates a protected space.
19477 \end_layout
19478
19479 \begin_layout Standard
19480 \begin_inset VSpace bigskip
19481 \end_inset
19482
19483 If you are using a 
19484 \series bold
19485 koma-script
19486 \series default
19487
19488 \begin_inset LatexCommand index
19489 name "LaTeX-packages ! koma-script"
19490
19491 \end_inset
19492
19493  document class (
19494 \family sans
19495 article (koma-script)
19496 \family default
19497
19498 \family sans
19499 book (koma-script)
19500 \family default
19501
19502 \family sans
19503 letter (koma-script)
19504 \family default
19505 , or 
19506 \family sans
19507 report (koma-script)
19508 \family default
19509 \InsetSpace \thinspace{}
19510 ), you can alternatively to the 
19511 \series bold
19512 caption
19513 \series default
19514  package use 
19515 \series bold
19516 koma-script
19517 \series default
19518 's built-in command 
19519 \series bold
19520
19521 \backslash
19522 setkomafont
19523 \series default
19524 .
19525  For example, to have the caption label in bold, add this command to your
19526  document preamble:
19527 \end_layout
19528
19529 \begin_layout Standard
19530
19531 \series bold
19532
19533 \backslash
19534 setkomafont{captionlabel}{
19535 \backslash
19536 bfseries}
19537 \end_layout
19538
19539 \begin_layout Standard
19540 For more information about 
19541 \series bold
19542
19543 \backslash
19544 setkomafont
19545 \series default
19546  we refer to the 
19547 \series bold
19548 koma-script
19549 \series default
19550  documentation 
19551 \begin_inset LatexCommand cite
19552 key "koma-script,koma-script-de"
19553
19554 \end_inset
19555
19556 .
19557 \end_layout
19558
19559 \begin_layout Standard
19560 \begin_inset ERT
19561 status collapsed
19562
19563 \begin_layout Standard
19564
19565
19566 \backslash
19567 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
19568 }
19569 \end_layout
19570
19571 \end_inset
19572
19573
19574 \begin_inset Note Note
19575 status open
19576
19577 \begin_layout Standard
19578 The caption format is changed only for this example.
19579 \end_layout
19580
19581 \end_inset
19582
19583
19584 \end_layout
19585
19586 \begin_layout Standard
19587 \begin_inset Float figure
19588 placement !p
19589 wide false
19590 sideways false
19591 status open
19592
19593 \begin_layout Standard
19594 \align center
19595 \begin_inset Graphics
19596         filename clipart/mobius.eps
19597         lyxscale 50
19598         scale 50
19599
19600 \end_inset
19601
19602
19603 \end_layout
19604
19605 \begin_layout Standard
19606 \begin_inset Caption
19607
19608 \begin_layout Standard
19609 \begin_inset LatexCommand label
19610 name "fig:This-is-an-fig"
19611
19612 \end_inset
19613
19614 This is an example figure caption that is longer than one line to show the
19615  different caption format.
19616  Here a self-defined caption format is used.
19617 \end_layout
19618
19619 \end_inset
19620
19621
19622 \end_layout
19623
19624 \end_inset
19625
19626
19627 \end_layout
19628
19629 \begin_layout Standard
19630 \begin_inset ERT
19631 status collapsed
19632
19633 \begin_layout Standard
19634
19635
19636 \backslash
19637 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
19638 on}
19639 \end_layout
19640
19641 \end_inset
19642
19643
19644 \end_layout
19645
19646 \begin_layout Standard
19647 \begin_inset Float table
19648 placement !p
19649 wide false
19650 sideways false
19651 status open
19652
19653 \begin_layout Standard
19654 \begin_inset Caption
19655
19656 \begin_layout Standard
19657 \begin_inset LatexCommand label
19658 name "tab:This-is-an-tab"
19659
19660 \end_inset
19661
19662 This is an example table caption that is longer than one line to show the
19663  different caption format.
19664  Here the standard caption format for tables in this document is used.
19665 \end_layout
19666
19667 \end_inset
19668
19669
19670 \end_layout
19671
19672 \begin_layout Standard
19673 \align center
19674 \begin_inset Tabular
19675 <lyxtabular version="3" rows="1" columns="5">
19676 <features>
19677 <column alignment="center" valignment="top" leftline="true" width="0">
19678 <column alignment="center" valignment="top" leftline="true" width="0">
19679 <column alignment="center" valignment="top" leftline="true" width="0">
19680 <column alignment="center" valignment="top" leftline="true" width="0">
19681 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
19682 <row topline="true" bottomline="true">
19683 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19684 \begin_inset Text
19685
19686 \begin_layout Standard
19687 a
19688 \end_layout
19689
19690 \end_inset
19691 </cell>
19692 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19693 \begin_inset Text
19694
19695 \begin_layout Standard
19696 b
19697 \end_layout
19698
19699 \end_inset
19700 </cell>
19701 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19702 \begin_inset Text
19703
19704 \begin_layout Standard
19705 c
19706 \end_layout
19707
19708 \end_inset
19709 </cell>
19710 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19711 \begin_inset Text
19712
19713 \begin_layout Standard
19714 d
19715 \end_layout
19716
19717 \end_inset
19718 </cell>
19719 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19720 \begin_inset Text
19721
19722 \begin_layout Standard
19723 e
19724 \end_layout
19725
19726 \end_inset
19727 </cell>
19728 </row>
19729 </lyxtabular>
19730
19731 \end_inset
19732
19733
19734 \end_layout
19735
19736 \end_inset
19737
19738
19739 \end_layout
19740
19741 \begin_layout Section
19742 Caption Placement
19743 \begin_inset LatexCommand index
19744 name "Caption ! Placement"
19745
19746 \end_inset
19747
19748
19749 \begin_inset LatexCommand index
19750 name "Floats ! Caption Placement"
19751
19752 \end_inset
19753
19754
19755 \begin_inset LatexCommand label
19756 name "sec:Caption-Placement"
19757
19758 \end_inset
19759
19760
19761 \end_layout
19762
19763 \begin_layout Standard
19764 The common caption placement rule is:
19765 \end_layout
19766
19767 \begin_layout Description
19768 Figure: Caption is set below the figure
19769 \end_layout
19770
19771 \begin_layout Description
19772 Table: Caption is set above the table
19773 \end_layout
19774
19775 \begin_layout Standard
19776 Having the caption above the table is unfortunately not supported in LaTeX's
19777  standard classes.
19778  That means if you are using the document classes 
19779 \family sans
19780 article
19781 \family default
19782
19783 \family sans
19784 book
19785 \family default
19786
19787 \family sans
19788 letter
19789 \family default
19790 , or 
19791 \family sans
19792 report
19793 \family default
19794  there will be no space between the caption and the table.
19795  To insert the needed space, add the following option to the load command
19796  of the LaTeX-package 
19797 \series bold
19798 caption
19799 \series default
19800  in your document preamble
19801 \begin_inset Foot
19802 status collapsed
19803
19804 \begin_layout Standard
19805 See section\InsetSpace ~
19806
19807 \begin_inset LatexCommand ref
19808 reference "sec:Caption-Formatting"
19809
19810 \end_inset
19811
19812  for more information of the package 
19813 \series bold
19814 caption
19815 \series default
19816 .
19817 \end_layout
19818
19819 \end_inset
19820
19821 :
19822 \end_layout
19823
19824 \begin_layout Standard
19825
19826 \series bold
19827 tableposition=top
19828 \end_layout
19829
19830 \begin_layout Standard
19831 If you are using a 
19832 \series bold
19833 koma-script
19834 \series default
19835
19836 \begin_inset LatexCommand index
19837 name "LaTeX-packages ! koma-script"
19838
19839 \end_inset
19840
19841  document class (
19842 \family sans
19843 article (koma-script)
19844 \family default
19845
19846 \family sans
19847 book (koma-script)
19848 \family default
19849
19850 \family sans
19851 letter (koma-script)
19852 \family default
19853 , or 
19854 \family sans
19855 report (koma-script)
19856 \family default
19857 \InsetSpace \thinspace{}
19858 ), you can alternatively to the 
19859 \series bold
19860 caption
19861 \series default
19862  package set the document class option 
19863 \series bold
19864 tablecaptionabove
19865 \series default
19866 , or you can use the environment 
19867 \family sans
19868 caption\InsetSpace ~
19869 above
19870 \family default
19871  instead of the 
19872 \family sans
19873 caption
19874 \family default
19875  environment.
19876 \end_layout
19877
19878 \begin_layout Standard
19879 \begin_inset VSpace bigskip
19880 \end_inset
19881
19882 It is also possible to set the caption beside a figure or table.
19883  To get this the LaTeX-package 
19884 \series bold
19885 sidecap
19886 \series default
19887
19888 \begin_inset LatexCommand index
19889 name "LaTeX-packages ! sidecap"
19890
19891 \end_inset
19892
19893  has to be loaded in the document preamble with the line
19894 \end_layout
19895
19896 \begin_layout Standard
19897
19898 \series bold
19899
19900 \backslash
19901 usepackage[option]{sidecap}
19902 \end_layout
19903
19904 \begin_layout Standard
19905 If you set no option, the caption is placed on the side of the outer page
19906  margin -- to the right on odd pages, to the left on even pages.
19907  You can change the placement to inner margin with the option 
19908 \series bold
19909 innercaption
19910 \series default
19911 .
19912  To force the placement always to the right or left, use the option 
19913 \series bold
19914 rightcaption
19915 \series default
19916  or 
19917 \series bold
19918 leftcaption
19919 \series default
19920 , respectively.
19921 \end_layout
19922
19923 \begin_layout Standard
19924 To place in LyX the caption of a float on the side, it is necessary to add
19925  these commands to the document preamble:
19926 \end_layout
19927
19928 \begin_layout Standard
19929
19930 \lyxline
19931
19932 \end_layout
19933
19934 \begin_layout Standard
19935
19936 \series bold
19937
19938 \backslash
19939 newcommand{
19940 \backslash
19941 TabBesBeg}{%
19942 \newline
19943
19944 \begin_inset ERT
19945 status collapsed
19946
19947 \begin_layout Standard
19948
19949
19950 \backslash
19951 hphantom{ }
19952 \end_layout
19953
19954 \end_inset
19955
19956
19957 \backslash
19958 let
19959 \backslash
19960 MyTable
19961 \backslash
19962 table
19963 \newline
19964
19965 \begin_inset ERT
19966 status collapsed
19967
19968 \begin_layout Standard
19969
19970
19971 \backslash
19972 hphantom{ }
19973 \end_layout
19974
19975 \end_inset
19976
19977
19978 \backslash
19979 let
19980 \backslash
19981 MyEndtable
19982 \backslash
19983 endtable
19984 \newline
19985
19986 \begin_inset ERT
19987 status collapsed
19988
19989 \begin_layout Standard
19990
19991
19992 \backslash
19993 hphantom{ }
19994 \end_layout
19995
19996 \end_inset
19997
19998
19999 \backslash
20000 renewenvironment{table}{
20001 \backslash
20002 begin{SCtable}}{
20003 \backslash
20004 end{SCtable}}}
20005 \end_layout
20006
20007 \begin_layout Standard
20008
20009 \series bold
20010
20011 \backslash
20012 newcommand{
20013 \backslash
20014 TabBesEnd}{%
20015 \newline
20016
20017 \begin_inset ERT
20018 status collapsed
20019
20020 \begin_layout Standard
20021
20022
20023 \backslash
20024 hphantom{ }
20025 \end_layout
20026
20027 \end_inset
20028
20029
20030 \backslash
20031 let
20032 \backslash
20033 table
20034 \backslash
20035 MyTable
20036 \newline
20037
20038 \begin_inset ERT
20039 status collapsed
20040
20041 \begin_layout Standard
20042
20043
20044 \backslash
20045 hphantom{ }
20046 \end_layout
20047
20048 \end_inset
20049
20050
20051 \backslash
20052 let
20053 \backslash
20054 endtable
20055 \backslash
20056 MyEndtable
20057 \end_layout
20058
20059 \begin_layout Standard
20060
20061 \series bold
20062
20063 \backslash
20064 newcommand{
20065 \backslash
20066 FigBesBeg}{%
20067 \newline
20068
20069 \begin_inset ERT
20070 status collapsed
20071
20072 \begin_layout Standard
20073
20074
20075 \backslash
20076 hphantom{ }
20077 \end_layout
20078
20079 \end_inset
20080
20081
20082 \backslash
20083 let
20084 \backslash
20085 MyFigure
20086 \backslash
20087 f\SpecialChar \textcompwordmark{}
20088 igure
20089 \newline
20090
20091 \begin_inset ERT
20092 status collapsed
20093
20094 \begin_layout Standard
20095
20096
20097 \backslash
20098 hphantom{ }
20099 \end_layout
20100
20101 \end_inset
20102
20103
20104 \backslash
20105 let
20106 \backslash
20107 MyEndf\SpecialChar \textcompwordmark{}
20108 igure
20109 \backslash
20110 endf\SpecialChar \textcompwordmark{}
20111 igure
20112 \newline
20113
20114 \begin_inset ERT
20115 status collapsed
20116
20117 \begin_layout Standard
20118
20119
20120 \backslash
20121 hphantom{ }
20122 \end_layout
20123
20124 \end_inset
20125
20126
20127 \backslash
20128 renewenvironment{f\SpecialChar \textcompwordmark{}
20129 igure}{
20130 \backslash
20131 begin{SCf\SpecialChar \textcompwordmark{}
20132 igure}}{
20133 \backslash
20134 end{SCf\SpecialChar \textcompwordmark{}
20135 igure}}}
20136 \end_layout
20137
20138 \begin_layout Standard
20139
20140 \series bold
20141
20142 \backslash
20143 newcommand{
20144 \backslash
20145 FigBesEnd}{%
20146 \newline
20147
20148 \begin_inset ERT
20149 status collapsed
20150
20151 \begin_layout Standard
20152
20153
20154 \backslash
20155 hphantom{ }
20156 \end_layout
20157
20158 \end_inset
20159
20160
20161 \backslash
20162 let
20163 \backslash
20164 f\SpecialChar \textcompwordmark{}
20165 igure
20166 \backslash
20167 MyFigure
20168 \newline
20169
20170 \begin_inset ERT
20171 status collapsed
20172
20173 \begin_layout Standard
20174
20175
20176 \backslash
20177 hphantom{ }
20178 \end_layout
20179
20180 \end_inset
20181
20182
20183 \backslash
20184 let
20185 \backslash
20186 endf\SpecialChar \textcompwordmark{}
20187 igure
20188 \backslash
20189 MyEndf\SpecialChar \textcompwordmark{}
20190 igure}
20191 \end_layout
20192
20193 \begin_layout Standard
20194
20195 \lyxline
20196
20197 \end_layout
20198
20199 \begin_layout Standard
20200 The commands allow you to redefine the floats so that the caption is set
20201  on the side.
20202  For figure floats use the command
20203 \end_layout
20204
20205 \begin_layout Standard
20206
20207 \series bold
20208
20209 \backslash
20210 FigBesBeg
20211 \end_layout
20212
20213 \begin_layout Standard
20214 in ERT before the float.
20215  Behind the float insert the command
20216 \end_layout
20217
20218 \begin_layout Standard
20219
20220 \series bold
20221
20222 \backslash
20223 FigBesEnd
20224 \end_layout
20225
20226 \begin_layout Standard
20227 in ERT to get back to the original float definition.
20228 \end_layout
20229
20230 \begin_layout Standard
20231 For table floats use the corresponding commands
20232 \end_layout
20233
20234 \begin_layout Standard
20235
20236 \series bold
20237
20238 \backslash
20239 TabBesBeg
20240 \series default
20241  and 
20242 \series bold
20243
20244 \backslash
20245 TabBesEnd
20246 \end_layout
20247
20248 \begin_layout Standard
20249 Figure\InsetSpace ~
20250
20251 \begin_inset LatexCommand ref
20252 reference "fig:cap-beside-fig"
20253
20254 \end_inset
20255
20256  and Table\InsetSpace ~
20257
20258 \begin_inset LatexCommand ref
20259 reference "tab:cap-beside-tab"
20260
20261 \end_inset
20262
20263  are examples where the caption is set beside.
20264 \end_layout
20265
20266 \begin_layout Standard
20267 You can see in the examples that the caption text appears at the top of
20268  the floats for table floats and at the bottom for figure floats.
20269  To change this, you can use the command
20270 \end_layout
20271
20272 \begin_layout Standard
20273
20274 \series bold
20275
20276 \backslash
20277 sidecaptionvpos{float type}{placement}
20278 \end_layout
20279
20280 \begin_layout Standard
20281 in the document preamble or in ERT before the float.
20282  The float type is either 
20283 \family sans
20284 figure
20285 \family default
20286  or 
20287 \family sans
20288 table
20289 \family default
20290 , the placement can be 
20291 \begin_inset Quotes eld
20292 \end_inset
20293
20294
20295 \family sans
20296 t
20297 \family default
20298
20299 \begin_inset Quotes erd
20300 \end_inset
20301
20302  for top, 
20303 \begin_inset Quotes eld
20304 \end_inset
20305
20306
20307 \family sans
20308 c
20309 \family default
20310
20311 \begin_inset Quotes erd
20312 \end_inset
20313
20314  for center, or 
20315 \begin_inset Quotes eld
20316 \end_inset
20317
20318
20319 \family sans
20320 b
20321 \family default
20322
20323 \begin_inset Quotes erd
20324 \end_inset
20325
20326  for bottom.
20327  To have for example the caption of figure floats vertically centered, use
20328  the command
20329 \end_layout
20330
20331 \begin_layout Standard
20332
20333 \series bold
20334
20335 \backslash
20336 sidecaptionvpos{f\SpecialChar \textcompwordmark{}
20337 igure}{c}
20338 \end_layout
20339
20340 \begin_layout Standard
20341 This was used for Figure\InsetSpace ~
20342
20343 \begin_inset LatexCommand ref
20344 reference "fig:cap-beside-fig-2"
20345
20346 \end_inset
20347
20348 .
20349 \end_layout
20350
20351 \begin_layout Standard
20352 \begin_inset VSpace defskip
20353 \end_inset
20354
20355 For more information about the package 
20356 \series bold
20357 sidecap
20358 \series default
20359  we refer to its documentation 
20360 \begin_inset LatexCommand cite
20361 key "sidecap"
20362
20363 \end_inset
20364
20365 .
20366 \end_layout
20367
20368 \begin_layout Standard
20369 \begin_inset Note Greyedout
20370 status open
20371
20372 \begin_layout Standard
20373
20374 \series bold
20375 Note:
20376 \series default
20377  The LaTeX-package 
20378 \series bold
20379 hypcap
20380 \series default
20381
20382 \begin_inset LatexCommand index
20383 name "LaTeX-packages ! hypcap"
20384
20385 \end_inset
20386
20387 , described in section\InsetSpace ~
20388
20389 \begin_inset LatexCommand ref
20390 reference "sub:Reference-Position"
20391
20392 \end_inset
20393
20394 , has no effect on floats with the caption set beside.
20395 \end_layout
20396
20397 \end_inset
20398
20399
20400 \end_layout
20401
20402 \begin_layout Standard
20403 \begin_inset ERT
20404 status collapsed
20405
20406 \begin_layout Standard
20407
20408
20409 \backslash
20410 FigBesBeg 
20411 \end_layout
20412
20413 \end_inset
20414
20415
20416 \end_layout
20417
20418 \begin_layout Standard
20419 \begin_inset Float figure
20420 wide false
20421 sideways false
20422 status open
20423
20424 \begin_layout Standard
20425 \begin_inset Graphics
20426         filename clipart/escher-lsd.eps
20427         scale 75
20428
20429 \end_inset
20430
20431
20432 \end_layout
20433
20434 \begin_layout Standard
20435 \begin_inset Caption
20436
20437 \begin_layout Standard
20438 \begin_inset LatexCommand label
20439 name "fig:cap-beside-fig"
20440
20441 \end_inset
20442
20443 This is a caption beside a figure.
20444 \end_layout
20445
20446 \end_inset
20447
20448
20449 \end_layout
20450
20451 \end_inset
20452
20453
20454 \end_layout
20455
20456 \begin_layout Standard
20457 \begin_inset ERT
20458 status collapsed
20459
20460 \begin_layout Standard
20461
20462
20463 \backslash
20464 TabBesBeg 
20465 \end_layout
20466
20467 \end_inset
20468
20469
20470 \end_layout
20471
20472 \begin_layout Standard
20473 \begin_inset Float table
20474 wide false
20475 sideways false
20476 status open
20477
20478 \begin_layout Standard
20479 \begin_inset Caption
20480
20481 \begin_layout Standard
20482 \begin_inset LatexCommand label
20483 name "tab:cap-beside-tab"
20484
20485 \end_inset
20486
20487 This is a caption beside a table.
20488 \end_layout
20489
20490 \end_inset
20491
20492
20493 \end_layout
20494
20495 \begin_layout Standard
20496 \begin_inset Tabular
20497 <lyxtabular version="3" rows="4" columns="5">
20498 <features>
20499 <column alignment="center" valignment="top" leftline="true" width="0">
20500 <column alignment="center" valignment="top" leftline="true" width="0">
20501 <column alignment="center" valignment="top" leftline="true" width="0">
20502 <column alignment="center" valignment="top" leftline="true" width="0">
20503 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
20504 <row topline="true">
20505 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20506 \begin_inset Text
20507
20508 \begin_layout Standard
20509 a
20510 \end_layout
20511
20512 \end_inset
20513 </cell>
20514 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20515 \begin_inset Text
20516
20517 \begin_layout Standard
20518
20519 \end_layout
20520
20521 \end_inset
20522 </cell>
20523 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20524 \begin_inset Text
20525
20526 \begin_layout Standard
20527 b
20528 \end_layout
20529
20530 \end_inset
20531 </cell>
20532 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20533 \begin_inset Text
20534
20535 \begin_layout Standard
20536
20537 \end_layout
20538
20539 \end_inset
20540 </cell>
20541 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20542 \begin_inset Text
20543
20544 \begin_layout Standard
20545 c
20546 \end_layout
20547
20548 \end_inset
20549 </cell>
20550 </row>
20551 <row topline="true">
20552 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20553 \begin_inset Text
20554
20555 \begin_layout Standard
20556
20557 \end_layout
20558
20559 \end_inset
20560 </cell>
20561 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20562 \begin_inset Text
20563
20564 \begin_layout Standard
20565 d
20566 \end_layout
20567
20568 \end_inset
20569 </cell>
20570 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20571 \begin_inset Text
20572
20573 \begin_layout Standard
20574
20575 \end_layout
20576
20577 \end_inset
20578 </cell>
20579 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20580 \begin_inset Text
20581
20582 \begin_layout Standard
20583 e
20584 \end_layout
20585
20586 \end_inset
20587 </cell>
20588 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20589 \begin_inset Text
20590
20591 \begin_layout Standard
20592
20593 \end_layout
20594
20595 \end_inset
20596 </cell>
20597 </row>
20598 <row topline="true">
20599 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20600 \begin_inset Text
20601
20602 \begin_layout Standard
20603 f
20604 \end_layout
20605
20606 \end_inset
20607 </cell>
20608 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20609 \begin_inset Text
20610
20611 \begin_layout Standard
20612
20613 \end_layout
20614
20615 \end_inset
20616 </cell>
20617 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20618 \begin_inset Text
20619
20620 \begin_layout Standard
20621 g
20622 \end_layout
20623
20624 \end_inset
20625 </cell>
20626 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20627 \begin_inset Text
20628
20629 \begin_layout Standard
20630
20631 \end_layout
20632
20633 \end_inset
20634 </cell>
20635 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20636 \begin_inset Text
20637
20638 \begin_layout Standard
20639 h
20640 \end_layout
20641
20642 \end_inset
20643 </cell>
20644 </row>
20645 <row topline="true" bottomline="true">
20646 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20647 \begin_inset Text
20648
20649 \begin_layout Standard
20650
20651 \end_layout
20652
20653 \end_inset
20654 </cell>
20655 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20656 \begin_inset Text
20657
20658 \begin_layout Standard
20659 i
20660 \end_layout
20661
20662 \end_inset
20663 </cell>
20664 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20665 \begin_inset Text
20666
20667 \begin_layout Standard
20668
20669 \end_layout
20670
20671 \end_inset
20672 </cell>
20673 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20674 \begin_inset Text
20675
20676 \begin_layout Standard
20677 j
20678 \end_layout
20679
20680 \end_inset
20681 </cell>
20682 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20683 \begin_inset Text
20684
20685 \begin_layout Standard
20686
20687 \end_layout
20688
20689 \end_inset
20690 </cell>
20691 </row>
20692 </lyxtabular>
20693
20694 \end_inset
20695
20696
20697 \end_layout
20698
20699 \end_inset
20700
20701
20702 \end_layout
20703
20704 \begin_layout Standard
20705 \begin_inset ERT
20706 status collapsed
20707
20708 \begin_layout Standard
20709
20710
20711 \backslash
20712 TabBesEnd
20713 \end_layout
20714
20715 \end_inset
20716
20717
20718 \end_layout
20719
20720 \begin_layout Standard
20721 \begin_inset ERT
20722 status collapsed
20723
20724 \begin_layout Standard
20725
20726
20727 \backslash
20728 sidecaptionvpos{figure}{c}
20729 \end_layout
20730
20731 \end_inset
20732
20733
20734 \begin_inset Float figure
20735 wide false
20736 sideways false
20737 status open
20738
20739 \begin_layout Standard
20740 \begin_inset Graphics
20741         filename clipart/escher-lsd.eps
20742         scale 75
20743
20744 \end_inset
20745
20746
20747 \end_layout
20748
20749 \begin_layout Standard
20750 \begin_inset Caption
20751
20752 \begin_layout Standard
20753 \begin_inset LatexCommand label
20754 name "fig:cap-beside-fig-2"
20755
20756 \end_inset
20757
20758 This is a vertically centered caption beside a figure.
20759 \end_layout
20760
20761 \end_inset
20762
20763
20764 \end_layout
20765
20766 \end_inset
20767
20768
20769 \end_layout
20770
20771 \begin_layout Standard
20772 \begin_inset ERT
20773 status collapsed
20774
20775 \begin_layout Standard
20776
20777
20778 \backslash
20779 FigBesEnd
20780 \end_layout
20781
20782 \end_inset
20783
20784
20785 \end_layout
20786
20787 \begin_layout Section
20788 Listings of Floats
20789 \begin_inset LatexCommand label
20790 name "sec:Listings-of-Floats"
20791
20792 \end_inset
20793
20794
20795 \begin_inset LatexCommand index
20796 name "Floats ! Listings"
20797
20798 \end_inset
20799
20800
20801 \end_layout
20802
20803 \begin_layout Standard
20804 Similar to the the table of contents where the sections of the document
20805  are listed, there are listings for all float types, like the figures of
20806  the documents.
20807  You can insert them via the 
20808 \family sans
20809 Insert\SpecialChar \menuseparator
20810 List\InsetSpace ~
20811 /\InsetSpace ~
20812 TOC
20813 \family default
20814  sub menus.
20815 \end_layout
20816
20817 \begin_layout Standard
20818 The list entries are the float captions or its short title, the float number,
20819  and the page number where they appear in the document.
20820 \end_layout
20821
20822 \begin_layout Standard
20823 You can find the list of figures and tables at the end of this document.
20824 \end_layout
20825
20826 \begin_layout Chapter
20827 Notes
20828 \end_layout
20829
20830 \begin_layout Section
20831 \begin_inset ERT
20832 status collapsed
20833
20834 \begin_layout Standard
20835
20836
20837 \backslash
20838 texorpdfstring{
20839 \end_layout
20840
20841 \end_inset
20842
20843 LyX
20844 \begin_inset ERT
20845 status collapsed
20846
20847 \begin_layout Standard
20848
20849 }{LyX}
20850 \end_layout
20851
20852 \end_inset
20853
20854  Notes
20855 \begin_inset LatexCommand label
20856 name "sec:LyX-Notes"
20857
20858 \end_inset
20859
20860
20861 \begin_inset LatexCommand index
20862 name "Notes ! LyX Notes"
20863
20864 \end_inset
20865
20866
20867 \begin_inset Note Note
20868 status collapsed
20869
20870 \begin_layout Standard
20871 The command 
20872 \backslash
20873 texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures
20874  are displayed wrongly in PDF-bookmarks.
20875  For more information about this, have a look at 
20876 \begin_inset LatexCommand cite
20877 key "hyperref"
20878
20879 \end_inset
20880
20881 .
20882 \end_layout
20883
20884 \end_inset
20885
20886
20887 \end_layout
20888
20889 \begin_layout Standard
20890 Notes are inserted with the toolbar button 
20891 \begin_inset Graphics
20892         filename ../images/note-insert.xpm
20893         scale 85
20894
20895 \end_inset
20896
20897  or the menu 
20898 \family sans
20899 Insert\SpecialChar \menuseparator
20900 Note
20901 \family default
20902 .
20903  There are three types of notes:
20904 \end_layout
20905
20906 \begin_layout Description
20907 LyX\InsetSpace ~
20908 Note This note type is for internal notes that won't appear in the output.
20909  Its note-box looks like this:
20910 \newline
20911
20912 \newline
20913
20914 \begin_inset Graphics
20915         filename clipart/LyXNoteImageQt4.png
20916         display none
20917         scale 85
20918
20919 \end_inset
20920
20921  
20922 \begin_inset Note Note
20923 status open
20924
20925 \begin_layout Standard
20926 This is text in a note box that doesn't appear in the output.
20927 \end_layout
20928
20929 \end_inset
20930
20931
20932 \end_layout
20933
20934 \begin_layout Description
20935 Comment This note also doesn't appear in the output but it appears as LaTeX-comm
20936 ent, when you export the document to LaTeX via the menu 
20937 \family sans
20938 File\SpecialChar \menuseparator
20939 Export\SpecialChar \menuseparator
20940 LaTeX (pdflatex) / LaTeX (plain)
20941 \family default
20942 .
20943  Its note-box looks like this:
20944 \newline
20945
20946 \newline
20947
20948 \begin_inset Graphics
20949         filename clipart/CommentNoteImageQt4.png
20950         display none
20951         scale 85
20952
20953 \end_inset
20954
20955  
20956 \begin_inset Note Comment
20957 status open
20958
20959 \begin_layout Standard
20960 This is text in a note box that only appears as comment in LaTeX-files.
20961 \end_layout
20962
20963 \end_inset
20964
20965
20966 \end_layout
20967
20968 \begin_layout Description
20969 Greyed\InsetSpace ~
20970 Out This note will appear in the output as grey text.
20971  Its note-box looks like this:
20972 \newline
20973
20974 \newline
20975
20976 \begin_inset Graphics
20977         filename clipart/GreyedOutNoteImageQt4.png
20978         display none
20979         scale 85
20980
20981 \end_inset
20982
20983
20984 \newline
20985
20986 \begin_inset ERT
20987 status collapsed
20988
20989 \begin_layout Standard
20990
20991
20992 \backslash
20993 renewenvironment{lyxgreyedout}
20994 \end_layout
20995
20996 \begin_layout Standard
20997
20998 {
20999 \backslash
21000 textcolor[gray]{0.8}
21001 \backslash
21002 bgroup}{
21003 \backslash
21004 egroup}
21005 \end_layout
21006
21007 \end_inset
21008
21009
21010 \begin_inset Note Greyedout
21011 status open
21012
21013 \begin_layout Standard
21014 This is text
21015 \begin_inset Foot
21016 status open
21017
21018 \begin_layout Standard
21019 This is an example footnote within a greyed out note.
21020 \end_layout
21021
21022 \end_inset
21023
21024  of a comment that appears in the output as grey text.
21025 \end_layout
21026
21027 \end_inset
21028
21029
21030 \begin_inset ERT
21031 status collapsed
21032
21033 \begin_layout Standard
21034
21035
21036 \backslash
21037 renewenvironment{lyxgreyedout}
21038 \end_layout
21039
21040 \begin_layout Standard
21041
21042 {
21043 \backslash
21044 textcolor{blue}
21045 \backslash
21046 bgroup}{
21047 \backslash
21048 egroup}
21049 \end_layout
21050
21051 \end_inset
21052
21053
21054 \begin_inset Note Note
21055 status collapsed
21056
21057 \begin_layout Standard
21058 The greyed out note is here redefined to show it with the original LyX definitio
21059 n because greyed out notes are redefined in the preamble of this document,
21060  as described below, to have blue text.
21061 \end_layout
21062
21063 \end_inset
21064
21065
21066 \newline
21067
21068 \newline
21069 As you can see in the example, the first line of greyed out notes is a bit
21070  indented and greyed out notes can have footnotes.
21071 \end_layout
21072
21073 \begin_layout Description
21074 Framed This note will appear in the output as framed text.
21075  Its note-box looks like this:
21076 \newline
21077
21078 \newline
21079
21080 \begin_inset Graphics
21081         filename clipart/FramedNoteImageQt4.png
21082         display none
21083         scale 85
21084
21085 \end_inset
21086
21087  
21088 \begin_inset Note Framed
21089 status open
21090
21091 \begin_layout Standard
21092 This is text in a note box that appears framed in the output.
21093 \end_layout
21094
21095 \end_inset
21096
21097  In contrary to framed boxes
21098 \begin_inset Foot
21099 status collapsed
21100
21101 \begin_layout Standard
21102 Framed boxes are described in section\InsetSpace ~
21103
21104 \begin_inset LatexCommand ref
21105 reference "sec:Framed-Boxes"
21106
21107 \end_inset
21108
21109 .
21110 \end_layout
21111
21112 \end_inset
21113
21114  the frame uses always the whole text width and the note is set into its
21115  own paragraph.
21116 \end_layout
21117
21118 \begin_layout Description
21119 Shaded This note will appear in the output with red background color.
21120  Its note box looks like this:
21121 \newline
21122
21123 \newline
21124
21125 \begin_inset Graphics
21126         filename clipart/ShadedNoteImageQt4.png
21127         display none
21128         scale 85
21129
21130 \end_inset
21131
21132
21133 \begin_inset Note Shaded
21134 status open
21135
21136 \begin_layout Standard
21137 This text in a note box appears in the output with red background.
21138 \end_layout
21139
21140 \end_inset
21141
21142 In contrary to colored boxes
21143 \begin_inset Foot
21144 status collapsed
21145
21146 \begin_layout Standard
21147 Colored boxes are described in section\InsetSpace ~
21148
21149 \begin_inset LatexCommand ref
21150 reference "sec:Colored-Boxes"
21151
21152 \end_inset
21153
21154 .
21155 \end_layout
21156
21157 \end_inset
21158
21159  the note uses always the whole text width and the note is set into its
21160  own paragraph.
21161 \end_layout
21162
21163 \begin_layout Standard
21164 \begin_inset VSpace bigskip
21165 \end_inset
21166
21167 When you use the toolbar button to insert notes, a 
21168 \family sans
21169 LyX\InsetSpace ~
21170 Note
21171 \family default
21172  is inserted.
21173  You can switch between the three note types by right-clicking on the note-box.
21174  
21175 \family roman
21176 \series medium
21177 \bar no
21178 If you want to turn existing text into a note, mark it and click on the
21179  note
21180 \family default
21181 \series default
21182 \bar default
21183  toolbar 
21184 \family roman
21185 \series medium
21186 \bar no
21187 button
21188 \family default
21189 \series default
21190 \bar default
21191 .
21192 \end_layout
21193
21194 \begin_layout Standard
21195 \begin_inset VSpace bigskip
21196 \end_inset
21197
21198 You can change the text color of the greyed out notes in the preamble with
21199  the following command:
21200 \end_layout
21201
21202 \begin_layout Standard
21203
21204 \series bold
21205
21206 \backslash
21207 renewenvironment{lyxgreyedout}
21208 \newline
21209
21210 \begin_inset ERT
21211 status collapsed
21212
21213 \begin_layout Standard
21214
21215
21216 \backslash
21217 hphantom{ }
21218 \end_layout
21219
21220 \end_inset
21221
21222 {
21223 \backslash
21224 textcolor{color}
21225 \backslash
21226 bgroup}{
21227 \backslash
21228 egroup}
21229 \end_layout
21230
21231 \begin_layout Standard
21232 The available colors and the method to define own colors is explained in
21233  section\InsetSpace ~
21234
21235 \begin_inset LatexCommand ref
21236 reference "sec:Colored-Tables"
21237
21238 \end_inset
21239
21240 .
21241 \end_layout
21242
21243 \begin_layout Standard
21244 Notes that appear in blue in this document are set using greyed out notes
21245  with blue text.
21246 \end_layout
21247
21248 \begin_layout Standard
21249 \begin_inset VSpace bigskip
21250 \end_inset
21251
21252
21253 \end_layout
21254
21255 \begin_layout Standard
21256 The text style of 
21257 \family sans
21258 Framed
21259 \family default
21260  and 
21261 \family sans
21262 Shaded
21263 \family default
21264  notes can be set in the 
21265 \family sans
21266 Text Style
21267 \family default
21268  dialog.
21269 \end_layout
21270
21271 \begin_layout Standard
21272 The default frame width for 
21273 \family sans
21274 Framed
21275 \family default
21276  notes is 0.4\InsetSpace \thinspace{}
21277 pt; it can be changed by changing the size 
21278 \series bold
21279
21280 \backslash
21281 FrameRule
21282 \series default
21283 .
21284  The default space between the note content and the frame is 9\InsetSpace \thinspace{}
21285 pt; it can
21286  be changed by changing the size 
21287 \series bold
21288
21289 \backslash
21290 FrameSep
21291 \series default
21292 .
21293  For example the frame appearance of the following 
21294 \family sans
21295 Framed
21296 \family default
21297  note is set with the ERT commands
21298 \end_layout
21299
21300 \begin_layout Standard
21301
21302 \series bold
21303
21304 \backslash
21305 FrameRule 5pt 
21306 \backslash
21307 FrameSep 0.5cm
21308 \end_layout
21309
21310 \begin_layout Standard
21311 \begin_inset ERT
21312 status collapsed
21313
21314 \begin_layout Standard
21315
21316
21317 \backslash
21318 FrameRule 5pt 
21319 \backslash
21320 FrameSep 0.5cm
21321 \end_layout
21322
21323 \end_inset
21324
21325
21326 \begin_inset Note Framed
21327 status open
21328
21329 \begin_layout Standard
21330 This is text in a 
21331 \family sans
21332 Framed
21333 \family default
21334  note.
21335 \end_layout
21336
21337 \end_inset
21338
21339
21340 \begin_inset ERT
21341 status collapsed
21342
21343 \begin_layout Standard
21344
21345
21346 \backslash
21347 FrameRule 0.4pt 
21348 \backslash
21349 FrameSep 9pt
21350 \end_layout
21351
21352 \end_inset
21353
21354
21355 \end_layout
21356
21357 \begin_layout Standard
21358 \begin_inset VSpace bigskip
21359 \end_inset
21360
21361
21362 \end_layout
21363
21364 \begin_layout Standard
21365 For 
21366 \family sans
21367 Shaded
21368 \family default
21369  notes the default space between the note content and the note border is
21370  3\InsetSpace \thinspace{}
21371 pt; it can be changed by changing the size 
21372 \series bold
21373
21374 \backslash
21375 fboxsep
21376 \series default
21377 .
21378 \newline
21379 The default background color red can be changed with the command 
21380 \series bold
21381
21382 \backslash
21383 def\SpecialChar \textcompwordmark{}
21384 inecolor{shadebox}
21385 \series default
21386 .
21387  The scheme of the 
21388 \series bold
21389
21390 \backslash
21391 def\SpecialChar \textcompwordmark{}
21392 inecolor
21393 \series default
21394  command is explained in section\InsetSpace ~
21395
21396 \begin_inset LatexCommand ref
21397 reference "sec:Colored-Tables"
21398
21399 \end_inset
21400
21401
21402 \begin_inset Foot
21403 status collapsed
21404
21405 \begin_layout Standard
21406 Note that 
21407 \series bold
21408
21409 \backslash
21410 def
21411 \series default
21412 \SpecialChar \textcompwordmark{}
21413
21414 \series bold
21415 inecolor
21416 \series default
21417  requires the LaTeX-package 
21418 \series bold
21419 color
21420 \series default
21421  in the preamble, see section\InsetSpace ~
21422
21423 \begin_inset LatexCommand ref
21424 reference "sec:Colored-Boxes"
21425
21426 \end_inset
21427
21428 .
21429 \end_layout
21430
21431 \end_inset
21432
21433 .
21434 \end_layout
21435
21436 \begin_layout Standard
21437 For example the appearance of the following 
21438 \family sans
21439 Shaded
21440 \family default
21441  note is set with the ERT commands
21442 \end_layout
21443
21444 \begin_layout Standard
21445
21446 \series bold
21447
21448 \backslash
21449 fboxsep 0.5cm
21450 \series default
21451
21452 \newline
21453
21454 \series bold
21455
21456 \backslash
21457 def\SpecialChar \textcompwordmark{}
21458 inecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
21459 \end_layout
21460
21461 \begin_layout Standard
21462 \begin_inset ERT
21463 status collapsed
21464
21465 \begin_layout Standard
21466
21467
21468 \backslash
21469 fboxsep 0.5cm
21470 \end_layout
21471
21472 \end_inset
21473
21474
21475 \begin_inset ERT
21476 status collapsed
21477
21478 \begin_layout Standard
21479
21480
21481 \backslash
21482 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
21483 \end_layout
21484
21485 \end_inset
21486
21487
21488 \begin_inset Note Shaded
21489 status open
21490
21491 \begin_layout Standard
21492
21493 \color yellow
21494 This is yellow text in a
21495 \color none
21496  
21497 \family sans
21498 \color yellow
21499 Shaded
21500 \family default
21501 \color none
21502  
21503 \color yellow
21504 note with darkgreen background.
21505 \end_layout
21506
21507 \end_inset
21508
21509
21510 \begin_inset ERT
21511 status collapsed
21512
21513 \begin_layout Standard
21514
21515
21516 \backslash
21517 fboxsep 3pt
21518 \end_layout
21519
21520 \end_inset
21521
21522
21523 \begin_inset ERT
21524 status collapsed
21525
21526 \begin_layout Standard
21527
21528
21529 \backslash
21530 definecolor{shadecolor}{rgb}{1,0,0}
21531 \end_layout
21532
21533 \end_inset
21534
21535
21536 \end_layout
21537
21538 \begin_layout Section
21539 Footnotes
21540 \begin_inset LatexCommand label
21541 name "sec:Footnotes"
21542
21543 \end_inset
21544
21545
21546 \begin_inset LatexCommand index
21547 name "Notes ! Footnotes"
21548
21549 \end_inset
21550
21551
21552 \begin_inset LatexCommand index
21553 name "Footnotes"
21554
21555 \end_inset
21556
21557
21558 \end_layout
21559
21560 \begin_layout Standard
21561 Footnotes can be inserted using the toolbar button 
21562 \begin_inset Graphics
21563         filename ../images/footnote-insert.xpm
21564         scale 85
21565
21566 \end_inset
21567
21568  or the menu 
21569 \family sans
21570 Insert\SpecialChar \menuseparator
21571 Footnote
21572 \family default
21573 .
21574  
21575 \family roman
21576 \series medium
21577 \bar no
21578 You'll see
21579 \family default
21580 \series default
21581 \bar default
21582  then the following footnote-box: 
21583 \begin_inset Graphics
21584         filename clipart/footnoteQt4.png
21585         scale 80
21586
21587 \end_inset
21588
21589  
21590 \family roman
21591 \series medium
21592 \bar no
21593 where you can enter the footnote text.
21594  If you want to turn existing text into a footnote, mark it and click on
21595  the footnote
21596 \family default
21597 \series default
21598 \bar default
21599  toolbar 
21600 \family roman
21601 \series medium
21602 \bar no
21603 button
21604 \family default
21605 \series default
21606 \bar default
21607 .
21608 \end_layout
21609
21610 \begin_layout Standard
21611 Here is an example footnote:
21612 \family roman
21613 \series medium
21614 \bar no
21615
21616 \begin_inset Foot
21617 status open
21618
21619 \begin_layout Standard
21620 \begin_inset LatexCommand label
21621 name "foot:This-is-an"
21622
21623 \end_inset
21624
21625 This is an example footnote.
21626 \end_layout
21627
21628 \end_inset
21629
21630
21631 \family default
21632 \series default
21633 \bar default
21634
21635 \begin_inset ERT
21636 status collapsed
21637
21638 \begin_layout Standard
21639
21640
21641 \backslash
21642 newcounter{MyRepeatFoot}
21643 \end_layout
21644
21645 \begin_layout Standard
21646
21647
21648 \backslash
21649 setcounter{MyRepeatFoot}{
21650 \backslash
21651 thefootnote}
21652 \end_layout
21653
21654 \end_inset
21655
21656
21657 \end_layout
21658
21659 \begin_layout Standard
21660 The footnote will appear in the output as a superscript number at the text
21661  position where the footnote box is placed.
21662  The footnote text is placed at the bottom of the current page.
21663  The footnote number is calculated by LaTeX, the numbers are consecutive.
21664  It depends on your document-class, if the footnote number is reset for
21665  every chapter.
21666 \end_layout
21667
21668 \begin_layout Standard
21669 Footnotes can be referenced like floats: Insert a label into the footnote
21670  and cross-reference this label in the text as described in section\InsetSpace ~
21671
21672 \begin_inset LatexCommand ref
21673 reference "sec:Referencing-Floats"
21674
21675 \end_inset
21676
21677 .
21678 \newline
21679 This is a cross-reference of Footnote\InsetSpace ~
21680
21681 \begin_inset LatexCommand ref
21682 reference "foot:This-is-an"
21683
21684 \end_inset
21685
21686 .
21687 \newline
21688
21689 \begin_inset Note Greyedout
21690 status open
21691
21692 \begin_layout Standard
21693
21694 \series bold
21695 Note:
21696 \series default
21697  LyX doesn't provide a prefix for labels in footnotes, so you have to insert
21698  e.\InsetSpace \thinspace{}
21699 g.\InsetSpace ~
21700 the prefix 
21701 \family sans
21702
21703 \begin_inset Quotes eld
21704 \end_inset
21705
21706 foot:
21707 \family default
21708
21709 \begin_inset Quotes erd
21710 \end_inset
21711
21712  manually when you want to use the reference style 
21713 \family sans
21714 Formatted\InsetSpace ~
21715 reference
21716 \family default
21717 .
21718 \end_layout
21719
21720 \end_inset
21721
21722
21723 \end_layout
21724
21725 \begin_layout Standard
21726 \begin_inset VSpace defskip
21727 \end_inset
21728
21729 To use footnotes within tables, you have to use minipages, see section\InsetSpace ~
21730
21731 \begin_inset LatexCommand ref
21732 reference "sec:Minipages"
21733
21734 \end_inset
21735
21736 .
21737  Footnotes within longtables are described in section\InsetSpace ~
21738
21739 \begin_inset LatexCommand ref
21740 reference "sub:Footnotes-in-Longtables"
21741
21742 \end_inset
21743
21744 .
21745 \end_layout
21746
21747 \begin_layout Standard
21748 \begin_inset VSpace defskip
21749 \end_inset
21750
21751 To create only a mark for a footnote, use the command 
21752 \series bold
21753
21754 \backslash
21755 footnotemark[number]
21756 \series default
21757  in ERT.
21758  This is used when you have the same annotation several times in a text
21759  but doesn't want to print the footnote text every time.
21760 \newline
21761 As you don't know
21762  the number of the repeating footnote while you are writing the text, you
21763  have to store its number.
21764  For the following footnote mark example, these commands were inserted in
21765  ERT behind Footnote\InsetSpace ~
21766
21767 \begin_inset LatexCommand ref
21768 reference "foot:This-is-an"
21769
21770 \end_inset
21771
21772  to store the footnote number:
21773 \end_layout
21774
21775 \begin_layout Standard
21776
21777 \series bold
21778
21779 \backslash
21780 newcounter{MyRepeatFoot}
21781 \newline
21782
21783 \backslash
21784 setcounter{MyRepeatFoot}{
21785 \backslash
21786 thefootnote}
21787 \end_layout
21788
21789 \begin_layout Standard
21790 The footnote mark was then created with this command:
21791 \end_layout
21792
21793 \begin_layout Standard
21794
21795 \series bold
21796
21797 \backslash
21798 footnotemark[
21799 \backslash
21800 theMyRepeatFoot]
21801 \end_layout
21802
21803 \begin_layout Standard
21804 Here is an example footnote mark:
21805 \family roman
21806 \series medium
21807 \bar no
21808
21809 \begin_inset ERT
21810 status collapsed
21811
21812 \begin_layout Standard
21813
21814
21815 \backslash
21816 footnotemark[
21817 \backslash
21818 theMyRepeatFoot]
21819 \end_layout
21820
21821 \end_inset
21822
21823
21824 \end_layout
21825
21826 \begin_layout Subsection
21827 Footnote Numbering
21828 \begin_inset LatexCommand label
21829 name "sub:Footnote-Numbering"
21830
21831 \end_inset
21832
21833
21834 \begin_inset LatexCommand index
21835 name "Footnotes ! Numbering"
21836
21837 \end_inset
21838
21839
21840 \end_layout
21841
21842 \begin_layout Standard
21843 If you want to have footnotes 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 , add the following command to your document preamble:
21852 \end_layout
21853
21854 \begin_layout Standard
21855
21856 \series bold
21857
21858 \backslash
21859 numberwithin{footnote}{chapter}
21860 \end_layout
21861
21862 \begin_layout Standard
21863 To be able to use the command 
21864 \series bold
21865
21866 \backslash
21867 numberwithin
21868 \series default
21869 , set in the tab 
21870 \family sans
21871 Math\InsetSpace ~
21872 Options
21873 \family default
21874  in the document settings the option 
21875 \family sans
21876 Use\InsetSpace ~
21877 AMS\InsetSpace ~
21878 math\InsetSpace ~
21879 package
21880 \family default
21881 .
21882 \end_layout
21883
21884 \begin_layout Standard
21885 \begin_inset ERT
21886 status collapsed
21887
21888 \begin_layout Standard
21889
21890
21891 \backslash
21892 numberwithin{footnote}{chapter}
21893 \end_layout
21894
21895 \end_inset
21896
21897 This is another example footnote:
21898 \series bold
21899
21900 \begin_inset Foot
21901 status open
21902
21903 \begin_layout Standard
21904 This is a footnote numbered in the scheme 
21905 \begin_inset Quotes eld
21906 \end_inset
21907
21908 chapter.footnote
21909 \begin_inset Quotes erd
21910 \end_inset
21911
21912 .
21913 \end_layout
21914
21915 \end_inset
21916
21917
21918 \series default
21919
21920 \begin_inset ERT
21921 status collapsed
21922
21923 \begin_layout Standard
21924
21925
21926 \backslash
21927 numberwithin{footnote}{part}
21928 \end_layout
21929
21930 \end_inset
21931
21932
21933 \end_layout
21934
21935 \begin_layout Standard
21936 \begin_inset VSpace bigskip
21937 \end_inset
21938
21939
21940 \end_layout
21941
21942 \begin_layout Standard
21943 To reset the footnote number back to 1 after each section
21944 \family roman
21945 , add this command to your document preamble:
21946 \end_layout
21947
21948 \begin_layout Standard
21949
21950 \series bold
21951
21952 \backslash
21953 @addtoreset{footnote}{section}
21954 \end_layout
21955
21956 \begin_layout Standard
21957 \begin_inset VSpace bigskip
21958 \end_inset
21959
21960 The following preamble command changes the footnote numbering style to small
21961  roman numerals:
21962 \end_layout
21963
21964 \begin_layout Standard
21965
21966 \series bold
21967
21968 \backslash
21969 renewcommand{
21970 \backslash
21971 thefootnote}{
21972 \backslash
21973 roman{footnote}}
21974 \end_layout
21975
21976 \begin_layout Standard
21977 \begin_inset ERT
21978 status collapsed
21979
21980 \begin_layout Standard
21981
21982
21983 \backslash
21984 renewcommand{
21985 \backslash
21986 thefootnote}{
21987 \backslash
21988 roman{footnote}}
21989 \end_layout
21990
21991 \end_inset
21992
21993  This is a footnote with roman numbering:
21994 \begin_inset Foot
21995 status open
21996
21997 \begin_layout Standard
21998 This is an example footnote with roman numbering.
21999 \end_layout
22000
22001 \end_inset
22002
22003
22004 \begin_inset ERT
22005 status collapsed
22006
22007 \begin_layout Standard
22008
22009
22010 \backslash
22011 renewcommand{
22012 \backslash
22013 thefootnote}{
22014 \backslash
22015 arabic{footnote}}
22016 \end_layout
22017
22018 \end_inset
22019
22020
22021 \end_layout
22022
22023 \begin_layout Standard
22024 To change the numbering style to capital roman numerals replace in the command
22025  above 
22026 \series bold
22027
22028 \backslash
22029 roman
22030 \series default
22031  by 
22032 \series bold
22033
22034 \backslash
22035 Roman
22036 \series default
22037 .
22038  To 
22039 \begin_inset Quotes eld
22040 \end_inset
22041
22042 number
22043 \begin_inset Quotes erd
22044 \end_inset
22045
22046  footnotes with capital or small Latin letters use 
22047 \series bold
22048
22049 \backslash
22050 Alph
22051 \series default
22052  or 
22053 \series bold
22054
22055 \backslash
22056 alph
22057 \series default
22058 , respectively.
22059  To 
22060 \begin_inset Quotes eld
22061 \end_inset
22062
22063 number
22064 \begin_inset Quotes erd
22065 \end_inset
22066
22067  footnotes with symbols use 
22068 \series bold
22069
22070 \backslash
22071 fnsymbol
22072 \series default
22073 .
22074 \end_layout
22075
22076 \begin_layout Standard
22077 \begin_inset Note Greyedout
22078 status open
22079
22080 \begin_layout Standard
22081
22082 \series bold
22083 Note:
22084 \series default
22085  You can only number 26 footnotes with Latin letters, because this numbering
22086  is limited to single letters.
22087 \end_layout
22088
22089 \end_inset
22090
22091
22092 \newline
22093
22094 \begin_inset Note Greyedout
22095 status open
22096
22097 \begin_layout Standard
22098
22099 \series bold
22100 Note:
22101 \series default
22102  You can only number 9 footnotes with symbols.
22103 \end_layout
22104
22105 \end_inset
22106
22107
22108 \end_layout
22109
22110 \begin_layout Standard
22111 To return to the default numbering style when you changed to another one,
22112  use 
22113 \series bold
22114
22115 \backslash
22116 arabic
22117 \series default
22118  instead of 
22119 \series bold
22120
22121 \backslash
22122 roman
22123 \series default
22124  in the command above.
22125 \end_layout
22126
22127 \begin_layout Subsection
22128 Footnote Placement
22129 \begin_inset LatexCommand index
22130 name "Footnotes ! Placement"
22131
22132 \end_inset
22133
22134
22135 \end_layout
22136
22137 \begin_layout Standard
22138 If you have several footnotes in one page, they appear without vertical
22139  space between them at the bottom of the page.
22140  To make them better readable you can e.\InsetSpace \thinspace{}
22141 g.\InsetSpace ~
22142 add 1.5\InsetSpace \thinspace{}
22143 mm space with the following
22144  preamble command:
22145 \end_layout
22146
22147 \begin_layout Standard
22148
22149 \series bold
22150
22151 \backslash
22152 let
22153 \backslash
22154 myFoot
22155 \backslash
22156 footnote
22157 \newline
22158
22159 \backslash
22160 renewcommand{
22161 \backslash
22162 footnote}[1]{
22163 \backslash
22164 myFoot{#1
22165 \backslash
22166 vspace{1.5mm}}}
22167 \end_layout
22168
22169 \begin_layout Standard
22170 \begin_inset VSpace bigskip
22171 \end_inset
22172
22173 In a two-column document the footnotes appear at the bottom of every column,
22174  see Figure\InsetSpace ~
22175
22176 \begin_inset LatexCommand ref
22177 reference "fig:Standard-footnote-placement"
22178
22179 \end_inset
22180
22181 .
22182  If the footnotes should only appear at the bottom of the right column,
22183  as in Figure\InsetSpace ~
22184
22185 \begin_inset LatexCommand ref
22186 reference "fig:Footnote-placement-in"
22187
22188 \end_inset
22189
22190 , use the LaTeX-package 
22191 \series bold
22192 ftnright
22193 \series default
22194
22195 \begin_inset LatexCommand index
22196 name "LaTeX-packages ! ftnright"
22197
22198 \end_inset
22199
22200  with this command in the document preamble:
22201 \end_layout
22202
22203 \begin_layout Standard
22204
22205 \series bold
22206
22207 \backslash
22208 usepackage{ftnright}
22209 \end_layout
22210
22211 \begin_layout Standard
22212 \begin_inset Float figure
22213 placement !h
22214 wide false
22215 sideways false
22216 status open
22217
22218 \begin_layout Standard
22219 \begin_inset ERT
22220 status collapsed
22221
22222 \begin_layout Standard
22223
22224
22225 \backslash
22226 framebox{
22227 \end_layout
22228
22229 \end_inset
22230
22231
22232 \begin_inset Graphics
22233         filename clipart/without_fntright.pdf
22234         width 100col%
22235
22236 \end_inset
22237
22238
22239 \begin_inset ERT
22240 status collapsed
22241
22242 \begin_layout Standard
22243
22244 }
22245 \end_layout
22246
22247 \end_inset
22248
22249
22250 \end_layout
22251
22252 \begin_layout Standard
22253 \begin_inset Caption
22254
22255 \begin_layout Standard
22256 \begin_inset LatexCommand label
22257 name "fig:Standard-footnote-placement"
22258
22259 \end_inset
22260
22261 Standard footnote placement in two-column documents.
22262 \end_layout
22263
22264 \end_inset
22265
22266
22267 \end_layout
22268
22269 \end_inset
22270
22271
22272 \end_layout
22273
22274 \begin_layout Standard
22275 \begin_inset Float figure
22276 placement !h
22277 wide false
22278 sideways false
22279 status open
22280
22281 \begin_layout Standard
22282 \begin_inset ERT
22283 status collapsed
22284
22285 \begin_layout Standard
22286
22287
22288 \backslash
22289 framebox{
22290 \end_layout
22291
22292 \end_inset
22293
22294
22295 \begin_inset Graphics
22296         filename clipart/with_fntright.pdf
22297         width 100col%
22298
22299 \end_inset
22300
22301
22302 \begin_inset ERT
22303 status collapsed
22304
22305 \begin_layout Standard
22306
22307 }
22308 \end_layout
22309
22310 \end_inset
22311
22312
22313 \end_layout
22314
22315 \begin_layout Standard
22316 \begin_inset Caption
22317
22318 \begin_layout Standard
22319 \begin_inset LatexCommand label
22320 name "fig:Footnote-placement-in"
22321
22322 \end_inset
22323
22324 Footnote placement in two-column documents when the LaTeX-package 
22325 \series bold
22326 ftnright
22327 \series default
22328  is used.
22329 \end_layout
22330
22331 \end_inset
22332
22333
22334 \end_layout
22335
22336 \end_inset
22337
22338
22339 \end_layout
22340
22341 \begin_layout Standard
22342 \begin_inset VSpace bigskip
22343 \end_inset
22344
22345 In some scientific literature it is usual to collect the footnotes and print
22346  them in a separate paragraph at the the end of a section, like in Figure\InsetSpace ~
22347
22348 \begin_inset LatexCommand ref
22349 reference "fig:Endnotes----footnotes"
22350
22351 \end_inset
22352
22353 .
22354  They are then so called 
22355 \begin_inset Quotes eld
22356 \end_inset
22357
22358 endnotes
22359 \begin_inset Quotes erd
22360 \end_inset
22361
22362 .
22363  To use endnotes instead of footnotes in your document, load the LaTeX-package
22364  
22365 \series bold
22366 endnotes
22367 \series default
22368
22369 \begin_inset LatexCommand index
22370 name "LaTeX-packages ! endnotes"
22371
22372 \end_inset
22373
22374  with the document preamble lines
22375 \end_layout
22376
22377 \begin_layout Standard
22378
22379 \series bold
22380
22381 \backslash
22382 usepackage{endnotes}
22383 \newline
22384
22385 \backslash
22386 let
22387 \backslash
22388 footnote
22389 \backslash
22390 endnote
22391 \end_layout
22392
22393 \begin_layout Standard
22394 To insert the collected footnotes, insert the command
22395 \end_layout
22396
22397 \begin_layout Standard
22398
22399 \series bold
22400
22401 \backslash
22402 theendnotes
22403 \end_layout
22404
22405 \begin_layout Standard
22406 in ERT at the the end of a section or chapter.
22407 \end_layout
22408
22409 \begin_layout Standard
22410 \begin_inset Float figure
22411 wide false
22412 sideways false
22413 status open
22414
22415 \begin_layout Standard
22416 \align center
22417 \begin_inset ERT
22418 status collapsed
22419
22420 \begin_layout Standard
22421
22422
22423 \backslash
22424 framebox{
22425 \end_layout
22426
22427 \end_inset
22428
22429
22430 \begin_inset Graphics
22431         filename clipart/endnotes.pdf
22432
22433 \end_inset
22434
22435
22436 \begin_inset ERT
22437 status collapsed
22438
22439 \begin_layout Standard
22440
22441 }
22442 \end_layout
22443
22444 \end_inset
22445
22446
22447 \end_layout
22448
22449 \begin_layout Standard
22450 \begin_inset Caption
22451
22452 \begin_layout Standard
22453 \begin_inset LatexCommand label
22454 name "fig:Endnotes----footnotes"
22455
22456 \end_inset
22457
22458 Endnotes -- footnotes are printed in a separate paragraph at the end of
22459  sections or chapters.
22460 \end_layout
22461
22462 \end_inset
22463
22464
22465 \end_layout
22466
22467 \end_inset
22468
22469
22470 \end_layout
22471
22472 \begin_layout Standard
22473 \begin_inset VSpace defskip
22474 \end_inset
22475
22476 The paragraph heading for the endnotes isn't automatically translated into
22477  the document language, this must be done manually.
22478  The following preamble command translate the default English name 
22479 \begin_inset Quotes eld
22480 \end_inset
22481
22482 Notes
22483 \begin_inset Quotes erd
22484 \end_inset
22485
22486  to the German translation 
22487 \begin_inset Quotes eld
22488 \end_inset
22489
22490 Anmerkungen
22491 \begin_inset Quotes erd
22492 \end_inset
22493
22494 :
22495 \end_layout
22496
22497 \begin_layout Standard
22498
22499 \series bold
22500
22501 \backslash
22502 renewcommand{
22503 \backslash
22504 notesname}{Anmerkungen}
22505 \end_layout
22506
22507 \begin_layout Standard
22508 \begin_inset VSpace defskip
22509 \end_inset
22510
22511 The numbering of endnotes can be changed like the footnote numbering as
22512  described in section\InsetSpace ~
22513
22514 \begin_inset LatexCommand ref
22515 reference "sub:Footnote-Numbering"
22516
22517 \end_inset
22518
22519 ; just replace the command 
22520 \series bold
22521
22522 \backslash
22523 thefootnote
22524 \series default
22525  by 
22526 \series bold
22527
22528 \backslash
22529 theendnote
22530 \series default
22531 .
22532  To reset the endnote number use the command 
22533 \series bold
22534
22535 \backslash
22536 @addtoreset
22537 \series default
22538  as described in section\InsetSpace ~
22539
22540 \begin_inset LatexCommand ref
22541 reference "sub:Footnote-Numbering"
22542
22543 \end_inset
22544
22545  and replace the command parameter 
22546 \series bold
22547 footnote
22548 \series default
22549  by 
22550 \series bold
22551 endnote
22552 \series default
22553 .
22554 \end_layout
22555
22556 \begin_layout Standard
22557 To create only a mark for an endnote, use the command 
22558 \series bold
22559
22560 \backslash
22561 endnotemark[number]
22562 \series default
22563  similar to the command 
22564 \series bold
22565
22566 \backslash
22567 footnotemark
22568 \series default
22569 , described in section\InsetSpace ~
22570
22571 \begin_inset LatexCommand ref
22572 reference "sec:Footnotes"
22573
22574 \end_inset
22575
22576 .
22577 \end_layout
22578
22579 \begin_layout Standard
22580 \begin_inset VSpace bigskip
22581 \end_inset
22582
22583 Footnotes can also be placed in the page margin and the footnote text alignment
22584  can be changed, see the LaTeX-package 
22585 \series bold
22586 footmisc
22587 \series default
22588
22589 \begin_inset LatexCommand index
22590 name "LaTeX-packages ! footmisc"
22591
22592 \end_inset
22593
22594
22595 \begin_inset LatexCommand cite
22596 key "footmisc"
22597
22598 \end_inset
22599
22600  for more information about this.
22601 \end_layout
22602
22603 \begin_layout Standard
22604 For various further footnote formatting issues have a look at LaTeX-books,
22605  
22606 \begin_inset LatexCommand cite
22607 key "latexcompanion,latexguide,latexbook"
22608
22609 \end_inset
22610
22611 .
22612 \end_layout
22613
22614 \begin_layout Section
22615 Margin Notes
22616 \begin_inset LatexCommand index
22617 name "Notes ! Margin Notes"
22618
22619 \end_inset
22620
22621
22622 \end_layout
22623
22624 \begin_layout Standard
22625 Margin notes look and behave in LyX like footnotes.
22626  They are inserted via the menu 
22627 \family sans
22628 Insert\SpecialChar \menuseparator
22629 Marginal\InsetSpace ~
22630 Note
22631 \family default
22632  or the toolbar button 
22633 \begin_inset Graphics
22634         filename ../images/marginalnote-insert.xpm
22635         scale 85
22636
22637 \end_inset
22638
22639 .
22640  A grey 
22641 \family roman
22642 \series medium
22643 box with the
22644 \family default
22645 \series default
22646  red 
22647 \family roman
22648 \series medium
22649 label 
22650 \begin_inset Quotes eld
22651 \end_inset
22652
22653 margin
22654 \begin_inset Quotes erd
22655 \end_inset
22656
22657  appears where you can enter the text of the margin note.
22658 \end_layout
22659
22660 \begin_layout Standard
22661 At the side is an example margin note.
22662 \family roman
22663 \series medium
22664
22665 \begin_inset Marginal
22666 status open
22667
22668 \begin_layout Standard
22669 This is a margin note.
22670 \end_layout
22671
22672 \end_inset
22673
22674
22675 \end_layout
22676
22677 \begin_layout Standard
22678 Margin notes appear at the right side in single-sided documents.
22679  In double-sided documents they appear in the outer margin -- left on even
22680  pages, right on odd pages.
22681  The text of margin notes is aligned opposite to the outer margin -- right-align
22682 ed when the note appears in the left margin.
22683  The first line of the margin note is placed at the position of the text
22684  line where it is inserted in the document.
22685 \end_layout
22686
22687 \begin_layout Standard
22688 \begin_inset VSpace bigskip
22689 \end_inset
22690
22691 To place the margin note in the inner margin, add the command
22692 \end_layout
22693
22694 \begin_layout Standard
22695
22696 \series bold
22697
22698 \backslash
22699 reversemarginpar
22700 \end_layout
22701
22702 \begin_layout Standard
22703 in ERT before a margin note.
22704  The new placement is valid for all following margin notes.
22705 \begin_inset ERT
22706 status collapsed
22707
22708 \begin_layout Standard
22709
22710
22711 \backslash
22712 reversemarginpar 
22713 \end_layout
22714
22715 \end_inset
22716
22717
22718 \begin_inset Marginal
22719 status open
22720
22721 \begin_layout Standard
22722 This is a margin note in the inner margin.
22723 \end_layout
22724
22725 \end_inset
22726
22727
22728 \series bold
22729
22730 \newline
22731
22732 \series default
22733
22734 \begin_inset Note Greyedout
22735 status open
22736
22737 \begin_layout Standard
22738
22739 \series bold
22740 Note:
22741 \series default
22742  There is often not enough space in the inner margin so that the notes are
22743  not correctly displayed in the output.
22744 \end_layout
22745
22746 \end_inset
22747
22748
22749 \end_layout
22750
22751 \begin_layout Standard
22752 \begin_inset ERT
22753 status collapsed
22754
22755 \begin_layout Standard
22756
22757
22758 \backslash
22759 normalmarginpar 
22760 \end_layout
22761
22762 \end_inset
22763
22764 To return to the default placement insert the command
22765 \end_layout
22766
22767 \begin_layout Standard
22768
22769 \series bold
22770
22771 \backslash
22772 normalmarginpar
22773 \end_layout
22774
22775 \begin_layout Standard
22776 in ERT.
22777  
22778 \begin_inset Note Greyedout
22779 status open
22780
22781 \begin_layout Standard
22782
22783 \series bold
22784 Note:
22785 \series default
22786  The command is ignored when it is within a paragraph where also the command
22787  
22788 \series bold
22789
22790 \backslash
22791 reversemarginpar
22792 \series default
22793  is inserted.
22794 \end_layout
22795
22796 \end_inset
22797
22798
22799 \end_layout
22800
22801 \begin_layout Standard
22802 \begin_inset VSpace bigskip
22803 \end_inset
22804
22805
22806 \family roman
22807 \series medium
22808
22809 \begin_inset Marginal
22810 status open
22811
22812 \begin_layout Standard
22813 AVeryLongMarginParWord that isn't hyphenated.
22814 \end_layout
22815
22816 \end_inset
22817
22818
22819 \family default
22820 \series default
22821 Similar to the case described in section\InsetSpace ~
22822
22823 \begin_inset LatexCommand ref
22824 reference "sub:Multiple-Lines-in"
22825
22826 \end_inset
22827
22828 , long words cannot be hyphenated when they are the first word in a margin
22829  note.
22830  To avoid this, insert the command
22831 \end_layout
22832
22833 \begin_layout Standard
22834
22835 \series bold
22836
22837 \backslash
22838 hspace{0pt}
22839 \end_layout
22840
22841 \begin_layout Standard
22842 in ERT before the word
22843 \family roman
22844 \series medium
22845 .
22846 \begin_inset Marginal
22847 status open
22848
22849 \begin_layout Standard
22850 \begin_inset ERT
22851 status collapsed
22852
22853 \begin_layout Standard
22854
22855
22856 \backslash
22857 hspace{0pt}
22858 \end_layout
22859
22860 \end_inset
22861
22862 AVeryLongMarginParWord that is hyphenated.
22863 \end_layout
22864
22865 \end_inset
22866
22867
22868 \end_layout
22869
22870 \begin_layout Standard
22871 \begin_inset VSpace bigskip
22872 \end_inset
22873
22874
22875 \end_layout
22876
22877 \begin_layout Standard
22878 \begin_inset Note Greyedout
22879 status open
22880
22881 \begin_layout Standard
22882
22883 \series bold
22884 Note:
22885 \series default
22886  Margin notes can normally not be used inside tables, floats, and footnotes.
22887 \end_layout
22888
22889 \end_inset
22890
22891
22892 \end_layout
22893
22894 \begin_layout Standard
22895 \begin_inset VSpace bigskip
22896 \end_inset
22897
22898
22899 \end_layout
22900
22901 \begin_layout Standard
22902 \begin_inset ERT
22903 status collapsed
22904
22905 \begin_layout Standard
22906
22907
22908 \backslash
22909 ifmarginnote
22910 \end_layout
22911
22912 \end_inset
22913
22914
22915 \begin_inset Note Note
22916 status open
22917
22918 \begin_layout Standard
22919 The following section will only be displayed when you have the LaTeX-package
22920  
22921 \series bold
22922 marginnote
22923 \series default
22924  is installed.
22925 \end_layout
22926
22927 \end_inset
22928
22929
22930 \end_layout
22931
22932 \begin_layout Standard
22933 This restriction can be evaded by using the LaTeX-package 
22934 \series bold
22935 marginnote
22936 \series default
22937
22938 \begin_inset LatexCommand index
22939 name "LaTeX-packages ! marginnote"
22940
22941 \end_inset
22942
22943 .
22944  By adding these two lines to your document preamble, the command used by
22945  LyX for margin notes is redefined to use the command provided by the 
22946 \series bold
22947 marginnote
22948 \series default
22949 -package:
22950 \end_layout
22951
22952 \begin_layout Standard
22953
22954 \series bold
22955
22956 \backslash
22957 usepackage{marginnote}
22958 \newline
22959
22960 \backslash
22961 let
22962 \backslash
22963 marginpar
22964 \backslash
22965 marginnote
22966 \end_layout
22967
22968 \begin_layout Standard
22969 This is also used in this document because 
22970 \series bold
22971 marginnote
22972 \series default
22973  has another useful feature: You can set a vertical offset for the note.
22974  This is often needed when too many margin notes are too close together
22975  or for a better page layout.
22976  The offset is set in LyX as ERT directly behind the margin note in the
22977  scheme
22978 \end_layout
22979
22980 \begin_layout Standard
22981
22982 \series bold
22983 [offset]
22984 \end_layout
22985
22986 \begin_layout Standard
22987 where the offset is a length with one of the units listed in Table\InsetSpace ~
22988
22989 \begin_inset LatexCommand ref
22990 reference "tab:Units"
22991
22992 \end_inset
22993
22994 .
22995  A negative value shifts the note up, a positive value shifts it down.
22996  
22997 \family roman
22998 \series medium
22999 For example the margin note beside this text line is shifted up 1.5\InsetSpace \thinspace{}
23000 cm with
23001  the ERT-command 
23002 \begin_inset Quotes eld
23003 \end_inset
23004
23005
23006 \family default
23007 \series bold
23008 [-1.5cm]
23009 \family roman
23010 \series medium
23011
23012 \begin_inset Quotes erd
23013 \end_inset
23014
23015
23016 \begin_inset Marginal
23017 status open
23018
23019 \begin_layout Standard
23020 This margin note is shifted up 1.5\InsetSpace \thinspace{}
23021 cm from its original position.
23022 \end_layout
23023
23024 \end_inset
23025
23026
23027 \family default
23028 \series default
23029
23030 \begin_inset ERT
23031 status collapsed
23032
23033 \begin_layout Standard
23034
23035 [-1.5cm]
23036 \end_layout
23037
23038 \end_inset
23039
23040
23041 \end_layout
23042
23043 \begin_layout Standard
23044 \begin_inset VSpace defskip
23045 \end_inset
23046
23047 With 
23048 \series bold
23049 marginnote
23050 \series default
23051  you can also change the alignment of the text in the margin note.
23052  For example the commands
23053 \end_layout
23054
23055 \begin_layout Standard
23056
23057 \series bold
23058
23059 \backslash
23060 renewcommand*{
23061 \backslash
23062 raggedleftmarginnote}{
23063 \backslash
23064 centering}
23065 \newline
23066
23067 \backslash
23068 renewcommand*{
23069 \backslash
23070 raggedrightmarginnote}{
23071 \backslash
23072 centering}
23073 \end_layout
23074
23075 \begin_layout Standard
23076 set the alignment to centered.
23077  
23078 \series bold
23079
23080 \backslash
23081 raggedleftmarginnote
23082 \series default
23083  denotes margin notes that appear at the left side.
23084 \family roman
23085 \series medium
23086
23087 \begin_inset ERT
23088 status collapsed
23089
23090 \begin_layout Standard
23091
23092
23093 \backslash
23094 renewcommand*{
23095 \backslash
23096 raggedleftmarginnote}{
23097 \backslash
23098 centering}
23099 \end_layout
23100
23101 \begin_layout Standard
23102
23103
23104 \backslash
23105 renewcommand*{
23106 \backslash
23107 raggedrightmarginnote}{
23108 \backslash
23109 centering}
23110 \end_layout
23111
23112 \end_inset
23113
23114
23115 \begin_inset Marginal
23116 status open
23117
23118 \begin_layout Standard
23119 The text of this margin note is centered.
23120 \end_layout
23121
23122 \end_inset
23123
23124
23125 \family default
23126 \series default
23127  The default is
23128 \end_layout
23129
23130 \begin_layout Standard
23131
23132 \series bold
23133
23134 \backslash
23135 renewcommand*{
23136 \backslash
23137 raggedleftmarginnote}{
23138 \backslash
23139 raggedleft}
23140 \newline
23141
23142 \backslash
23143 renewcommand*{
23144 \backslash
23145 raggedrightmarginnote}{
23146 \backslash
23147 raggedright}
23148 \family roman
23149 \series medium
23150
23151 \begin_inset ERT
23152 status collapsed
23153
23154 \begin_layout Standard
23155
23156
23157 \backslash
23158 renewcommand*{
23159 \backslash
23160 raggedleftmarginnote}{
23161 \backslash
23162 raggedleft}
23163 \end_layout
23164
23165 \begin_layout Standard
23166
23167
23168 \backslash
23169 renewcommand*{
23170 \backslash
23171 raggedrightmarginnote}{
23172 \backslash
23173 raggedright}
23174 \end_layout
23175
23176 \end_inset
23177
23178
23179 \end_layout
23180
23181 \begin_layout Standard
23182 \begin_inset VSpace defskip
23183 \end_inset
23184
23185 For the other features of 
23186 \series bold
23187 marginnote
23188 \series default
23189  we refer to its documentation 
23190 \begin_inset LatexCommand cite
23191 key "marginnote"
23192
23193 \end_inset
23194
23195 .
23196 \end_layout
23197
23198 \begin_layout Standard
23199 \begin_inset VSpace bigskip
23200 \end_inset
23201
23202 You can change the layout of margin notes by redefining its definition.
23203  To create for example a header for all margin notes with the underlined,
23204  sans-serif, and bold header text 
23205 \begin_inset Quotes eld
23206 \end_inset
23207
23208
23209 \family sans
23210 \series bold
23211 \bar under
23212 Attention!
23213 \family default
23214 \series default
23215 \bar default
23216
23217 \begin_inset Quotes erd
23218 \end_inset
23219
23220 , add this to your document preamble:
23221 \end_layout
23222
23223 \begin_layout Standard
23224
23225 \series bold
23226
23227 \backslash
23228 let
23229 \backslash
23230 myMarginpar
23231 \backslash
23232 marginpar
23233 \newline
23234
23235 \backslash
23236 renewcommand{
23237 \backslash
23238 marginpar}[1]{
23239 \backslash
23240 myMarginpar{%
23241 \newline
23242
23243 \begin_inset ERT
23244 status collapsed
23245
23246 \begin_layout Standard
23247
23248
23249 \backslash
23250 hphantom{ }
23251 \end_layout
23252
23253 \end_inset
23254
23255
23256 \backslash
23257 hspace{0pt}
23258 \backslash
23259 textsf{
23260 \backslash
23261 textbf{
23262 \backslash
23263 underbar{Attention!}}}%
23264 \newline
23265
23266 \begin_inset ERT
23267 status collapsed
23268
23269 \begin_layout Standard
23270
23271
23272 \backslash
23273 hphantom{ }
23274 \end_layout
23275
23276 \end_inset
23277
23278
23279 \backslash
23280 vspace{1.5mm}
23281 \backslash
23282
23283 \backslash
23284 #1}}
23285 \end_layout
23286
23287 \begin_layout Standard
23288
23289 \family roman
23290 \series medium
23291 \begin_inset ERT
23292 status collapsed
23293
23294 \begin_layout Standard
23295
23296
23297 \backslash
23298 let
23299 \backslash
23300 myMarginpar
23301 \backslash
23302 marginpar
23303 \end_layout
23304
23305 \begin_layout Standard
23306
23307
23308 \backslash
23309 renewcommand{
23310 \backslash
23311 marginpar}[1]{
23312 \backslash
23313 myMarginpar{%
23314 \end_layout
23315
23316 \begin_layout Standard
23317
23318    
23319 \backslash
23320 textsf{
23321 \backslash
23322 textbf{
23323 \backslash
23324 underbar{Attention!}}}%
23325 \end_layout
23326
23327 \begin_layout Standard
23328
23329    
23330 \backslash
23331 vspace{1.5mm}
23332 \backslash
23333
23334 \backslash
23335 #1}}
23336 \end_layout
23337
23338 \end_inset
23339
23340
23341 \begin_inset Marginal
23342 status open
23343
23344 \begin_layout Standard
23345 This is a margin note with a defined heading.
23346 \end_layout
23347
23348 \end_inset
23349
23350
23351 \family default
23352 \series default
23353
23354 \begin_inset ERT
23355 status collapsed
23356
23357 \begin_layout Standard
23358
23359 [-1.5cm]
23360 \end_layout
23361
23362 \end_inset
23363
23364
23365 \family roman
23366 \series medium
23367
23368 \begin_inset ERT
23369 status collapsed
23370
23371 \begin_layout Standard
23372
23373
23374 \backslash
23375 renewcommand{
23376 \backslash
23377 marginpar}[1]{
23378 \backslash
23379 myMarginpar{#1}}
23380 \end_layout
23381
23382 \end_inset
23383
23384
23385 \family default
23386 \series default
23387
23388 \begin_inset Note Note
23389 status collapsed
23390
23391 \begin_layout Standard
23392 The margin note format is changed only for this example.
23393 \end_layout
23394
23395 \end_inset
23396
23397
23398 \end_layout
23399
23400 \begin_layout Standard
23401 \begin_inset ERT
23402 status collapsed
23403
23404 \begin_layout Standard
23405
23406
23407 \backslash
23408 else
23409 \end_layout
23410
23411 \end_inset
23412
23413
23414 \begin_inset Note Note
23415 status open
23416
23417 \begin_layout Standard
23418 The following will be displayed when the LaTeX-package 
23419 \series bold
23420 marginnote
23421 \series default
23422  is not installed:
23423 \end_layout
23424
23425 \end_inset
23426
23427
23428 \end_layout
23429
23430 \begin_layout Standard
23431 You need to install the LaTeX-package 
23432 \series bold
23433 marginnote
23434 \series default
23435  to see the following part of this section in the output.
23436 \end_layout
23437
23438 \begin_layout Standard
23439 \begin_inset ERT
23440 status collapsed
23441
23442 \begin_layout Standard
23443
23444
23445 \backslash
23446 fi
23447 \end_layout
23448
23449 \end_inset
23450
23451
23452 \end_layout
23453
23454 \begin_layout Chapter
23455 Boxes
23456 \end_layout
23457
23458 \begin_layout Section
23459 Introduction
23460 \begin_inset LatexCommand index
23461 name "Boxes ! Introduction"
23462
23463 \end_inset
23464
23465
23466 \end_layout
23467
23468 \begin_layout Standard
23469 Boxes are used to format a block of text.
23470  Boxes can be used to write documents with multiple languages, see section\InsetSpace ~
23471
23472 \begin_inset LatexCommand ref
23473 reference "sec:Minipages"
23474
23475 \end_inset
23476
23477 , to frame texts, see section\InsetSpace ~
23478
23479 \begin_inset LatexCommand ref
23480 reference "sec:Framed-Boxes"
23481
23482 \end_inset
23483
23484 , to prevent words to be hyphenated, see section\InsetSpace ~
23485
23486 \begin_inset LatexCommand ref
23487 reference "sec:Prevent-Hyphenation"
23488
23489 \end_inset
23490
23491 , to align text, see section\InsetSpace ~
23492
23493 \begin_inset LatexCommand ref
23494 reference "sub:Vertical-Alignment"
23495
23496 \end_inset
23497
23498 , or to set the background color of texts, see section\InsetSpace ~
23499
23500 \begin_inset LatexCommand ref
23501 reference "sec:Colored-Boxes"
23502
23503 \end_inset
23504
23505 .
23506 \end_layout
23507
23508 \begin_layout Standard
23509 Boxes can be inserted with the menu 
23510 \family sans
23511 Insert\SpecialChar \menuseparator
23512 Box
23513 \family default
23514 .
23515  A grey box with the label 
23516 \family sans
23517 Box (Minipage)
23518 \family default
23519
23520 \begin_inset Graphics
23521         filename clipart/BoxInsetDefaultQt4.png
23522         scale 85
23523
23524 \end_inset
23525
23526 , will be inserted.
23527  The box type can be specified by right-clicking on the box.
23528  The appearing box dialog offers the 
23529 \family sans
23530 Inner\InsetSpace ~
23531 Box
23532 \family default
23533  types 
23534 \family sans
23535 Parbox
23536 \family default
23537  and 
23538 \family sans
23539 Minipage
23540 \family default
23541 .
23542  The type 
23543 \family sans
23544 Minipage
23545 \family default
23546  is the default for new boxes and is explained in section\InsetSpace ~
23547
23548 \begin_inset LatexCommand ref
23549 reference "sec:Minipages"
23550
23551 \end_inset
23552
23553 ; the type 
23554 \family sans
23555 Parbox
23556 \family default
23557  is described in section\InsetSpace ~
23558
23559 \begin_inset LatexCommand ref
23560 reference "sec:Parboxes"
23561
23562 \end_inset
23563
23564 .
23565 \end_layout
23566
23567 \begin_layout Standard
23568 Boxes aren't numbered and can therefore not be referenced like floats or
23569  footnotes.
23570 \end_layout
23571
23572 \begin_layout Standard
23573 \begin_inset Note Greyedout
23574 status open
23575
23576 \begin_layout Standard
23577
23578 \series bold
23579 Note:
23580 \series default
23581  Due to a bug in LyX you have to insert a protected space behind a box when
23582  you want to separate in a line the box from the following text with a space.
23583 \end_layout
23584
23585 \end_inset
23586
23587
23588 \end_layout
23589
23590 \begin_layout Standard
23591 \begin_inset Note Greyedout
23592 status open
23593
23594 \begin_layout Standard
23595
23596 \series bold
23597 Note:
23598 \series default
23599  Boxes must not be the item in an 
23600 \family sans
23601 Itemize
23602 \family default
23603  or 
23604 \family sans
23605 Description
23606 \family default
23607  environment.
23608 \end_layout
23609
23610 \end_inset
23611
23612
23613 \end_layout
23614
23615 \begin_layout Standard
23616 \begin_inset Note Greyedout
23617 status open
23618
23619 \begin_layout Standard
23620
23621 \series bold
23622 Note:
23623 \series default
23624  For an unknown reason you can only set the 
23625 \family sans
23626 Inner\InsetSpace ~
23627 Box
23628 \family default
23629  type to 
23630 \family sans
23631 None
23632 \family default
23633  when you use a framed box.
23634  Boxes without an 
23635 \family sans
23636 Inner\InsetSpace ~
23637 Box
23638 \family default
23639  type and without frames are explained in section\InsetSpace ~
23640
23641 \begin_inset LatexCommand ref
23642 reference "sec:Prevent-Hyphenation"
23643
23644 \end_inset
23645
23646 .
23647 \end_layout
23648
23649 \end_inset
23650
23651
23652 \end_layout
23653
23654 \begin_layout Section
23655 Box Dialog
23656 \begin_inset LatexCommand label
23657 name "sec:Box-Dialog"
23658
23659 \end_inset
23660
23661
23662 \begin_inset LatexCommand index
23663 name "Boxes ! Box Dialog"
23664
23665 \end_inset
23666
23667
23668 \begin_inset LatexCommand index
23669 name "Boxes ! Alignment"
23670
23671 \end_inset
23672
23673
23674 \end_layout
23675
23676 \begin_layout Standard
23677 In the box dialog you can adjust the box geometry in the fields 
23678 \family sans
23679 Width
23680 \family default
23681  and 
23682 \family sans
23683 Height
23684 \family default
23685 .
23686  The available units for the geometry are explained in Table\InsetSpace ~
23687
23688 \begin_inset LatexCommand ref
23689 reference "tab:Units"
23690
23691 \end_inset
23692
23693 .
23694  The field 
23695 \family sans
23696 Heigth
23697 \family default
23698  offers the following additional sizes:
23699 \end_layout
23700
23701 \begin_layout Description
23702 Depth This is the plain text 
23703 \begin_inset Quotes eld
23704 \end_inset
23705
23706 height
23707 \begin_inset Quotes erd
23708 \end_inset
23709
23710 .
23711  It ignores the total depth when there are multiple text lines in the box:
23712 \newline
23713
23714 \newline
23715
23716 \newline
23717
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 "12col%"
23725 special "none"
23726 height "1in"
23727 height_special "depth"
23728 status collapsed
23729
23730 \begin_layout Standard
23731 \align center
23732 Box height set to 1\InsetSpace \thinspace{}
23733 Depth
23734 \end_layout
23735
23736 \end_inset
23737
23738
23739 \newline
23740
23741 \newline
23742
23743 \end_layout
23744
23745 \begin_layout Description
23746 Height This is the heigth of the text that is inside the box.
23747  A value of e.\InsetSpace \thinspace{}
23748 g.\InsetSpace ~
23749 2 for this size will set the box heigth to 2 times the text
23750  height: 
23751 \begin_inset Box Boxed
23752 position "c"
23753 hor_pos "c"
23754 has_inner_box 1
23755 inner_pos "c"
23756 use_parbox 0
23757 width "20col%"
23758 special "none"
23759 height "2in"
23760 height_special "height"
23761 status collapsed
23762
23763 \begin_layout Standard
23764 \align center
23765 Box height set to 2\InsetSpace \thinspace{}
23766 Height
23767 \end_layout
23768
23769 \end_inset
23770
23771
23772 \end_layout
23773
23774 \begin_layout Description
23775 Total\InsetSpace ~
23776 Height This is the Height\InsetSpace \thinspace{}
23777 +\InsetSpace \thinspace{}
23778 Depth: 
23779 \begin_inset Box Boxed
23780 position "c"
23781 hor_pos "c"
23782 has_inner_box 1
23783 inner_pos "c"
23784 use_parbox 0
23785 width "20col%"
23786 special "none"
23787 height "1in"
23788 height_special "totalheight"
23789 status collapsed
23790
23791 \begin_layout Standard
23792 \align center
23793 Box height set to 1\InsetSpace \thinspace{}
23794 Total\InsetSpace ~
23795 Height
23796 \end_layout
23797
23798 \end_inset
23799
23800
23801 \end_layout
23802
23803 \begin_layout Description
23804 Width This set the width of the box as heigth: 
23805 \begin_inset Box Boxed
23806 position "c"
23807 hor_pos "c"
23808 has_inner_box 1
23809 inner_pos "c"
23810 use_parbox 0
23811 width "12col%"
23812 special "none"
23813 height "1in"
23814 height_special "width"
23815 status collapsed
23816
23817 \begin_layout Standard
23818 \align center
23819 Box height set to 1\InsetSpace \thinspace{}
23820 Width
23821 \end_layout
23822
23823 \end_inset
23824
23825
23826 \end_layout
23827
23828 \begin_layout Standard
23829 \begin_inset VSpace bigskip
23830 \end_inset
23831
23832 When you have chosen an 
23833 \family sans
23834 Inner\InsetSpace ~
23835 Box
23836 \family default
23837 , the vertical box alignment can be:
23838 \end_layout
23839
23840 \begin_layout Description
23841 Top This is an example text line.
23842  
23843 \begin_inset Box Boxed
23844 position "t"
23845 hor_pos "c"
23846 has_inner_box 1
23847 inner_pos "c"
23848 use_parbox 0
23849 width "12col%"
23850 special "none"
23851 height "1in"
23852 height_special "totalheight"
23853 status collapsed
23854
23855 \begin_layout Standard
23856 \align center
23857 This box is top-aligned.
23858 \end_layout
23859
23860 \end_inset
23861
23862 \InsetSpace ~
23863 This is an example text line.
23864 \end_layout
23865
23866 \begin_layout Description
23867 Middle This is an example text line.
23868  
23869 \begin_inset Box Boxed
23870 position "c"
23871 hor_pos "c"
23872 has_inner_box 1
23873 inner_pos "c"
23874 use_parbox 0
23875 width "12col%"
23876 special "none"
23877 height "1in"
23878 height_special "totalheight"
23879 status collapsed
23880
23881 \begin_layout Standard
23882 \align center
23883 This box is middle-aligned.
23884 \end_layout
23885
23886 \end_inset
23887
23888 \InsetSpace ~
23889 This is an example text line.
23890 \end_layout
23891
23892 \begin_layout Description
23893 Bottom This is an example text line.
23894  
23895 \begin_inset Box Boxed
23896 position "b"
23897 hor_pos "c"
23898 has_inner_box 1
23899 inner_pos "c"
23900 use_parbox 0
23901 width "12col%"
23902 special "none"
23903 height "1in"
23904 height_special "totalheight"
23905 status collapsed
23906
23907 \begin_layout Standard
23908 \align center
23909 This box is bottom-aligned.
23910 \end_layout
23911
23912 \end_inset
23913
23914 \InsetSpace ~
23915 This is an example text line.
23916 \end_layout
23917
23918 \begin_layout Standard
23919 The horizontal box alignment can be set via LyX's paragraph dialog when
23920  you set the box into its own paragraph.
23921 \end_layout
23922
23923 \begin_layout Standard
23924 \begin_inset VSpace bigskip
23925 \end_inset
23926
23927 When you have chosen an 
23928 \family sans
23929 Inner\InsetSpace ~
23930 Box
23931 \family default
23932 , the box content can be vertical aligned to:
23933 \end_layout
23934
23935 \begin_layout Description
23936 top This is an example text line.
23937  
23938 \begin_inset Box Boxed
23939 position "c"
23940 hor_pos "c"
23941 has_inner_box 1
23942 inner_pos "t"
23943 use_parbox 0
23944 width "12col%"
23945 special "none"
23946 height "1.5in"
23947 height_special "totalheight"
23948 status collapsed
23949
23950 \begin_layout Standard
23951 \align center
23952 This box text is top-aligned.
23953 \end_layout
23954
23955 \end_inset
23956
23957 \InsetSpace ~
23958 This is an example text line.
23959 \end_layout
23960
23961 \begin_layout Description
23962 middle This is an example text line.
23963  
23964 \begin_inset Box Boxed
23965 position "c"
23966 hor_pos "c"
23967 has_inner_box 1
23968 inner_pos "c"
23969 use_parbox 0
23970 width "12col%"
23971 special "none"
23972 height "1.5in"
23973 height_special "totalheight"
23974 status collapsed
23975
23976 \begin_layout Standard
23977 \align center
23978 This box text is middle-aligned.
23979 \end_layout
23980
23981 \end_inset
23982
23983 \InsetSpace ~
23984 This is an example text line.
23985 \end_layout
23986
23987 \begin_layout Description
23988 bottom This is an example text line.
23989  
23990 \begin_inset Box Boxed
23991 position "c"
23992 hor_pos "c"
23993 has_inner_box 1
23994 inner_pos "b"
23995 use_parbox 0
23996 width "12col%"
23997 special "none"
23998 height "1.5in"
23999 height_special "totalheight"
24000 status collapsed
24001
24002 \begin_layout Standard
24003 \align center
24004 This box text is bottom-aligned.
24005 \end_layout
24006
24007 \end_inset
24008
24009 \InsetSpace ~
24010 This is an example text line.
24011 \end_layout
24012
24013 \begin_layout Description
24014 stretch This is an example text line.
24015  
24016 \begin_inset Box Boxed
24017 position "c"
24018 hor_pos "c"
24019 has_inner_box 1
24020 inner_pos "s"
24021 use_parbox 0
24022 width "12col%"
24023 special "none"
24024 height "1.5in"
24025 height_special "totalheight"
24026 status collapsed
24027
24028 \begin_layout Standard
24029 \align center
24030 This box
24031 \end_layout
24032
24033 \begin_layout Standard
24034 \align center
24035 text is
24036 \end_layout
24037
24038 \begin_layout Standard
24039 \align center
24040 stretched.
24041 \end_layout
24042
24043 \end_inset
24044
24045 \InsetSpace ~
24046 This is an example text line.
24047 \end_layout
24048
24049 \begin_layout Standard
24050 To stretch the box content, it must consist of more than one paragraph.
24051  In the example above every text line is in an own paragraph.
24052 \end_layout
24053
24054 \begin_layout Standard
24055 \begin_inset VSpace bigskip
24056 \end_inset
24057
24058 To align the box content horizontally you can use LyX's paragraph dialog
24059  when you have chosen an 
24060 \family sans
24061 Inner\InsetSpace ~
24062 Box
24063 \family default
24064 .
24065 \end_layout
24066
24067 \begin_layout Standard
24068 \align center
24069 \begin_inset Box Boxed
24070 position "c"
24071 hor_pos "c"
24072 has_inner_box 1
24073 inner_pos "s"
24074 use_parbox 0
24075 width "15col%"
24076 special "none"
24077 height "1.25in"
24078 height_special "totalheight"
24079 status collapsed
24080
24081 \begin_layout Standard
24082 \align left
24083 This box
24084 \end_layout
24085
24086 \begin_layout Standard
24087 \align center
24088 text is
24089 \end_layout
24090
24091 \begin_layout Standard
24092 \align right
24093 stretched.
24094 \end_layout
24095
24096 \end_inset
24097
24098
24099 \end_layout
24100
24101 \begin_layout Standard
24102 If you haven't set an 
24103 \family sans
24104 Inner\InsetSpace ~
24105 Box
24106 \family default
24107 , you can align the box content horizontally in the box dialog.
24108 \end_layout
24109
24110 \begin_layout Standard
24111 \align center
24112 \begin_inset Box Boxed
24113 position "c"
24114 hor_pos "s"
24115 has_inner_box 0
24116 inner_pos "s"
24117 use_parbox 0
24118 width "90col%"
24119 special "none"
24120 height "1.25in"
24121 height_special "totalheight"
24122 status collapsed
24123
24124 \begin_layout Standard
24125 \align left
24126 This box text is horizontally stretched.
24127 \end_layout
24128
24129 \end_inset
24130
24131
24132 \end_layout
24133
24134 \begin_layout Section
24135 Framed Boxes
24136 \begin_inset LatexCommand label
24137 name "sec:Framed-Boxes"
24138
24139 \end_inset
24140
24141
24142 \begin_inset LatexCommand index
24143 name "Boxes ! Frames"
24144
24145 \end_inset
24146
24147
24148 \end_layout
24149
24150 \begin_layout Standard
24151 The frame style of the box can be specified in the box-dialog in the drop-down
24152  list 
24153 \family sans
24154 Type
24155 \family default
24156 .
24157  The following frame types are possible:
24158 \end_layout
24159
24160 \begin_layout Description
24161 Rectangular\InsetSpace ~
24162 box This draws a rectangle frame around the box.
24163  The frame line thickness has the size of 
24164 \series bold
24165
24166 \backslash
24167 fboxrule
24168 \series default
24169 .
24170  
24171 \begin_inset Box Boxed
24172 position "c"
24173 hor_pos "c"
24174 has_inner_box 1
24175 inner_pos "c"
24176 use_parbox 0
24177 width "20col%"
24178 special "none"
24179 height "1in"
24180 height_special "totalheight"
24181 status collapsed
24182
24183 \begin_layout Standard
24184 \align center
24185 Rectangular box
24186 \end_layout
24187
24188 \end_inset
24189
24190
24191 \end_layout
24192
24193 \begin_layout Description
24194 Oval\InsetSpace ~
24195 box,\InsetSpace ~
24196 thin This draws an oval frame around the box.
24197  The frame line thickness has the size 0.4\InsetSpace \thinspace{}
24198 pt.
24199  
24200 \begin_inset Box ovalbox
24201 position "c"
24202 hor_pos "c"
24203 has_inner_box 1
24204 inner_pos "c"
24205 use_parbox 0
24206 width "20col%"
24207 special "none"
24208 height "1in"
24209 height_special "totalheight"
24210 status collapsed
24211
24212 \begin_layout Standard
24213 \align center
24214 Oval box, thin
24215 \end_layout
24216
24217 \end_inset
24218
24219
24220 \end_layout
24221
24222 \begin_layout Description
24223 Oval\InsetSpace ~
24224 box,\InsetSpace ~
24225 thick This draws an oval frame around the box.
24226  The frame line thickness has the size 0.8\InsetSpace \thinspace{}
24227 pt.
24228  
24229 \begin_inset Box Ovalbox
24230 position "c"
24231 hor_pos "c"
24232 has_inner_box 1
24233 inner_pos "c"
24234 use_parbox 0
24235 width "20col%"
24236 special "none"
24237 height "1in"
24238 height_special "totalheight"
24239 status collapsed
24240
24241 \begin_layout Standard
24242 \align center
24243 Oval box, thick
24244 \end_layout
24245
24246 \end_inset
24247
24248
24249 \end_layout
24250
24251 \begin_layout Description
24252 Shadow\InsetSpace ~
24253 box This draws a rectangle frame with a shadow around the box.
24254  The frame line thickness has the size of 
24255 \series bold
24256
24257 \backslash
24258 fboxrule
24259 \series default
24260 , the shadow has a width of 4\InsetSpace \thinspace{}
24261 pt.
24262  
24263 \begin_inset Box Shadowbox
24264 position "c"
24265 hor_pos "c"
24266 has_inner_box 1
24267 inner_pos "c"
24268 use_parbox 0
24269 width "20col%"
24270 special "none"
24271 height "1in"
24272 height_special "totalheight"
24273 status collapsed
24274
24275 \begin_layout Standard
24276 \align center
24277 Shadow box
24278 \end_layout
24279
24280 \end_inset
24281
24282
24283 \end_layout
24284
24285 \begin_layout Description
24286 Double\InsetSpace ~
24287 box This draws a double-line rectangle frame around the box.
24288  The line thickness of the inner frame is 0.75\InsetSpace \thinspace{}
24289
24290 \series bold
24291
24292 \backslash
24293 fboxrule
24294 \series default
24295 , the thickness of the outer frame is 1.5\InsetSpace \thinspace{}
24296
24297 \series bold
24298
24299 \backslash
24300 fboxrule
24301 \series default
24302 .
24303  The distance between the lines is 1.5\InsetSpace \thinspace{}
24304
24305 \series bold
24306
24307 \backslash
24308 fboxrule
24309 \series default
24310 \InsetSpace \thinspace{}
24311 +\InsetSpace \thinspace{}
24312 0.5\InsetSpace \thinspace{}
24313 pt.
24314  
24315 \begin_inset Box Doublebox
24316 position "c"
24317 hor_pos "c"
24318 has_inner_box 1
24319 inner_pos "c"
24320 use_parbox 0
24321 width "20col%"
24322 special "none"
24323 height "1in"
24324 height_special "totalheight"
24325 status collapsed
24326
24327 \begin_layout Standard
24328 \align center
24329 Double box
24330 \end_layout
24331
24332 \end_inset
24333
24334
24335 \end_layout
24336
24337 \begin_layout Standard
24338 \begin_inset VSpace bigskip
24339 \end_inset
24340
24341 LyX's box label will change to the used frame style when you set a frame.
24342  To be able to use the different frame styles, the LaTeX-package 
24343 \series bold
24344 fancybox
24345 \series default
24346
24347 \begin_inset LatexCommand index
24348 name "LaTeX-packages ! fancybox"
24349
24350 \end_inset
24351
24352  must be installed.
24353 \end_layout
24354
24355 \begin_layout Standard
24356 \begin_inset VSpace bigskip
24357 \end_inset
24358
24359 The default value for the size 
24360 \series bold
24361
24362 \backslash
24363 fboxrule
24364 \series default
24365  is 0.4\InsetSpace \thinspace{}
24366 pt.
24367  It can be changed with the following command in ERT to e.\InsetSpace \thinspace{}
24368 g.\InsetSpace ~
24369 2\InsetSpace \thinspace{}
24370 pt:
24371 \end_layout
24372
24373 \begin_layout Standard
24374
24375 \series bold
24376
24377 \backslash
24378 setlength{
24379 \backslash
24380 fboxrule}{2pt}
24381 \end_layout
24382
24383 \begin_layout Standard
24384 \begin_inset ERT
24385 status collapsed
24386
24387 \begin_layout Standard
24388
24389
24390 \backslash
24391 setlength{
24392 \backslash
24393 fboxrule}{2pt}
24394 \end_layout
24395
24396 \end_inset
24397
24398
24399 \begin_inset Box Boxed
24400 position "c"
24401 hor_pos "c"
24402 has_inner_box 1
24403 inner_pos "c"
24404 use_parbox 0
24405 width "25col%"
24406 special "none"
24407 height "1in"
24408 height_special "totalheight"
24409 status collapsed
24410
24411 \begin_layout Standard
24412 \align center
24413 Rectangular box with 
24414 \series bold
24415
24416 \backslash
24417 fboxrule
24418 \series default
24419 \InsetSpace \thinspace{}
24420 =\InsetSpace \thinspace{}
24421 2\InsetSpace \thinspace{}
24422 pt
24423 \end_layout
24424
24425 \end_inset
24426
24427
24428 \begin_inset ERT
24429 status collapsed
24430
24431 \begin_layout Standard
24432
24433
24434 \backslash
24435 setlength{
24436 \backslash
24437 fboxrule}{0.4pt}
24438 \end_layout
24439
24440 \end_inset
24441
24442
24443 \end_layout
24444
24445 \begin_layout Standard
24446 \begin_inset VSpace bigskip
24447 \end_inset
24448
24449 The space between the frame and the box content is for all frame styles
24450  by default 3\InsetSpace \thinspace{}
24451 pt.
24452  You can change it by setting the length 
24453 \series bold
24454
24455 \backslash
24456 fboxsep
24457 \series default
24458  to another value.
24459  For example the command
24460 \end_layout
24461
24462 \begin_layout Standard
24463
24464 \series bold
24465
24466 \backslash
24467 setlength{
24468 \backslash
24469 fboxsep}{10pt}
24470 \end_layout
24471
24472 \begin_layout Standard
24473 sets the value to 10\InsetSpace \thinspace{}
24474 pt, like for the following box:
24475 \end_layout
24476
24477 \begin_layout Standard
24478 \begin_inset ERT
24479 status collapsed
24480
24481 \begin_layout Standard
24482
24483
24484 \backslash
24485 setlength{
24486 \backslash
24487 fboxsep}{10pt}
24488 \end_layout
24489
24490 \end_inset
24491
24492
24493 \begin_inset Box Boxed
24494 position "c"
24495 hor_pos "c"
24496 has_inner_box 1
24497 inner_pos "c"
24498 use_parbox 0
24499 width "25col%"
24500 special "none"
24501 height "1in"
24502 height_special "totalheight"
24503 status collapsed
24504
24505 \begin_layout Standard
24506 \align center
24507 Rectangular box with 
24508 \series bold
24509
24510 \backslash
24511 fboxsep
24512 \series default
24513 \InsetSpace \thinspace{}
24514 =\InsetSpace \thinspace{}
24515 10\InsetSpace \thinspace{}
24516 pt
24517 \end_layout
24518
24519 \end_inset
24520
24521
24522 \begin_inset ERT
24523 status collapsed
24524
24525 \begin_layout Standard
24526
24527
24528 \backslash
24529 setlength{
24530 \backslash
24531 fboxsep}{3pt}
24532 \end_layout
24533
24534 \end_inset
24535
24536
24537 \end_layout
24538
24539 \begin_layout Standard
24540 \begin_inset VSpace bigskip
24541 \end_inset
24542
24543 The diameter of the round corners of the oval boxes can be set with the
24544  command 
24545 \series bold
24546
24547 \backslash
24548 cornersize
24549 \series default
24550 .
24551  The command
24552 \end_layout
24553
24554 \begin_layout Standard
24555
24556 \series bold
24557
24558 \backslash
24559 cornersize*{1cm}
24560 \end_layout
24561
24562 \begin_layout Standard
24563 sets the diameter to 1\InsetSpace \thinspace{}
24564 cm.
24565  The command
24566 \end_layout
24567
24568 \begin_layout Standard
24569
24570 \series bold
24571
24572 \backslash
24573 cornersize{num}
24574 \end_layout
24575
24576 \begin_layout Standard
24577 sets the diameter to 
24578 \family sans
24579 num\InsetSpace \thinspace{}
24580 ×\InsetSpace \thinspace{}
24581 minimum(width and heigth of box)
24582 \family default
24583 .
24584  The default is 
24585 \series bold
24586
24587 \backslash
24588 cornersize{0.5}
24589 \series default
24590 .
24591 \end_layout
24592
24593 \begin_layout Standard
24594 \begin_inset ERT
24595 status collapsed
24596
24597 \begin_layout Standard
24598
24599
24600 \backslash
24601 cornersize*{1.5cm}
24602 \end_layout
24603
24604 \end_inset
24605
24606
24607 \begin_inset Box Ovalbox
24608 position "c"
24609 hor_pos "c"
24610 has_inner_box 1
24611 inner_pos "c"
24612 use_parbox 0
24613 width "25col%"
24614 special "none"
24615 height "1in"
24616 height_special "totalheight"
24617 status collapsed
24618
24619 \begin_layout Standard
24620 \align center
24621 Oval box with 
24622 \series bold
24623
24624 \backslash
24625 cornersize
24626 \series default
24627 \InsetSpace \thinspace{}
24628 =\InsetSpace \thinspace{}
24629 1.5\InsetSpace \thinspace{}
24630 cm
24631 \end_layout
24632
24633 \end_inset
24634
24635
24636 \begin_inset ERT
24637 status collapsed
24638
24639 \begin_layout Standard
24640
24641
24642 \backslash
24643 cornersize{0.5}
24644 \end_layout
24645
24646 \end_inset
24647
24648
24649 \end_layout
24650
24651 \begin_layout Standard
24652 \begin_inset VSpace bigskip
24653 \end_inset
24654
24655 The size of the shadow can be adjusted by changing the length 
24656 \series bold
24657
24658 \backslash
24659 shadowsize
24660 \series default
24661 .
24662  It it set to 2\InsetSpace \thinspace{}
24663 pt for the following box by this command:
24664 \end_layout
24665
24666 \begin_layout Standard
24667
24668 \series bold
24669
24670 \backslash
24671 setlength{
24672 \backslash
24673 shadowsize}{2pt}
24674 \end_layout
24675
24676 \begin_layout Standard
24677 \begin_inset ERT
24678 status collapsed
24679
24680 \begin_layout Standard
24681
24682
24683 \backslash
24684 setlength{
24685 \backslash
24686 shadowsize}{2pt}
24687 \end_layout
24688
24689 \end_inset
24690
24691
24692 \begin_inset Box Shadowbox
24693 position "c"
24694 hor_pos "c"
24695 has_inner_box 1
24696 inner_pos "c"
24697 use_parbox 0
24698 width "25col%"
24699 special "none"
24700 height "1in"
24701 height_special "totalheight"
24702 status collapsed
24703
24704 \begin_layout Standard
24705 \align center
24706 Shadow box with 
24707 \series bold
24708
24709 \backslash
24710 shadowsize
24711 \series default
24712 \InsetSpace \thinspace{}
24713 =\InsetSpace \thinspace{}
24714 2\InsetSpace \thinspace{}
24715 pt
24716 \end_layout
24717
24718 \end_inset
24719
24720
24721 \begin_inset ERT
24722 status collapsed
24723
24724 \begin_layout Standard
24725
24726
24727 \backslash
24728 setlength{
24729 \backslash
24730 shadowsize}{4pt}
24731 \end_layout
24732
24733 \end_inset
24734
24735
24736 \end_layout
24737
24738 \begin_layout Standard
24739 \begin_inset VSpace bigskip
24740 \end_inset
24741
24742 Changed lengths and widths are valid for all boxes following the commands
24743  that change them.
24744 \end_layout
24745
24746 \begin_layout Section
24747 Minipages
24748 \begin_inset LatexCommand label
24749 name "sec:Minipages"
24750
24751 \end_inset
24752
24753
24754 \begin_inset LatexCommand index
24755 name "Boxes ! Minipages"
24756
24757 \end_inset
24758
24759
24760 \end_layout
24761
24762 \begin_layout Standard
24763 Minipages are treated by LaTeX as pages within pages and can therefore for
24764  example have their own footnotes.
24765 \end_layout
24766
24767 \begin_layout Standard
24768 Minipages are useful when you write documents with different languages.
24769 \end_layout
24770
24771 \begin_layout Standard
24772 Below are two example minipages side by side.
24773  Their width is set to 45\InsetSpace \thinspace{}
24774 col% and they are separated by a horizontal fill,
24775  that was inserted via the menu 
24776 \family sans
24777 Insert\SpecialChar \menuseparator
24778 Special\InsetSpace ~
24779 Formatting\SpecialChar \menuseparator
24780 Horizontal\InsetSpace ~
24781 Fill
24782 \family default
24783 .
24784 \end_layout
24785
24786 \begin_layout Standard
24787 \begin_inset Box Frameless
24788 position "t"
24789 hor_pos "c"
24790 has_inner_box 1
24791 inner_pos "c"
24792 use_parbox 0
24793 width "45col%"
24794 special "none"
24795 height "1in"
24796 height_special "totalheight"
24797 status open
24798
24799 \begin_layout Standard
24800
24801 \lang german
24802 Dies ist ein deutscher Text.
24803  Dies ist ein deutscher Text.
24804  Dies ist ein deutscher Text.
24805  Dies ist ein deutscher Text.
24806  Dies ist ein deutscher Text.
24807  Dies ist ein deutscher Text.
24808  Dies ist ein deutscher Text.
24809  Dies ist ein deutscher Text.
24810  Dies ist ein deutscher Text.
24811  Dies ist ein deutscher Text.
24812  Dies ist ein deutscher Text.
24813  Dies ist ein deutscher Text.
24814  Dies ist ein deutscher Text
24815 \begin_inset Foot
24816 status collapsed
24817
24818 \begin_layout Standard
24819
24820 \lang german
24821 Dies ist eine deutsche Fußnote.
24822 \end_layout
24823
24824 \end_inset
24825
24826 .
24827  Dies ist ein deutscher Text.
24828  Dies ist ein deutscher Text.
24829 \end_layout
24830
24831 \end_inset
24832
24833
24834 \hfill
24835
24836 \begin_inset Box Frameless
24837 position "t"
24838 hor_pos "c"
24839 has_inner_box 1
24840 inner_pos "c"
24841 use_parbox 0
24842 width "45col%"
24843 special "none"
24844 height "1in"
24845 height_special "totalheight"
24846 status open
24847
24848 \begin_layout Standard
24849 This is an English Text.
24850  This is an English Text.
24851  This is an English Text.
24852  This is an English Text.
24853  This is an English Text.
24854  This is an English Text.
24855  This is an English Text.
24856  This is an English Text.
24857  This is an English Text.
24858  This is an English Text.
24859  This is an English Text.
24860  This is an English Text.
24861  This is an English Text.
24862  This is an English Text.
24863  This is an English Text.
24864  This is an English Text.
24865 \begin_inset Foot
24866 status collapsed
24867
24868 \begin_layout Standard
24869 This is an English footnote.
24870 \end_layout
24871
24872 \end_inset
24873
24874  This is an English Text.
24875  
24876 \end_layout
24877
24878 \end_inset
24879
24880
24881 \end_layout
24882
24883 \begin_layout Standard
24884 \begin_inset VSpace bigskip
24885 \end_inset
24886
24887 Another application for minipages are footnotes within tables.
24888  Due to a LaTeX restriction footnotes within tables doesn't appear at the
24889  bottom of the current page.
24890  But when you put the table with the footnote to a minipage, the footnote
24891  will appear at its bottom, numbered with Latin letters.
24892  The footnote number is reset to 1 in every minipage but not outside the
24893  minipages.
24894 \end_layout
24895
24896 \begin_layout Standard
24897 The footnote of this table doesn't appear: 
24898 \begin_inset Tabular
24899 <lyxtabular version="3" rows="3" columns="4">
24900 <features>
24901 <column alignment="center" valignment="top" leftline="true" width="0pt">
24902 <column alignment="center" valignment="top" leftline="true" width="0pt">
24903 <column alignment="center" valignment="top" leftline="true" width="0pt">
24904 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
24905 <row topline="true">
24906 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24907 \begin_inset Text
24908
24909 \begin_layout Standard
24910 1
24911 \end_layout
24912
24913 \end_inset
24914 </cell>
24915 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24916 \begin_inset Text
24917
24918 \begin_layout Standard
24919 2
24920 \end_layout
24921
24922 \end_inset
24923 </cell>
24924 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24925 \begin_inset Text
24926
24927 \begin_layout Standard
24928 3
24929 \begin_inset Foot
24930 status collapsed
24931
24932 \begin_layout Standard
24933 This is a footnote within a table.
24934 \end_layout
24935
24936 \end_inset
24937
24938
24939 \end_layout
24940
24941 \end_inset
24942 </cell>
24943 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24944 \begin_inset Text
24945
24946 \begin_layout Standard
24947 4
24948 \end_layout
24949
24950 \end_inset
24951 </cell>
24952 </row>
24953 <row topline="true">
24954 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24955 \begin_inset Text
24956
24957 \begin_layout Standard
24958 a
24959 \end_layout
24960
24961 \end_inset
24962 </cell>
24963 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24964 \begin_inset Text
24965
24966 \begin_layout Standard
24967 b
24968 \end_layout
24969
24970 \end_inset
24971 </cell>
24972 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24973 \begin_inset Text
24974
24975 \begin_layout Standard
24976 c
24977 \end_layout
24978
24979 \end_inset
24980 </cell>
24981 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24982 \begin_inset Text
24983
24984 \begin_layout Standard
24985 d
24986 \end_layout
24987
24988 \end_inset
24989 </cell>
24990 </row>
24991 <row topline="true" bottomline="true">
24992 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24993 \begin_inset Text
24994
24995 \begin_layout Standard
24996 e
24997 \end_layout
24998
24999 \end_inset
25000 </cell>
25001 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25002 \begin_inset Text
25003
25004 \begin_layout Standard
25005 f
25006 \end_layout
25007
25008 \end_inset
25009 </cell>
25010 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25011 \begin_inset Text
25012
25013 \begin_layout Standard
25014 g
25015 \end_layout
25016
25017 \end_inset
25018 </cell>
25019 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25020 \begin_inset Text
25021
25022 \begin_layout Standard
25023 h
25024 \end_layout
25025
25026 \end_inset
25027 </cell>
25028 </row>
25029 </lyxtabular>
25030
25031 \end_inset
25032
25033
25034 \end_layout
25035
25036 \begin_layout Standard
25037 \align center
25038 \begin_inset Box Frameless
25039 position "t"
25040 hor_pos "c"
25041 has_inner_box 1
25042 inner_pos "c"
25043 use_parbox 0
25044 width "30col%"
25045 special "none"
25046 height "1in"
25047 height_special "totalheight"
25048 status open
25049
25050 \begin_layout Standard
25051 \align center
25052 \begin_inset Tabular
25053 <lyxtabular version="3" rows="3" columns="4">
25054 <features>
25055 <column alignment="center" valignment="top" leftline="true" width="0pt">
25056 <column alignment="center" valignment="top" leftline="true" width="0pt">
25057 <column alignment="center" valignment="top" leftline="true" width="0pt">
25058 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
25059 <row topline="true">
25060 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25061 \begin_inset Text
25062
25063 \begin_layout Standard
25064 1
25065 \end_layout
25066
25067 \end_inset
25068 </cell>
25069 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25070 \begin_inset Text
25071
25072 \begin_layout Standard
25073 2
25074 \end_layout
25075
25076 \end_inset
25077 </cell>
25078 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25079 \begin_inset Text
25080
25081 \begin_layout Standard
25082 3
25083 \begin_inset Foot
25084 status collapsed
25085
25086 \begin_layout Standard
25087 This is a footnote within a table.
25088 \end_layout
25089
25090 \end_inset
25091
25092
25093 \end_layout
25094
25095 \end_inset
25096 </cell>
25097 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25098 \begin_inset Text
25099
25100 \begin_layout Standard
25101 4
25102 \end_layout
25103
25104 \end_inset
25105 </cell>
25106 </row>
25107 <row topline="true">
25108 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25109 \begin_inset Text
25110
25111 \begin_layout Standard
25112 a
25113 \end_layout
25114
25115 \end_inset
25116 </cell>
25117 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25118 \begin_inset Text
25119
25120 \begin_layout Standard
25121 b
25122 \end_layout
25123
25124 \end_inset
25125 </cell>
25126 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25127 \begin_inset Text
25128
25129 \begin_layout Standard
25130 c
25131 \end_layout
25132
25133 \end_inset
25134 </cell>
25135 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25136 \begin_inset Text
25137
25138 \begin_layout Standard
25139 d
25140 \end_layout
25141
25142 \end_inset
25143 </cell>
25144 </row>
25145 <row topline="true" bottomline="true">
25146 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25147 \begin_inset Text
25148
25149 \begin_layout Standard
25150 e
25151 \end_layout
25152
25153 \end_inset
25154 </cell>
25155 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25156 \begin_inset Text
25157
25158 \begin_layout Standard
25159 f
25160 \end_layout
25161
25162 \end_inset
25163 </cell>
25164 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25165 \begin_inset Text
25166
25167 \begin_layout Standard
25168 g
25169 \end_layout
25170
25171 \end_inset
25172 </cell>
25173 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25174 \begin_inset Text
25175
25176 \begin_layout Standard
25177 h
25178 \end_layout
25179
25180 \end_inset
25181 </cell>
25182 </row>
25183 </lyxtabular>
25184
25185 \end_inset
25186
25187
25188 \end_layout
25189
25190 \end_inset
25191
25192
25193 \end_layout
25194
25195 \begin_layout Standard
25196 \begin_inset VSpace bigskip
25197 \end_inset
25198
25199 The document-wide paragraph settings are ignored within minipages.
25200  That means that there will be no space between paragraphs in minipages
25201  although you set it to e.\InsetSpace \thinspace{}
25202 g.\InsetSpace ~
25203
25204 \family sans
25205 MedSkip
25206 \family default
25207  in the document settings.
25208 \end_layout
25209
25210 \begin_layout Standard
25211 Minipages can also be used to set a background color for text parts, see
25212  section\InsetSpace ~
25213
25214 \begin_inset LatexCommand ref
25215 reference "sub:Color-for-Paragraphs"
25216
25217 \end_inset
25218
25219 .
25220 \end_layout
25221
25222 \begin_layout Standard
25223 \begin_inset Note Greyedout
25224 status open
25225
25226 \begin_layout Standard
25227
25228 \series bold
25229 Note:
25230 \series default
25231  You cannot have floats or margin notes inside minipages but minipages can
25232  be used inside tables, floats, and other boxes.
25233 \end_layout
25234
25235 \end_inset
25236
25237
25238 \end_layout
25239
25240 \begin_layout Section
25241 Parboxes
25242 \begin_inset LatexCommand label
25243 name "sec:Parboxes"
25244
25245 \end_inset
25246
25247
25248 \begin_inset LatexCommand index
25249 name "Boxes ! Parboxes"
25250
25251 \end_inset
25252
25253
25254 \end_layout
25255
25256 \begin_layout Standard
25257 Parboxes are very similar to minipages with the difference that they cannot
25258  have footnotes.
25259  The main difference to minipages is that minipages are in contrary to parboxes
25260  no real boxes but LaTeX-environments.
25261 \end_layout
25262
25263 \begin_layout Standard
25264 \align center
25265 \begin_inset Box Frameless
25266 position "t"
25267 hor_pos "c"
25268 has_inner_box 1
25269 inner_pos "t"
25270 use_parbox 1
25271 width "33col%"
25272 special "none"
25273 height "1in"
25274 height_special "totalheight"
25275 status collapsed
25276
25277 \begin_layout Standard
25278 This a text within a parbox.
25279  This a text within a parbox.
25280 \end_layout
25281
25282 \begin_layout Standard
25283 This footnote won't appear:
25284 \begin_inset Foot
25285 status collapsed
25286
25287 \begin_layout Standard
25288 This footnote is inside a parbox and will therefore not appear.
25289 \end_layout
25290
25291 \end_inset
25292
25293
25294 \end_layout
25295
25296 \end_inset
25297
25298
25299 \end_layout
25300
25301 \begin_layout Section
25302 Boxes for Words and Characters
25303 \begin_inset LatexCommand index
25304 name "Boxes ! for Characters"
25305
25306 \end_inset
25307
25308
25309 \end_layout
25310
25311 \begin_layout Subsection
25312 Prevent Hyphenation
25313 \begin_inset LatexCommand label
25314 name "sec:Prevent-Hyphenation"
25315
25316 \end_inset
25317
25318
25319 \begin_inset LatexCommand index
25320 name "Boxes ! to Prevent Hyphenation"
25321
25322 \end_inset
25323
25324
25325 \end_layout
25326
25327 \begin_layout Standard
25328 You can use a special kind of boxes to prevent words or text to be hyphenated.
25329 \newline
25330 Her
25331 e is an example text:
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 veryver
25338 ylongwords.
25339 \end_layout
25340
25341 \begin_layout Standard
25342 To prevent the hyphenation of the word 
25343 \begin_inset Quotes eld
25344 \end_inset
25345
25346 veryverylongwords
25347 \begin_inset Quotes erd
25348 \end_inset
25349
25350 , add the command
25351 \end_layout
25352
25353 \begin_layout Standard
25354
25355 \series bold
25356
25357 \backslash
25358 mbox{
25359 \end_layout
25360
25361 \begin_layout Standard
25362 in ERT before the word.
25363  Behind the word insert a closing brace 
25364 \begin_inset Quotes eld
25365 \end_inset
25366
25367
25368 \series bold
25369 }
25370 \series default
25371
25372 \begin_inset Quotes erd
25373 \end_inset
25374
25375  in ERT.
25376 \begin_inset ERT
25377 status collapsed
25378
25379 \begin_layout Standard
25380
25381
25382 \backslash
25383 pagebreak 
25384 \end_layout
25385
25386 \end_inset
25387
25388
25389 \end_layout
25390
25391 \begin_layout Standard
25392 This is the result:
25393 \end_layout
25394
25395 \begin_layout Standard
25396 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25397 g.\InsetSpace ~
25398
25399 \begin_inset ERT
25400 status collapsed
25401
25402 \begin_layout Standard
25403
25404
25405 \backslash
25406 mbox{
25407 \end_layout
25408
25409 \end_inset
25410
25411 veryverylongwords.
25412 \begin_inset ERT
25413 status collapsed
25414
25415 \begin_layout Standard
25416
25417 }
25418 \end_layout
25419
25420 \end_inset
25421
25422
25423 \end_layout
25424
25425 \begin_layout Standard
25426 Of course the word now protrudes over the side margin.
25427  To avoid this, add via the menu 
25428 \family sans
25429 Insert\SpecialChar \menuseparator
25430 Special\InsetSpace ~
25431 Formatting\SpecialChar \menuseparator
25432 Line\InsetSpace ~
25433 Break
25434 \family default
25435  (shortcut 
25436 \series bold
25437 Ctrl-Return
25438 \series default
25439 ) a line break before the word:
25440 \end_layout
25441
25442 \begin_layout Standard
25443 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25444 g.\InsetSpace ~
25445
25446 \newline
25447
25448 \begin_inset ERT
25449 status collapsed
25450
25451 \begin_layout Standard
25452
25453
25454 \backslash
25455 mbox{
25456 \end_layout
25457
25458 \end_inset
25459
25460 veryverylongwords.
25461 \begin_inset ERT
25462 status collapsed
25463
25464 \begin_layout Standard
25465
25466 }
25467 \end_layout
25468
25469 \end_inset
25470
25471
25472 \end_layout
25473
25474 \begin_layout Subsection
25475 Vertical Alignment
25476 \begin_inset LatexCommand label
25477 name "sub:Vertical-Alignment"
25478
25479 \end_inset
25480
25481
25482 \begin_inset LatexCommand index
25483 name "Boxes ! for Vertical Alignment"
25484
25485 \end_inset
25486
25487
25488 \begin_inset LatexCommand index
25489 name "Boxes ! Raiseboxes"
25490
25491 \end_inset
25492
25493
25494 \end_layout
25495
25496 \begin_layout Standard
25497 With the help of the command 
25498 \series bold
25499
25500 \backslash
25501 raisebox
25502 \series default
25503  you can align words, characters or other boxes vertically to the surrounding
25504  text.
25505  
25506 \series bold
25507
25508 \backslash
25509 raisebox
25510 \series default
25511  is used with the following scheme:
25512 \end_layout
25513
25514 \begin_layout Standard
25515
25516 \series bold
25517
25518 \backslash
25519 raisebox{lift}[height][depth]{box content}
25520 \end_layout
25521
25522 \begin_layout Standard
25523 The lift can be a positive value to raise the box or a negative value to
25524  lower the box.
25525 \end_layout
25526
25527 \begin_layout Standard
25528 To align for example the word 
25529 \begin_inset Quotes eld
25530 \end_inset
25531
25532 preventing
25533 \begin_inset Quotes erd
25534 \end_inset
25535
25536  so that the bottom of the 
25537 \begin_inset Quotes eld
25538 \end_inset
25539
25540 deepest
25541 \begin_inset Quotes erd
25542 \end_inset
25543
25544  character 
25545 \begin_inset Quotes eld
25546 \end_inset
25547
25548 p
25549 \begin_inset Quotes erd
25550 \end_inset
25551
25552  is at the baseline, insert the command
25553 \end_layout
25554
25555 \begin_layout Standard
25556
25557 \series bold
25558
25559 \backslash
25560 raisebox{
25561 \backslash
25562 depth}{
25563 \end_layout
25564
25565 \begin_layout Standard
25566 in ERT before the word.
25567  Behind the word insert a closing brace 
25568 \begin_inset Quotes eld
25569 \end_inset
25570
25571
25572 \series bold
25573 }
25574 \series default
25575
25576 \begin_inset Quotes erd
25577 \end_inset
25578
25579  in ERT.
25580 \newline
25581 This is the result:
25582 \end_layout
25583
25584 \begin_layout Standard
25585 This is a text line with the word 
25586 \begin_inset ERT
25587 status collapsed
25588
25589 \begin_layout Standard
25590
25591
25592 \backslash
25593 raisebox{
25594 \backslash
25595 depth}{
25596 \end_layout
25597
25598 \end_inset
25599
25600
25601 \begin_inset Quotes eld
25602 \end_inset
25603
25604 preventing
25605 \begin_inset Quotes erd
25606 \end_inset
25607
25608
25609 \begin_inset ERT
25610 status collapsed
25611
25612 \begin_layout Standard
25613
25614 }
25615 \end_layout
25616
25617 \end_inset
25618
25619  as raised word.
25620 \end_layout
25621
25622 \begin_layout Standard
25623 \begin_inset VSpace bigskip
25624 \end_inset
25625
25626 When you raise or lower characters in a line, the line distance will be
25627  spread:
25628 \end_layout
25629
25630 \begin_layout Standard
25631 This is a text line with the word 
25632 \begin_inset ERT
25633 status collapsed
25634
25635 \begin_layout Standard
25636
25637
25638 \backslash
25639 raisebox{-
25640 \backslash
25641 depth}{
25642 \end_layout
25643
25644 \end_inset
25645
25646
25647 \begin_inset Quotes eld
25648 \end_inset
25649
25650 preventing
25651 \begin_inset Quotes erd
25652 \end_inset
25653
25654
25655 \begin_inset ERT
25656 status collapsed
25657
25658 \begin_layout Standard
25659
25660 }
25661 \end_layout
25662
25663 \end_inset
25664
25665  as lowered word.
25666 \newline
25667 This is a text line with the word 
25668 \begin_inset ERT
25669 status collapsed
25670
25671 \begin_layout Standard
25672
25673
25674 \backslash
25675 raisebox{0.5cm}{
25676 \end_layout
25677
25678 \end_inset
25679
25680
25681 \begin_inset Quotes eld
25682 \end_inset
25683
25684 testing
25685 \begin_inset Quotes erd
25686 \end_inset
25687
25688
25689 \begin_inset ERT
25690 status collapsed
25691
25692 \begin_layout Standard
25693
25694 }
25695 \end_layout
25696
25697 \end_inset
25698
25699  as raised word.
25700 \end_layout
25701
25702 \begin_layout Standard
25703 If you want to prevent this for a certain reason, set the box height to
25704  a zero value.
25705  For example use
25706 \end_layout
25707
25708 \begin_layout Standard
25709
25710 \series bold
25711
25712 \backslash
25713 raisebox{-
25714 \backslash
25715 depth}[0pt]{
25716 \end_layout
25717
25718 \begin_layout Standard
25719 This is a text line with the word 
25720 \begin_inset ERT
25721 status collapsed
25722
25723 \begin_layout Standard
25724
25725
25726 \backslash
25727 raisebox{-
25728 \backslash
25729 depth}[0pt]{
25730 \end_layout
25731
25732 \end_inset
25733
25734
25735 \begin_inset Quotes eld
25736 \end_inset
25737
25738 preventing
25739 \begin_inset Quotes erd
25740 \end_inset
25741
25742
25743 \begin_inset ERT
25744 status collapsed
25745
25746 \begin_layout Standard
25747
25748 }
25749 \end_layout
25750
25751 \end_inset
25752
25753  as lowered word.
25754 \newline
25755 This is a text line with the word 
25756 \begin_inset ERT
25757 status collapsed
25758
25759 \begin_layout Standard
25760
25761
25762 \backslash
25763 raisebox{0.5cm}[0pt]{
25764 \end_layout
25765
25766 \end_inset
25767
25768
25769 \begin_inset Quotes eld
25770 \end_inset
25771
25772 testing
25773 \begin_inset Quotes erd
25774 \end_inset
25775
25776
25777 \begin_inset ERT
25778 status collapsed
25779
25780 \begin_layout Standard
25781
25782 }
25783 \end_layout
25784
25785 \end_inset
25786
25787  as raised word.
25788 \end_layout
25789
25790 \begin_layout Section
25791 Colored Boxes
25792 \begin_inset LatexCommand label
25793 name "sec:Colored-Boxes"
25794
25795 \end_inset
25796
25797
25798 \begin_inset LatexCommand index
25799 name "Boxes ! Color"
25800
25801 \end_inset
25802
25803
25804 \end_layout
25805
25806 \begin_layout Subsection
25807 Color for Text
25808 \begin_inset LatexCommand index
25809 name "Color ! for Text"
25810
25811 \end_inset
25812
25813
25814 \end_layout
25815
25816 \begin_layout Standard
25817 To color the background of text the text must be put into a so called colorbox.
25818  This requires that the LaTeX-package 
25819 \series bold
25820 color
25821 \series default
25822
25823 \begin_inset LatexCommand index
25824 name "LaTeX-packages ! color"
25825
25826 \end_inset
25827
25828  is loaded in the document preamble with the command
25829 \end_layout
25830
25831 \begin_layout Standard
25832
25833 \series bold
25834
25835 \backslash
25836 @ifundef\SpecialChar \textcompwordmark{}
25837 ined{textcolor}
25838 \newline
25839
25840 \begin_inset ERT
25841 status collapsed
25842
25843 \begin_layout Standard
25844
25845
25846 \backslash
25847 hphantom{ }
25848 \end_layout
25849
25850 \end_inset
25851
25852 {
25853 \backslash
25854 usepackage{color}}{}
25855 \end_layout
25856
25857 \begin_layout Standard
25858 The package 
25859 \series bold
25860 color
25861 \series default
25862  will be loaded automatically by LyX when you color text
25863 \begin_inset Foot
25864 status collapsed
25865
25866 \begin_layout Standard
25867 To avoid that it is loaded twice the command 
25868 \series bold
25869
25870 \backslash
25871 @ifundef\SpecialChar \textcompwordmark{}
25872 ined
25873 \series default
25874  is used.
25875 \end_layout
25876
25877 \end_inset
25878
25879 .
25880 \end_layout
25881
25882 \begin_layout Standard
25883 \begin_inset VSpace medskip
25884 \end_inset
25885
25886 Colorboxes are created with the command 
25887 \series bold
25888
25889 \backslash
25890 colorbox
25891 \series default
25892 .
25893  This will be used with the following scheme:
25894 \end_layout
25895
25896 \begin_layout Standard
25897
25898 \series bold
25899
25900 \backslash
25901 colorbox{color}{box content}
25902 \end_layout
25903
25904 \begin_layout Standard
25905 The box content can also be a box and colorboxes can also be within other
25906  boxes.
25907 \end_layout
25908
25909 \begin_layout Standard
25910 The following colors are predefined:
25911 \newline
25912
25913 \family sans
25914 black
25915 \family default
25916
25917 \family sans
25918 blue
25919 \family default
25920
25921 \family sans
25922 cyan
25923 \family default
25924 \series bold
25925 ,
25926 \series default
25927  
25928 \family sans
25929 green
25930 \family default
25931
25932 \family sans
25933 magenta
25934 \family default
25935
25936 \family sans
25937 red
25938 \family default
25939
25940 \family sans
25941 white
25942 \family default
25943 , and 
25944 \family sans
25945 yellow
25946 \family default
25947 .
25948 \newline
25949 You can also define your own color as described in section\InsetSpace ~
25950
25951 \begin_inset LatexCommand ref
25952 reference "sec:Colored-Tables"
25953
25954 \end_inset
25955
25956 .
25957 \end_layout
25958
25959 \begin_layout Standard
25960 To have e.\InsetSpace \thinspace{}
25961 g.\InsetSpace ~
25962 a red background for a word, insert the command
25963 \end_layout
25964
25965 \begin_layout Standard
25966
25967 \series bold
25968
25969 \backslash
25970 colorbox{red}{
25971 \end_layout
25972
25973 \begin_layout Standard
25974 before the word in ERT.
25975  Behind the word insert a closing brace 
25976 \begin_inset Quotes eld
25977 \end_inset
25978
25979
25980 \series bold
25981 }
25982 \series default
25983
25984 \begin_inset Quotes erd
25985 \end_inset
25986
25987  in ERT.
25988 \newline
25989 This is the result:
25990 \end_layout
25991
25992 \begin_layout Standard
25993 This is a line where the word 
25994 \begin_inset ERT
25995 status collapsed
25996
25997 \begin_layout Standard
25998
25999
26000 \backslash
26001 colorbox{red}{
26002 \end_layout
26003
26004 \end_inset
26005
26006
26007 \begin_inset Quotes eld
26008 \end_inset
26009
26010 Attention!
26011 \begin_inset Quotes erd
26012 \end_inset
26013
26014
26015 \begin_inset ERT
26016 status collapsed
26017
26018 \begin_layout Standard
26019
26020 }
26021 \end_layout
26022
26023 \end_inset
26024
26025  has a red background.
26026 \end_layout
26027
26028 \begin_layout Standard
26029 \begin_inset VSpace bigskip
26030 \end_inset
26031
26032 If you would have the box frame in a different color, you can use the command
26033  
26034 \series bold
26035
26036 \backslash
26037 fcolorbox
26038 \series default
26039  with the following scheme:
26040 \end_layout
26041
26042 \begin_layout Standard
26043
26044 \series bold
26045
26046 \backslash
26047 fcolorbox{frame color}{box color}{box content}
26048 \end_layout
26049
26050 \begin_layout Standard
26051
26052 \series bold
26053
26054 \backslash
26055 fcolorbox
26056 \series default
26057  is an extension to 
26058 \series bold
26059
26060 \backslash
26061 colorbox
26062 \series default
26063 .
26064  The frame thickness and the space between the frame and the box content
26065  can be adjusted with the lengths 
26066 \series bold
26067
26068 \backslash
26069 fboxrule
26070 \series default
26071  and 
26072 \series bold
26073
26074 \backslash
26075 fboxsep
26076 \series default
26077 , respectively, as described in section\InsetSpace ~
26078
26079 \begin_inset LatexCommand ref
26080 reference "sec:Framed-Boxes"
26081
26082 \end_inset
26083
26084 .
26085 \end_layout
26086
26087 \begin_layout Standard
26088 For the following example the command
26089 \end_layout
26090
26091 \begin_layout Standard
26092
26093 \series bold
26094
26095 \backslash
26096 fcolorbox{cyan}{magenta}{
26097 \end_layout
26098
26099 \begin_layout Standard
26100 was used.
26101 \end_layout
26102
26103 \begin_layout Standard
26104 Here is an example where the frame line thickness was set to 1\InsetSpace \thinspace{}
26105 mm:
26106 \newline
26107
26108 \begin_inset ERT
26109 status collapsed
26110
26111 \begin_layout Standard
26112
26113
26114 \backslash
26115 fboxrule 1mm 
26116 \backslash
26117 fboxsep 1mm
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 fcolorbox{cyan}{magenta}{
26131 \end_layout
26132
26133 \end_inset
26134
26135 This is text within a colored, framed box.
26136 \begin_inset ERT
26137 status collapsed
26138
26139 \begin_layout Standard
26140
26141 }
26142 \end_layout
26143
26144 \end_inset
26145
26146
26147 \end_layout
26148
26149 \begin_layout Standard
26150 \begin_inset VSpace bigskip
26151 \end_inset
26152
26153 Of course you can also have colored text inside a colorbox:
26154 \newline
26155
26156 \begin_inset ERT
26157 status collapsed
26158
26159 \begin_layout Standard
26160
26161
26162 \backslash
26163 fcolorbox{cyan}{magenta}{
26164 \end_layout
26165
26166 \end_inset
26167
26168
26169 \color yellow
26170 This is colored text within a colored, framed box.
26171 \color none
26172
26173 \begin_inset ERT
26174 status collapsed
26175
26176 \begin_layout Standard
26177
26178 }
26179 \end_layout
26180
26181 \end_inset
26182
26183
26184 \begin_inset ERT
26185 status collapsed
26186
26187 \begin_layout Standard
26188
26189
26190 \backslash
26191 fboxrule 0.4pt 
26192 \backslash
26193 fboxsep 3pt
26194 \end_layout
26195
26196 \end_inset
26197
26198
26199 \end_layout
26200
26201 \begin_layout Standard
26202
26203 \series bold
26204 \begin_inset VSpace medskip
26205 \end_inset
26206
26207
26208 \end_layout
26209
26210 \begin_layout Standard
26211 \begin_inset Note Greyedout
26212 status open
26213
26214 \begin_layout Standard
26215
26216 \series bold
26217 Note:
26218 \series default
26219  Text in colorboxes cannot have line breaks.
26220  To color multiple text lines or paragraphs, use a box inside a colorbox
26221  as described in the following.
26222 \end_layout
26223
26224 \end_inset
26225
26226
26227 \end_layout
26228
26229 \begin_layout Subsection
26230 Color for Paragraphs
26231 \begin_inset LatexCommand label
26232 name "sub:Color-for-Paragraphs"
26233
26234 \end_inset
26235
26236
26237 \begin_inset LatexCommand index
26238 name "Color ! for Paragraphs"
26239
26240 \end_inset
26241
26242
26243 \end_layout
26244
26245 \begin_layout Standard
26246 To set the background color for more than one text line, put the text into
26247  a minipage.
26248  Before the minipage insert the 
26249 \series bold
26250
26251 \backslash
26252 colorbox
26253 \series default
26254  command
26255 \end_layout
26256
26257 \begin_layout Standard
26258
26259 \series bold
26260
26261 \backslash
26262 colorbox{color}{
26263 \end_layout
26264
26265 \begin_layout Standard
26266 in ERT.
26267  Behind the minipage insert a closing brace 
26268 \begin_inset Quotes eld
26269 \end_inset
26270
26271
26272 \series bold
26273 }
26274 \series default
26275
26276 \begin_inset Quotes erd
26277 \end_inset
26278
26279  in ERT.
26280 \end_layout
26281
26282 \begin_layout Standard
26283 \begin_inset ERT
26284 status collapsed
26285
26286 \begin_layout Standard
26287
26288
26289 \backslash
26290 colorbox{lightgrey}{
26291 \end_layout
26292
26293 \end_inset
26294
26295
26296 \begin_inset Box Frameless
26297 position "t"
26298 hor_pos "c"
26299 has_inner_box 1
26300 inner_pos "t"
26301 use_parbox 0
26302 width "100col%"
26303 special "none"
26304 height "1in"
26305 height_special "totalheight"
26306 status collapsed
26307
26308 \begin_layout Standard
26309 This is text with background color.
26310  This is text with background color.
26311 \end_layout
26312
26313 \begin_layout Standard
26314 \begin_inset VSpace defskip
26315 \end_inset
26316
26317 The text can have footnotes
26318 \begin_inset Foot
26319 status collapsed
26320
26321 \begin_layout Standard
26322 Another example footnote
26323 \end_layout
26324
26325 \end_inset
26326
26327  and can include tables and figures.
26328 \end_layout
26329
26330 \begin_layout Standard
26331 \align center
26332 \begin_inset Tabular
26333 <lyxtabular version="3" rows="3" columns="3">
26334 <features>
26335 <column alignment="center" valignment="top" leftline="true" width="0">
26336 <column alignment="center" valignment="top" leftline="true" width="0">
26337 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
26338 <row topline="true">
26339 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26340 \begin_inset Text
26341
26342 \begin_layout Standard
26343 a
26344 \end_layout
26345
26346 \end_inset
26347 </cell>
26348 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26349 \begin_inset Text
26350
26351 \begin_layout Standard
26352 !
26353 \end_layout
26354
26355 \end_inset
26356 </cell>
26357 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26358 \begin_inset Text
26359
26360 \begin_layout Standard
26361 3
26362 \end_layout
26363
26364 \end_inset
26365 </cell>
26366 </row>
26367 <row topline="true">
26368 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26369 \begin_inset Text
26370
26371 \begin_layout Standard
26372 <
26373 \end_layout
26374
26375 \end_inset
26376 </cell>
26377 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26378 \begin_inset Text
26379
26380 \begin_layout Standard
26381 b2
26382 \begin_inset Quotes erd
26383 \end_inset
26384
26385 |
26386 \end_layout
26387
26388 \end_inset
26389 </cell>
26390 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26391 \begin_inset Text
26392
26393 \begin_layout Standard
26394 >
26395 \end_layout
26396
26397 \end_inset
26398 </cell>
26399 </row>
26400 <row topline="true" bottomline="true">
26401 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26402 \begin_inset Text
26403
26404 \begin_layout Standard
26405 1
26406 \end_layout
26407
26408 \end_inset
26409 </cell>
26410 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26411 \begin_inset Text
26412
26413 \begin_layout Standard
26414 §
26415 \end_layout
26416
26417 \end_inset
26418 </cell>
26419 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26420 \begin_inset Text
26421
26422 \begin_layout Standard
26423 c
26424 \end_layout
26425
26426 \end_inset
26427 </cell>
26428 </row>
26429 </lyxtabular>
26430
26431 \end_inset
26432
26433
26434 \end_layout
26435
26436 \end_inset
26437
26438
26439 \begin_inset ERT
26440 status collapsed
26441
26442 \begin_layout Standard
26443
26444 }
26445 \end_layout
26446
26447 \end_inset
26448
26449
26450 \end_layout
26451
26452 \begin_layout Section
26453 URLs (Uniform Resource Locators)
26454 \begin_inset LatexCommand index
26455 name "URLs"
26456
26457 \end_inset
26458
26459
26460 \end_layout
26461
26462 \begin_layout Standard
26463 Links to web pages or email addresses can be inserted via the menu 
26464 \family sans
26465 Insert\SpecialChar \menuseparator
26466 URL
26467 \family default
26468 .
26469  The appearing URL dialog has two fields; the 
26470 \family sans
26471 URL
26472 \family default
26473  field and the 
26474 \family sans
26475 Name
26476 \family default
26477  field for the URL description, which will be typeset as plain text immediately
26478  before the URL.
26479 \end_layout
26480
26481 \begin_layout Standard
26482 Here is an example URL: 
26483 \begin_inset LatexCommand url
26484 name "LyX's homepage"
26485 target "http://www.lyx.org"
26486
26487 \end_inset
26488
26489
26490 \end_layout
26491
26492 \begin_layout Standard
26493 The option 
26494 \family sans
26495 Generate\InsetSpace ~
26496 hyperlink
26497 \family default
26498  in the URL dialog has only an affect when you export your document to the
26499  format 
26500 \begin_inset Quotes eld
26501 \end_inset
26502
26503
26504 \family sans
26505 LinuxDoc
26506 \family default
26507
26508 \begin_inset Quotes erd
26509 \end_inset
26510
26511 .
26512 \end_layout
26513
26514 \begin_layout Standard
26515 You cannot change the style of the link text.
26516  The text of the 
26517 \family sans
26518 Name
26519 \family default
26520  field will have the default text style of the document while the text of
26521  the 
26522 \family sans
26523 URL
26524 \family default
26525  field will have the style 
26526 \begin_inset Quotes eld
26527 \end_inset
26528
26529
26530 \family sans
26531 Typewriter
26532 \family default
26533
26534 \begin_inset Quotes erd
26535 \end_inset
26536
26537 .
26538 \end_layout
26539
26540 \begin_layout Standard
26541 When you use the LaTeX-package 
26542 \series bold
26543 hyperref
26544 \series default
26545
26546 \begin_inset LatexCommand index
26547 name "LaTeX-packages ! hyperref"
26548
26549 \end_inset
26550
26551  to link cross-references in the output, URLs will automatically become
26552  clickable hyperlinks in DVI and PDF-output.
26553 \end_layout
26554
26555 \begin_layout Standard
26556 \begin_inset Note Greyedout
26557 status open
26558
26559 \begin_layout Standard
26560
26561 \series bold
26562 Note:
26563 \series default
26564  When you use the following characters: "%", "#", "^", you have to write
26565  them with a preceding backslash, e.\InsetSpace \thinspace{}
26566 g.\InsetSpace ~
26567
26568 \begin_inset Quotes eld
26569 \end_inset
26570
26571
26572 \backslash
26573 #
26574 \begin_inset Quotes erd
26575 \end_inset
26576
26577 .
26578  URLs must not end with a backslash.
26579 \end_layout
26580
26581 \end_inset
26582
26583
26584 \end_layout
26585
26586 \begin_layout Standard
26587 \begin_inset VSpace bigskip
26588 \end_inset
26589
26590 To create real hyperlinks without the force to write the link location to
26591  the text, you can use the command
26592 \end_layout
26593
26594 \begin_layout Standard
26595
26596 \series bold
26597
26598 \backslash
26599 href{link location}{link text}
26600 \end_layout
26601
26602 \begin_layout Standard
26603 in ERT.
26604  To get for example a link to LyX's web page, write the command
26605 \end_layout
26606
26607 \begin_layout Standard
26608
26609 \series bold
26610
26611 \backslash
26612 href{http://www.lyx.org}{
26613 \end_layout
26614
26615 \begin_layout Standard
26616 in ERT.
26617  Insert after the command the link text 
26618 \begin_inset Quotes eld
26619 \end_inset
26620
26621 LyX's homepage
26622 \begin_inset Quotes erd
26623 \end_inset
26624
26625  as normal text followed by a closing brace 
26626 \begin_inset Quotes eld
26627 \end_inset
26628
26629
26630 \series bold
26631 }
26632 \series default
26633
26634 \begin_inset Quotes erd
26635 \end_inset
26636
26637  in ERT.
26638  This is the result: 
26639 \begin_inset ERT
26640 status collapsed
26641
26642 \begin_layout Standard
26643
26644
26645 \backslash
26646 href{http://www.lyx.org}{
26647 \end_layout
26648
26649 \end_inset
26650
26651 LyX's homepage
26652 \begin_inset ERT
26653 status collapsed
26654
26655 \begin_layout Standard
26656
26657 }
26658 \end_layout
26659
26660 \end_inset
26661
26662
26663 \end_layout
26664
26665 \begin_layout Standard
26666 To link to email addresses, add the prefix 
26667 \begin_inset Quotes eld
26668 \end_inset
26669
26670
26671 \family sans
26672 mailto:
26673 \family default
26674
26675 \begin_inset Quotes erd
26676 \end_inset
26677
26678  to the link location:
26679 \newline
26680 Email to 
26681 \begin_inset ERT
26682 status collapsed
26683
26684 \begin_layout Standard
26685
26686
26687 \backslash
26688 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's documentation}{
26689 \end_layout
26690
26691 \end_inset
26692
26693 lyx-docs mailing list
26694 \begin_inset ERT
26695 status collapsed
26696
26697 \begin_layout Standard
26698
26699 }
26700 \end_layout
26701
26702 \end_inset
26703
26704 .
26705 \end_layout
26706
26707 \begin_layout Standard
26708 Using 
26709 \series bold
26710
26711 \backslash
26712 href
26713 \series default
26714  instead of LyX's URL box has the advantage that you can specify the text
26715  style of the link text like for all other text parts.
26716  You can therefore set hyphenation points and forced linebreaks to have
26717  long link text broken at the page margin.
26718  You are furthermore able to change the text style for all URLs in your
26719  document with an option in 
26720 \series bold
26721 hyperref
26722 \series default
26723 's load command and the restrictions mentioned above doesn't apply for 
26724 \series bold
26725
26726 \backslash
26727 href
26728 \series default
26729 .
26730 \end_layout
26731
26732 \begin_layout Chapter
26733 External Stuff
26734 \begin_inset LatexCommand index
26735 name "External Stuff"
26736
26737 \end_inset
26738
26739
26740 \end_layout
26741
26742 \begin_layout Standard
26743 With the menu 
26744 \family sans
26745 Insert\SpecialChar \menuseparator
26746 File
26747 \family default
26748  you can insert external material to your document.
26749  This can be:
26750 \end_layout
26751
26752 \begin_layout Description
26753 LyX\InsetSpace ~
26754 Document Another LyX document; its content is directly inserted to your
26755  document.
26756 \end_layout
26757
26758 \begin_layout Description
26759 Plain\InsetSpace ~
26760 Text A text document; every of its text lines is inserted to your document
26761  as own paragraph.
26762 \end_layout
26763
26764 \begin_layout Description
26765 Plain\InsetSpace ~
26766 Text,\InsetSpace ~
26767 Join\InsetSpace ~
26768 Lines A text document; its text lines are inserted as they
26769  are.
26770  Empty text lines creates a new paragraph in your document.
26771 \end_layout
26772
26773 \begin_layout Description
26774 External\InsetSpace ~
26775 Material Files in various formats.
26776 \end_layout
26777
26778 \begin_layout Description
26779 Child\InsetSpace ~
26780 Document LyX or LaTeX-documents.
26781 \end_layout
26782
26783 \begin_layout Section
26784 External Material
26785 \begin_inset LatexCommand index
26786 name "External Stuff ! External Material"
26787
26788 \end_inset
26789
26790
26791 \end_layout
26792
26793 \begin_layout Standard
26794 The external material feature allows you to insert files to your document
26795  without converting them previously to a format that can be read by the
26796  document output format because LyX takes care of needed conversions.
26797  This is similar to images that can be inserted in various image formats
26798  to LyX documents.
26799 \end_layout
26800
26801 \begin_layout Standard
26802 External material can be inserted via the 
26803 \family sans
26804 External Material
26805 \family default
26806  dialog that is accessible with the menu 
26807 \family sans
26808 Insert\SpecialChar \menuseparator
26809 File\SpecialChar \menuseparator
26810 External\InsetSpace ~
26811 Material
26812 \family default
26813 .
26814  Currently the following file types (
26815 \family sans
26816 Templates
26817 \family default
26818 ) are allowed:
26819 \end_layout
26820
26821 \begin_layout Description
26822 ChessDiagram This template supports chess position diagrams made with the
26823  program 
26824 \begin_inset ERT
26825 status collapsed
26826
26827 \begin_layout Standard
26828
26829
26830 \backslash
26831 href{http://en.wikipedia.org/wiki/XBoard}{
26832 \end_layout
26833
26834 \end_inset
26835
26836
26837 \series bold
26838 XBoard
26839 \series default
26840
26841 \begin_inset ERT
26842 status collapsed
26843
26844 \begin_layout Standard
26845
26846 }
26847 \end_layout
26848
26849 \end_inset
26850
26851 .
26852 \end_layout
26853
26854 \begin_layout Description
26855 Date This inserts the date in the form 
26856 \emph on
26857 Date-Month-Year
26858 \emph default
26859 .
26860  This is a date inserted as external material: 
26861 \begin_inset External
26862         template Date
26863         filename .
26864
26865 \end_inset
26866
26867
26868 \newline
26869 The date is not shown within LyX, only in the output.
26870  There are two other methods of inserting a date, via menu 
26871 \family sans
26872 Insert\SpecialChar \menuseparator
26873 Date
26874 \family default
26875  and with the LaTeX command 
26876 \series bold
26877
26878 \backslash
26879 today
26880 \series default
26881  as ERT.
26882  The different methods are compared in Table\InsetSpace ~
26883
26884 \begin_inset LatexCommand ref
26885 reference "tab:Comparison-of-the"
26886
26887 \end_inset
26888
26889 .
26890 \end_layout
26891
26892 \begin_layout Description
26893 LilyPond This template is used for music notation typeset with the program
26894 \begin_inset ERT
26895 status collapsed
26896
26897 \begin_layout Standard
26898
26899
26900 \backslash
26901 linebreak 
26902 \end_layout
26903
26904 \end_inset
26905
26906
26907 \begin_inset ERT
26908 status collapsed
26909
26910 \begin_layout Standard
26911
26912
26913 \backslash
26914 href{http://en.wikipedia.org/wiki/LilyPond}{
26915 \end_layout
26916
26917 \end_inset
26918
26919
26920 \series bold
26921 LilyPond
26922 \series default
26923
26924 \begin_inset ERT
26925 status collapsed
26926
26927 \begin_layout Standard
26928
26929 }
26930 \end_layout
26931
26932 \end_inset
26933
26934 .
26935 \begin_inset Note Note
26936 status collapsed
26937
26938 \begin_layout Standard
26939 The command 
26940 \series bold
26941
26942 \backslash
26943 linebreak
26944 \series default
26945  breaks the line while the remaining text in the line is stretched to the
26946  page margin.
26947 \end_layout
26948
26949 \end_inset
26950
26951
26952 \end_layout
26953
26954 \begin_layout Description
26955 RasterImage This can be used for bitmap images.
26956  Nearly all popular image formats are supported.
26957  The image can be treated in the 
26958 \family sans
26959 External material
26960 \family default
26961  dialog like the images that are usually included via the 
26962 \family sans
26963 Graphics
26964 \family default
26965  dialog as described in section\InsetSpace ~
26966
26967 \begin_inset LatexCommand ref
26968 reference "sec:Graphics-Dialog"
26969
26970 \end_inset
26971
26972 .
26973  The difference is that only raster images are allowed, that means that
26974  PDF and EPS-images are not supported.
26975 \end_layout
26976
26977 \begin_layout Description
26978 XFig This template supports images created with the program 
26979 \begin_inset ERT
26980 status collapsed
26981
26982 \begin_layout Standard
26983
26984
26985 \backslash
26986 href{http://en.wikipedia.org/wiki/Xfig}{
26987 \end_layout
26988
26989 \end_inset
26990
26991
26992 \series bold
26993 Xfig
26994 \series default
26995
26996 \begin_inset ERT
26997 status collapsed
26998
26999 \begin_layout Standard
27000
27001 }
27002 \end_layout
27003
27004 \end_inset
27005
27006 .
27007 \end_layout
27008
27009 \begin_layout Standard
27010 \begin_inset Float table
27011 placement h
27012 wide false
27013 sideways false
27014 status open
27015
27016 \begin_layout Standard
27017 \begin_inset Caption
27018
27019 \begin_layout Standard
27020 \begin_inset LatexCommand label
27021 name "tab:Comparison-of-the"
27022
27023 \end_inset
27024
27025 Comparison of the date input methods.
27026 \end_layout
27027
27028 \end_inset
27029
27030
27031 \end_layout
27032
27033 \begin_layout Standard
27034 \align center
27035 \begin_inset Tabular
27036 <lyxtabular version="3" rows="4" columns="4">
27037 <features>
27038 <column alignment="center" valignment="top" leftline="true" width="0">
27039 <column alignment="center" valignment="top" leftline="true" width="0">
27040 <column alignment="center" valignment="top" leftline="true" width="0">
27041 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
27042 <row topline="true">
27043 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27044 \begin_inset Text
27045
27046 \begin_layout Standard
27047 Document format
27048 \end_layout
27049
27050 \end_inset
27051 </cell>
27052 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27053 \begin_inset Text
27054
27055 \begin_layout Standard
27056
27057 \family sans
27058 External Material\SpecialChar \menuseparator
27059 Date
27060 \end_layout
27061
27062 \end_inset
27063 </cell>
27064 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27065 \begin_inset Text
27066
27067 \begin_layout Standard
27068
27069 \family sans
27070 Insert\SpecialChar \menuseparator
27071 Date
27072 \end_layout
27073
27074 \end_inset
27075 </cell>
27076 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27077 \begin_inset Text
27078
27079 \begin_layout Standard
27080 command 
27081 \series bold
27082
27083 \backslash
27084 today
27085 \end_layout
27086
27087 \end_inset
27088 </cell>
27089 </row>
27090 <row topline="true">
27091 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27092 \begin_inset Text
27093
27094 \begin_layout Standard
27095 LyX
27096 \end_layout
27097
27098 \end_inset
27099 </cell>
27100 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27101 \begin_inset Text
27102
27103 \begin_layout Standard
27104 as inset box
27105 \end_layout
27106
27107 \end_inset
27108 </cell>
27109 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27110 \begin_inset Text
27111
27112 \begin_layout Standard
27113 as date
27114 \end_layout
27115
27116 \end_inset
27117 </cell>
27118 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27119 \begin_inset Text
27120
27121 \begin_layout Standard
27122 as ERT inset box
27123 \end_layout
27124
27125 \end_inset
27126 </cell>
27127 </row>
27128 <row topline="true">
27129 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27130 \begin_inset Text
27131
27132 \begin_layout Standard
27133 LaTeX
27134 \end_layout
27135
27136 \end_inset
27137 </cell>
27138 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27139 \begin_inset Text
27140
27141 \begin_layout Standard
27142 as date
27143 \end_layout
27144
27145 \end_inset
27146 </cell>
27147 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27148 \begin_inset Text
27149
27150 \begin_layout Standard
27151 as date
27152 \end_layout
27153
27154 \end_inset
27155 </cell>
27156 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27157 \begin_inset Text
27158
27159 \begin_layout Standard
27160 as command
27161 \end_layout
27162
27163 \end_inset
27164 </cell>
27165 </row>
27166 <row topline="true" bottomline="true">
27167 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27168 \begin_inset Text
27169
27170 \begin_layout Standard
27171 DVI, PDF, PS
27172 \end_layout
27173
27174 \end_inset
27175 </cell>
27176 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27177 \begin_inset Text
27178
27179 \begin_layout Standard
27180 as date
27181 \end_layout
27182
27183 \end_inset
27184 </cell>
27185 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27186 \begin_inset Text
27187
27188 \begin_layout Standard
27189 as date
27190 \end_layout
27191
27192 \end_inset
27193 </cell>
27194 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27195 \begin_inset Text
27196
27197 \begin_layout Standard
27198 as date
27199 \end_layout
27200
27201 \end_inset
27202 </cell>
27203 </row>
27204 </lyxtabular>
27205
27206 \end_inset
27207
27208
27209 \end_layout
27210
27211 \end_inset
27212
27213
27214 \end_layout
27215
27216 \begin_layout Standard
27217 When you use the option 
27218 \family sans
27219 Draft
27220 \family default
27221  in the 
27222 \family sans
27223 File
27224 \family default
27225  tab of the 
27226 \family sans
27227 External Material
27228 \family default
27229  dialog, only the path to the inserted file is shown in the output.
27230 \newline
27231 External
27232  material is displayed in LyX either as box like this: 
27233 \begin_inset Graphics
27234         filename clipart/ExternalMaterialQt4.png
27235         scale 85
27236
27237 \end_inset
27238
27239  or as image, depending on the setting in the 
27240 \family sans
27241 LyX\InsetSpace ~
27242 View
27243 \family default
27244  tab of the 
27245 \family sans
27246 External Material
27247 \family default
27248  dialog.
27249 \end_layout
27250
27251 \begin_layout Standard
27252 The 
27253 \family sans
27254 \emph on
27255 Customization
27256 \family default
27257 \emph default
27258  manual explains how you can define your own templates.
27259 \end_layout
27260
27261 \begin_layout Section
27262 Child Documents
27263 \begin_inset LatexCommand index
27264 name "External Stuff ! Child Documents"
27265
27266 \end_inset
27267
27268
27269 \begin_inset LatexCommand index
27270 name "Files ! Include"
27271
27272 \end_inset
27273
27274
27275 \end_layout
27276
27277 \begin_layout Standard
27278 Child documents are used when you have a long document consisting of several
27279  larger parts or sections.
27280  For maintenance it is often useful and sometimes even required to split
27281  the document in several files that can be revised separately.
27282  The different documents are then the so called child documents and a master
27283  document connects them to print the full document or parts of it.
27284 \end_layout
27285
27286 \begin_layout Standard
27287 Included documents are displayed in LyX as a box like this: 
27288 \begin_inset Graphics
27289         filename clipart/ChildDocumentQt4.png
27290         scale 85
27291
27292 \end_inset
27293
27294  To include child documents to a master document use the menu 
27295 \family sans
27296 Insert\SpecialChar \menuseparator
27297 File\SpecialChar \menuseparator
27298 Child\InsetSpace ~
27299 Documents
27300 \family default
27301 .
27302  A dialog pops up where you can choose between three include methods:
27303 \end_layout
27304
27305 \begin_layout Description
27306 Include You can include LyX and LaTeX-documents.
27307  When you press the 
27308 \family sans
27309 Load
27310 \family default
27311  button in the 
27312 \family sans
27313 Child Document
27314 \family default
27315  dialog, the included documents will be opened in LyX in a new file tab
27316  so that you can modify it.
27317 \newline
27318
27319 \end_layout
27320
27321 \begin_layout Standard
27322 Here is a child document inserted using 
27323 \family sans
27324 Include
27325 \family default
27326
27327 \begin_inset Include \include{DummyDocument1.lyx}
27328 preview false
27329
27330 \end_inset
27331
27332
27333 \end_layout
27334
27335 \begin_layout Standard
27336 The section numbering includes the sections of the included files in the
27337  order they are inserted in the master document.
27338  The included example document has for example a subsection that is numbered
27339  as subsection of this section.
27340  Labels of included documents can be referenced: Subsection\InsetSpace ~
27341
27342 \begin_inset LatexCommand ref
27343 reference "sub:External-Subsection-1"
27344
27345 \end_inset
27346
27347
27348 \end_layout
27349
27350 \begin_layout Standard
27351 The preamble of the child document is ignored, only the preamble of the
27352  master document is used.
27353  Included documents are inserted starting on a new page and end with a pagebreak.
27354 \end_layout
27355
27356 \begin_layout Standard
27357 With the LaTeX-command 
27358 \series bold
27359
27360 \backslash
27361 includeonly 
27362 \series default
27363 you can specify which included child documents are processed when the output
27364  is generated.
27365  This is useful when you are perhaps only working on a certain chapter of
27366  your large document as this saves compiling time.
27367  
27368 \series bold
27369
27370 \backslash
27371 includeonly
27372 \series default
27373  is inserted to the master document preamble.
27374  It takes a comma-separated list of the filenames as argument, e.g.
27375 \end_layout
27376
27377 \begin_layout Standard
27378
27379 \series bold
27380
27381 \backslash
27382 includeonly{chapter1,chapter5}
27383 \end_layout
27384
27385 \begin_layout Standard
27386 will only process the included files named 
27387 \begin_inset Quotes eld
27388 \end_inset
27389
27390 chapter1.lyx
27391 \begin_inset Quotes erd
27392 \end_inset
27393
27394  (or 
27395 \begin_inset Quotes eld
27396 \end_inset
27397
27398 chapter1.tex
27399 \begin_inset Quotes erd
27400 \end_inset
27401
27402 ) and 
27403 \begin_inset Quotes eld
27404 \end_inset
27405
27406 chapter5.lyx
27407 \begin_inset Quotes erd
27408 \end_inset
27409
27410  .
27411 \end_layout
27412
27413 \begin_layout Standard
27414 \begin_inset Note Greyedout
27415 status open
27416
27417 \begin_layout Standard
27418
27419 \series bold
27420 Note:
27421 \series default
27422  When you have included a LyX- or LaTeX-file, you are warned when you export/vie
27423 w the document in case that the child document uses another document class
27424  than the master document as this will lead to unexpected outputs.
27425 \end_layout
27426
27427 \end_inset
27428
27429
27430 \end_layout
27431
27432 \begin_layout Description
27433 Input This method is very similar to the Include method.
27434  The differences are:
27435 \end_layout
27436
27437 \begin_deeper
27438 \begin_layout Itemize
27439 Input files don't start with a new page and don't end with a pagebreak.
27440 \end_layout
27441
27442 \begin_layout Itemize
27443 Input files can be previewed in LyX when 
27444 \family sans
27445 Instant\InsetSpace ~
27446 Preview
27447 \family default
27448  is enabled in LyX's preferences under 
27449 \family sans
27450 Look\InsetSpace ~
27451 and\InsetSpace ~
27452 feel\SpecialChar \menuseparator
27453 Graphics
27454 \family default
27455 .
27456 \end_layout
27457
27458 \begin_layout Itemize
27459 The LaTeX-command 
27460 \series bold
27461
27462 \backslash
27463 includeonly
27464 \series default
27465  cannot be used.
27466 \end_layout
27467
27468 \end_deeper
27469 \begin_layout Standard
27470 Here is a child document inserted using 
27471 \family sans
27472 Input
27473 \family default
27474
27475 \begin_inset Include \input{DummyDocument2.lyx}
27476 preview true
27477
27478 \end_inset
27479
27480
27481 \end_layout
27482
27483 \begin_layout Description
27484 Verbatim With this method every text file can be included.
27485  The file is shown in the output with its source code, no command used in
27486  the text is invoked.
27487  You can use the option 
27488 \family sans
27489 Mark spaces in output
27490 \family default
27491  that displays the character 
27492 \begin_inset Quotes eld
27493 \end_inset
27494
27495
27496 \begin_inset ERT
27497 status collapsed
27498
27499 \begin_layout Standard
27500
27501
27502 \backslash
27503 textvisiblespace 
27504 \end_layout
27505
27506 \end_inset
27507
27508
27509 \begin_inset Quotes erd
27510 \end_inset
27511
27512  for every space character in the source code.
27513  The difference to the method via the menu 
27514 \family sans
27515 Insert\SpecialChar \menuseparator
27516 File\SpecialChar \menuseparator
27517 Plain\InsetSpace ~
27518 Text
27519 \family default
27520  is that the document content is not shown in LyX.
27521 \end_layout
27522
27523 \begin_layout Standard
27524 Here is a child document inserted as Verbatim: 
27525 \begin_inset Include \verbatiminput{DummyTextDocument.txt}
27526 preview false
27527
27528 \end_inset
27529
27530
27531 \begin_inset VSpace bigskip
27532 \end_inset
27533
27534 Here is a child document inserted as Verbatim using the 
27535 \family sans
27536 Mark spaces in output
27537 \family default
27538  option: 
27539 \begin_inset Include \verbatiminput*{DummyTextDocument.txt}
27540 preview false
27541
27542 \end_inset
27543
27544
27545 \end_layout
27546
27547 \begin_layout Standard
27548 \begin_inset VSpace bigskip
27549 \end_inset
27550
27551
27552 \end_layout
27553
27554 \begin_layout Standard
27555 \begin_inset Note Greyedout
27556 status open
27557
27558 \begin_layout Standard
27559
27560 \series bold
27561 Note:
27562 \series default
27563  As you can see in the examples above, the text of the documents included
27564  as verbatim is not broken at the end of the document lines.
27565 \end_layout
27566
27567 \end_inset
27568
27569
27570 \end_layout
27571
27572 \begin_layout Standard
27573 \begin_inset Note Greyedout
27574 status open
27575
27576 \begin_layout Standard
27577
27578 \series bold
27579 Note:
27580 \series default
27581  Including the same document twice in a document using different methods
27582  could cause LaTeX-problems.
27583 \end_layout
27584
27585 \end_inset
27586
27587
27588 \end_layout
27589
27590 \begin_layout Standard
27591
27592 \newpage
27593
27594 \end_layout
27595
27596 \begin_layout Chapter
27597 \start_of_appendix
27598 Units available in 
27599 \begin_inset ERT
27600 status collapsed
27601
27602 \begin_layout Standard
27603
27604
27605 \backslash
27606 texorpdfstring{
27607 \end_layout
27608
27609 \end_inset
27610
27611 LyX
27612 \begin_inset ERT
27613 status collapsed
27614
27615 \begin_layout Standard
27616
27617 }{LyX}
27618 \end_layout
27619
27620 \end_inset
27621
27622
27623 \begin_inset LatexCommand index
27624 name "Units"
27625
27626 \end_inset
27627
27628
27629 \begin_inset LatexCommand label
27630 name "cha:Units-available-in"
27631
27632 \end_inset
27633
27634
27635 \begin_inset Note Note
27636 status collapsed
27637
27638 \begin_layout Standard
27639 The command 
27640 \backslash
27641 texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures
27642  are displayed wrongly in PDF-bookmarks.
27643  For more information about this, have a look at 
27644 \begin_inset LatexCommand cite
27645 key "hyperref"
27646
27647 \end_inset
27648
27649 .
27650 \end_layout
27651
27652 \end_inset
27653
27654
27655 \end_layout
27656
27657 \begin_layout Standard
27658 To understand the units described in this documentation, Table\InsetSpace ~
27659
27660 \begin_inset LatexCommand ref
27661 reference "tab:Units"
27662
27663 \end_inset
27664
27665  explains all units available in LyX.
27666 \end_layout
27667
27668 \begin_layout Standard
27669 \begin_inset Float table
27670 placement h
27671 wide false
27672 sideways false
27673 status open
27674
27675 \begin_layout Standard
27676 \begin_inset Caption
27677
27678 \begin_layout Standard
27679 \begin_inset LatexCommand label
27680 name "tab:Units"
27681
27682 \end_inset
27683
27684 Units
27685 \end_layout
27686
27687 \end_inset
27688
27689
27690 \end_layout
27691
27692 \begin_layout Standard
27693 \begin_inset VSpace medskip
27694 \end_inset
27695
27696
27697 \end_layout
27698
27699 \begin_layout Standard
27700 \align center
27701 \begin_inset Tabular
27702 <lyxtabular version="3" rows="20" columns="2">
27703 <features>
27704 <column alignment="center" valignment="top" leftline="true" width="0">
27705 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
27706 <row topline="true" bottomline="true">
27707 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27708 \begin_inset Text
27709
27710 \begin_layout Standard
27711 unit
27712 \end_layout
27713
27714 \end_inset
27715 </cell>
27716 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27717 \begin_inset Text
27718
27719 \begin_layout Standard
27720 name/description
27721 \end_layout
27722
27723 \end_inset
27724 </cell>
27725 </row>
27726 <row topline="true">
27727 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27728 \begin_inset Text
27729
27730 \begin_layout Standard
27731 mm
27732 \end_layout
27733
27734 \end_inset
27735 </cell>
27736 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27737 \begin_inset Text
27738
27739 \begin_layout Standard
27740 millimeter
27741 \end_layout
27742
27743 \end_inset
27744 </cell>
27745 </row>
27746 <row topline="true">
27747 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27748 \begin_inset Text
27749
27750 \begin_layout Standard
27751 cm
27752 \end_layout
27753
27754 \end_inset
27755 </cell>
27756 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27757 \begin_inset Text
27758
27759 \begin_layout Standard
27760 centimeter
27761 \end_layout
27762
27763 \end_inset
27764 </cell>
27765 </row>
27766 <row topline="true">
27767 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27768 \begin_inset Text
27769
27770 \begin_layout Standard
27771 in
27772 \end_layout
27773
27774 \end_inset
27775 </cell>
27776 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27777 \begin_inset Text
27778
27779 \begin_layout Standard
27780 inch
27781 \end_layout
27782
27783 \end_inset
27784 </cell>
27785 </row>
27786 <row topline="true">
27787 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27788 \begin_inset Text
27789
27790 \begin_layout Standard
27791 pt
27792 \end_layout
27793
27794 \end_inset
27795 </cell>
27796 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27797 \begin_inset Text
27798
27799 \begin_layout Standard
27800 point (72.27\InsetSpace \thinspace{}
27801 pt = 1\InsetSpace \thinspace{}
27802 in)
27803 \end_layout
27804
27805 \end_inset
27806 </cell>
27807 </row>
27808 <row topline="true">
27809 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27810 \begin_inset Text
27811
27812 \begin_layout Standard
27813 pc
27814 \end_layout
27815
27816 \end_inset
27817 </cell>
27818 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27819 \begin_inset Text
27820
27821 \begin_layout Standard
27822 pica (1\InsetSpace \thinspace{}
27823 pc = 12\InsetSpace \thinspace{}
27824 pt)
27825 \end_layout
27826
27827 \end_inset
27828 </cell>
27829 </row>
27830 <row topline="true">
27831 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27832 \begin_inset Text
27833
27834 \begin_layout Standard
27835 sp
27836 \end_layout
27837
27838 \end_inset
27839 </cell>
27840 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27841 \begin_inset Text
27842
27843 \begin_layout Standard
27844 scaled point (65536\InsetSpace \thinspace{}
27845 sp = 1\InsetSpace \thinspace{}
27846 pt)
27847 \end_layout
27848
27849 \end_inset
27850 </cell>
27851 </row>
27852 <row topline="true">
27853 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27854 \begin_inset Text
27855
27856 \begin_layout Standard
27857 bp
27858 \end_layout
27859
27860 \end_inset
27861 </cell>
27862 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27863 \begin_inset Text
27864
27865 \begin_layout Standard
27866 big point (72\InsetSpace \thinspace{}
27867 bp = 1\InsetSpace \thinspace{}
27868 in)
27869 \end_layout
27870
27871 \end_inset
27872 </cell>
27873 </row>
27874 <row topline="true">
27875 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27876 \begin_inset Text
27877
27878 \begin_layout Standard
27879 dd
27880 \end_layout
27881
27882 \end_inset
27883 </cell>
27884 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27885 \begin_inset Text
27886
27887 \begin_layout Standard
27888 didot (72\InsetSpace \thinspace{}
27889 dd 
27890 \begin_inset Formula $\approx$
27891 \end_inset
27892
27893  37.6\InsetSpace \thinspace{}
27894 mm)
27895 \end_layout
27896
27897 \end_inset
27898 </cell>
27899 </row>
27900 <row topline="true">
27901 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27902 \begin_inset Text
27903
27904 \begin_layout Standard
27905 cc
27906 \end_layout
27907
27908 \end_inset
27909 </cell>
27910 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27911 \begin_inset Text
27912
27913 \begin_layout Standard
27914 cicero (1\InsetSpace \thinspace{}
27915 cc = 12\InsetSpace \thinspace{}
27916 dd)
27917 \end_layout
27918
27919 \end_inset
27920 </cell>
27921 </row>
27922 <row topline="true">
27923 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27924 \begin_inset Text
27925
27926 \begin_layout Standard
27927 Scale%
27928 \end_layout
27929
27930 \end_inset
27931 </cell>
27932 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27933 \begin_inset Text
27934
27935 \begin_layout Standard
27936 % of original image width
27937 \end_layout
27938
27939 \end_inset
27940 </cell>
27941 </row>
27942 <row topline="true">
27943 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27944 \begin_inset Text
27945
27946 \begin_layout Standard
27947 text%
27948 \end_layout
27949
27950 \end_inset
27951 </cell>
27952 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27953 \begin_inset Text
27954
27955 \begin_layout Standard
27956 % of text width
27957 \end_layout
27958
27959 \end_inset
27960 </cell>
27961 </row>
27962 <row topline="true">
27963 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27964 \begin_inset Text
27965
27966 \begin_layout Standard
27967 col%
27968 \end_layout
27969
27970 \end_inset
27971 </cell>
27972 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27973 \begin_inset Text
27974
27975 \begin_layout Standard
27976 % of column width
27977 \end_layout
27978
27979 \end_inset
27980 </cell>
27981 </row>
27982 <row topline="true">
27983 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27984 \begin_inset Text
27985
27986 \begin_layout Standard
27987 page%
27988 \end_layout
27989
27990 \end_inset
27991 </cell>
27992 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27993 \begin_inset Text
27994
27995 \begin_layout Standard
27996 % of paper width
27997 \end_layout
27998
27999 \end_inset
28000 </cell>
28001 </row>
28002 <row topline="true">
28003 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28004 \begin_inset Text
28005
28006 \begin_layout Standard
28007 line%
28008 \end_layout
28009
28010 \end_inset
28011 </cell>
28012 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28013 \begin_inset Text
28014
28015 \begin_layout Standard
28016 % of line width
28017 \end_layout
28018
28019 \end_inset
28020 </cell>
28021 </row>
28022 <row topline="true">
28023 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28024 \begin_inset Text
28025
28026 \begin_layout Standard
28027 theight%
28028 \end_layout
28029
28030 \end_inset
28031 </cell>
28032 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28033 \begin_inset Text
28034
28035 \begin_layout Standard
28036 % of text height
28037 \end_layout
28038
28039 \end_inset
28040 </cell>
28041 </row>
28042 <row topline="true">
28043 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28044 \begin_inset Text
28045
28046 \begin_layout Standard
28047 pheight%
28048 \end_layout
28049
28050 \end_inset
28051 </cell>
28052 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28053 \begin_inset Text
28054
28055 \begin_layout Standard
28056 % of paper height
28057 \end_layout
28058
28059 \end_inset
28060 </cell>
28061 </row>
28062 <row topline="true">
28063 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28064 \begin_inset Text
28065
28066 \begin_layout Standard
28067 ex
28068 \end_layout
28069
28070 \end_inset
28071 </cell>
28072 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28073 \begin_inset Text
28074
28075 \begin_layout Standard
28076 height of letter 
28077 \emph on
28078 x
28079 \emph default
28080  in current font
28081 \end_layout
28082
28083 \end_inset
28084 </cell>
28085 </row>
28086 <row topline="true">
28087 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28088 \begin_inset Text
28089
28090 \begin_layout Standard
28091 em
28092 \end_layout
28093
28094 \end_inset
28095 </cell>
28096 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28097 \begin_inset Text
28098
28099 \begin_layout Standard
28100 width of letter 
28101 \emph on
28102 M
28103 \emph default
28104  in current font
28105 \end_layout
28106
28107 \end_inset
28108 </cell>
28109 </row>
28110 <row topline="true" bottomline="true">
28111 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28112 \begin_inset Text
28113
28114 \begin_layout Standard
28115 mu
28116 \end_layout
28117
28118 \end_inset
28119 </cell>
28120 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28121 \begin_inset Text
28122
28123 \begin_layout Standard
28124 math unit (1\InsetSpace \thinspace{}
28125 mu = 1/18\InsetSpace \thinspace{}
28126 em)
28127 \end_layout
28128
28129 \end_inset
28130 </cell>
28131 </row>
28132 </lyxtabular>
28133
28134 \end_inset
28135
28136
28137 \end_layout
28138
28139 \end_inset
28140
28141
28142 \end_layout
28143
28144 \begin_layout Chapter
28145 Output File Formats with Graphics
28146 \begin_inset LatexCommand label
28147 name "cha:Output-File-Formats"
28148
28149 \end_inset
28150
28151
28152 \end_layout
28153
28154 \begin_layout Section
28155 DVI
28156 \begin_inset LatexCommand index
28157 name "File Formats ! DVI"
28158
28159 \end_inset
28160
28161
28162 \begin_inset LatexCommand index
28163 name "DVI|see{File Formats}"
28164
28165 \end_inset
28166
28167
28168 \end_layout
28169
28170 \begin_layout Standard
28171 This file type has the extension 
28172 \begin_inset Quotes eld
28173 \end_inset
28174
28175
28176 \family typewriter
28177 .dvi
28178 \family default
28179
28180 \begin_inset Quotes erd
28181 \end_inset
28182
28183 .
28184  It is called 
28185 \begin_inset Quotes eld
28186 \end_inset
28187
28188 device-independent
28189 \begin_inset Quotes erd
28190 \end_inset
28191
28192  (DVI), because it is completely portable; you can move them from one machine
28193  to another without needing to do any sort of conversion.
28194  At the time when this file-format was developed, this was no matter of
28195  course.
28196  DVIs are used for quick previews and as pre-stage for other output formats,
28197  like PostScript.
28198 \end_layout
28199
28200 \begin_layout Standard
28201 \begin_inset Note Greyedout
28202 status open
28203
28204 \begin_layout Standard
28205
28206 \series bold
28207 Note:
28208 \series default
28209  DVI-files doesn't contain images, they will only be a linked.
28210 \end_layout
28211
28212 \end_inset
28213
28214  So don't forget this, if you move your 
28215 \family typewriter
28216 .dvi
28217 \family default
28218  file to another computer.
28219  This property can also slow down your computer when you view the DVI.
28220  Because the DVI-viewer has to convert the image in the background to make
28221  it visible when you scroll in the DVI.
28222  So we recommend to use PDF for files with many images.
28223 \end_layout
28224
28225 \begin_layout Standard
28226 You can export your document to DVI by using the menu 
28227 \family sans
28228 File\SpecialChar \menuseparator
28229 Export\SpecialChar \menuseparator
28230 DVI
28231 \family default
28232 .
28233  You can view your document as DVI via the 
28234 \family sans
28235 View
28236 \family default
28237  menu or by using the toolbar button 
28238 \begin_inset Graphics
28239         filename ../images/buffer-view_dvi.xpm
28240         scale 85
28241
28242 \end_inset
28243
28244 .
28245 \end_layout
28246
28247 \begin_layout Section
28248 PostScript
28249 \begin_inset LatexCommand label
28250 name "sec:PostScript"
28251
28252 \end_inset
28253
28254
28255 \begin_inset LatexCommand index
28256 name "File Formats ! PostScript"
28257
28258 \end_inset
28259
28260
28261 \begin_inset LatexCommand index
28262 name "PostScript|see{File Formats}"
28263
28264 \end_inset
28265
28266
28267 \end_layout
28268
28269 \begin_layout Standard
28270 This file type has the extension 
28271 \begin_inset Quotes eld
28272 \end_inset
28273
28274
28275 \family typewriter
28276 .ps
28277 \family default
28278
28279 \begin_inset Quotes erd
28280 \end_inset
28281
28282 .
28283  PostScript was developed by the company 
28284 \family typewriter
28285 Adobe
28286 \family default
28287  as printer language.
28288  The file contains therefore commands that the printer uses to print the
28289  file.
28290  PostScript can be seen as 
28291 \begin_inset Quotes eld
28292 \end_inset
28293
28294 programming language
28295 \begin_inset Quotes erd
28296 \end_inset
28297
28298 ; you can calculate with it and draw diagrams and images
28299 \begin_inset Foot
28300 status collapsed
28301
28302 \begin_layout Standard
28303 If you are interested to learn more about this, have a look at the LaTeX-package
28304  
28305 \series bold
28306 PSTricks
28307 \series default
28308  
28309 \begin_inset LatexCommand cite
28310 key "pstricks"
28311
28312 \end_inset
28313
28314 .
28315 \end_layout
28316
28317 \end_inset
28318
28319 .
28320  Due to this ability, the files are often bigger than PDFs.
28321 \end_layout
28322
28323 \begin_layout Standard
28324 PostScript can only contain images in the format 
28325 \begin_inset Quotes eld
28326 \end_inset
28327
28328 Encapsulated PostScript
28329 \begin_inset Quotes erd
28330 \end_inset
28331
28332  (EPS, file extension 
28333 \begin_inset Quotes eld
28334 \end_inset
28335
28336
28337 \family typewriter
28338 .eps
28339 \family default
28340
28341 \begin_inset Quotes erd
28342 \end_inset
28343
28344 ).
28345  As LyX allows you to use any known image format in your document, it has
28346  to convert images in the background to EPS.
28347  If you have e.g 50 images in your document, LyX has to do 50 conversions
28348  whenever you view or export your document.
28349  This will slow down your work flow with LyX drastically.
28350  So if you plan to use PostScript, you can insert your images directly as
28351  EPS to avoid this problem.
28352 \end_layout
28353
28354 \begin_layout Standard
28355 You can export your document to PostScript using the menu 
28356 \family sans
28357 File\SpecialChar \menuseparator
28358 Export\SpecialChar \menuseparator
28359 Postscript
28360 \family default
28361 .
28362  You can view your document as PostScript via the 
28363 \family sans
28364 View
28365 \family default
28366  menu or by using the toolbar button 
28367 \begin_inset Graphics
28368         filename ../images/buffer-view_ps.xpm
28369         scale 85
28370
28371 \end_inset
28372
28373 .
28374 \end_layout
28375
28376 \begin_layout Section
28377 PDF
28378 \begin_inset LatexCommand label
28379 name "sec:PDF"
28380
28381 \end_inset
28382
28383
28384 \begin_inset LatexCommand index
28385 name "File Formats ! PDF"
28386
28387 \end_inset
28388
28389
28390 \begin_inset LatexCommand index
28391 name "PDF"
28392
28393 \end_inset
28394
28395
28396 \end_layout
28397
28398 \begin_layout Standard
28399 This file type has the extension 
28400 \begin_inset Quotes eld
28401 \end_inset
28402
28403
28404 \family typewriter
28405 .pdf
28406 \family default
28407
28408 \begin_inset Quotes erd
28409 \end_inset
28410
28411 .
28412  The 
28413 \begin_inset Quotes eld
28414 \end_inset
28415
28416 Portable Document Format
28417 \begin_inset Quotes erd
28418 \end_inset
28419
28420  (PDF) is developed by 
28421 \family typewriter
28422 Adobe
28423 \family default
28424  as derivative from PostScript.
28425  It is more compressed and it uses much less commands than PostScript.
28426  As the name 
28427 \begin_inset Quotes eld
28428 \end_inset
28429
28430 portable
28431 \begin_inset Quotes erd
28432 \end_inset
28433
28434  implies, it can be processed at any computer system and the printed output
28435  looks exactly the same.
28436 \end_layout
28437
28438 \begin_layout Standard
28439 PDF can contain images in its own PDF format, in the format 
28440 \begin_inset Quotes eld
28441 \end_inset
28442
28443 Joint Photographic Experts Group
28444 \begin_inset Quotes erd
28445 \end_inset
28446
28447  (JPG, file extension 
28448 \begin_inset Quotes eld
28449 \end_inset
28450
28451
28452 \family typewriter
28453 .jpg
28454 \family default
28455
28456 \begin_inset Quotes erd
28457 \end_inset
28458
28459  or 
28460 \begin_inset Quotes eld
28461 \end_inset
28462
28463
28464 \family typewriter
28465 .jpeg
28466 \family default
28467
28468 \begin_inset Quotes erd
28469 \end_inset
28470
28471 ), and in the format 
28472 \begin_inset Quotes eld
28473 \end_inset
28474
28475 Portable Network Graphics
28476 \begin_inset Quotes erd
28477 \end_inset
28478
28479  (PNG, file extension 
28480 \begin_inset Quotes eld
28481 \end_inset
28482
28483
28484 \family typewriter
28485 .png
28486 \family default
28487
28488 \begin_inset Quotes erd
28489 \end_inset
28490
28491 ).
28492  You can although use any other image format, because LyX converts them
28493  in the background to one of these formats.
28494  But as described in the section about PostScript, the image conversion
28495  will slow down your work flow.
28496  So it is recommended to use images in one of the three mentioned formats.
28497 \end_layout
28498
28499 \begin_layout Standard
28500 You can export your document to PDF via the menu 
28501 \family sans
28502 File\SpecialChar \menuseparator
28503 Export
28504 \family default
28505  in three different ways:
28506 \end_layout
28507
28508 \begin_layout Description
28509 PDF This uses the program 
28510 \family typewriter
28511 ps2pdf
28512 \family default
28513  that creates a PDF from a PostScript-version of your file.
28514  The PostScript-version is produced by the program 
28515 \family typewriter
28516 dvips
28517 \family default
28518  which uses a DVI-version as intermediate step.
28519  So this export variant consist of three conversions.
28520 \end_layout
28521
28522 \begin_layout Description
28523 PDF\InsetSpace ~
28524 (dvipdfm) This uses the program 
28525 \family typewriter
28526 dvipdfm
28527 \family default
28528  that converts your file in the background to DVI and in a second step to
28529  PDF.
28530 \end_layout
28531
28532 \begin_layout Description
28533 PDF\InsetSpace ~
28534 (pdflatex) This uses the program 
28535 \family typewriter
28536 pdftex
28537 \family default
28538  that converts your file directly to PDF.
28539 \end_layout
28540
28541 \begin_layout Standard
28542 It is recommended to use 
28543 \family sans
28544 PDF\InsetSpace ~
28545 (pdflatex)
28546 \family default
28547  because 
28548 \family typewriter
28549 pdftex
28550 \family default
28551  supports all features of actual PDF-versions, is quick and works stable
28552  without problems.
28553  The program 
28554 \family typewriter
28555 dvipdfm
28556 \family default
28557  is not under development and therefore a bit outdated.
28558 \end_layout
28559
28560 \begin_layout Standard
28561 You can view your document as PDF via the 
28562 \family sans
28563 View
28564 \family default
28565  menu or by using the toolbar button 
28566 \begin_inset Graphics
28567         filename ../images/buffer-view_pdf2.xpm
28568         scale 85
28569
28570 \end_inset
28571
28572  
28573 \family sans
28574 (
28575 \family default
28576 that uses 
28577 \family sans
28578 PDF\InsetSpace ~
28579 (pdflatex)
28580 \family default
28581 ).
28582 \end_layout
28583
28584 \begin_layout Chapter
28585 Explanation of Equation\InsetSpace ~
28586
28587 \begin_inset LatexCommand eqref
28588 reference "eq:Wgn"
28589
28590 \end_inset
28591
28592
28593 \begin_inset LatexCommand label
28594 name "cha:Explanation-of-Equation"
28595
28596 \end_inset
28597
28598
28599 \end_layout
28600
28601 \begin_layout Standard
28602 The total width of 
28603 \emph on
28604 n
28605 \emph default
28606  table cells 
28607 \begin_inset Formula $W_{\mathrm{tot\, n}}$
28608 \end_inset
28609
28610  can be calculated to
28611 \end_layout
28612
28613 \begin_layout Standard
28614 \begin_inset Formula \begin{equation}
28615 W_{\mathrm{tot}\, n}=n·(W_{g\, n}+2·\backslash\mbox{tabcolsep})+(n+1)·\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}\end{equation}
28616
28617 \end_inset
28618
28619
28620 \end_layout
28621
28622 \begin_layout Standard
28623 Where 
28624 \begin_inset Formula $W_{g\, n}$
28625 \end_inset
28626
28627  is the given width of all cells.
28628  
28629 \series bold
28630
28631 \backslash
28632 tabcolsep
28633 \series default
28634  is the LaTeX-length between the cell text and the cell border, its default
28635  value is 6\InsetSpace \thinspace{}
28636 pt.
28637  
28638 \series bold
28639
28640 \backslash
28641 arrayrulewidth
28642 \series default
28643  is the thickness of the cell border line, the default is 0.4\InsetSpace \thinspace{}
28644 pt.
28645 \end_layout
28646
28647 \begin_layout Standard
28648 Following equation\InsetSpace ~
28649
28650 \begin_inset LatexCommand eqref
28651 reference "eq:Wtot_n"
28652
28653 \end_inset
28654
28655 , the total width of a multicolumn 
28656 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
28657 \end_inset
28658
28659  is
28660 \end_layout
28661
28662 \begin_layout Standard
28663 \begin_inset Formula \begin{equation}
28664 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2·\backslash\mbox{tabcolsep}+2·\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}\end{equation}
28665
28666 \end_inset
28667
28668
28669 \end_layout
28670
28671 \begin_layout Standard
28672 By setting equation\InsetSpace ~
28673
28674 \begin_inset LatexCommand eqref
28675 reference "eq:Wtot_n"
28676
28677 \end_inset
28678
28679  and 
28680 \begin_inset LatexCommand eqref
28681 reference "eq:Wtot_mult"
28682
28683 \end_inset
28684
28685  equal we can calculate the needed given width 
28686 \begin_inset Formula $W_{g\, n}$
28687 \end_inset
28688
28689  when 
28690 \emph on
28691 n
28692 \emph default
28693  columns are spanned, so that each column has a total width of 
28694 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
28695 \end_inset
28696
28697 :
28698 \end_layout
28699
28700 \begin_layout Standard
28701 \begin_inset Formula \begin{equation}
28702 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)·(2·\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n\end{equation}
28703
28704 \end_inset
28705
28706
28707 \end_layout
28708
28709 \begin_layout Bibliography
28710 \begin_inset LatexCommand bibitem
28711 key "latexcompanion"
28712
28713 \end_inset
28714
28715 Frank Mittelbach and Michel Goossens: 
28716 \emph on
28717 The LaTeX Companion Second Edition.
28718
28719 \emph default
28720  Addison-Wesley, 2004
28721 \end_layout
28722
28723 \begin_layout Bibliography
28724 \begin_inset LatexCommand bibitem
28725 key "latexguide"
28726
28727 \end_inset
28728
28729 Helmut Kopka and Patrick W.
28730  Daly: 
28731 \emph on
28732 A Guide to LaTeX Fourth Edition.
28733
28734 \emph default
28735  Addison-Wesley, 2003
28736 \end_layout
28737
28738 \begin_layout Bibliography
28739 \begin_inset LatexCommand bibitem
28740 key "latexbook"
28741
28742 \end_inset
28743
28744 Leslie Lamport: 
28745 \emph on
28746 LaTeX: A Document Preparation System.
28747
28748 \emph default
28749  Addison-Wesley, second edition, 1994
28750 \end_layout
28751
28752 \begin_layout Bibliography
28753 \begin_inset LatexCommand bibitem
28754 key "booktabs"
28755
28756 \end_inset
28757
28758
28759 \begin_inset ERT
28760 status collapsed
28761
28762 \begin_layout Standard
28763
28764
28765 \backslash
28766 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf}
28767 {
28768 \end_layout
28769
28770 \end_inset
28771
28772 Documentation
28773 \begin_inset ERT
28774 status collapsed
28775
28776 \begin_layout Standard
28777
28778 }
28779 \end_layout
28780
28781 \end_inset
28782
28783  of the LaTeX-package 
28784 \series bold
28785 booktabs
28786 \series default
28787
28788 \begin_inset LatexCommand index
28789 name "LaTeX-packages ! booktabs"
28790
28791 \end_inset
28792
28793
28794 \end_layout
28795
28796 \begin_layout Bibliography
28797 \begin_inset LatexCommand bibitem
28798 key "caption"
28799
28800 \end_inset
28801
28802
28803 \begin_inset ERT
28804 status collapsed
28805
28806 \begin_layout Standard
28807
28808
28809 \backslash
28810 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf}{
28811 \end_layout
28812
28813 \end_inset
28814
28815 Documentation
28816 \begin_inset ERT
28817 status collapsed
28818
28819 \begin_layout Standard
28820
28821 }
28822 \end_layout
28823
28824 \end_inset
28825
28826  of the LaTeX-package 
28827 \series bold
28828 caption
28829 \series default
28830
28831 \begin_inset LatexCommand index
28832 name "LaTeX-packages ! caption"
28833
28834 \end_inset
28835
28836
28837 \end_layout
28838
28839 \begin_layout Bibliography
28840 \begin_inset LatexCommand bibitem
28841 key "caption-de"
28842
28843 \end_inset
28844
28845 German 
28846 \begin_inset ERT
28847 status collapsed
28848
28849 \begin_layout Standard
28850
28851
28852 \backslash
28853 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/anleitung.pdf}
28854 {
28855 \end_layout
28856
28857 \end_inset
28858
28859 documentation
28860 \begin_inset ERT
28861 status collapsed
28862
28863 \begin_layout Standard
28864
28865 }
28866 \end_layout
28867
28868 \end_inset
28869
28870  of the LaTeX-package 
28871 \series bold
28872 caption
28873 \end_layout
28874
28875 \begin_layout Bibliography
28876 \begin_inset LatexCommand bibitem
28877 key "endfloat"
28878
28879 \end_inset
28880
28881
28882 \begin_inset ERT
28883 status collapsed
28884
28885 \begin_layout Standard
28886
28887
28888 \backslash
28889 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf}
28890 {
28891 \end_layout
28892
28893 \end_inset
28894
28895 Documentation
28896 \begin_inset ERT
28897 status collapsed
28898
28899 \begin_layout Standard
28900
28901 }
28902 \end_layout
28903
28904 \end_inset
28905
28906  of the LaTeX-package 
28907 \series bold
28908 endf\SpecialChar \textcompwordmark{}
28909 loat
28910 \series default
28911
28912 \begin_inset LatexCommand index
28913 name "LaTeX-packages ! endfloat"
28914
28915 \end_inset
28916
28917
28918 \end_layout
28919
28920 \begin_layout Bibliography
28921 \begin_inset LatexCommand bibitem
28922 key "floatflt"
28923
28924 \end_inset
28925
28926
28927 \begin_inset ERT
28928 status collapsed
28929
28930 \begin_layout Standard
28931
28932
28933 \backslash
28934 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/floatflt/floatflt.pdf}
28935 {
28936 \end_layout
28937
28938 \end_inset
28939
28940 Documentation
28941 \begin_inset ERT
28942 status collapsed
28943
28944 \begin_layout Standard
28945
28946 }
28947 \end_layout
28948
28949 \end_inset
28950
28951  of the LaTeX-package 
28952 \series bold
28953 floatf\SpecialChar \textcompwordmark{}
28954 lt
28955 \series default
28956
28957 \begin_inset LatexCommand index
28958 name "LaTeX-packages ! floatflt"
28959
28960 \end_inset
28961
28962
28963 \end_layout
28964
28965 \begin_layout Bibliography
28966 \begin_inset LatexCommand bibitem
28967 key "footmisc"
28968
28969 \end_inset
28970
28971
28972 \begin_inset ERT
28973 status collapsed
28974
28975 \begin_layout Standard
28976
28977
28978 \backslash
28979 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf}
28980 {
28981 \end_layout
28982
28983 \end_inset
28984
28985 Documentation
28986 \begin_inset ERT
28987 status collapsed
28988
28989 \begin_layout Standard
28990
28991 }
28992 \end_layout
28993
28994 \end_inset
28995
28996  of the LaTeX-package 
28997 \series bold
28998 footmisc
28999 \series default
29000
29001 \begin_inset LatexCommand index
29002 name "LaTeX-packages ! footmisc"
29003
29004 \end_inset
29005
29006
29007 \end_layout
29008
29009 \begin_layout Bibliography
29010 \begin_inset LatexCommand bibitem
29011 key "hypcap"
29012
29013 \end_inset
29014
29015
29016 \begin_inset ERT
29017 status collapsed
29018
29019 \begin_layout Standard
29020
29021
29022 \backslash
29023 href{http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf}{
29024 \end_layout
29025
29026 \end_inset
29027
29028 Documentation
29029 \begin_inset ERT
29030 status collapsed
29031
29032 \begin_layout Standard
29033
29034 }
29035 \end_layout
29036
29037 \end_inset
29038
29039  of the LaTeX-package 
29040 \series bold
29041 hypcap
29042 \series default
29043
29044 \begin_inset LatexCommand index
29045 name "LaTeX-packages ! hyperref"
29046
29047 \end_inset
29048
29049
29050 \end_layout
29051
29052 \begin_layout Bibliography
29053 \begin_inset LatexCommand bibitem
29054 key "hyperref"
29055
29056 \end_inset
29057
29058
29059 \begin_inset ERT
29060 status collapsed
29061
29062 \begin_layout Standard
29063
29064
29065 \backslash
29066 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf}
29067 {
29068 \end_layout
29069
29070 \end_inset
29071
29072 Documentation
29073 \begin_inset ERT
29074 status collapsed
29075
29076 \begin_layout Standard
29077
29078 }
29079 \end_layout
29080
29081 \end_inset
29082
29083  of the LaTeX-package 
29084 \series bold
29085 hyperref
29086 \series default
29087
29088 \begin_inset LatexCommand index
29089 name "LaTeX-packages ! hyperref"
29090
29091 \end_inset
29092
29093
29094 \end_layout
29095
29096 \begin_layout Bibliography
29097 \begin_inset LatexCommand bibitem
29098 key "koma-script"
29099
29100 \end_inset
29101
29102
29103 \begin_inset ERT
29104 status collapsed
29105
29106 \begin_layout Standard
29107
29108
29109 \backslash
29110 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.p
29111 df}{
29112 \end_layout
29113
29114 \end_inset
29115
29116 Documentation
29117 \begin_inset ERT
29118 status collapsed
29119
29120 \begin_layout Standard
29121
29122 }
29123 \end_layout
29124
29125 \end_inset
29126
29127  of the LaTeX-package 
29128 \series bold
29129 koma-script
29130 \series default
29131
29132 \begin_inset LatexCommand index
29133 name "LaTeX-packages ! koma-script"
29134
29135 \end_inset
29136
29137
29138 \end_layout
29139
29140 \begin_layout Bibliography
29141 \begin_inset LatexCommand bibitem
29142 key "koma-script-de"
29143
29144 \end_inset
29145
29146 German 
29147 \begin_inset ERT
29148 status collapsed
29149
29150 \begin_layout Standard
29151
29152
29153 \backslash
29154 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguide.p
29155 df}{
29156 \end_layout
29157
29158 \end_inset
29159
29160 documentation
29161 \begin_inset ERT
29162 status collapsed
29163
29164 \begin_layout Standard
29165
29166 }
29167 \end_layout
29168
29169 \end_inset
29170
29171  of the LaTeX-package 
29172 \series bold
29173 koma-script
29174 \series default
29175
29176 \begin_inset LatexCommand index
29177 name "LaTeX-packages ! koma-script"
29178
29179 \end_inset
29180
29181
29182 \end_layout
29183
29184 \begin_layout Bibliography
29185 \begin_inset LatexCommand bibitem
29186 key "marginnote"
29187
29188 \end_inset
29189
29190
29191 \begin_inset ERT
29192 status collapsed
29193
29194 \begin_layout Standard
29195
29196
29197 \backslash
29198 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.
29199 pdf}{
29200 \end_layout
29201
29202 \end_inset
29203
29204 Documentation
29205 \begin_inset ERT
29206 status collapsed
29207
29208 \begin_layout Standard
29209
29210 }
29211 \end_layout
29212
29213 \end_inset
29214
29215  of the LaTeX-package 
29216 \series bold
29217 marginnote
29218 \series default
29219
29220 \begin_inset LatexCommand index
29221 name "LaTeX-packages ! marginnote"
29222
29223 \end_inset
29224
29225
29226 \end_layout
29227
29228 \begin_layout Bibliography
29229 \begin_inset LatexCommand bibitem
29230 key "pstricks"
29231
29232 \end_inset
29233
29234
29235 \begin_inset ERT
29236 status collapsed
29237
29238 \begin_layout Standard
29239
29240
29241 \backslash
29242 href{http://tug.org/PSTricks/main.cgi/}{
29243 \end_layout
29244
29245 \end_inset
29246
29247 Web page
29248 \begin_inset ERT
29249 status collapsed
29250
29251 \begin_layout Standard
29252
29253 }
29254 \end_layout
29255
29256 \end_inset
29257
29258  of the LaTeX-package 
29259 \series bold
29260 PSTricks
29261 \series default
29262
29263 \begin_inset LatexCommand index
29264 name "LaTeX-packages ! PSTricks"
29265
29266 \end_inset
29267
29268
29269 \end_layout
29270
29271 \begin_layout Bibliography
29272 \begin_inset LatexCommand bibitem
29273 key "sidecap"
29274
29275 \end_inset
29276
29277
29278 \begin_inset ERT
29279 status collapsed
29280
29281 \begin_layout Standard
29282
29283
29284 \backslash
29285 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf}{
29286 \end_layout
29287
29288 \end_inset
29289
29290 Documentation
29291 \begin_inset ERT
29292 status collapsed
29293
29294 \begin_layout Standard
29295
29296 }
29297 \end_layout
29298
29299 \end_inset
29300
29301  of the LaTeX-package 
29302 \series bold
29303 sidecap
29304 \series default
29305
29306 \begin_inset LatexCommand index
29307 name "LaTeX-packages ! sidecap"
29308
29309 \end_inset
29310
29311
29312 \end_layout
29313
29314 \begin_layout Bibliography
29315 \begin_inset LatexCommand bibitem
29316 key "NewInLyX15"
29317
29318 \end_inset
29319
29320
29321 \begin_inset ERT
29322 status collapsed
29323
29324 \begin_layout Standard
29325
29326
29327 \backslash
29328 href{http://wiki.lyx.org/LyX/NewInLyX15}{
29329 \end_layout
29330
29331 \end_inset
29332
29333 Wiki page
29334 \begin_inset ERT
29335 status collapsed
29336
29337 \begin_layout Standard
29338
29339 }
29340 \end_layout
29341
29342 \end_inset
29343
29344  about new LyX-features planned for the release 
29345 \family sans
29346 LyX 1.5
29347 \family default
29348 .
29349 \end_layout
29350
29351 \begin_layout Standard
29352 \begin_inset LatexCommand printindex
29353
29354 \end_inset
29355
29356
29357 \end_layout
29358
29359 \begin_layout Standard
29360 \begin_inset FloatList figure
29361
29362 \end_inset
29363
29364
29365 \end_layout
29366
29367 \begin_layout Standard
29368 \begin_inset FloatList table
29369
29370 \end_inset
29371
29372
29373 \end_layout
29374
29375 \end_body
29376 \end_document