]> git.lyx.org Git - lyx.git/blob - lib/doc/EmbeddedObjects.lyx
German Intro.lyx: Updates from Hartmut
[lyx.git] / lib / doc / EmbeddedObjects.lyx
1 #LyX 1.5.0rc2 created this file. For more info see http://www.lyx.org/
2 \lyxformat 276
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 \@ifundefined{extrarowheight}
111  {\usepackage{array}}{}
112 \setlength{\extrarowheight}{2pt}
113
114 % used for customized tables
115 % ---
116 \newcolumntype{M}[1]
117  {>{\centering\hspace{0pt}}m{#1}}
118
119 \newcolumntype{S}[2]
120  {>{\centering\hspace{0pt}}m{(#1+(2\tabcolsep+\arrayrulewidth)*(1-#2))/#2}}
121
122 \newcolumntype{K}[1]
123  {>{\columncolor{#1}\hspace{0pt}}c}
124
125 \newcolumntype{V}{!{\vrule width 1.5pt}}
126
127 \newcolumntype{W}{!{\color{green}\vline}}
128 % ---
129
130 % insert additional vertical space of
131 % 1.5 mm between footnotes
132 \let\myFoot\footnote
133 \renewcommand{\footnote}[1]{\myFoot{#1\vspace{1.5mm}}}
134
135 % enable algorithm floats to be referenced
136 \newfloat{Xalgorithm}{tbp}{loa}
137 \floatname{Xalgorithm}{Algorithm}
138 \newcommand{\theHalgorithm}{\theHXalgorithm}
139 \renewenvironment{algorithm}[1][tbp]
140  {\begin{Xalgorithm}[#1]}{\end{Xalgorithm}}
141
142 % number algorithm floats within chapters
143 \numberwithin{Xalgorithm}{chapter}
144
145 % redefine the greyed out note
146 \renewenvironment{lyxgreyedout}
147  {\textcolor{blue}\bgroup}{\egroup}
148
149 % ------------------------------------
150 % used to check for needed LaTeX packages
151 \usepackage{ifthen}
152
153 % check for package arydshln
154 % used for tables with dashed lines
155 \newboolean{arydshln}
156 \IfFileExists{arydshln.sty}
157  {\usepackage{arydshln}
158   \setboolean{arydshln}{true}}
159  {\setboolean{arydshln}{false}}
160
161 % check for package marginnote
162 % used for margin notes
163 \newboolean{marginnote}
164 \IfFileExists{marginnote.sty}
165  {\usepackage{marginnote}
166   \let\marginpar\marginnote
167   \setboolean{marginnote}{true}}
168  {\setboolean{marginnote}{false}}
169 \end_preamble
170 \options fleqn,liststotoc,bibtotoc,idxtotoc,BCOR7.5mm,titlepage,tablecaptionabove
171 \language english
172 \inputencoding auto
173 \font_roman default
174 \font_sans default
175 \font_typewriter default
176 \font_default_family default
177 \font_sc false
178 \font_osf false
179 \font_sf_scale 100
180 \font_tt_scale 100
181 \graphics default
182 \paperfontsize 12
183 \spacing single
184 \papersize default
185 \use_geometry false
186 \use_amsmath 2
187 \use_esint 0
188 \cite_engine basic
189 \use_bibtopic false
190 \paperorientation portrait
191 \secnumdepth 3
192 \tocdepth 3
193 \paragraph_separation skip
194 \defskip medskip
195 \quotes_language english
196 \papercolumns 1
197 \papersides 2
198 \paperpagestyle default
199 \bullet 1 1 34 -1
200 \bullet 2 2 35 -1
201 \bullet 3 2 7 -1
202 \tracking_changes false
203 \output_changes false
204 \author "Anonymous" 
205 \author "usti" 
206 \author "Bo Peng" 
207 \author "muso" 
208 \author "Uwe Stöhr" 
209 \end_header
210
211 \begin_body
212
213 \begin_layout Title
214 LyX's detailed Figure, Table, Floats, Notes, Boxes and External Material
215  manual
216 \end_layout
217
218 \begin_layout Author
219 by the LyX Team
220 \begin_inset Foot
221 status collapsed
222
223 \begin_layout Standard
224 \noindent
225 If you have comments or error corrections, please send them to the LyX Documenta
226 tion mailing list: 
227 \family typewriter
228
229 \begin_inset ERT
230 status open
231
232 \begin_layout Standard
233
234
235 \backslash
236 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's ExtendedInsets manual}{
237 \end_layout
238
239 \end_inset
240
241 lyx-docs@lists.lyx.org
242 \begin_inset ERT
243 status collapsed
244
245 \begin_layout Standard
246
247 }
248 \end_layout
249
250 \end_inset
251
252
253 \end_layout
254
255 \end_inset
256
257
258 \begin_inset Note Note
259 status collapsed
260
261 \begin_layout Standard
262 original author: Uwe Stöhr
263 \end_layout
264
265 \end_inset
266
267
268 \newline
269
270 \newline
271
272 \family sans
273 Version 1.5.0-
274 \family default
275 1
276 \end_layout
277
278 \begin_layout Standard
279 \begin_inset LatexCommand tableofcontents
280
281 \end_inset
282
283
284 \end_layout
285
286 \begin_layout Standard
287 \begin_inset Note Note
288 status open
289
290 \begin_layout Standard
291 To export all parts of this document to PDF, PS, or DVI the LaTeX-packages
292  
293 \series bold
294 arydshln
295 \series default
296  and 
297 \series bold
298 marginnote
299 \series default
300  must be installed.
301  If they are not installed you can export the document anyway but the sections
302  where the packages are required won't appear in the output.
303 \end_layout
304
305 \begin_layout Standard
306 The latest PDF-version of this document can be found here:
307 \newline
308
309 \series bold
310 http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
311 \end_layout
312
313 \end_inset
314
315
316 \end_layout
317
318 \begin_layout Chapter
319 Figures
320 \begin_inset LatexCommand label
321 name "cha:Figures"
322
323 \end_inset
324
325
326 \begin_inset LatexCommand index
327 name "Figures"
328
329 \end_inset
330
331
332 \begin_inset LatexCommand index
333 name "Graphics|see{Figures}"
334
335 \end_inset
336
337
338 \end_layout
339
340 \begin_layout Section
341 Graphics Dialog
342 \begin_inset LatexCommand index
343 name "Figures ! Graphics Dialog"
344
345 \end_inset
346
347
348 \begin_inset LatexCommand label
349 name "sec:Graphics-Dialog"
350
351 \end_inset
352
353
354 \end_layout
355
356 \begin_layout Standard
357 To insert an image into your document, place the cursor at the text position
358  you want and click on the toolbar icon 
359 \begin_inset Graphics
360         filename ../images/dialog-show-new-inset_graphics.xpm
361         scale 85
362         scaleBeforeRotation
363
364 \end_inset
365
366  or use the menu 
367 \family sans
368 Insert\SpecialChar \menuseparator
369 Graphics
370 \family default
371 .
372  Then a dialog will appear to choose the file to load.
373  The image will appear in the output exactly at the position where it is
374  in the text.
375 \end_layout
376
377 \begin_layout Standard
378 The graphics dialog can be called at any time by right-clicking on an image.
379  This dialog has three tabs:
380 \end_layout
381
382 \begin_layout Description
383
384 \family sans
385 Graphics
386 \family default
387  Here you can choose an image file and adjust its appearance in the output.
388  The available units for the image size are explained in appendix\InsetSpace ~
389
390 \begin_inset LatexCommand ref
391 reference "cha:Units-available-in"
392
393 \end_inset
394
395 .
396 \newline
397 You can rotate images counter-clockwise by setting a rotation angle and
398  a rotation origin.
399  The image will also be rotated inside LyX.
400 \newline
401 Images can be scaled by using
402  a percentage value or by setting the width and height explicitly.
403  If you set only the width or only the height, the other size will be determined
404  automatically.
405  If you set both, then the image will be transformed to the given size,
406  possibly distorting it.
407  To prevent the image from distortion, use the option 
408 \family sans
409 Maintain aspect ratio
410 \family default
411 .
412  The image will then be scaled so that its width and height don't exceed
413  the specified dimensions.
414 \newline
415 Images can be opened in a program of your choice
416  when pressing the 
417 \family sans
418 Edit
419 \family default
420  button.
421  The program can be set for every image format in the file format settings
422  in LyX's preferences.
423 \end_layout
424
425 \begin_layout Description
426
427 \family sans
428 Clipping
429 \family default
430  Alternatively to the usage of scaling units it is possible to set image
431  coordinates to adjust the height and width of the image in the output.
432  The coordinates can also be calculated automatically by pressing the button
433  
434 \family sans
435 Get\InsetSpace ~
436 from\InsetSpace ~
437 File
438 \family default
439 .
440  The option 
441 \family sans
442 Clip\InsetSpace ~
443 to\InsetSpace ~
444 bounding\InsetSpace ~
445 box
446 \family default
447  will only print the image region within the given coordinates.
448  Normally you don't need to take care about image coordinates and can ignore
449  this tab.
450 \end_layout
451
452 \begin_layout Description
453
454 \family sans
455 Extra\InsetSpace ~
456 options
457 \family default
458  In this tab you can modify the appearance of the image within LyX and set
459  the image to be a subfigure of a figure float with an own caption.
460  Subfigures are explained in section\InsetSpace ~
461
462 \begin_inset LatexCommand ref
463 reference "sec:Figure-Floats"
464
465 \end_inset
466
467 .
468 \newline
469  LaTeX experts can also specify on this tab additional LaTeX options.
470 \newline
471  The
472  option 
473 \family sans
474 Draft\InsetSpace ~
475 mode
476 \family default
477  makes the image appear in the output only as a frame with the size of the
478  image.
479 \newline
480 The 
481 \family sans
482 Don't\InsetSpace ~
483 unzip\InsetSpace ~
484 on\InsetSpace ~
485 export
486 \family default
487  option only affects zipped EPS-graphics, e.\InsetSpace \thinspace{}
488 g.\InsetSpace ~
489
490 \emph on
491 x.eps.gz
492 \emph default
493 .
494  When the option is used the images will not be unzipped on export, since
495  LaTeX can handle them as they are.
496 \newline
497 Zipped EPS-graphics are useful to save
498  disk space when you choose PostScript as output format, see appendix\InsetSpace ~
499
500 \begin_inset LatexCommand ref
501 reference "sec:PostScript"
502
503 \end_inset
504
505 .
506  To zip EPS-graphics, use the following commands in a UNIX-shell or a Windows
507  console:
508 \newline
509
510 \series bold
511 gzip x.eps
512 \series default
513
514 \newline
515
516 \series bold
517 zgrep %%Bounding x.eps.gz > x.eps.bb
518 \series default
519
520 \newline
521 The second command creates the bounding box file 
522 \begin_inset Quotes eld
523 \end_inset
524
525 x.eps.bb
526 \begin_inset Quotes erd
527 \end_inset
528
529  that is needed by LaTeX for zipped graphics.
530 \end_layout
531
532 \begin_layout Standard
533 \begin_inset VSpace bigskip
534 \end_inset
535
536
537 \end_layout
538
539 \begin_layout Standard
540 This is an example image in EPS format
541 \begin_inset Foot
542 status collapsed
543
544 \begin_layout Standard
545 Image formats are explained in section\InsetSpace ~
546
547 \begin_inset LatexCommand ref
548 reference "sec:Image-Formats"
549
550 \end_inset
551
552 .
553 \end_layout
554
555 \end_inset
556
557  within a separate, horizontally centered paragraph:
558 \end_layout
559
560 \begin_layout Standard
561 \align center
562 \begin_inset Graphics
563         filename clipart/mobius.eps
564         display color
565         scale 70
566         scaleBeforeRotation
567         rotateOrigin center
568
569 \end_inset
570
571
572 \end_layout
573
574 \begin_layout Standard
575 This is the same image like the one above but in draft mode:
576 \end_layout
577
578 \begin_layout Standard
579 \align center
580 \begin_inset Graphics
581         filename clipart/mobius.eps
582         display color
583         scale 70
584         draft
585         scaleBeforeRotation
586         rotateOrigin center
587
588 \end_inset
589
590
591 \end_layout
592
593 \begin_layout Section
594 Figure Floats
595 \begin_inset LatexCommand label
596 name "sec:Figure-Floats"
597
598 \end_inset
599
600
601 \begin_inset LatexCommand index
602 name "Floats ! Figures"
603
604 \end_inset
605
606
607 \begin_inset LatexCommand index
608 name "Figures ! Floats"
609
610 \end_inset
611
612
613 \end_layout
614
615 \begin_layout Standard
616 For general explanations about floats, have a look at section\InsetSpace ~
617
618 \begin_inset LatexCommand ref
619 reference "sec:FloatIntroduction"
620
621 \end_inset
622
623 .
624 \end_layout
625
626 \begin_layout Standard
627 The toolbar button 
628 \begin_inset Graphics
629         filename ../images/float-insert_figure.xpm
630         scale 85
631         scaleBeforeRotation
632
633 \end_inset
634
635  and the menu 
636 \family sans
637 Insert\SpecialChar \menuseparator
638 Float\SpecialChar \menuseparator
639 Figure
640 \family default
641  inserts a float with a caption that has the label 
642 \begin_inset Quotes eld
643 \end_inset
644
645 Figure\InsetSpace ~
646 #:
647 \begin_inset Quotes erd
648 \end_inset
649
650  (# is the actual number).
651  You can insert the image above the caption, like in Figure\InsetSpace ~
652
653 \begin_inset LatexCommand ref
654 reference "fig:kill-plat"
655
656 \end_inset
657
658  or below the caption, like in Figure\InsetSpace ~
659
660 \begin_inset LatexCommand ref
661 reference "fig:escher"
662
663 \end_inset
664
665 .
666  More about the caption placement is described in section\InsetSpace ~
667
668 \begin_inset LatexCommand ref
669 reference "sec:Caption-Placement"
670
671 \end_inset
672
673 .
674 \end_layout
675
676 \begin_layout Standard
677 \begin_inset Float figure
678 wide false
679 sideways false
680 status open
681
682 \begin_layout Standard
683 \align center
684 \begin_inset Graphics
685         filename clipart/platypus.eps
686         display color
687         width 50col%
688         scaleBeforeRotation
689         rotateOrigin center
690
691 \end_inset
692
693
694 \end_layout
695
696 \begin_layout Standard
697 \begin_inset Caption
698
699 \begin_layout Standard
700 \begin_inset LatexCommand label
701 name "fig:kill-plat"
702
703 \end_inset
704
705 A severely distorted platypus in a float.
706 \end_layout
707
708 \end_inset
709
710
711 \end_layout
712
713 \end_inset
714
715
716 \end_layout
717
718 \begin_layout Standard
719 \begin_inset Float figure
720 wide false
721 sideways false
722 status open
723
724 \begin_layout Standard
725 \begin_inset Caption
726
727 \begin_layout Standard
728 \begin_inset LatexCommand label
729 name "fig:escher"
730
731 \end_inset
732
733 M.C.
734  Escher on acid.
735 \end_layout
736
737 \end_inset
738
739
740 \end_layout
741
742 \begin_layout Standard
743 \align center
744 \begin_inset Graphics
745         filename clipart/escher-lsd.eps
746         display color
747         scale 80
748         scaleBeforeRotation
749         rotateOrigin center
750
751 \end_inset
752
753
754 \end_layout
755
756 \end_inset
757
758
759 \end_layout
760
761 \begin_layout Standard
762 \begin_inset LatexCommand index
763 name "References ! to Figures"
764
765 \end_inset
766
767 Figure\InsetSpace ~
768
769 \begin_inset LatexCommand ref
770 reference "fig:kill-plat"
771
772 \end_inset
773
774  and 
775 \begin_inset LatexCommand ref
776 reference "fig:escher"
777
778 \end_inset
779
780  are examples of referenced figures.
781  Figures can be referenced in the text by referencing their label.
782  To do this insert a label in the caption using the menu 
783 \family sans
784 Insert\SpecialChar \menuseparator
785 Label
786 \family default
787  or the toolbar button 
788 \begin_inset Graphics
789         filename ../images/label-insert.xpm
790         scale 85
791         scaleBeforeRotation
792
793 \end_inset
794
795 .
796  You can now refer to the label using the menu 
797 \family sans
798 Insert\SpecialChar \menuseparator
799 Cross\InsetSpace ~
800 reference
801 \family default
802  or the toolbar button 
803 \begin_inset Graphics
804         filename ../images/dialog-show-new-inset_ref.xpm
805         scale 85
806         scaleBeforeRotation
807
808 \end_inset
809
810 .
811  It is important to use references to floats, rather than using vague references
812  like 
813 \begin_inset Quotes eld
814 \end_inset
815
816 the figure above
817 \begin_inset Quotes erd
818 \end_inset
819
820 , because as LaTeX will reposition the floats in the final document, it
821  might not be 
822 \begin_inset Quotes eld
823 \end_inset
824
825 above
826 \begin_inset Quotes erd
827 \end_inset
828
829  at all.
830 \newline
831 Referencing is explained in detail in section\InsetSpace ~
832
833 \begin_inset LatexCommand ref
834 reference "sec:Referencing-Floats"
835
836 \end_inset
837
838 .
839 \end_layout
840
841 \begin_layout Standard
842 Normally only one image is inserted to a figure float, but sometimes you
843  might want to use two images with separate subcaptions.
844  This can be set in the tab 
845 \family sans
846 Extra\InsetSpace ~
847 options
848 \family default
849  of the graphics dialog.
850  Choose there the option 
851 \family sans
852 Subfigure
853 \family default
854  and enter the subcaption for the image in the caption field.
855  Note that only the main caption of the float is added to the List of Figures.
856 \newline
857 Ref
858 erencing subfigures is explained in section\InsetSpace ~
859
860 \begin_inset LatexCommand ref
861 reference "sub:Referencing-Subfigures"
862
863 \end_inset
864
865 .
866 \end_layout
867
868 \begin_layout Standard
869 Figure\InsetSpace ~
870
871 \begin_inset LatexCommand ref
872 reference "fig:Two-distorted-images"
873
874 \end_inset
875
876  is an example of a figure float with two images set side by side.
877  You can also set the images one below the other.
878 \end_layout
879
880 \begin_layout Standard
881 \begin_inset Float figure
882 wide false
883 sideways false
884 status open
885
886 \begin_layout Standard
887
888 \hfill
889
890 \begin_inset Graphics
891         filename clipart/escher-lsd.eps
892         width 45col%
893         scaleBeforeRotation
894         subcaption
895         subcaptionText "Undefinable structure"
896
897 \end_inset
898
899
900 \hfill
901
902 \begin_inset Graphics
903         filename clipart/platypus.eps
904         lyxscale 60
905         width 45col%
906         scaleBeforeRotation
907         subcaption
908         subcaptionText "\label{fig:Platypus} Platypus"
909
910 \end_inset
911
912
913 \hfill
914
915 \end_layout
916
917 \begin_layout Standard
918 \begin_inset Caption
919
920 \begin_layout Standard
921 \begin_inset LatexCommand label
922 name "fig:Two-distorted-images"
923
924 \end_inset
925
926 Two distorted images.
927 \end_layout
928
929 \end_inset
930
931
932 \end_layout
933
934 \end_inset
935
936
937 \end_layout
938
939 \begin_layout Section
940 Image Formats
941 \begin_inset LatexCommand label
942 name "sec:Image-Formats"
943
944 \end_inset
945
946
947 \begin_inset LatexCommand index
948 name "Image Formats"
949
950 \end_inset
951
952
953 \begin_inset LatexCommand index
954 name "Figures ! Image Formats"
955
956 \end_inset
957
958
959 \end_layout
960
961 \begin_layout Standard
962 You can insert images in any known file format.
963  But as explained in appendix\InsetSpace ~
964
965 \begin_inset LatexCommand ref
966 reference "cha:Output-File-Formats"
967
968 \end_inset
969
970 , every output document format allows only a few image formats.
971  LyX uses therefore the program 
972 \family typewriter
973 Imagemagick
974 \family default
975  in the background to convert the images to the right format.
976  To increase your work flow by avoiding these conversions in the background,
977  you can use only the image formats that can directly be embedded in the
978  output file format.
979  The output file formats are explained in appendix\InsetSpace ~
980
981 \begin_inset LatexCommand ref
982 reference "cha:Output-File-Formats"
983
984 \end_inset
985
986 .
987 \end_layout
988
989 \begin_layout Standard
990 Similar to fonts there are two types of image formats:
991 \end_layout
992
993 \begin_layout Description
994 Bitmap\InsetSpace ~
995 images consist of pixel values, often in a compressed form.
996  They are therefore not fully scalable and look pixeled in large zooms.
997  Well-known bitmap image formats are 
998 \begin_inset Quotes eld
999 \end_inset
1000
1001 Graphics Interchange Format
1002 \begin_inset Quotes erd
1003 \end_inset
1004
1005  (GIF, file extension 
1006 \begin_inset Quotes eld
1007 \end_inset
1008
1009
1010 \family typewriter
1011 .gif
1012 \family default
1013
1014 \begin_inset Quotes erd
1015 \end_inset
1016
1017 )
1018 \begin_inset LatexCommand index
1019 name "GIF|see{Image formats}"
1020
1021 \end_inset
1022
1023
1024 \begin_inset Quotes eld
1025 \end_inset
1026
1027 Portable Network Graphics
1028 \begin_inset Quotes erd
1029 \end_inset
1030
1031  (PNG, file extension 
1032 \begin_inset Quotes eld
1033 \end_inset
1034
1035
1036 \family typewriter
1037 .png
1038 \family default
1039
1040 \begin_inset Quotes erd
1041 \end_inset
1042
1043 )
1044 \begin_inset LatexCommand index
1045 name "PNG|see{Image formats}"
1046
1047 \end_inset
1048
1049 , and 
1050 \begin_inset Quotes eld
1051 \end_inset
1052
1053 Joint Photographic Experts Group
1054 \begin_inset Quotes erd
1055 \end_inset
1056
1057  (JPG, file extension 
1058 \begin_inset Quotes eld
1059 \end_inset
1060
1061
1062 \family typewriter
1063 .jpg
1064 \family default
1065
1066 \begin_inset Quotes erd
1067 \end_inset
1068
1069  or 
1070 \begin_inset Quotes eld
1071 \end_inset
1072
1073
1074 \family typewriter
1075 .jpeg
1076 \family default
1077
1078 \begin_inset Quotes erd
1079 \end_inset
1080
1081 )
1082 \begin_inset LatexCommand index
1083 name "JPG|see{Image formats}"
1084
1085 \end_inset
1086
1087 .
1088 \end_layout
1089
1090 \begin_layout Description
1091 Vector\InsetSpace ~
1092 images consist of vectors and can therefore be scaled to any size
1093  without data loss.
1094  The scaling ability is necessary if you want to create presentations, because
1095  presentations are always scaled by the video projector.
1096  Scaling is also useful for online documents to let the user zoom into diagrams.
1097 \newline
1098 W
1099 ell-known scalable image formats are 
1100 \begin_inset Quotes eld
1101 \end_inset
1102
1103 Scalable Vector Graphics
1104 \begin_inset Quotes erd
1105 \end_inset
1106
1107  (SVG, file extension 
1108 \begin_inset Quotes eld
1109 \end_inset
1110
1111
1112 \family typewriter
1113 .svg
1114 \family default
1115
1116 \begin_inset Quotes erd
1117 \end_inset
1118
1119 )
1120 \begin_inset LatexCommand index
1121 name "SVG|see{Image formats}"
1122
1123 \end_inset
1124
1125
1126 \begin_inset Quotes eld
1127 \end_inset
1128
1129 Encapsulated PostScript
1130 \begin_inset Quotes erd
1131 \end_inset
1132
1133  (EPS, file extension 
1134 \begin_inset Quotes eld
1135 \end_inset
1136
1137
1138 \family typewriter
1139 .eps
1140 \family default
1141
1142 \begin_inset Quotes erd
1143 \end_inset
1144
1145 )
1146 \begin_inset LatexCommand index
1147 name "EPS|see{Image formats}"
1148
1149 \end_inset
1150
1151
1152 \begin_inset Quotes eld
1153 \end_inset
1154
1155 Portable Document Format
1156 \begin_inset Quotes erd
1157 \end_inset
1158
1159  (PDF, file extension 
1160 \begin_inset Quotes eld
1161 \end_inset
1162
1163
1164 \family typewriter
1165 .pdf
1166 \family default
1167
1168 \begin_inset Quotes erd
1169 \end_inset
1170
1171 )
1172 \begin_inset LatexCommand index
1173 name "PDF"
1174
1175 \end_inset
1176
1177 , and 
1178 \begin_inset Quotes eld
1179 \end_inset
1180
1181 Windows Metafile
1182 \begin_inset Quotes erd
1183 \end_inset
1184
1185  (WMF, file extension 
1186 \begin_inset Quotes eld
1187 \end_inset
1188
1189
1190 \family typewriter
1191 .wmf
1192 \family default
1193
1194 \begin_inset Quotes erd
1195 \end_inset
1196
1197 )
1198 \begin_inset LatexCommand index
1199 name "SVG|see{Image formats}"
1200
1201 \end_inset
1202
1203 .
1204  We wrote 
1205 \begin_inset Quotes eld
1206 \end_inset
1207
1208 can be
1209 \begin_inset Quotes erd
1210 \end_inset
1211
1212 , because you can convert any bitmap image to a PDF or EPS-image and the
1213  result will still be a bitmap image.
1214  In this cases only a header with the image properties is added to the original
1215  image
1216 \begin_inset Foot
1217 status open
1218
1219 \begin_layout Standard
1220 In the case of PDF, the original image is additionally compressed.
1221 \end_layout
1222
1223 \end_inset
1224
1225 .
1226  The PDF-files generated by 
1227 \family typewriter
1228 Adobe Photoshop
1229 \family default
1230  are for example bitmap images.
1231 \end_layout
1232
1233 \begin_layout Standard
1234 Normally it is not possible to convert a bitmap image into a scalable one,
1235  only vice versa.
1236  Only the image formats PDF and EPS can directly be embedded to PDF and
1237  PostScript output files, respectively.
1238  SVG and WMF-images are recalculated to bitmaps when the output file is
1239  generated because there is currently no adequate WMF/SVG
1240 \begin_inset Formula $\to$
1241 \end_inset
1242
1243 PDF/EPS converter available.
1244 \end_layout
1245
1246 \begin_layout Chapter
1247 Tables
1248 \begin_inset LatexCommand label
1249 name "cha:Tables"
1250
1251 \end_inset
1252
1253
1254 \begin_inset LatexCommand index
1255 name "Table"
1256
1257 \end_inset
1258
1259
1260 \end_layout
1261
1262 \begin_layout Section
1263 Introduction
1264 \begin_inset LatexCommand index
1265 name "Table ! Introduction"
1266
1267 \end_inset
1268
1269
1270 \end_layout
1271
1272 \begin_layout Standard
1273 You can insert a table using either the toolbar button 
1274 \begin_inset Graphics
1275         filename ../images/tabular-insert.xpm
1276         scale 85
1277         scaleBeforeRotation
1278
1279 \end_inset
1280
1281  or the menu 
1282 \family sans
1283 Insert\SpecialChar \menuseparator
1284 Table
1285 \family default
1286 .
1287  The toolbar button offers you a graphical selection: Move the mouse to
1288  set the column/row number of the table that should be created and then
1289  press a mouse button.
1290  When you use the menu to create a table, a dialog will appear, asking you
1291  for the number of rows and columns.
1292 \newline
1293  The default table has lines around any
1294  cell and the first row appears separated from the rest of the table.
1295  This separation occurs due to a double line: The cells of the first row
1296  have a line below them and the cells of the second row have a line above
1297  them.
1298  Here is an example table:
1299 \end_layout
1300
1301 \begin_layout Standard
1302 \align center
1303 \begin_inset Tabular
1304 <lyxtabular version="3" rows="4" columns="4">
1305 <features>
1306 <column alignment="center" valignment="top" leftline="true" width="0">
1307 <column alignment="center" valignment="top" leftline="true" width="0">
1308 <column alignment="center" valignment="top" leftline="true" width="0">
1309 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
1310 <row topline="true" bottomline="true">
1311 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1312 \begin_inset Text
1313
1314 \begin_layout Standard
1315
1316 \end_layout
1317
1318 \end_inset
1319 </cell>
1320 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1321 \begin_inset Text
1322
1323 \begin_layout Standard
1324
1325 \family roman
1326 \series medium
1327 \shape up
1328 \size normal
1329 \emph off
1330 \bar no
1331 \noun off
1332 \color none
1333 1
1334 \end_layout
1335
1336 \end_inset
1337 </cell>
1338 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1339 \begin_inset Text
1340
1341 \begin_layout Standard
1342 2
1343 \end_layout
1344
1345 \end_inset
1346 </cell>
1347 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1348 \begin_inset Text
1349
1350 \begin_layout Standard
1351 3
1352 \end_layout
1353
1354 \end_inset
1355 </cell>
1356 </row>
1357 <row topline="true">
1358 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1359 \begin_inset Text
1360
1361 \begin_layout Standard
1362
1363 \family roman
1364 \series medium
1365 \shape up
1366 \size normal
1367 \emph off
1368 \bar no
1369 \noun off
1370 \color none
1371 A
1372 \end_layout
1373
1374 \end_inset
1375 </cell>
1376 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1377 \begin_inset Text
1378
1379 \begin_layout Standard
1380
1381 \end_layout
1382
1383 \end_inset
1384 </cell>
1385 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1386 \begin_inset Text
1387
1388 \begin_layout Standard
1389
1390 \end_layout
1391
1392 \end_inset
1393 </cell>
1394 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1395 \begin_inset Text
1396
1397 \begin_layout Standard
1398
1399 \end_layout
1400
1401 \end_inset
1402 </cell>
1403 </row>
1404 <row topline="true">
1405 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1406 \begin_inset Text
1407
1408 \begin_layout Standard
1409
1410 \family roman
1411 \series medium
1412 \shape up
1413 \size normal
1414 \emph off
1415 \bar no
1416 \noun off
1417 \color none
1418 B
1419 \end_layout
1420
1421 \end_inset
1422 </cell>
1423 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1424 \begin_inset Text
1425
1426 \begin_layout Standard
1427
1428 \end_layout
1429
1430 \end_inset
1431 </cell>
1432 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1433 \begin_inset Text
1434
1435 \begin_layout Standard
1436
1437 \end_layout
1438
1439 \end_inset
1440 </cell>
1441 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1442 \begin_inset Text
1443
1444 \begin_layout Standard
1445
1446 \end_layout
1447
1448 \end_inset
1449 </cell>
1450 </row>
1451 <row topline="true" bottomline="true">
1452 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1453 \begin_inset Text
1454
1455 \begin_layout Standard
1456
1457 \family roman
1458 \series medium
1459 \shape up
1460 \size normal
1461 \emph off
1462 \bar no
1463 \noun off
1464 \color none
1465 C
1466 \end_layout
1467
1468 \end_inset
1469 </cell>
1470 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1471 \begin_inset Text
1472
1473 \begin_layout Standard
1474
1475 \end_layout
1476
1477 \end_inset
1478 </cell>
1479 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1480 \begin_inset Text
1481
1482 \begin_layout Standard
1483
1484 \end_layout
1485
1486 \end_inset
1487 </cell>
1488 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1489 \begin_inset Text
1490
1491 \begin_layout Standard
1492
1493 \end_layout
1494
1495 \end_inset
1496 </cell>
1497 </row>
1498 </lyxtabular>
1499
1500 \end_inset
1501
1502
1503 \end_layout
1504
1505 \begin_layout Section
1506 Table Dialog
1507 \begin_inset LatexCommand index
1508 name "Table ! Dialog"
1509
1510 \end_inset
1511
1512
1513 \end_layout
1514
1515 \begin_layout Standard
1516 You can alter a table by clicking on it with the right mouse button, which
1517  brings up the table dialog.
1518  Here you can adjust the settings of that cell and row/column respectively
1519  where the cursor is currently placed.
1520  Most of the dialog options also work on selections.
1521  This means if you select more cells, columns or rows, the action is done
1522  for the whole selection.
1523  Note that there is a difference between selecting the 
1524 \emph on
1525 contents
1526 \emph default
1527  of the cell, and the cell itself.
1528  You can alter tables with the following tabs of the table dialog:
1529 \end_layout
1530
1531 \begin_layout Description
1532
1533 \family sans
1534 Table\InsetSpace ~
1535 Settings
1536 \family default
1537  Here you can set the horizontal alignment and the width of the current
1538  column.
1539  When you have set a width you can also adjust the vertical alignment of
1540  the current row.
1541  A given width will allow the cell to have line breaks and multiple paragraphs
1542  of text, see section\InsetSpace ~
1543
1544 \begin_inset LatexCommand ref
1545 reference "sub:Multiple-Lines-in"
1546
1547 \end_inset
1548
1549 .
1550  If you set no width, the column is as wide as their widest cell content
1551  is.
1552 \newline
1553 Furthermore, you can mark one or multiple cells of one row as a multicolumn
1554  cell, see section\InsetSpace ~
1555
1556 \begin_inset LatexCommand ref
1557 reference "sub:Multicolumns"
1558
1559 \end_inset
1560
1561 .
1562 \newline
1563 The rotate check boxes rotates the current cell, a selection, or the whole
1564  table counter-clockwise by 90°.
1565  The rotation is not shown within LyX, only in the output.
1566 \newline
1567
1568 \begin_inset Note Greyedout
1569 status open
1570
1571 \begin_layout Standard
1572
1573 \series bold
1574 Note:
1575 \series default
1576  Not all DVI-viewers are able to display rotations.
1577 \end_layout
1578
1579 \end_inset
1580
1581
1582 \newline
1583 It is also possible to enter a LaTeX-argument which is needed for special
1584  table formattings, see section\InsetSpace ~
1585
1586 \begin_inset LatexCommand ref
1587 reference "sub:Multicolumn-Calculations"
1588
1589 \end_inset
1590
1591  and 
1592 \begin_inset LatexCommand ref
1593 reference "sec:Colored-Tables"
1594
1595 \end_inset
1596
1597 .
1598 \end_layout
1599
1600 \begin_layout Description
1601
1602 \family sans
1603 Borders
1604 \family default
1605  In this tab you can add and delete border lines for the current row/column.
1606 \newline
1607 Using
1608  the style option 
1609 \family sans
1610 Formal
1611 \family default
1612  will convert the table to a formal table as described in section\InsetSpace ~
1613
1614 \begin_inset LatexCommand ref
1615 reference "sec:Formal-Tables"
1616
1617 \end_inset
1618
1619 .
1620 \newline
1621 You can also add here space to table rows as decribed in section\InsetSpace ~
1622
1623 \begin_inset LatexCommand ref
1624 reference "sub:Row-Spacing"
1625
1626 \end_inset
1627
1628 .
1629 \end_layout
1630
1631 \begin_layout Description
1632
1633 \family sans
1634 Longtable
1635 \family default
1636  This tab is to make a table a so called 
1637 \begin_inset Quotes eld
1638 \end_inset
1639
1640
1641 \emph on
1642 longtable
1643 \emph default
1644
1645 \begin_inset Quotes erd
1646 \end_inset
1647
1648  that can run over several pages.
1649  Section\InsetSpace ~
1650
1651 \begin_inset LatexCommand ref
1652 reference "sec:Longtables"
1653
1654 \end_inset
1655
1656  and 
1657 \begin_inset LatexCommand ref
1658 reference "sec:Special-Longtable-Issues"
1659
1660 \end_inset
1661
1662  describe the longtable features in detail.
1663 \end_layout
1664
1665 \begin_layout Standard
1666 When the table toolbar is opened, you can move the cursor with the arrow
1667  keys from cell to cell and the property of the current cell will immediately
1668  be displayed in the dialog.
1669 \end_layout
1670
1671 \begin_layout Section
1672 Table Toolbar
1673 \begin_inset LatexCommand index
1674 name "Table ! Toolbar"
1675
1676 \end_inset
1677
1678
1679 \end_layout
1680
1681 \begin_layout Standard
1682 The table toolbar is an alternative to the table dialog to be able to alter
1683  tables faster.
1684  It should normally appear at the bottom of LyX's main window when the cursor
1685  is inside a table.
1686  You can alternatively switch it on to appear always, by right-clicking
1687  in LyX's main menu bar.
1688 \end_layout
1689
1690 \begin_layout Standard
1691 The toolbar has the following icons:
1692 \end_layout
1693
1694 \begin_layout Labeling
1695 \labelwidthstring 00.00.0000
1696 \begin_inset Graphics
1697         filename ../images/tabular-feature_append-row.xpm
1698         scaleBeforeRotation
1699
1700 \end_inset
1701
1702  adds a row below the current cell or selection
1703 \end_layout
1704
1705 \begin_layout Labeling
1706 \labelwidthstring 00.00.0000
1707 \begin_inset Graphics
1708         filename ../images/tabular-feature_append-column.xpm
1709         scaleBeforeRotation
1710
1711 \end_inset
1712
1713  adds a column right beside the current cell or selection
1714 \end_layout
1715
1716 \begin_layout Labeling
1717 \labelwidthstring 00.00.0000
1718 \begin_inset Graphics
1719         filename ../images/tabular-feature_delete-row.xpm
1720         scaleBeforeRotation
1721
1722 \end_inset
1723
1724  deletes the current row or selection
1725 \end_layout
1726
1727 \begin_layout Labeling
1728 \labelwidthstring 00.00.0000
1729 \begin_inset Graphics
1730         filename ../images/tabular-feature_delete-column.xpm
1731         scaleBeforeRotation
1732
1733 \end_inset
1734
1735  deletes the current column or selection
1736 \end_layout
1737
1738 \begin_layout Labeling
1739 \labelwidthstring 00.00.0000
1740 \begin_inset Graphics
1741         filename ../images/tabular-feature_toggle-line-top.xpm
1742         scaleBeforeRotation
1743
1744 \end_inset
1745
1746  adds a line at the top of the current cell / row or of a selection
1747 \end_layout
1748
1749 \begin_layout Labeling
1750 \labelwidthstring 00.00.0000
1751 \begin_inset Graphics
1752         filename ../images/tabular-feature_toggle-line-bottom.xpm
1753         scaleBeforeRotation
1754
1755 \end_inset
1756
1757  adds a line at the bottom of the current cell / row or of a selection
1758 \end_layout
1759
1760 \begin_layout Labeling
1761 \labelwidthstring 00.00.0000
1762 \begin_inset Graphics
1763         filename ../images/tabular-feature_toggle-line-left.xpm
1764         scaleBeforeRotation
1765
1766 \end_inset
1767
1768  adds a line at the left side of the current cell / row or of a selection
1769 \end_layout
1770
1771 \begin_layout Labeling
1772 \labelwidthstring 00.00.0000
1773 \begin_inset Graphics
1774         filename ../images/tabular-feature_toggle-line-right.xpm
1775         scaleBeforeRotation
1776
1777 \end_inset
1778
1779  adds a line at the right side of the current cell / row or of a selection
1780 \end_layout
1781
1782 \begin_layout Labeling
1783 \labelwidthstring 00.00.0000
1784 \begin_inset Graphics
1785         filename ../images/tabular-feature_set-all-lines.xpm
1786         scaleBeforeRotation
1787
1788 \end_inset
1789
1790  adds lines around the current or selected cells - if the current cell no
1791  multicolumn this also affects the current row and column
1792 \end_layout
1793
1794 \begin_layout Labeling
1795 \labelwidthstring 00.00.0000
1796 \begin_inset Graphics
1797         filename ../images/tabular-feature_unset-all-lines.xpm
1798         scaleBeforeRotation
1799
1800 \end_inset
1801
1802  deletes all lines of the current or selected cells - if the current cell
1803  no multicolumn this also affects the current row and column
1804 \end_layout
1805
1806 \begin_layout Labeling
1807 \labelwidthstring 00.00.0000
1808 \begin_inset Graphics
1809         filename ../images/tabular-feature_align-left.xpm
1810         scaleBeforeRotation
1811
1812 \end_inset
1813
1814  left-aligns the content of the current cell / column
1815 \end_layout
1816
1817 \begin_layout Labeling
1818 \labelwidthstring 00.00.0000
1819 \begin_inset Graphics
1820         filename ../images/tabular-feature_align-center.xpm
1821         scaleBeforeRotation
1822
1823 \end_inset
1824
1825  centers the content of the current cell / column horizontally
1826 \end_layout
1827
1828 \begin_layout Labeling
1829 \labelwidthstring 00.00.0000
1830 \begin_inset Graphics
1831         filename ../images/tabular-feature_align-right.xpm
1832         scaleBeforeRotation
1833
1834 \end_inset
1835
1836  right-aligns the content of the current cell / column
1837 \end_layout
1838
1839 \begin_layout Labeling
1840 \labelwidthstring 00.00.0000
1841 \begin_inset Graphics
1842         filename ../images/tabular-feature_valign-top.xpm
1843         scaleBeforeRotation
1844
1845 \end_inset
1846
1847  aligns the content of the current cell vertically to the top
1848 \end_layout
1849
1850 \begin_layout Labeling
1851 \labelwidthstring 00.00.0000
1852 \begin_inset Graphics
1853         filename ../images/tabular-feature_valign-middle.xpm
1854         scaleBeforeRotation
1855
1856 \end_inset
1857
1858  centers the content of the current cell vertically
1859 \end_layout
1860
1861 \begin_layout Labeling
1862 \labelwidthstring 00.00.0000
1863 \begin_inset Graphics
1864         filename ../images/tabular-feature_valign-bottom.xpm
1865         scaleBeforeRotation
1866
1867 \end_inset
1868
1869  aligns the content of the current cell vertically to the bottom
1870 \end_layout
1871
1872 \begin_layout Labeling
1873 \labelwidthstring 00.00.0000
1874 \begin_inset Graphics
1875         filename ../images/tabular-feature_set-rotate-cell.xpm
1876         scaleBeforeRotation
1877
1878 \end_inset
1879
1880  rotates the current cell or selection counter-clockwise by 90°
1881 \end_layout
1882
1883 \begin_layout Labeling
1884 \labelwidthstring 00.00.0000
1885 \begin_inset Graphics
1886         filename ../images/tabular-feature_set-rotate-tabular.xpm
1887         scaleBeforeRotation
1888
1889 \end_inset
1890
1891  rotates the whole table counter-clockwise by 90°
1892 \end_layout
1893
1894 \begin_layout Labeling
1895 \labelwidthstring 00.00.0000
1896 \begin_inset Graphics
1897         filename ../images/tabular-feature_multicolumn.xpm
1898         scaleBeforeRotation
1899
1900 \end_inset
1901
1902  sets the current cell or selection as a multicolumn
1903 \end_layout
1904
1905 \begin_layout Standard
1906 \begin_inset Note Greyedout
1907 status open
1908
1909 \begin_layout Standard
1910
1911 \series bold
1912 Note:
1913 \series default
1914  For the output the vertical alignment of the first cell in a row is used
1915  for all following cells in the row.
1916 \end_layout
1917
1918 \end_inset
1919
1920
1921 \end_layout
1922
1923 \begin_layout Section
1924 Edit Table Menu
1925 \begin_inset LatexCommand index
1926 name "Table ! Edit Menu"
1927
1928 \end_inset
1929
1930
1931 \end_layout
1932
1933 \begin_layout Standard
1934 Additionally to the table dialog and toolbar, the menu 
1935 \family sans
1936 Edit\SpecialChar \menuseparator
1937 Table
1938 \family default
1939  allows you to add and delete border lines for the current row/column and
1940  to set the current selection as multicolumn.
1941  The menu is only available when the cursor is inside a table.
1942 \end_layout
1943
1944 \begin_layout Section
1945 Table Floats
1946 \begin_inset LatexCommand label
1947 name "sec:Table-Floats"
1948
1949 \end_inset
1950
1951
1952 \begin_inset LatexCommand index
1953 name "Floats ! Tables"
1954
1955 \end_inset
1956
1957
1958 \begin_inset LatexCommand index
1959 name "Table ! Floats"
1960
1961 \end_inset
1962
1963
1964 \end_layout
1965
1966 \begin_layout Standard
1967 For general explanations about floats, have a look at section\InsetSpace ~
1968
1969 \begin_inset LatexCommand ref
1970 reference "sec:FloatIntroduction"
1971
1972 \end_inset
1973
1974 .
1975 \end_layout
1976
1977 \begin_layout Standard
1978 \begin_inset Float table
1979 placement h
1980 wide false
1981 sideways false
1982 status open
1983
1984 \begin_layout Standard
1985 \begin_inset Caption
1986
1987 \begin_layout Standard
1988 \begin_inset LatexCommand label
1989 name "tab:a table float"
1990
1991 \end_inset
1992
1993 A table float.
1994 \end_layout
1995
1996 \end_inset
1997
1998
1999 \end_layout
2000
2001 \begin_layout Standard
2002 \align center
2003 \begin_inset Tabular
2004 <lyxtabular version="3" rows="3" columns="3">
2005 <features>
2006 <column alignment="center" valignment="top" leftline="true" width="0pt">
2007 <column alignment="center" valignment="top" leftline="true" width="0pt">
2008 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
2009 <row topline="true" bottomline="true">
2010 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2011 \begin_inset Text
2012
2013 \begin_layout Standard
2014
2015 \family roman
2016 \series medium
2017 \shape up
2018 \size normal
2019 \emph off
2020 \bar no
2021 \noun off
2022 \color none
2023 1
2024 \end_layout
2025
2026 \end_inset
2027 </cell>
2028 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2029 \begin_inset Text
2030
2031 \begin_layout Standard
2032
2033 \family roman
2034 \series medium
2035 \shape up
2036 \size normal
2037 \emph off
2038 \bar no
2039 \noun off
2040 \color none
2041 2
2042 \end_layout
2043
2044 \end_inset
2045 </cell>
2046 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2047 \begin_inset Text
2048
2049 \begin_layout Standard
2050
2051 \family roman
2052 \series medium
2053 \shape up
2054 \size normal
2055 \emph off
2056 \bar no
2057 \noun off
2058 \color none
2059 3
2060 \end_layout
2061
2062 \end_inset
2063 </cell>
2064 </row>
2065 <row topline="true">
2066 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2067 \begin_inset Text
2068
2069 \begin_layout Standard
2070
2071 \family roman
2072 \series medium
2073 \shape up
2074 \size normal
2075 \emph off
2076 \bar no
2077 \noun off
2078 \color none
2079 Joe
2080 \end_layout
2081
2082 \end_inset
2083 </cell>
2084 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2085 \begin_inset Text
2086
2087 \begin_layout Standard
2088
2089 \family roman
2090 \series medium
2091 \shape up
2092 \size normal
2093 \emph off
2094 \bar no
2095 \noun off
2096 \color none
2097 Mary
2098 \end_layout
2099
2100 \end_inset
2101 </cell>
2102 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2103 \begin_inset Text
2104
2105 \begin_layout Standard
2106
2107 \family roman
2108 \series medium
2109 \shape up
2110 \size normal
2111 \emph off
2112 \bar no
2113 \noun off
2114 \color none
2115 Ted
2116 \end_layout
2117
2118 \end_inset
2119 </cell>
2120 </row>
2121 <row topline="true" bottomline="true">
2122 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2123 \begin_inset Text
2124
2125 \begin_layout Standard
2126
2127 \family roman
2128 \series medium
2129 \shape up
2130 \size normal
2131 \emph off
2132 \bar no
2133 \noun off
2134 \color none
2135 \begin_inset Formula $\int x^{2}dx$
2136 \end_inset
2137
2138
2139 \end_layout
2140
2141 \end_inset
2142 </cell>
2143 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2144 \begin_inset Text
2145
2146 \begin_layout Standard
2147
2148 \family roman
2149 \series medium
2150 \shape up
2151 \size normal
2152 \emph off
2153 \bar no
2154 \noun off
2155 \color none
2156 \begin_inset Formula $\left[\begin{array}{cc}
2157 a & b\\
2158 c & d\end{array}\right]$
2159 \end_inset
2160
2161
2162 \end_layout
2163
2164 \end_inset
2165 </cell>
2166 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2167 \begin_inset Text
2168
2169 \begin_layout Standard
2170
2171 \family roman
2172 \series medium
2173 \shape up
2174 \size normal
2175 \emph off
2176 \bar no
2177 \noun off
2178 \color none
2179 \begin_inset Formula $1+1=2$
2180 \end_inset
2181
2182
2183 \end_layout
2184
2185 \end_inset
2186 </cell>
2187 </row>
2188 </lyxtabular>
2189
2190 \end_inset
2191
2192
2193 \end_layout
2194
2195 \end_inset
2196
2197
2198 \end_layout
2199
2200 \begin_layout Standard
2201 Table floats can be inserted using the menu 
2202 \family sans
2203 Insert\SpecialChar \menuseparator
2204 Float\SpecialChar \menuseparator
2205 Table
2206 \family default
2207  or the toolbar button 
2208 \begin_inset Graphics
2209         filename ../images/float-insert_table.xpm
2210         scale 85
2211         scaleBeforeRotation
2212
2213 \end_inset
2214
2215 .
2216 \end_layout
2217
2218 \begin_layout Standard
2219 The float appears as a collapsible box with a caption that has the label
2220  
2221 \begin_inset Quotes eld
2222 \end_inset
2223
2224 Table\InsetSpace ~
2225 #:
2226 \begin_inset Quotes erd
2227 \end_inset
2228
2229  (# is the actual table number).
2230  You can insert tables to the float above or below the caption.
2231 \end_layout
2232
2233 \begin_layout Standard
2234 Table\InsetSpace ~
2235
2236 \begin_inset LatexCommand ref
2237 reference "tab:a table float"
2238
2239 \end_inset
2240
2241  is an example table within a table float.
2242 \end_layout
2243
2244 \begin_layout Standard
2245 Having the caption above the table is the common rule that is unfortunately
2246  not supported in LaTeX's standard classes.
2247  That means if you are using the document classes 
2248 \family sans
2249 article
2250 \family default
2251
2252 \family sans
2253 book
2254 \family default
2255
2256 \family sans
2257 letter
2258 \family default
2259 , or 
2260 \family sans
2261 report
2262 \family default
2263  there will be no space between the caption and the table.
2264  To insert the needed space, add the following option to the load command
2265  of the LaTeX-package 
2266 \series bold
2267 caption
2268 \series default
2269
2270 \begin_inset LatexCommand index
2271 name "LaTeX-packages ! caption"
2272
2273 \end_inset
2274
2275  in your document preamble
2276 \begin_inset Foot
2277 status collapsed
2278
2279 \begin_layout Standard
2280 For more information have a look at section\InsetSpace ~
2281
2282 \begin_inset LatexCommand ref
2283 reference "sec:Caption-Placement"
2284
2285 \end_inset
2286
2287 .
2288 \end_layout
2289
2290 \end_inset
2291
2292 :
2293 \end_layout
2294
2295 \begin_layout Standard
2296
2297 \series bold
2298 tableposition=top
2299 \end_layout
2300
2301 \begin_layout Standard
2302 The package 
2303 \series bold
2304 caption
2305 \series default
2306 , which is described in section\InsetSpace ~
2307
2308 \begin_inset LatexCommand ref
2309 reference "sec:Caption-Formatting"
2310
2311 \end_inset
2312
2313 , is used to adjust the caption format.
2314 \end_layout
2315
2316 \begin_layout Standard
2317 \begin_inset LatexCommand index
2318 name "References ! to Tables"
2319
2320 \end_inset
2321
2322 Tables can be cross-referenced in the text by referencing their label.
2323  To do this insert a label in the caption using the menu 
2324 \family sans
2325 Insert\SpecialChar \menuseparator
2326 Label
2327 \family default
2328  or the toolbar button 
2329 \begin_inset Graphics
2330         filename ../images/label-insert.xpm
2331         scale 85
2332         scaleBeforeRotation
2333
2334 \end_inset
2335
2336 .
2337  You can now refer to the label using the menu 
2338 \family sans
2339 Insert\SpecialChar \menuseparator
2340 Cross\InsetSpace ~
2341 reference
2342 \family default
2343  or the toolbar button 
2344 \begin_inset Graphics
2345         filename ../images/dialog-show-new-inset_ref.xpm
2346         scale 85
2347         scaleBeforeRotation
2348
2349 \end_inset
2350
2351 .
2352 \newline
2353 Referencing is explained in detail in section\InsetSpace ~
2354
2355 \begin_inset LatexCommand ref
2356 reference "sec:Referencing-Floats"
2357
2358 \end_inset
2359
2360 .
2361 \end_layout
2362
2363 \begin_layout Section
2364 Longtables
2365 \begin_inset LatexCommand label
2366 name "sec:Longtables"
2367
2368 \end_inset
2369
2370
2371 \begin_inset LatexCommand index
2372 name "Longtables"
2373
2374 \end_inset
2375
2376
2377 \begin_inset LatexCommand index
2378 name "Table ! Longtables"
2379
2380 \end_inset
2381
2382
2383 \end_layout
2384
2385 \begin_layout Standard
2386 If the table is too long to fit on one page, you can use the option 
2387 \family sans
2388 Use\InsetSpace ~
2389 long\InsetSpace ~
2390 table
2391 \family default
2392  in the tab 
2393 \family sans
2394 Longtable
2395 \family default
2396  of the table dialog to split the table automatically over more pages.
2397  Doing this enables some check boxes and you can now define:
2398 \end_layout
2399
2400 \begin_layout Description
2401
2402 \family sans
2403 Header
2404 \family default
2405 : The current row and all rows above, that don't have any special options
2406  defined, are defined to be the header rows of all pages of the longtable;
2407  except for the first page, if 
2408 \family sans
2409 First\InsetSpace ~
2410 header
2411 \family default
2412  is defined.
2413  This therefore called the main header.
2414 \end_layout
2415
2416 \begin_layout Description
2417
2418 \family sans
2419 First\InsetSpace ~
2420 header
2421 \family default
2422 : The current row and all rows above, that don't have any special options
2423  defined, are defined to be the header rows of the first page of the longtable.
2424 \end_layout
2425
2426 \begin_layout Description
2427
2428 \family sans
2429 Footer
2430 \family default
2431 : The current row and all rows below, that don't have any special options
2432  defined, are defined to be the footer rows of all pages of the longtable;
2433  except for the last page, if 
2434 \family sans
2435 Last\InsetSpace ~
2436 footer
2437 \family default
2438  is defined.
2439 \end_layout
2440
2441 \begin_layout Description
2442
2443 \family sans
2444 Last\InsetSpace ~
2445 footer
2446 \family default
2447 : The current row and all rows below, that don't have any special options
2448  defined, are defined to be the footer rows of the last page of the longtable.
2449 \end_layout
2450
2451 \begin_layout Standard
2452 You can also specify a row where the table is splitted.
2453  If you set more than one option in the same table row, you should be aware
2454  of the fact that only the first one is used in the given table row.
2455  The others will then be defined as 
2456 \emph on
2457 empty
2458 \emph default
2459 .
2460  In this context, first means first in this order: 
2461 \family sans
2462 Header,
2463 \family default
2464  
2465 \family sans
2466 First\InsetSpace ~
2467 header, Footer, Last\InsetSpace ~
2468 footer.
2469
2470 \family default
2471  See the following longtable to see how it works:
2472 \end_layout
2473
2474 \begin_layout Standard
2475 \align center
2476 \begin_inset Tabular
2477 <lyxtabular version="3" rows="69" columns="3">
2478 <features islongtable="true">
2479 <column alignment="left" valignment="top" leftline="true" width="0cm">
2480 <column alignment="left" valignment="top" width="0pt">
2481 <column alignment="right" valignment="top" leftline="true" rightline="true" width="0pt">
2482 <row topline="true" bottomline="true" endfirsthead="true">
2483 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2484 \begin_inset Text
2485
2486 \begin_layout Standard
2487
2488 \series bold
2489 Example Phone List (ignore the names)
2490 \end_layout
2491
2492 \end_inset
2493 </cell>
2494 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2495 \begin_inset Text
2496
2497 \begin_layout Standard
2498
2499 \end_layout
2500
2501 \end_inset
2502 </cell>
2503 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2504 \begin_inset Text
2505
2506 \begin_layout Standard
2507
2508 \end_layout
2509
2510 \end_inset
2511 </cell>
2512 </row>
2513 <row topline="true" bottomline="true" endfirsthead="true">
2514 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2515 \begin_inset Text
2516
2517 \begin_layout Standard
2518
2519 \series bold
2520 NAME
2521 \end_layout
2522
2523 \end_inset
2524 </cell>
2525 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2526 \begin_inset Text
2527
2528 \begin_layout Standard
2529
2530 \end_layout
2531
2532 \end_inset
2533 </cell>
2534 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2535 \begin_inset Text
2536
2537 \begin_layout Standard
2538
2539 \series bold
2540 TEL.
2541 \end_layout
2542
2543 \end_inset
2544 </cell>
2545 </row>
2546 <row topline="true" bottomline="true" endhead="true">
2547 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2548 \begin_inset Text
2549
2550 \begin_layout Standard
2551
2552 \series bold
2553 Example Phone List
2554 \end_layout
2555
2556 \end_inset
2557 </cell>
2558 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2559 \begin_inset Text
2560
2561 \begin_layout Standard
2562
2563 \end_layout
2564
2565 \end_inset
2566 </cell>
2567 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2568 \begin_inset Text
2569
2570 \begin_layout Standard
2571
2572 \end_layout
2573
2574 \end_inset
2575 </cell>
2576 </row>
2577 <row topline="true" bottomline="true" endhead="true">
2578 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2579 \begin_inset Text
2580
2581 \begin_layout Standard
2582
2583 \series bold
2584 NAME
2585 \end_layout
2586
2587 \end_inset
2588 </cell>
2589 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2590 \begin_inset Text
2591
2592 \begin_layout Standard
2593
2594 \end_layout
2595
2596 \end_inset
2597 </cell>
2598 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2599 \begin_inset Text
2600
2601 \begin_layout Standard
2602
2603 \series bold
2604 TEL.
2605 \end_layout
2606
2607 \end_inset
2608 </cell>
2609 </row>
2610 <row topline="true" bottomline="true" endfoot="true">
2611 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
2612 \begin_inset Text
2613
2614 \begin_layout Standard
2615  continued on next page
2616 \end_layout
2617
2618 \end_inset
2619 </cell>
2620 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2621 \begin_inset Text
2622
2623 \begin_layout Standard
2624
2625 \end_layout
2626
2627 \end_inset
2628 </cell>
2629 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2630 \begin_inset Text
2631
2632 \begin_layout Standard
2633
2634 \end_layout
2635
2636 \end_inset
2637 </cell>
2638 </row>
2639 <row>
2640 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2641 \begin_inset Text
2642
2643 \begin_layout Standard
2644
2645 \series bold
2646 Annovi
2647 \end_layout
2648
2649 \end_inset
2650 </cell>
2651 <cell alignment="center" valignment="top" topline="true" usebox="none">
2652 \begin_inset Text
2653
2654 \begin_layout Standard
2655 Silvia
2656 \end_layout
2657
2658 \end_inset
2659 </cell>
2660 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2661 \begin_inset Text
2662
2663 \begin_layout Standard
2664 111
2665 \end_layout
2666
2667 \end_inset
2668 </cell>
2669 </row>
2670 <row>
2671 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2672 \begin_inset Text
2673
2674 \begin_layout Standard
2675
2676 \series bold
2677 Bertoli
2678 \end_layout
2679
2680 \end_inset
2681 </cell>
2682 <cell alignment="center" valignment="top" topline="true" usebox="none">
2683 \begin_inset Text
2684
2685 \begin_layout Standard
2686 Stefano
2687 \end_layout
2688
2689 \end_inset
2690 </cell>
2691 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2692 \begin_inset Text
2693
2694 \begin_layout Standard
2695 111
2696 \end_layout
2697
2698 \end_inset
2699 </cell>
2700 </row>
2701 <row>
2702 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2703 \begin_inset Text
2704
2705 \begin_layout Standard
2706
2707 \series bold
2708 Bozzi
2709 \end_layout
2710
2711 \end_inset
2712 </cell>
2713 <cell alignment="center" valignment="top" topline="true" usebox="none">
2714 \begin_inset Text
2715
2716 \begin_layout Standard
2717 Walter
2718 \end_layout
2719
2720 \end_inset
2721 </cell>
2722 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2723 \begin_inset Text
2724
2725 \begin_layout Standard
2726 111
2727 \end_layout
2728
2729 \end_inset
2730 </cell>
2731 </row>
2732 <row>
2733 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2734 \begin_inset Text
2735
2736 \begin_layout Standard
2737
2738 \series bold
2739 Cachia
2740 \end_layout
2741
2742 \end_inset
2743 </cell>
2744 <cell alignment="center" valignment="top" topline="true" usebox="none">
2745 \begin_inset Text
2746
2747 \begin_layout Standard
2748 Maria
2749 \end_layout
2750
2751 \end_inset
2752 </cell>
2753 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2754 \begin_inset Text
2755
2756 \begin_layout Standard
2757 111
2758 \end_layout
2759
2760 \end_inset
2761 </cell>
2762 </row>
2763 <row>
2764 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2765 \begin_inset Text
2766
2767 \begin_layout Standard
2768
2769 \series bold
2770 Cachia
2771 \end_layout
2772
2773 \end_inset
2774 </cell>
2775 <cell alignment="center" valignment="top" topline="true" usebox="none">
2776 \begin_inset Text
2777
2778 \begin_layout Standard
2779 Maurizio
2780 \end_layout
2781
2782 \end_inset
2783 </cell>
2784 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2785 \begin_inset Text
2786
2787 \begin_layout Standard
2788 111
2789 \end_layout
2790
2791 \end_inset
2792 </cell>
2793 </row>
2794 <row>
2795 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2796 \begin_inset Text
2797
2798 \begin_layout Standard
2799
2800 \series bold
2801 Cinquemani
2802 \end_layout
2803
2804 \end_inset
2805 </cell>
2806 <cell alignment="center" valignment="top" topline="true" usebox="none">
2807 \begin_inset Text
2808
2809 \begin_layout Standard
2810 Giusi
2811 \end_layout
2812
2813 \end_inset
2814 </cell>
2815 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2816 \begin_inset Text
2817
2818 \begin_layout Standard
2819 111
2820 \end_layout
2821
2822 \end_inset
2823 </cell>
2824 </row>
2825 <row>
2826 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2827 \begin_inset Text
2828
2829 \begin_layout Standard
2830
2831 \series bold
2832 Colin
2833 \end_layout
2834
2835 \end_inset
2836 </cell>
2837 <cell alignment="center" valignment="top" topline="true" usebox="none">
2838 \begin_inset Text
2839
2840 \begin_layout Standard
2841 Bernard
2842 \end_layout
2843
2844 \end_inset
2845 </cell>
2846 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2847 \begin_inset Text
2848
2849 \begin_layout Standard
2850 111
2851 \end_layout
2852
2853 \end_inset
2854 </cell>
2855 </row>
2856 <row>
2857 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2858 \begin_inset Text
2859
2860 \begin_layout Standard
2861
2862 \series bold
2863 Concli
2864 \end_layout
2865
2866 \end_inset
2867 </cell>
2868 <cell alignment="center" valignment="top" topline="true" usebox="none">
2869 \begin_inset Text
2870
2871 \begin_layout Standard
2872 Gianfranco
2873 \end_layout
2874
2875 \end_inset
2876 </cell>
2877 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2878 \begin_inset Text
2879
2880 \begin_layout Standard
2881 111
2882 \end_layout
2883
2884 \end_inset
2885 </cell>
2886 </row>
2887 <row>
2888 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2889 \begin_inset Text
2890
2891 \begin_layout Standard
2892
2893 \series bold
2894 Dal Bosco
2895 \end_layout
2896
2897 \end_inset
2898 </cell>
2899 <cell alignment="center" valignment="top" topline="true" usebox="none">
2900 \begin_inset Text
2901
2902 \begin_layout Standard
2903 Carolina
2904 \end_layout
2905
2906 \end_inset
2907 </cell>
2908 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2909 \begin_inset Text
2910
2911 \begin_layout Standard
2912 111
2913 \end_layout
2914
2915 \end_inset
2916 </cell>
2917 </row>
2918 <row>
2919 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2920 \begin_inset Text
2921
2922 \begin_layout Standard
2923
2924 \series bold
2925 Dalpiaz
2926 \end_layout
2927
2928 \end_inset
2929 </cell>
2930 <cell alignment="center" valignment="top" topline="true" usebox="none">
2931 \begin_inset Text
2932
2933 \begin_layout Standard
2934 Annamaria
2935 \end_layout
2936
2937 \end_inset
2938 </cell>
2939 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2940 \begin_inset Text
2941
2942 \begin_layout Standard
2943 111
2944 \end_layout
2945
2946 \end_inset
2947 </cell>
2948 </row>
2949 <row>
2950 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2951 \begin_inset Text
2952
2953 \begin_layout Standard
2954
2955 \series bold
2956 Feliciello
2957 \end_layout
2958
2959 \end_inset
2960 </cell>
2961 <cell alignment="center" valignment="top" topline="true" usebox="none">
2962 \begin_inset Text
2963
2964 \begin_layout Standard
2965 Domenico
2966 \end_layout
2967
2968 \end_inset
2969 </cell>
2970 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2971 \begin_inset Text
2972
2973 \begin_layout Standard
2974 111
2975 \end_layout
2976
2977 \end_inset
2978 </cell>
2979 </row>
2980 <row>
2981 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2982 \begin_inset Text
2983
2984 \begin_layout Standard
2985
2986 \series bold
2987 Focarelli
2988 \end_layout
2989
2990 \end_inset
2991 </cell>
2992 <cell alignment="center" valignment="top" topline="true" usebox="none">
2993 \begin_inset Text
2994
2995 \begin_layout Standard
2996 Paola
2997 \end_layout
2998
2999 \end_inset
3000 </cell>
3001 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3002 \begin_inset Text
3003
3004 \begin_layout Standard
3005 111
3006 \end_layout
3007
3008 \end_inset
3009 </cell>
3010 </row>
3011 <row>
3012 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3013 \begin_inset Text
3014
3015 \begin_layout Standard
3016
3017 \series bold
3018 Galletti
3019 \end_layout
3020
3021 \end_inset
3022 </cell>
3023 <cell alignment="center" valignment="top" topline="true" usebox="none">
3024 \begin_inset Text
3025
3026 \begin_layout Standard
3027 Oreste
3028 \end_layout
3029
3030 \end_inset
3031 </cell>
3032 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3033 \begin_inset Text
3034
3035 \begin_layout Standard
3036 111
3037 \end_layout
3038
3039 \end_inset
3040 </cell>
3041 </row>
3042 <row>
3043 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3044 \begin_inset Text
3045
3046 \begin_layout Standard
3047
3048 \series bold
3049 Gasparini
3050 \end_layout
3051
3052 \end_inset
3053 </cell>
3054 <cell alignment="center" valignment="top" topline="true" usebox="none">
3055 \begin_inset Text
3056
3057 \begin_layout Standard
3058 Franca
3059 \end_layout
3060
3061 \end_inset
3062 </cell>
3063 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3064 \begin_inset Text
3065
3066 \begin_layout Standard
3067 111
3068 \end_layout
3069
3070 \end_inset
3071 </cell>
3072 </row>
3073 <row>
3074 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3075 \begin_inset Text
3076
3077 \begin_layout Standard
3078
3079 \series bold
3080 Rizzardi
3081 \end_layout
3082
3083 \end_inset
3084 </cell>
3085 <cell alignment="center" valignment="top" topline="true" usebox="none">
3086 \begin_inset Text
3087
3088 \begin_layout Standard
3089 Paola
3090 \end_layout
3091
3092 \end_inset
3093 </cell>
3094 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3095 \begin_inset Text
3096
3097 \begin_layout Standard
3098 111
3099 \end_layout
3100
3101 \end_inset
3102 </cell>
3103 </row>
3104 <row>
3105 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3106 \begin_inset Text
3107
3108 \begin_layout Standard
3109
3110 \series bold
3111 Lassini
3112 \end_layout
3113
3114 \end_inset
3115 </cell>
3116 <cell alignment="center" valignment="top" topline="true" usebox="none">
3117 \begin_inset Text
3118
3119 \begin_layout Standard
3120 Giancarlo
3121 \end_layout
3122
3123 \end_inset
3124 </cell>
3125 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3126 \begin_inset Text
3127
3128 \begin_layout Standard
3129 111
3130 \end_layout
3131
3132 \end_inset
3133 </cell>
3134 </row>
3135 <row>
3136 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3137 \begin_inset Text
3138
3139 \begin_layout Standard
3140
3141 \series bold
3142 Malfatti
3143 \end_layout
3144
3145 \end_inset
3146 </cell>
3147 <cell alignment="center" valignment="top" topline="true" usebox="none">
3148 \begin_inset Text
3149
3150 \begin_layout Standard
3151 Luciano
3152 \end_layout
3153
3154 \end_inset
3155 </cell>
3156 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3157 \begin_inset Text
3158
3159 \begin_layout Standard
3160 111
3161 \end_layout
3162
3163 \end_inset
3164 </cell>
3165 </row>
3166 <row>
3167 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3168 \begin_inset Text
3169
3170 \begin_layout Standard
3171
3172 \series bold
3173 Malfatti
3174 \end_layout
3175
3176 \end_inset
3177 </cell>
3178 <cell alignment="center" valignment="top" topline="true" usebox="none">
3179 \begin_inset Text
3180
3181 \begin_layout Standard
3182 Valeriano
3183 \end_layout
3184
3185 \end_inset
3186 </cell>
3187 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3188 \begin_inset Text
3189
3190 \begin_layout Standard
3191 111
3192 \end_layout
3193
3194 \end_inset
3195 </cell>
3196 </row>
3197 <row>
3198 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3199 \begin_inset Text
3200
3201 \begin_layout Standard
3202
3203 \series bold
3204 Meneguzzo
3205 \end_layout
3206
3207 \end_inset
3208 </cell>
3209 <cell alignment="center" valignment="top" topline="true" usebox="none">
3210 \begin_inset Text
3211
3212 \begin_layout Standard
3213 Roberto
3214 \end_layout
3215
3216 \end_inset
3217 </cell>
3218 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3219 \begin_inset Text
3220
3221 \begin_layout Standard
3222 111
3223 \end_layout
3224
3225 \end_inset
3226 </cell>
3227 </row>
3228 <row>
3229 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3230 \begin_inset Text
3231
3232 \begin_layout Standard
3233
3234 \series bold
3235 Mezzadra
3236 \end_layout
3237
3238 \end_inset
3239 </cell>
3240 <cell alignment="center" valignment="top" topline="true" usebox="none">
3241 \begin_inset Text
3242
3243 \begin_layout Standard
3244 Roberto
3245 \end_layout
3246
3247 \end_inset
3248 </cell>
3249 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3250 \begin_inset Text
3251
3252 \begin_layout Standard
3253 111
3254 \end_layout
3255
3256 \end_inset
3257 </cell>
3258 </row>
3259 <row>
3260 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3261 \begin_inset Text
3262
3263 \begin_layout Standard
3264
3265 \series bold
3266 Pirpamer
3267 \end_layout
3268
3269 \end_inset
3270 </cell>
3271 <cell alignment="center" valignment="top" topline="true" usebox="none">
3272 \begin_inset Text
3273
3274 \begin_layout Standard
3275 Erich
3276 \end_layout
3277
3278 \end_inset
3279 </cell>
3280 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3281 \begin_inset Text
3282
3283 \begin_layout Standard
3284 111
3285 \end_layout
3286
3287 \end_inset
3288 </cell>
3289 </row>
3290 <row>
3291 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3292 \begin_inset Text
3293
3294 \begin_layout Standard
3295
3296 \series bold
3297 Pochiesa
3298 \end_layout
3299
3300 \end_inset
3301 </cell>
3302 <cell alignment="center" valignment="top" topline="true" usebox="none">
3303 \begin_inset Text
3304
3305 \begin_layout Standard
3306 Paolo
3307 \end_layout
3308
3309 \end_inset
3310 </cell>
3311 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3312 \begin_inset Text
3313
3314 \begin_layout Standard
3315 111, 222
3316 \end_layout
3317
3318 \end_inset
3319 </cell>
3320 </row>
3321 <row>
3322 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3323 \begin_inset Text
3324
3325 \begin_layout Standard
3326
3327 \series bold
3328 Radina
3329 \end_layout
3330
3331 \end_inset
3332 </cell>
3333 <cell alignment="center" valignment="top" topline="true" usebox="none">
3334 \begin_inset Text
3335
3336 \begin_layout Standard
3337 Claudio
3338 \end_layout
3339
3340 \end_inset
3341 </cell>
3342 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3343 \begin_inset Text
3344
3345 \begin_layout Standard
3346 111
3347 \end_layout
3348
3349 \end_inset
3350 </cell>
3351 </row>
3352 <row>
3353 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3354 \begin_inset Text
3355
3356 \begin_layout Standard
3357
3358 \series bold
3359 Stuffer
3360 \end_layout
3361
3362 \end_inset
3363 </cell>
3364 <cell alignment="center" valignment="top" topline="true" usebox="none">
3365 \begin_inset Text
3366
3367 \begin_layout Standard
3368 Oskar
3369 \end_layout
3370
3371 \end_inset
3372 </cell>
3373 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3374 \begin_inset Text
3375
3376 \begin_layout Standard
3377 111
3378 \end_layout
3379
3380 \end_inset
3381 </cell>
3382 </row>
3383 <row>
3384 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3385 \begin_inset Text
3386
3387 \begin_layout Standard
3388
3389 \series bold
3390 Tacchelli
3391 \end_layout
3392
3393 \end_inset
3394 </cell>
3395 <cell alignment="center" valignment="top" topline="true" usebox="none">
3396 \begin_inset Text
3397
3398 \begin_layout Standard
3399 Ugo
3400 \end_layout
3401
3402 \end_inset
3403 </cell>
3404 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3405 \begin_inset Text
3406
3407 \begin_layout Standard
3408 111
3409 \end_layout
3410
3411 \end_inset
3412 </cell>
3413 </row>
3414 <row>
3415 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3416 \begin_inset Text
3417
3418 \begin_layout Standard
3419
3420 \series bold
3421 Tezzele
3422 \end_layout
3423
3424 \end_inset
3425 </cell>
3426 <cell alignment="center" valignment="top" topline="true" usebox="none">
3427 \begin_inset Text
3428
3429 \begin_layout Standard
3430 Margit
3431 \end_layout
3432
3433 \end_inset
3434 </cell>
3435 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3436 \begin_inset Text
3437
3438 \begin_layout Standard
3439 111
3440 \end_layout
3441
3442 \end_inset
3443 </cell>
3444 </row>
3445 <row>
3446 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3447 \begin_inset Text
3448
3449 \begin_layout Standard
3450
3451 \series bold
3452 Unterkalmsteiner
3453 \end_layout
3454
3455 \end_inset
3456 </cell>
3457 <cell alignment="center" valignment="top" topline="true" usebox="none">
3458 \begin_inset Text
3459
3460 \begin_layout Standard
3461 Frieda
3462 \end_layout
3463
3464 \end_inset
3465 </cell>
3466 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3467 \begin_inset Text
3468
3469 \begin_layout Standard
3470 111
3471 \end_layout
3472
3473 \end_inset
3474 </cell>
3475 </row>
3476 <row>
3477 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3478 \begin_inset Text
3479
3480 \begin_layout Standard
3481
3482 \series bold
3483 Vieider
3484 \end_layout
3485
3486 \end_inset
3487 </cell>
3488 <cell alignment="center" valignment="top" topline="true" usebox="none">
3489 \begin_inset Text
3490
3491 \begin_layout Standard
3492 Hilde
3493 \end_layout
3494
3495 \end_inset
3496 </cell>
3497 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3498 \begin_inset Text
3499
3500 \begin_layout Standard
3501 111
3502 \end_layout
3503
3504 \end_inset
3505 </cell>
3506 </row>
3507 <row>
3508 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3509 \begin_inset Text
3510
3511 \begin_layout Standard
3512
3513 \series bold
3514 Vigna
3515 \end_layout
3516
3517 \end_inset
3518 </cell>
3519 <cell alignment="center" valignment="top" topline="true" usebox="none">
3520 \begin_inset Text
3521
3522 \begin_layout Standard
3523 Jürgen
3524 \end_layout
3525
3526 \end_inset
3527 </cell>
3528 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3529 \begin_inset Text
3530
3531 \begin_layout Standard
3532 111
3533 \end_layout
3534
3535 \end_inset
3536 </cell>
3537 </row>
3538 <row>
3539 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3540 \begin_inset Text
3541
3542 \begin_layout Standard
3543
3544 \series bold
3545 Weber
3546 \end_layout
3547
3548 \end_inset
3549 </cell>
3550 <cell alignment="center" valignment="top" topline="true" usebox="none">
3551 \begin_inset Text
3552
3553 \begin_layout Standard
3554 Maurizio
3555 \end_layout
3556
3557 \end_inset
3558 </cell>
3559 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3560 \begin_inset Text
3561
3562 \begin_layout Standard
3563 111
3564 \end_layout
3565
3566 \end_inset
3567 </cell>
3568 </row>
3569 <row bottomline="true">
3570 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3571 \begin_inset Text
3572
3573 \begin_layout Standard
3574
3575 \series bold
3576 Winkler
3577 \end_layout
3578
3579 \end_inset
3580 </cell>
3581 <cell alignment="center" valignment="top" topline="true" usebox="none">
3582 \begin_inset Text
3583
3584 \begin_layout Standard
3585 Franz
3586 \end_layout
3587
3588 \end_inset
3589 </cell>
3590 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3591 \begin_inset Text
3592
3593 \begin_layout Standard
3594 111
3595 \end_layout
3596
3597 \end_inset
3598 </cell>
3599 </row>
3600 <row bottomline="true">
3601 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3602 \begin_inset Text
3603
3604 \begin_layout Standard
3605  
3606 \end_layout
3607
3608 \end_inset
3609 </cell>
3610 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
3611 \begin_inset Text
3612
3613 \begin_layout Standard
3614
3615 \end_layout
3616
3617 \end_inset
3618 </cell>
3619 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3620 \begin_inset Text
3621
3622 \begin_layout Standard
3623
3624 \end_layout
3625
3626 \end_inset
3627 </cell>
3628 </row>
3629 <row>
3630 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3631 \begin_inset Text
3632
3633 \begin_layout Standard
3634
3635 \series bold
3636 Annovi
3637 \end_layout
3638
3639 \end_inset
3640 </cell>
3641 <cell alignment="center" valignment="top" topline="true" usebox="none">
3642 \begin_inset Text
3643
3644 \begin_layout Standard
3645 Silvia
3646 \end_layout
3647
3648 \end_inset
3649 </cell>
3650 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3651 \begin_inset Text
3652
3653 \begin_layout Standard
3654 555
3655 \end_layout
3656
3657 \end_inset
3658 </cell>
3659 </row>
3660 <row>
3661 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3662 \begin_inset Text
3663
3664 \begin_layout Standard
3665
3666 \series bold
3667 Bertoli
3668 \end_layout
3669
3670 \end_inset
3671 </cell>
3672 <cell alignment="center" valignment="top" topline="true" usebox="none">
3673 \begin_inset Text
3674
3675 \begin_layout Standard
3676 Stefano
3677 \end_layout
3678
3679 \end_inset
3680 </cell>
3681 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3682 \begin_inset Text
3683
3684 \begin_layout Standard
3685 555
3686 \end_layout
3687
3688 \end_inset
3689 </cell>
3690 </row>
3691 <row>
3692 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3693 \begin_inset Text
3694
3695 \begin_layout Standard
3696
3697 \series bold
3698 Bozzi
3699 \end_layout
3700
3701 \end_inset
3702 </cell>
3703 <cell alignment="center" valignment="top" topline="true" usebox="none">
3704 \begin_inset Text
3705
3706 \begin_layout Standard
3707 Walter
3708 \end_layout
3709
3710 \end_inset
3711 </cell>
3712 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3713 \begin_inset Text
3714
3715 \begin_layout Standard
3716 555
3717 \end_layout
3718
3719 \end_inset
3720 </cell>
3721 </row>
3722 <row>
3723 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3724 \begin_inset Text
3725
3726 \begin_layout Standard
3727
3728 \series bold
3729 Cachia
3730 \end_layout
3731
3732 \end_inset
3733 </cell>
3734 <cell alignment="center" valignment="top" topline="true" usebox="none">
3735 \begin_inset Text
3736
3737 \begin_layout Standard
3738 Maria
3739 \end_layout
3740
3741 \end_inset
3742 </cell>
3743 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3744 \begin_inset Text
3745
3746 \begin_layout Standard
3747 555
3748 \end_layout
3749
3750 \end_inset
3751 </cell>
3752 </row>
3753 <row>
3754 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3755 \begin_inset Text
3756
3757 \begin_layout Standard
3758
3759 \series bold
3760 Cachia
3761 \end_layout
3762
3763 \end_inset
3764 </cell>
3765 <cell alignment="center" valignment="top" topline="true" usebox="none">
3766 \begin_inset Text
3767
3768 \begin_layout Standard
3769 Maurizio
3770 \end_layout
3771
3772 \end_inset
3773 </cell>
3774 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3775 \begin_inset Text
3776
3777 \begin_layout Standard
3778 555
3779 \end_layout
3780
3781 \end_inset
3782 </cell>
3783 </row>
3784 <row>
3785 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3786 \begin_inset Text
3787
3788 \begin_layout Standard
3789
3790 \series bold
3791 Cinquemani
3792 \end_layout
3793
3794 \end_inset
3795 </cell>
3796 <cell alignment="center" valignment="top" topline="true" usebox="none">
3797 \begin_inset Text
3798
3799 \begin_layout Standard
3800 Giusi
3801 \end_layout
3802
3803 \end_inset
3804 </cell>
3805 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3806 \begin_inset Text
3807
3808 \begin_layout Standard
3809 555
3810 \end_layout
3811
3812 \end_inset
3813 </cell>
3814 </row>
3815 <row>
3816 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3817 \begin_inset Text
3818
3819 \begin_layout Standard
3820
3821 \series bold
3822 Colin
3823 \end_layout
3824
3825 \end_inset
3826 </cell>
3827 <cell alignment="center" valignment="top" topline="true" usebox="none">
3828 \begin_inset Text
3829
3830 \begin_layout Standard
3831 Bernard
3832 \end_layout
3833
3834 \end_inset
3835 </cell>
3836 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3837 \begin_inset Text
3838
3839 \begin_layout Standard
3840 555
3841 \end_layout
3842
3843 \end_inset
3844 </cell>
3845 </row>
3846 <row>
3847 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3848 \begin_inset Text
3849
3850 \begin_layout Standard
3851
3852 \series bold
3853 Concli
3854 \end_layout
3855
3856 \end_inset
3857 </cell>
3858 <cell alignment="center" valignment="top" topline="true" usebox="none">
3859 \begin_inset Text
3860
3861 \begin_layout Standard
3862 Gianfranco
3863 \end_layout
3864
3865 \end_inset
3866 </cell>
3867 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3868 \begin_inset Text
3869
3870 \begin_layout Standard
3871 555
3872 \end_layout
3873
3874 \end_inset
3875 </cell>
3876 </row>
3877 <row>
3878 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3879 \begin_inset Text
3880
3881 \begin_layout Standard
3882
3883 \series bold
3884 Dal Bosco
3885 \end_layout
3886
3887 \end_inset
3888 </cell>
3889 <cell alignment="center" valignment="top" topline="true" usebox="none">
3890 \begin_inset Text
3891
3892 \begin_layout Standard
3893 Carolina
3894 \end_layout
3895
3896 \end_inset
3897 </cell>
3898 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3899 \begin_inset Text
3900
3901 \begin_layout Standard
3902 555
3903 \end_layout
3904
3905 \end_inset
3906 </cell>
3907 </row>
3908 <row>
3909 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3910 \begin_inset Text
3911
3912 \begin_layout Standard
3913
3914 \series bold
3915 Dalpiaz
3916 \end_layout
3917
3918 \end_inset
3919 </cell>
3920 <cell alignment="center" valignment="top" topline="true" usebox="none">
3921 \begin_inset Text
3922
3923 \begin_layout Standard
3924 Annamaria
3925 \end_layout
3926
3927 \end_inset
3928 </cell>
3929 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3930 \begin_inset Text
3931
3932 \begin_layout Standard
3933 555
3934 \end_layout
3935
3936 \end_inset
3937 </cell>
3938 </row>
3939 <row>
3940 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3941 \begin_inset Text
3942
3943 \begin_layout Standard
3944
3945 \series bold
3946 Feliciello
3947 \end_layout
3948
3949 \end_inset
3950 </cell>
3951 <cell alignment="center" valignment="top" topline="true" usebox="none">
3952 \begin_inset Text
3953
3954 \begin_layout Standard
3955 Domenico
3956 \end_layout
3957
3958 \end_inset
3959 </cell>
3960 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3961 \begin_inset Text
3962
3963 \begin_layout Standard
3964 555
3965 \end_layout
3966
3967 \end_inset
3968 </cell>
3969 </row>
3970 <row>
3971 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3972 \begin_inset Text
3973
3974 \begin_layout Standard
3975
3976 \series bold
3977 Focarelli
3978 \end_layout
3979
3980 \end_inset
3981 </cell>
3982 <cell alignment="center" valignment="top" topline="true" usebox="none">
3983 \begin_inset Text
3984
3985 \begin_layout Standard
3986 Paola
3987 \end_layout
3988
3989 \end_inset
3990 </cell>
3991 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3992 \begin_inset Text
3993
3994 \begin_layout Standard
3995 555
3996 \end_layout
3997
3998 \end_inset
3999 </cell>
4000 </row>
4001 <row>
4002 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4003 \begin_inset Text
4004
4005 \begin_layout Standard
4006
4007 \series bold
4008 Galletti
4009 \end_layout
4010
4011 \end_inset
4012 </cell>
4013 <cell alignment="center" valignment="top" topline="true" usebox="none">
4014 \begin_inset Text
4015
4016 \begin_layout Standard
4017 Oreste
4018 \end_layout
4019
4020 \end_inset
4021 </cell>
4022 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4023 \begin_inset Text
4024
4025 \begin_layout Standard
4026 555
4027 \end_layout
4028
4029 \end_inset
4030 </cell>
4031 </row>
4032 <row>
4033 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4034 \begin_inset Text
4035
4036 \begin_layout Standard
4037
4038 \series bold
4039 Gasparini
4040 \end_layout
4041
4042 \end_inset
4043 </cell>
4044 <cell alignment="center" valignment="top" topline="true" usebox="none">
4045 \begin_inset Text
4046
4047 \begin_layout Standard
4048 Franca
4049 \end_layout
4050
4051 \end_inset
4052 </cell>
4053 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4054 \begin_inset Text
4055
4056 \begin_layout Standard
4057 555
4058 \end_layout
4059
4060 \end_inset
4061 </cell>
4062 </row>
4063 <row>
4064 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4065 \begin_inset Text
4066
4067 \begin_layout Standard
4068
4069 \series bold
4070 Rizzardi
4071 \end_layout
4072
4073 \end_inset
4074 </cell>
4075 <cell alignment="center" valignment="top" topline="true" usebox="none">
4076 \begin_inset Text
4077
4078 \begin_layout Standard
4079 Paola
4080 \end_layout
4081
4082 \end_inset
4083 </cell>
4084 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4085 \begin_inset Text
4086
4087 \begin_layout Standard
4088 555
4089 \end_layout
4090
4091 \end_inset
4092 </cell>
4093 </row>
4094 <row>
4095 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4096 \begin_inset Text
4097
4098 \begin_layout Standard
4099
4100 \series bold
4101 Lassini
4102 \end_layout
4103
4104 \end_inset
4105 </cell>
4106 <cell alignment="center" valignment="top" topline="true" usebox="none">
4107 \begin_inset Text
4108
4109 \begin_layout Standard
4110 Giancarlo
4111 \end_layout
4112
4113 \end_inset
4114 </cell>
4115 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4116 \begin_inset Text
4117
4118 \begin_layout Standard
4119 555
4120 \end_layout
4121
4122 \end_inset
4123 </cell>
4124 </row>
4125 <row>
4126 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4127 \begin_inset Text
4128
4129 \begin_layout Standard
4130
4131 \series bold
4132 Malfatti
4133 \end_layout
4134
4135 \end_inset
4136 </cell>
4137 <cell alignment="center" valignment="top" topline="true" usebox="none">
4138 \begin_inset Text
4139
4140 \begin_layout Standard
4141 Luciano
4142 \end_layout
4143
4144 \end_inset
4145 </cell>
4146 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4147 \begin_inset Text
4148
4149 \begin_layout Standard
4150 555
4151 \end_layout
4152
4153 \end_inset
4154 </cell>
4155 </row>
4156 <row>
4157 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4158 \begin_inset Text
4159
4160 \begin_layout Standard
4161
4162 \series bold
4163 Malfatti
4164 \end_layout
4165
4166 \end_inset
4167 </cell>
4168 <cell alignment="center" valignment="top" topline="true" usebox="none">
4169 \begin_inset Text
4170
4171 \begin_layout Standard
4172 Valeriano
4173 \end_layout
4174
4175 \end_inset
4176 </cell>
4177 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4178 \begin_inset Text
4179
4180 \begin_layout Standard
4181 555
4182 \end_layout
4183
4184 \end_inset
4185 </cell>
4186 </row>
4187 <row>
4188 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4189 \begin_inset Text
4190
4191 \begin_layout Standard
4192
4193 \series bold
4194 Meneguzzo
4195 \end_layout
4196
4197 \end_inset
4198 </cell>
4199 <cell alignment="center" valignment="top" topline="true" usebox="none">
4200 \begin_inset Text
4201
4202 \begin_layout Standard
4203 Roberto
4204 \end_layout
4205
4206 \end_inset
4207 </cell>
4208 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4209 \begin_inset Text
4210
4211 \begin_layout Standard
4212 555
4213 \end_layout
4214
4215 \end_inset
4216 </cell>
4217 </row>
4218 <row>
4219 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4220 \begin_inset Text
4221
4222 \begin_layout Standard
4223
4224 \series bold
4225 Mezzadra
4226 \end_layout
4227
4228 \end_inset
4229 </cell>
4230 <cell alignment="center" valignment="top" topline="true" usebox="none">
4231 \begin_inset Text
4232
4233 \begin_layout Standard
4234 Roberto
4235 \end_layout
4236
4237 \end_inset
4238 </cell>
4239 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4240 \begin_inset Text
4241
4242 \begin_layout Standard
4243 555
4244 \end_layout
4245
4246 \end_inset
4247 </cell>
4248 </row>
4249 <row>
4250 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4251 \begin_inset Text
4252
4253 \begin_layout Standard
4254
4255 \series bold
4256 Pirpamer
4257 \end_layout
4258
4259 \end_inset
4260 </cell>
4261 <cell alignment="center" valignment="top" topline="true" usebox="none">
4262 \begin_inset Text
4263
4264 \begin_layout Standard
4265 Erich
4266 \end_layout
4267
4268 \end_inset
4269 </cell>
4270 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4271 \begin_inset Text
4272
4273 \begin_layout Standard
4274 555
4275 \end_layout
4276
4277 \end_inset
4278 </cell>
4279 </row>
4280 <row>
4281 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4282 \begin_inset Text
4283
4284 \begin_layout Standard
4285
4286 \series bold
4287 Pochiesa
4288 \end_layout
4289
4290 \end_inset
4291 </cell>
4292 <cell alignment="center" valignment="top" topline="true" usebox="none">
4293 \begin_inset Text
4294
4295 \begin_layout Standard
4296 Paolo
4297 \end_layout
4298
4299 \end_inset
4300 </cell>
4301 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4302 \begin_inset Text
4303
4304 \begin_layout Standard
4305 555, 222
4306 \end_layout
4307
4308 \end_inset
4309 </cell>
4310 </row>
4311 <row>
4312 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4313 \begin_inset Text
4314
4315 \begin_layout Standard
4316
4317 \series bold
4318 Radina
4319 \end_layout
4320
4321 \end_inset
4322 </cell>
4323 <cell alignment="center" valignment="top" topline="true" usebox="none">
4324 \begin_inset Text
4325
4326 \begin_layout Standard
4327 Claudio
4328 \end_layout
4329
4330 \end_inset
4331 </cell>
4332 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4333 \begin_inset Text
4334
4335 \begin_layout Standard
4336 555
4337 \end_layout
4338
4339 \end_inset
4340 </cell>
4341 </row>
4342 <row>
4343 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4344 \begin_inset Text
4345
4346 \begin_layout Standard
4347
4348 \series bold
4349 Stuffer
4350 \end_layout
4351
4352 \end_inset
4353 </cell>
4354 <cell alignment="center" valignment="top" topline="true" usebox="none">
4355 \begin_inset Text
4356
4357 \begin_layout Standard
4358 Oskar
4359 \end_layout
4360
4361 \end_inset
4362 </cell>
4363 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4364 \begin_inset Text
4365
4366 \begin_layout Standard
4367 555
4368 \end_layout
4369
4370 \end_inset
4371 </cell>
4372 </row>
4373 <row>
4374 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4375 \begin_inset Text
4376
4377 \begin_layout Standard
4378
4379 \series bold
4380 Tacchelli
4381 \end_layout
4382
4383 \end_inset
4384 </cell>
4385 <cell alignment="center" valignment="top" topline="true" usebox="none">
4386 \begin_inset Text
4387
4388 \begin_layout Standard
4389 Ugo
4390 \end_layout
4391
4392 \end_inset
4393 </cell>
4394 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4395 \begin_inset Text
4396
4397 \begin_layout Standard
4398 555
4399 \end_layout
4400
4401 \end_inset
4402 </cell>
4403 </row>
4404 <row>
4405 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4406 \begin_inset Text
4407
4408 \begin_layout Standard
4409
4410 \series bold
4411 Tezzele
4412 \end_layout
4413
4414 \end_inset
4415 </cell>
4416 <cell alignment="center" valignment="top" topline="true" usebox="none">
4417 \begin_inset Text
4418
4419 \begin_layout Standard
4420 Margit
4421 \end_layout
4422
4423 \end_inset
4424 </cell>
4425 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4426 \begin_inset Text
4427
4428 \begin_layout Standard
4429 555
4430 \end_layout
4431
4432 \end_inset
4433 </cell>
4434 </row>
4435 <row>
4436 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4437 \begin_inset Text
4438
4439 \begin_layout Standard
4440
4441 \series bold
4442 Unterkalmsteiner
4443 \end_layout
4444
4445 \end_inset
4446 </cell>
4447 <cell alignment="center" valignment="top" topline="true" usebox="none">
4448 \begin_inset Text
4449
4450 \begin_layout Standard
4451 Frieda
4452 \end_layout
4453
4454 \end_inset
4455 </cell>
4456 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4457 \begin_inset Text
4458
4459 \begin_layout Standard
4460 555
4461 \end_layout
4462
4463 \end_inset
4464 </cell>
4465 </row>
4466 <row>
4467 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4468 \begin_inset Text
4469
4470 \begin_layout Standard
4471
4472 \series bold
4473 Vieider
4474 \end_layout
4475
4476 \end_inset
4477 </cell>
4478 <cell alignment="center" valignment="top" topline="true" usebox="none">
4479 \begin_inset Text
4480
4481 \begin_layout Standard
4482 Hilde
4483 \end_layout
4484
4485 \end_inset
4486 </cell>
4487 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4488 \begin_inset Text
4489
4490 \begin_layout Standard
4491 555
4492 \end_layout
4493
4494 \end_inset
4495 </cell>
4496 </row>
4497 <row>
4498 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4499 \begin_inset Text
4500
4501 \begin_layout Standard
4502
4503 \series bold
4504 Vigna
4505 \end_layout
4506
4507 \end_inset
4508 </cell>
4509 <cell alignment="center" valignment="top" topline="true" usebox="none">
4510 \begin_inset Text
4511
4512 \begin_layout Standard
4513 Jürgen
4514 \end_layout
4515
4516 \end_inset
4517 </cell>
4518 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4519 \begin_inset Text
4520
4521 \begin_layout Standard
4522 999
4523 \end_layout
4524
4525 \end_inset
4526 </cell>
4527 </row>
4528 <row>
4529 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4530 \begin_inset Text
4531
4532 \begin_layout Standard
4533
4534 \series bold
4535 Weber
4536 \end_layout
4537
4538 \end_inset
4539 </cell>
4540 <cell alignment="center" valignment="top" topline="true" usebox="none">
4541 \begin_inset Text
4542
4543 \begin_layout Standard
4544 Maurizio
4545 \end_layout
4546
4547 \end_inset
4548 </cell>
4549 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4550 \begin_inset Text
4551
4552 \begin_layout Standard
4553 555
4554 \end_layout
4555
4556 \end_inset
4557 </cell>
4558 </row>
4559 <row bottomline="true">
4560 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4561 \begin_inset Text
4562
4563 \begin_layout Standard
4564
4565 \series bold
4566 Winkler
4567 \end_layout
4568
4569 \end_inset
4570 </cell>
4571 <cell alignment="center" valignment="top" topline="true" usebox="none">
4572 \begin_inset Text
4573
4574 \begin_layout Standard
4575 Franz
4576 \end_layout
4577
4578 \end_inset
4579 </cell>
4580 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4581 \begin_inset Text
4582
4583 \begin_layout Standard
4584 555
4585 \end_layout
4586
4587 \end_inset
4588 </cell>
4589 </row>
4590 <row bottomline="true" endlastfoot="true">
4591 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
4592 \begin_inset Text
4593
4594 \begin_layout Standard
4595 end
4596 \end_layout
4597
4598 \end_inset
4599 </cell>
4600 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4601 \begin_inset Text
4602
4603 \begin_layout Standard
4604
4605 \end_layout
4606
4607 \end_inset
4608 </cell>
4609 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4610 \begin_inset Text
4611
4612 \begin_layout Standard
4613
4614 \end_layout
4615
4616 \end_inset
4617 </cell>
4618 </row>
4619 </lyxtabular>
4620
4621 \end_inset
4622
4623
4624 \begin_inset ERT
4625 status collapsed
4626
4627 \begin_layout Standard
4628
4629
4630 \backslash
4631 addtocounter{table}{-1}
4632 \end_layout
4633
4634 \end_inset
4635
4636
4637 \begin_inset Note Note
4638 status collapsed
4639
4640 \begin_layout Standard
4641 See greyed-out note in section\InsetSpace ~
4642
4643 \begin_inset LatexCommand ref
4644 reference "sub:Longtable-Captions"
4645
4646 \end_inset
4647
4648  for an explanation of this command.
4649 \end_layout
4650
4651 \end_inset
4652
4653
4654 \end_layout
4655
4656 \begin_layout Subsection
4657 Footnotes in Longtables
4658 \begin_inset LatexCommand label
4659 name "sub:Footnotes-in-Longtables"
4660
4661 \end_inset
4662
4663
4664 \begin_inset LatexCommand index
4665 name "Longtables ! Footnotes"
4666
4667 \end_inset
4668
4669
4670 \end_layout
4671
4672 \begin_layout Standard
4673 Footnotes can be inserted to every longtable cell.
4674  They appear at the bottom of the page where the table cell with the footnote
4675  appears.
4676  Table\InsetSpace ~
4677
4678 \begin_inset LatexCommand ref
4679 reference "tab:DiffCaptions"
4680
4681 \end_inset
4682
4683  has for example a footnote.
4684 \end_layout
4685
4686 \begin_layout Subsection
4687 Longtable Captions
4688 \begin_inset LatexCommand index
4689 name "Longtables ! Captions"
4690
4691 \end_inset
4692
4693
4694 \begin_inset LatexCommand label
4695 name "sub:Longtable-Captions"
4696
4697 \end_inset
4698
4699
4700 \end_layout
4701
4702 \begin_layout Standard
4703 A longtable cannot be put into a table float because floats can only be
4704  on one page but the caption environment of floats can also be used for
4705  longtables.
4706 \end_layout
4707
4708 \begin_layout Standard
4709 As LyX does not yet fully support captions in longtables, a hack is needed
4710  to create them:
4711 \end_layout
4712
4713 \begin_layout Enumerate
4714 Create a longtable
4715 \family sans
4716 .
4717 \end_layout
4718
4719 \begin_layout Enumerate
4720 Mark the first row and disable its upper line.
4721 \end_layout
4722
4723 \begin_layout Enumerate
4724 Insert a caption via the menu 
4725 \family sans
4726 Insert\SpecialChar \menuseparator
4727 Caption
4728 \family default
4729  into the first table cell.
4730 \newline
4731 You can also add a short title for the caption.
4732 \end_layout
4733
4734 \begin_layout Enumerate
4735 Insert a 
4736 \begin_inset Quotes eld
4737 \end_inset
4738
4739
4740 \series bold
4741
4742 \backslash
4743
4744 \backslash
4745 %
4746 \series default
4747
4748 \begin_inset Quotes erd
4749 \end_inset
4750
4751  as ERT behind the caption.
4752 \end_layout
4753
4754 \begin_layout Standard
4755 A short title that will appear in the LOT instead of the full title.
4756  The 
4757 \series bold
4758
4759 \backslash
4760
4761 \backslash
4762 %
4763 \series default
4764  behind the caption omits the vertical lines between the following cells
4765  in the row.
4766  The first table row is now only a dummy row for the caption, the actual
4767  table starts with the second row.
4768 \end_layout
4769
4770 \begin_layout Standard
4771 Here is a short longtable to see how it works:
4772 \end_layout
4773
4774 \begin_layout Standard
4775 \begin_inset Tabular
4776 <lyxtabular version="3" rows="6" columns="5">
4777 <features islongtable="true">
4778 <column alignment="center" valignment="top" leftline="true" width="0">
4779 <column alignment="center" valignment="top" leftline="true" width="0">
4780 <column alignment="center" valignment="top" leftline="true" width="0">
4781 <column alignment="center" valignment="top" leftline="true" width="0">
4782 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
4783 <row>
4784 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4785 \begin_inset Text
4786
4787 \begin_layout Standard
4788 \begin_inset Caption
4789
4790 \begin_layout Standard
4791 Longtable with caption
4792 \begin_inset OptArg
4793 status open
4794
4795 \begin_layout Standard
4796 Longtable
4797 \end_layout
4798
4799 \end_inset
4800
4801
4802 \end_layout
4803
4804 \end_inset
4805
4806
4807 \begin_inset ERT
4808 status collapsed
4809
4810 \begin_layout Standard
4811
4812
4813 \backslash
4814
4815 \backslash
4816 %
4817 \end_layout
4818
4819 \end_inset
4820
4821
4822 \end_layout
4823
4824 \end_inset
4825 </cell>
4826 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4827 \begin_inset Text
4828
4829 \begin_layout Standard
4830
4831 \end_layout
4832
4833 \end_inset
4834 </cell>
4835 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4836 \begin_inset Text
4837
4838 \begin_layout Standard
4839
4840 \end_layout
4841
4842 \end_inset
4843 </cell>
4844 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4845 \begin_inset Text
4846
4847 \begin_layout Standard
4848
4849 \end_layout
4850
4851 \end_inset
4852 </cell>
4853 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4854 \begin_inset Text
4855
4856 \begin_layout Standard
4857
4858 \end_layout
4859
4860 \end_inset
4861 </cell>
4862 </row>
4863 <row topline="true">
4864 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4865 \begin_inset Text
4866
4867 \begin_layout Standard
4868 1
4869 \end_layout
4870
4871 \end_inset
4872 </cell>
4873 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4874 \begin_inset Text
4875
4876 \begin_layout Standard
4877 2
4878 \end_layout
4879
4880 \end_inset
4881 </cell>
4882 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4883 \begin_inset Text
4884
4885 \begin_layout Standard
4886 3
4887 \end_layout
4888
4889 \end_inset
4890 </cell>
4891 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4892 \begin_inset Text
4893
4894 \begin_layout Standard
4895 4
4896 \end_layout
4897
4898 \end_inset
4899 </cell>
4900 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4901 \begin_inset Text
4902
4903 \begin_layout Standard
4904 5
4905 \end_layout
4906
4907 \end_inset
4908 </cell>
4909 </row>
4910 <row topline="true">
4911 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4912 \begin_inset Text
4913
4914 \begin_layout Standard
4915 asd
4916 \end_layout
4917
4918 \end_inset
4919 </cell>
4920 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4921 \begin_inset Text
4922
4923 \begin_layout Standard
4924 s
4925 \end_layout
4926
4927 \end_inset
4928 </cell>
4929 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4930 \begin_inset Text
4931
4932 \begin_layout Standard
4933 s
4934 \end_layout
4935
4936 \end_inset
4937 </cell>
4938 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4939 \begin_inset Text
4940
4941 \begin_layout Standard
4942 s
4943 \end_layout
4944
4945 \end_inset
4946 </cell>
4947 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4948 \begin_inset Text
4949
4950 \begin_layout Standard
4951 asd
4952 \end_layout
4953
4954 \end_inset
4955 </cell>
4956 </row>
4957 <row topline="true">
4958 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4959 \begin_inset Text
4960
4961 \begin_layout Standard
4962 asd
4963 \end_layout
4964
4965 \end_inset
4966 </cell>
4967 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4968 \begin_inset Text
4969
4970 \begin_layout Standard
4971 s
4972 \end_layout
4973
4974 \end_inset
4975 </cell>
4976 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4977 \begin_inset Text
4978
4979 \begin_layout Standard
4980 s
4981 \end_layout
4982
4983 \end_inset
4984 </cell>
4985 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4986 \begin_inset Text
4987
4988 \begin_layout Standard
4989 s
4990 \end_layout
4991
4992 \end_inset
4993 </cell>
4994 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4995 \begin_inset Text
4996
4997 \begin_layout Standard
4998 asd
4999 \end_layout
5000
5001 \end_inset
5002 </cell>
5003 </row>
5004 <row topline="true">
5005 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5006 \begin_inset Text
5007
5008 \begin_layout Standard
5009 asd
5010 \end_layout
5011
5012 \end_inset
5013 </cell>
5014 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5015 \begin_inset Text
5016
5017 \begin_layout Standard
5018 s
5019 \end_layout
5020
5021 \end_inset
5022 </cell>
5023 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5024 \begin_inset Text
5025
5026 \begin_layout Standard
5027 s
5028 \end_layout
5029
5030 \end_inset
5031 </cell>
5032 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5033 \begin_inset Text
5034
5035 \begin_layout Standard
5036 s
5037 \end_layout
5038
5039 \end_inset
5040 </cell>
5041 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5042 \begin_inset Text
5043
5044 \begin_layout Standard
5045 asd
5046 \end_layout
5047
5048 \end_inset
5049 </cell>
5050 </row>
5051 <row topline="true" bottomline="true">
5052 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5053 \begin_inset Text
5054
5055 \begin_layout Standard
5056 asd
5057 \end_layout
5058
5059 \end_inset
5060 </cell>
5061 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5062 \begin_inset Text
5063
5064 \begin_layout Standard
5065 asd
5066 \end_layout
5067
5068 \end_inset
5069 </cell>
5070 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5071 \begin_inset Text
5072
5073 \begin_layout Standard
5074 asd
5075 \end_layout
5076
5077 \end_inset
5078 </cell>
5079 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5080 \begin_inset Text
5081
5082 \begin_layout Standard
5083 asd
5084 \end_layout
5085
5086 \end_inset
5087 </cell>
5088 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5089 \begin_inset Text
5090
5091 \begin_layout Standard
5092 asd
5093 \end_layout
5094
5095 \end_inset
5096 </cell>
5097 </row>
5098 </lyxtabular>
5099
5100 \end_inset
5101
5102
5103 \end_layout
5104
5105 \begin_layout Standard
5106 \begin_inset VSpace medskip
5107 \end_inset
5108
5109
5110 \begin_inset Note Greyedout
5111 status open
5112
5113 \begin_layout Standard
5114
5115 \series bold
5116 Note:
5117 \series default
5118  The table number is increased for every longtable, also if you didn't set
5119  a caption for it.
5120  For this reason you could have the case that e.g.
5121  Table\InsetSpace ~
5122 2.4 follows on Table\InsetSpace ~
5123 2.1 in the list of tables if there are two longtables
5124  without captions.
5125  To avoid this you can add the following command in ERT behind every longtable
5126  without a caption:
5127 \end_layout
5128
5129 \begin_layout Standard
5130
5131 \series bold
5132
5133 \backslash
5134 addtocounter{table}{-1}
5135 \end_layout
5136
5137 \end_inset
5138
5139
5140 \end_layout
5141
5142 \begin_layout Standard
5143 \begin_inset Note Greyedout
5144 status open
5145
5146 \begin_layout Standard
5147
5148 \series bold
5149 Note:
5150 \series default
5151  If you are using the LaTeX-package 
5152 \series bold
5153 hyperref
5154 \series default
5155
5156 \begin_inset LatexCommand index
5157 name "LaTeX-packages ! hyperref"
5158
5159 \end_inset
5160
5161  to link cross-references, the link to a longtable caption will always point
5162  to the beginning of the document.
5163 \end_layout
5164
5165 \end_inset
5166
5167
5168 \end_layout
5169
5170 \begin_layout Subsubsection
5171 References to Longtables
5172 \begin_inset LatexCommand index
5173 name "Longtables ! References"
5174
5175 \end_inset
5176
5177
5178 \end_layout
5179
5180 \begin_layout Standard
5181 \begin_inset Tabular
5182 <lyxtabular version="3" rows="6" columns="5">
5183 <features islongtable="true">
5184 <column alignment="center" valignment="top" leftline="true" width="0">
5185 <column alignment="center" valignment="top" leftline="true" width="0">
5186 <column alignment="center" valignment="top" leftline="true" width="0">
5187 <column alignment="center" valignment="top" leftline="true" width="0">
5188 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5189 <row>
5190 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5191 \begin_inset Text
5192
5193 \begin_layout Standard
5194 \begin_inset Caption
5195
5196 \begin_layout Standard
5197 Referenced longtable
5198 \begin_inset LatexCommand label
5199 name "tab:RefExample"
5200
5201 \end_inset
5202
5203
5204 \end_layout
5205
5206 \end_inset
5207
5208
5209 \begin_inset ERT
5210 status collapsed
5211
5212 \begin_layout Standard
5213
5214
5215 \backslash
5216
5217 \backslash
5218 %
5219 \end_layout
5220
5221 \end_inset
5222
5223
5224 \end_layout
5225
5226 \end_inset
5227 </cell>
5228 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5229 \begin_inset Text
5230
5231 \begin_layout Standard
5232
5233 \end_layout
5234
5235 \end_inset
5236 </cell>
5237 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5238 \begin_inset Text
5239
5240 \begin_layout Standard
5241
5242 \end_layout
5243
5244 \end_inset
5245 </cell>
5246 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5247 \begin_inset Text
5248
5249 \begin_layout Standard
5250
5251 \end_layout
5252
5253 \end_inset
5254 </cell>
5255 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5256 \begin_inset Text
5257
5258 \begin_layout Standard
5259
5260 \end_layout
5261
5262 \end_inset
5263 </cell>
5264 </row>
5265 <row topline="true">
5266 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5267 \begin_inset Text
5268
5269 \begin_layout Standard
5270 1
5271 \end_layout
5272
5273 \end_inset
5274 </cell>
5275 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5276 \begin_inset Text
5277
5278 \begin_layout Standard
5279 2
5280 \end_layout
5281
5282 \end_inset
5283 </cell>
5284 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5285 \begin_inset Text
5286
5287 \begin_layout Standard
5288 3
5289 \end_layout
5290
5291 \end_inset
5292 </cell>
5293 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5294 \begin_inset Text
5295
5296 \begin_layout Standard
5297 4
5298 \end_layout
5299
5300 \end_inset
5301 </cell>
5302 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5303 \begin_inset Text
5304
5305 \begin_layout Standard
5306 5
5307 \end_layout
5308
5309 \end_inset
5310 </cell>
5311 </row>
5312 <row topline="true">
5313 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5314 \begin_inset Text
5315
5316 \begin_layout Standard
5317 asd
5318 \end_layout
5319
5320 \end_inset
5321 </cell>
5322 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5323 \begin_inset Text
5324
5325 \begin_layout Standard
5326 s
5327 \end_layout
5328
5329 \end_inset
5330 </cell>
5331 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5332 \begin_inset Text
5333
5334 \begin_layout Standard
5335 s
5336 \end_layout
5337
5338 \end_inset
5339 </cell>
5340 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5341 \begin_inset Text
5342
5343 \begin_layout Standard
5344 s
5345 \end_layout
5346
5347 \end_inset
5348 </cell>
5349 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5350 \begin_inset Text
5351
5352 \begin_layout Standard
5353 asd
5354 \end_layout
5355
5356 \end_inset
5357 </cell>
5358 </row>
5359 <row topline="true">
5360 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5361 \begin_inset Text
5362
5363 \begin_layout Standard
5364 asd
5365 \end_layout
5366
5367 \end_inset
5368 </cell>
5369 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5370 \begin_inset Text
5371
5372 \begin_layout Standard
5373 s
5374 \end_layout
5375
5376 \end_inset
5377 </cell>
5378 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5379 \begin_inset Text
5380
5381 \begin_layout Standard
5382 s
5383 \end_layout
5384
5385 \end_inset
5386 </cell>
5387 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5388 \begin_inset Text
5389
5390 \begin_layout Standard
5391 s
5392 \end_layout
5393
5394 \end_inset
5395 </cell>
5396 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5397 \begin_inset Text
5398
5399 \begin_layout Standard
5400 asd
5401 \end_layout
5402
5403 \end_inset
5404 </cell>
5405 </row>
5406 <row topline="true">
5407 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5408 \begin_inset Text
5409
5410 \begin_layout Standard
5411 asd
5412 \end_layout
5413
5414 \end_inset
5415 </cell>
5416 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5417 \begin_inset Text
5418
5419 \begin_layout Standard
5420 s
5421 \end_layout
5422
5423 \end_inset
5424 </cell>
5425 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5426 \begin_inset Text
5427
5428 \begin_layout Standard
5429 s
5430 \end_layout
5431
5432 \end_inset
5433 </cell>
5434 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5435 \begin_inset Text
5436
5437 \begin_layout Standard
5438 s
5439 \end_layout
5440
5441 \end_inset
5442 </cell>
5443 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5444 \begin_inset Text
5445
5446 \begin_layout Standard
5447 asd
5448 \end_layout
5449
5450 \end_inset
5451 </cell>
5452 </row>
5453 <row topline="true" bottomline="true">
5454 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5455 \begin_inset Text
5456
5457 \begin_layout Standard
5458 asd
5459 \end_layout
5460
5461 \end_inset
5462 </cell>
5463 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5464 \begin_inset Text
5465
5466 \begin_layout Standard
5467 sad
5468 \end_layout
5469
5470 \end_inset
5471 </cell>
5472 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5473 \begin_inset Text
5474
5475 \begin_layout Standard
5476 asd
5477 \end_layout
5478
5479 \end_inset
5480 </cell>
5481 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5482 \begin_inset Text
5483
5484 \begin_layout Standard
5485 asd
5486 \end_layout
5487
5488 \end_inset
5489 </cell>
5490 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5491 \begin_inset Text
5492
5493 \begin_layout Standard
5494 asd
5495 \end_layout
5496
5497 \end_inset
5498 </cell>
5499 </row>
5500 </lyxtabular>
5501
5502 \end_inset
5503
5504
5505 \end_layout
5506
5507 \begin_layout Standard
5508 To reference a longtable, insert a label into the caption.
5509  Note that you have to add the label prefix 
5510 \begin_inset Quotes eld
5511 \end_inset
5512
5513
5514 \emph on
5515 tab:
5516 \emph default
5517
5518 \begin_inset Quotes eld
5519 \end_inset
5520
5521  manually in the label field.
5522 \end_layout
5523
5524 \begin_layout Standard
5525 This is a reference to Table\InsetSpace ~
5526
5527 \begin_inset LatexCommand ref
5528 reference "tab:RefExample"
5529
5530 \end_inset
5531
5532 .
5533 \end_layout
5534
5535 \begin_layout Standard
5536 The caption layout can be set together with all other caption of your document
5537  using the LaTeX-package 
5538 \series bold
5539 caption
5540 \series default
5541
5542 \begin_inset LatexCommand index
5543 name "LaTeX-packages ! caption"
5544
5545 \end_inset
5546
5547 , see section\InsetSpace ~
5548
5549 \begin_inset LatexCommand ref
5550 reference "sec:Caption-Formatting"
5551
5552 \end_inset
5553
5554 .
5555 \end_layout
5556
5557 \begin_layout Subsubsection
5558 Caption Width
5559 \begin_inset LatexCommand index
5560 name "Longtables ! Caption Width"
5561
5562 \end_inset
5563
5564
5565 \end_layout
5566
5567 \begin_layout Standard
5568 The maximal width of of caption lines is defined by the length 
5569 \series bold
5570
5571 \backslash
5572 LTcapwidth
5573 \series default
5574 .
5575  Its default value is 4\InsetSpace \thinspace{}
5576 in.
5577  To change it add the following command to your document preamble or as
5578  ERT into your document before the longtable that should be affected
5579 \end_layout
5580
5581 \begin_layout Standard
5582
5583 \series bold
5584
5585 \backslash
5586 setlength{
5587 \backslash
5588 LTcapwidth}{width}
5589 \end_layout
5590
5591 \begin_layout Standard
5592 where the width could have one of the units listed in appendix\InsetSpace ~
5593
5594 \begin_inset LatexCommand ref
5595 reference "cha:Units-available-in"
5596
5597 \end_inset
5598
5599 .
5600 \end_layout
5601
5602 \begin_layout Standard
5603 The following tables show the difference:
5604 \end_layout
5605
5606 \begin_layout Standard
5607 \begin_inset Tabular
5608 <lyxtabular version="3" rows="6" columns="5">
5609 <features islongtable="true">
5610 <column alignment="center" valignment="top" leftline="true" width="0">
5611 <column alignment="center" valignment="top" leftline="true" width="0">
5612 <column alignment="center" valignment="top" leftline="true" width="0">
5613 <column alignment="center" valignment="top" leftline="true" width="0">
5614 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5615 <row>
5616 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5617 \begin_inset Text
5618
5619 \begin_layout Standard
5620 \begin_inset Caption
5621
5622 \begin_layout Standard
5623 long full title with default width long full title with default width long
5624  full title with default width
5625 \begin_inset OptArg
5626 status collapsed
5627
5628 \begin_layout Standard
5629 caption with default width
5630 \end_layout
5631
5632 \end_inset
5633
5634
5635 \end_layout
5636
5637 \end_inset
5638
5639
5640 \begin_inset ERT
5641 status collapsed
5642
5643 \begin_layout Standard
5644
5645
5646 \backslash
5647
5648 \backslash
5649 %
5650 \end_layout
5651
5652 \end_inset
5653
5654
5655 \end_layout
5656
5657 \end_inset
5658 </cell>
5659 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5660 \begin_inset Text
5661
5662 \begin_layout Standard
5663
5664 \end_layout
5665
5666 \end_inset
5667 </cell>
5668 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5669 \begin_inset Text
5670
5671 \begin_layout Standard
5672
5673 \end_layout
5674
5675 \end_inset
5676 </cell>
5677 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5678 \begin_inset Text
5679
5680 \begin_layout Standard
5681
5682 \end_layout
5683
5684 \end_inset
5685 </cell>
5686 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5687 \begin_inset Text
5688
5689 \begin_layout Standard
5690
5691 \end_layout
5692
5693 \end_inset
5694 </cell>
5695 </row>
5696 <row topline="true">
5697 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5698 \begin_inset Text
5699
5700 \begin_layout Standard
5701 1
5702 \end_layout
5703
5704 \end_inset
5705 </cell>
5706 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5707 \begin_inset Text
5708
5709 \begin_layout Standard
5710 2
5711 \end_layout
5712
5713 \end_inset
5714 </cell>
5715 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5716 \begin_inset Text
5717
5718 \begin_layout Standard
5719 3
5720 \end_layout
5721
5722 \end_inset
5723 </cell>
5724 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5725 \begin_inset Text
5726
5727 \begin_layout Standard
5728 4
5729 \end_layout
5730
5731 \end_inset
5732 </cell>
5733 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5734 \begin_inset Text
5735
5736 \begin_layout Standard
5737 5
5738 \end_layout
5739
5740 \end_inset
5741 </cell>
5742 </row>
5743 <row topline="true">
5744 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5745 \begin_inset Text
5746
5747 \begin_layout Standard
5748 asd
5749 \end_layout
5750
5751 \end_inset
5752 </cell>
5753 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5754 \begin_inset Text
5755
5756 \begin_layout Standard
5757 s
5758 \end_layout
5759
5760 \end_inset
5761 </cell>
5762 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5763 \begin_inset Text
5764
5765 \begin_layout Standard
5766 s
5767 \end_layout
5768
5769 \end_inset
5770 </cell>
5771 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5772 \begin_inset Text
5773
5774 \begin_layout Standard
5775 s
5776 \end_layout
5777
5778 \end_inset
5779 </cell>
5780 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5781 \begin_inset Text
5782
5783 \begin_layout Standard
5784 asd
5785 \end_layout
5786
5787 \end_inset
5788 </cell>
5789 </row>
5790 <row topline="true">
5791 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5792 \begin_inset Text
5793
5794 \begin_layout Standard
5795 asd
5796 \end_layout
5797
5798 \end_inset
5799 </cell>
5800 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5801 \begin_inset Text
5802
5803 \begin_layout Standard
5804 s
5805 \end_layout
5806
5807 \end_inset
5808 </cell>
5809 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5810 \begin_inset Text
5811
5812 \begin_layout Standard
5813 s
5814 \end_layout
5815
5816 \end_inset
5817 </cell>
5818 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5819 \begin_inset Text
5820
5821 \begin_layout Standard
5822 s
5823 \end_layout
5824
5825 \end_inset
5826 </cell>
5827 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5828 \begin_inset Text
5829
5830 \begin_layout Standard
5831 asd
5832 \end_layout
5833
5834 \end_inset
5835 </cell>
5836 </row>
5837 <row topline="true">
5838 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5839 \begin_inset Text
5840
5841 \begin_layout Standard
5842 asd
5843 \end_layout
5844
5845 \end_inset
5846 </cell>
5847 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5848 \begin_inset Text
5849
5850 \begin_layout Standard
5851 s
5852 \end_layout
5853
5854 \end_inset
5855 </cell>
5856 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5857 \begin_inset Text
5858
5859 \begin_layout Standard
5860 s
5861 \end_layout
5862
5863 \end_inset
5864 </cell>
5865 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5866 \begin_inset Text
5867
5868 \begin_layout Standard
5869 s
5870 \end_layout
5871
5872 \end_inset
5873 </cell>
5874 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5875 \begin_inset Text
5876
5877 \begin_layout Standard
5878 asd
5879 \end_layout
5880
5881 \end_inset
5882 </cell>
5883 </row>
5884 <row topline="true" bottomline="true">
5885 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5886 \begin_inset Text
5887
5888 \begin_layout Standard
5889 asd
5890 \end_layout
5891
5892 \end_inset
5893 </cell>
5894 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5895 \begin_inset Text
5896
5897 \begin_layout Standard
5898 sad
5899 \end_layout
5900
5901 \end_inset
5902 </cell>
5903 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5904 \begin_inset Text
5905
5906 \begin_layout Standard
5907 asd
5908 \end_layout
5909
5910 \end_inset
5911 </cell>
5912 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5913 \begin_inset Text
5914
5915 \begin_layout Standard
5916 asd
5917 \end_layout
5918
5919 \end_inset
5920 </cell>
5921 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5922 \begin_inset Text
5923
5924 \begin_layout Standard
5925 asd
5926 \end_layout
5927
5928 \end_inset
5929 </cell>
5930 </row>
5931 </lyxtabular>
5932
5933 \end_inset
5934
5935
5936 \end_layout
5937
5938 \begin_layout Standard
5939 \begin_inset ERT
5940 status open
5941
5942 \begin_layout Standard
5943
5944
5945 \backslash
5946 setlength{
5947 \backslash
5948 LTcapwidth}{5cm}
5949 \end_layout
5950
5951 \end_inset
5952
5953
5954 \begin_inset Tabular
5955 <lyxtabular version="3" rows="6" columns="5">
5956 <features islongtable="true">
5957 <column alignment="center" valignment="top" leftline="true" width="0">
5958 <column alignment="center" valignment="top" leftline="true" width="0">
5959 <column alignment="center" valignment="top" leftline="true" width="0">
5960 <column alignment="center" valignment="top" leftline="true" width="0">
5961 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5962 <row>
5963 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5964 \begin_inset Text
5965
5966 \begin_layout Standard
5967 \begin_inset Caption
5968
5969 \begin_layout Standard
5970 long full title with width set to 5\InsetSpace \thinspace{}
5971 cm long full title with width set to
5972  5\InsetSpace \thinspace{}
5973 cm long full title with width set to 5\InsetSpace \thinspace{}
5974 cm
5975 \begin_inset OptArg
5976 status collapsed
5977
5978 \begin_layout Standard
5979 caption with width\InsetSpace \thinspace{}
5980 =\InsetSpace \thinspace{}
5981 5\InsetSpace \thinspace{}
5982 cm
5983 \end_layout
5984
5985 \end_inset
5986
5987
5988 \end_layout
5989
5990 \end_inset
5991
5992
5993 \begin_inset ERT
5994 status collapsed
5995
5996 \begin_layout Standard
5997
5998
5999 \backslash
6000
6001 \backslash
6002 %
6003 \end_layout
6004
6005 \end_inset
6006
6007
6008 \end_layout
6009
6010 \end_inset
6011 </cell>
6012 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6013 \begin_inset Text
6014
6015 \begin_layout Standard
6016
6017 \end_layout
6018
6019 \end_inset
6020 </cell>
6021 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6022 \begin_inset Text
6023
6024 \begin_layout Standard
6025
6026 \end_layout
6027
6028 \end_inset
6029 </cell>
6030 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6031 \begin_inset Text
6032
6033 \begin_layout Standard
6034
6035 \end_layout
6036
6037 \end_inset
6038 </cell>
6039 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6040 \begin_inset Text
6041
6042 \begin_layout Standard
6043
6044 \end_layout
6045
6046 \end_inset
6047 </cell>
6048 </row>
6049 <row topline="true">
6050 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6051 \begin_inset Text
6052
6053 \begin_layout Standard
6054 1
6055 \end_layout
6056
6057 \end_inset
6058 </cell>
6059 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6060 \begin_inset Text
6061
6062 \begin_layout Standard
6063 2
6064 \end_layout
6065
6066 \end_inset
6067 </cell>
6068 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6069 \begin_inset Text
6070
6071 \begin_layout Standard
6072 3
6073 \end_layout
6074
6075 \end_inset
6076 </cell>
6077 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6078 \begin_inset Text
6079
6080 \begin_layout Standard
6081 4
6082 \end_layout
6083
6084 \end_inset
6085 </cell>
6086 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6087 \begin_inset Text
6088
6089 \begin_layout Standard
6090 5
6091 \end_layout
6092
6093 \end_inset
6094 </cell>
6095 </row>
6096 <row topline="true">
6097 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6098 \begin_inset Text
6099
6100 \begin_layout Standard
6101 asd
6102 \end_layout
6103
6104 \end_inset
6105 </cell>
6106 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6107 \begin_inset Text
6108
6109 \begin_layout Standard
6110 s
6111 \end_layout
6112
6113 \end_inset
6114 </cell>
6115 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6116 \begin_inset Text
6117
6118 \begin_layout Standard
6119 s
6120 \end_layout
6121
6122 \end_inset
6123 </cell>
6124 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6125 \begin_inset Text
6126
6127 \begin_layout Standard
6128 s
6129 \end_layout
6130
6131 \end_inset
6132 </cell>
6133 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6134 \begin_inset Text
6135
6136 \begin_layout Standard
6137 asd
6138 \end_layout
6139
6140 \end_inset
6141 </cell>
6142 </row>
6143 <row topline="true">
6144 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6145 \begin_inset Text
6146
6147 \begin_layout Standard
6148 asd
6149 \end_layout
6150
6151 \end_inset
6152 </cell>
6153 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6154 \begin_inset Text
6155
6156 \begin_layout Standard
6157 s
6158 \end_layout
6159
6160 \end_inset
6161 </cell>
6162 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6163 \begin_inset Text
6164
6165 \begin_layout Standard
6166 s
6167 \end_layout
6168
6169 \end_inset
6170 </cell>
6171 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6172 \begin_inset Text
6173
6174 \begin_layout Standard
6175 s
6176 \end_layout
6177
6178 \end_inset
6179 </cell>
6180 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6181 \begin_inset Text
6182
6183 \begin_layout Standard
6184 asd
6185 \end_layout
6186
6187 \end_inset
6188 </cell>
6189 </row>
6190 <row topline="true">
6191 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6192 \begin_inset Text
6193
6194 \begin_layout Standard
6195 asd
6196 \end_layout
6197
6198 \end_inset
6199 </cell>
6200 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6201 \begin_inset Text
6202
6203 \begin_layout Standard
6204 s
6205 \end_layout
6206
6207 \end_inset
6208 </cell>
6209 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6210 \begin_inset Text
6211
6212 \begin_layout Standard
6213 s
6214 \end_layout
6215
6216 \end_inset
6217 </cell>
6218 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6219 \begin_inset Text
6220
6221 \begin_layout Standard
6222 s
6223 \end_layout
6224
6225 \end_inset
6226 </cell>
6227 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6228 \begin_inset Text
6229
6230 \begin_layout Standard
6231 asd
6232 \end_layout
6233
6234 \end_inset
6235 </cell>
6236 </row>
6237 <row topline="true" bottomline="true">
6238 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6239 \begin_inset Text
6240
6241 \begin_layout Standard
6242 asd
6243 \end_layout
6244
6245 \end_inset
6246 </cell>
6247 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6248 \begin_inset Text
6249
6250 \begin_layout Standard
6251 sad
6252 \end_layout
6253
6254 \end_inset
6255 </cell>
6256 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6257 \begin_inset Text
6258
6259 \begin_layout Standard
6260 asd
6261 \end_layout
6262
6263 \end_inset
6264 </cell>
6265 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6266 \begin_inset Text
6267
6268 \begin_layout Standard
6269 asd
6270 \end_layout
6271
6272 \end_inset
6273 </cell>
6274 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6275 \begin_inset Text
6276
6277 \begin_layout Standard
6278 asd
6279 \end_layout
6280
6281 \end_inset
6282 </cell>
6283 </row>
6284 </lyxtabular>
6285
6286 \end_inset
6287
6288
6289 \end_layout
6290
6291 \begin_layout Standard
6292 \begin_inset ERT
6293 status collapsed
6294
6295 \begin_layout Standard
6296
6297
6298 \backslash
6299 setlength{
6300 \backslash
6301 LTcapwidth}{4in}
6302 \end_layout
6303
6304 \end_inset
6305
6306
6307 \end_layout
6308
6309 \begin_layout Standard
6310 \begin_inset Note Greyedout
6311 status open
6312
6313 \begin_layout Standard
6314
6315 \series bold
6316 Note:
6317 \series default
6318  When the LaTeX-package 
6319 \series bold
6320 caption
6321 \series default
6322
6323 \begin_inset LatexCommand index
6324 name "LaTeX-packages ! caption"
6325
6326 \end_inset
6327
6328  is used, as in this document, the full page width is used for the caption
6329  when you use the default value of 4\InsetSpace \thinspace{}
6330 in for 
6331 \series bold
6332
6333 \backslash
6334 LTcapwidth
6335 \series default
6336 .
6337  To get in this case exactly a 4\InsetSpace \thinspace{}
6338 in wide caption, you can either use a value
6339  slightly different from 4.0\InsetSpace \thinspace{}
6340 in, e.g.
6341  3.99\InsetSpace \thinspace{}
6342 in, or the LaTeX-command 
6343 \series bold
6344
6345 \backslash
6346 captionsetup{width=value}
6347 \series default
6348  that is provided by the 
6349 \series bold
6350 caption
6351 \series default
6352 -package.
6353 \end_layout
6354
6355 \end_inset
6356
6357
6358 \end_layout
6359
6360 \begin_layout Subsubsection
6361 Different Captions for Table Pages
6362 \begin_inset LatexCommand index
6363 name "Longtables ! Different Captions for Pages"
6364
6365 \end_inset
6366
6367
6368 \end_layout
6369
6370 \begin_layout Standard
6371 When the other captions should differ from the one of the first table page,
6372  insert a caption with a non-empty short title in a dummy caption row marked
6373  as first header.
6374  The caption used for the other table pages is inserted as caption without
6375  a short title in a dummy caption row that is marked as main header.
6376  When this caption shouldn't include the table number, use the command
6377 \end_layout
6378
6379 \begin_layout Standard
6380
6381 \series bold
6382
6383 \backslash
6384 caption*{caption text}
6385 \end_layout
6386
6387 \begin_layout Standard
6388 instead of LyX's caption box.
6389  The label to reference the table is inserted into the caption of the first
6390  header.
6391  Table\InsetSpace ~
6392
6393 \begin_inset LatexCommand ref
6394 reference "tab:DiffCaptions"
6395
6396 \end_inset
6397
6398  is an example for a longtable with different heading where the second caption
6399  doesn't include the table number.
6400 \end_layout
6401
6402 \begin_layout Standard
6403 \align center
6404 \begin_inset Tabular
6405 <lyxtabular version="3" rows="60" columns="3">
6406 <features islongtable="true">
6407 <column alignment="left" valignment="top" leftline="true" width="0cm">
6408 <column alignment="left" valignment="top" rightline="true" width="0pt">
6409 <column alignment="right" valignment="top" rightline="true" width="0pt">
6410 <row endfirsthead="true">
6411 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6412 \begin_inset Text
6413
6414 \begin_layout Standard
6415 \begin_inset Caption
6416
6417 \begin_layout Standard
6418 Example Phone List
6419 \begin_inset LatexCommand label
6420 name "tab:DiffCaptions"
6421
6422 \end_inset
6423
6424
6425 \begin_inset OptArg
6426 status collapsed
6427
6428 \begin_layout Standard
6429 Example Phone List
6430 \end_layout
6431
6432 \end_inset
6433
6434
6435 \end_layout
6436
6437 \end_inset
6438
6439
6440 \begin_inset ERT
6441 status collapsed
6442
6443 \begin_layout Standard
6444
6445
6446 \backslash
6447
6448 \backslash
6449 %
6450 \end_layout
6451
6452 \end_inset
6453
6454
6455 \end_layout
6456
6457 \end_inset
6458 </cell>
6459 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6460 \begin_inset Text
6461
6462 \begin_layout Standard
6463
6464 \end_layout
6465
6466 \end_inset
6467 </cell>
6468 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6469 \begin_inset Text
6470
6471 \begin_layout Standard
6472
6473 \end_layout
6474
6475 \end_inset
6476 </cell>
6477 </row>
6478 <row topline="true" bottomline="true" endfirsthead="true">
6479 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6480 \begin_inset Text
6481
6482 \begin_layout Standard
6483
6484 \series bold
6485 Example Phone List (ignore the names)
6486 \end_layout
6487
6488 \end_inset
6489 </cell>
6490 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6491 \begin_inset Text
6492
6493 \begin_layout Standard
6494
6495 \end_layout
6496
6497 \end_inset
6498 </cell>
6499 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6500 \begin_inset Text
6501
6502 \begin_layout Standard
6503
6504 \end_layout
6505
6506 \end_inset
6507 </cell>
6508 </row>
6509 <row topline="true" bottomline="true" endfirsthead="true">
6510 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6511 \begin_inset Text
6512
6513 \begin_layout Standard
6514
6515 \series bold
6516 NAME
6517 \end_layout
6518
6519 \end_inset
6520 </cell>
6521 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6522 \begin_inset Text
6523
6524 \begin_layout Standard
6525
6526 \end_layout
6527
6528 \end_inset
6529 </cell>
6530 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6531 \begin_inset Text
6532
6533 \begin_layout Standard
6534
6535 \series bold
6536 TEL.
6537 \end_layout
6538
6539 \end_inset
6540 </cell>
6541 </row>
6542 <row bottomline="true" endhead="true">
6543 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6544 \begin_inset Text
6545
6546 \begin_layout Standard
6547 \begin_inset ERT
6548 status open
6549
6550 \begin_layout Standard
6551
6552
6553 \backslash
6554 caption*{Continued Example Phone List}
6555 \backslash
6556
6557 \backslash
6558 %
6559 \end_layout
6560
6561 \end_inset
6562
6563
6564 \end_layout
6565
6566 \end_inset
6567 </cell>
6568 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6569 \begin_inset Text
6570
6571 \begin_layout Standard
6572
6573 \end_layout
6574
6575 \end_inset
6576 </cell>
6577 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6578 \begin_inset Text
6579
6580 \begin_layout Standard
6581
6582 \end_layout
6583
6584 \end_inset
6585 </cell>
6586 </row>
6587 <row topline="true" bottomline="true" endhead="true">
6588 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6589 \begin_inset Text
6590
6591 \begin_layout Standard
6592
6593 \series bold
6594 Example Phone List
6595 \end_layout
6596
6597 \end_inset
6598 </cell>
6599 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6600 \begin_inset Text
6601
6602 \begin_layout Standard
6603
6604 \end_layout
6605
6606 \end_inset
6607 </cell>
6608 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6609 \begin_inset Text
6610
6611 \begin_layout Standard
6612
6613 \end_layout
6614
6615 \end_inset
6616 </cell>
6617 </row>
6618 <row topline="true" bottomline="true" endhead="true">
6619 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6620 \begin_inset Text
6621
6622 \begin_layout Standard
6623
6624 \series bold
6625 NAME
6626 \end_layout
6627
6628 \end_inset
6629 </cell>
6630 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6631 \begin_inset Text
6632
6633 \begin_layout Standard
6634
6635 \end_layout
6636
6637 \end_inset
6638 </cell>
6639 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6640 \begin_inset Text
6641
6642 \begin_layout Standard
6643
6644 \series bold
6645 TEL.
6646 \end_layout
6647
6648 \end_inset
6649 </cell>
6650 </row>
6651 <row topline="true" bottomline="true" endfoot="true">
6652 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
6653 \begin_inset Text
6654
6655 \begin_layout Standard
6656 continued on next page
6657 \end_layout
6658
6659 \end_inset
6660 </cell>
6661 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6662 \begin_inset Text
6663
6664 \begin_layout Standard
6665
6666 \end_layout
6667
6668 \end_inset
6669 </cell>
6670 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6671 \begin_inset Text
6672
6673 \begin_layout Standard
6674
6675 \end_layout
6676
6677 \end_inset
6678 </cell>
6679 </row>
6680 <row>
6681 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6682 \begin_inset Text
6683
6684 \begin_layout Standard
6685
6686 \series bold
6687 Annovi
6688 \end_layout
6689
6690 \end_inset
6691 </cell>
6692 <cell alignment="center" valignment="top" topline="true" usebox="none">
6693 \begin_inset Text
6694
6695 \begin_layout Standard
6696 Silvia
6697 \end_layout
6698
6699 \end_inset
6700 </cell>
6701 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6702 \begin_inset Text
6703
6704 \begin_layout Standard
6705 111
6706 \end_layout
6707
6708 \end_inset
6709 </cell>
6710 </row>
6711 <row>
6712 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6713 \begin_inset Text
6714
6715 \begin_layout Standard
6716
6717 \series bold
6718 Bertoli
6719 \end_layout
6720
6721 \end_inset
6722 </cell>
6723 <cell alignment="center" valignment="top" topline="true" usebox="none">
6724 \begin_inset Text
6725
6726 \begin_layout Standard
6727 Stefano
6728 \end_layout
6729
6730 \end_inset
6731 </cell>
6732 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6733 \begin_inset Text
6734
6735 \begin_layout Standard
6736 111
6737 \end_layout
6738
6739 \end_inset
6740 </cell>
6741 </row>
6742 <row>
6743 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6744 \begin_inset Text
6745
6746 \begin_layout Standard
6747
6748 \series bold
6749 Bozzi
6750 \end_layout
6751
6752 \end_inset
6753 </cell>
6754 <cell alignment="center" valignment="top" topline="true" usebox="none">
6755 \begin_inset Text
6756
6757 \begin_layout Standard
6758 Walter
6759 \end_layout
6760
6761 \end_inset
6762 </cell>
6763 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6764 \begin_inset Text
6765
6766 \begin_layout Standard
6767 111
6768 \end_layout
6769
6770 \end_inset
6771 </cell>
6772 </row>
6773 <row>
6774 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6775 \begin_inset Text
6776
6777 \begin_layout Standard
6778
6779 \series bold
6780 Cachia
6781 \end_layout
6782
6783 \end_inset
6784 </cell>
6785 <cell alignment="center" valignment="top" topline="true" usebox="none">
6786 \begin_inset Text
6787
6788 \begin_layout Standard
6789 Maria
6790 \end_layout
6791
6792 \end_inset
6793 </cell>
6794 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6795 \begin_inset Text
6796
6797 \begin_layout Standard
6798 111
6799 \end_layout
6800
6801 \end_inset
6802 </cell>
6803 </row>
6804 <row>
6805 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6806 \begin_inset Text
6807
6808 \begin_layout Standard
6809
6810 \series bold
6811 Cachia
6812 \end_layout
6813
6814 \end_inset
6815 </cell>
6816 <cell alignment="center" valignment="top" topline="true" usebox="none">
6817 \begin_inset Text
6818
6819 \begin_layout Standard
6820 Maurizio
6821 \end_layout
6822
6823 \end_inset
6824 </cell>
6825 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6826 \begin_inset Text
6827
6828 \begin_layout Standard
6829 111
6830 \end_layout
6831
6832 \end_inset
6833 </cell>
6834 </row>
6835 <row>
6836 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6837 \begin_inset Text
6838
6839 \begin_layout Standard
6840
6841 \series bold
6842 Cinquemani
6843 \end_layout
6844
6845 \end_inset
6846 </cell>
6847 <cell alignment="center" valignment="top" topline="true" usebox="none">
6848 \begin_inset Text
6849
6850 \begin_layout Standard
6851 Giusi
6852 \end_layout
6853
6854 \end_inset
6855 </cell>
6856 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6857 \begin_inset Text
6858
6859 \begin_layout Standard
6860 111
6861 \end_layout
6862
6863 \end_inset
6864 </cell>
6865 </row>
6866 <row>
6867 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6868 \begin_inset Text
6869
6870 \begin_layout Standard
6871
6872 \series bold
6873 Colin
6874 \end_layout
6875
6876 \end_inset
6877 </cell>
6878 <cell alignment="center" valignment="top" topline="true" usebox="none">
6879 \begin_inset Text
6880
6881 \begin_layout Standard
6882 Bernard
6883 \end_layout
6884
6885 \end_inset
6886 </cell>
6887 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6888 \begin_inset Text
6889
6890 \begin_layout Standard
6891 111
6892 \end_layout
6893
6894 \end_inset
6895 </cell>
6896 </row>
6897 <row>
6898 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6899 \begin_inset Text
6900
6901 \begin_layout Standard
6902
6903 \series bold
6904 Concli
6905 \end_layout
6906
6907 \end_inset
6908 </cell>
6909 <cell alignment="center" valignment="top" topline="true" usebox="none">
6910 \begin_inset Text
6911
6912 \begin_layout Standard
6913 Gianfranco
6914 \end_layout
6915
6916 \end_inset
6917 </cell>
6918 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6919 \begin_inset Text
6920
6921 \begin_layout Standard
6922 111
6923 \end_layout
6924
6925 \end_inset
6926 </cell>
6927 </row>
6928 <row>
6929 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6930 \begin_inset Text
6931
6932 \begin_layout Standard
6933
6934 \series bold
6935 Dal Bosco
6936 \end_layout
6937
6938 \end_inset
6939 </cell>
6940 <cell alignment="center" valignment="top" topline="true" usebox="none">
6941 \begin_inset Text
6942
6943 \begin_layout Standard
6944 Carolina
6945 \end_layout
6946
6947 \end_inset
6948 </cell>
6949 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6950 \begin_inset Text
6951
6952 \begin_layout Standard
6953 111
6954 \end_layout
6955
6956 \end_inset
6957 </cell>
6958 </row>
6959 <row>
6960 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6961 \begin_inset Text
6962
6963 \begin_layout Standard
6964
6965 \series bold
6966 Dalpiaz
6967 \end_layout
6968
6969 \end_inset
6970 </cell>
6971 <cell alignment="center" valignment="top" topline="true" usebox="none">
6972 \begin_inset Text
6973
6974 \begin_layout Standard
6975 Annamaria
6976 \end_layout
6977
6978 \end_inset
6979 </cell>
6980 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6981 \begin_inset Text
6982
6983 \begin_layout Standard
6984 111
6985 \end_layout
6986
6987 \end_inset
6988 </cell>
6989 </row>
6990 <row>
6991 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6992 \begin_inset Text
6993
6994 \begin_layout Standard
6995
6996 \series bold
6997 Feliciello
6998 \end_layout
6999
7000 \end_inset
7001 </cell>
7002 <cell alignment="center" valignment="top" topline="true" usebox="none">
7003 \begin_inset Text
7004
7005 \begin_layout Standard
7006 Domenico
7007 \end_layout
7008
7009 \end_inset
7010 </cell>
7011 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7012 \begin_inset Text
7013
7014 \begin_layout Standard
7015 111
7016 \end_layout
7017
7018 \end_inset
7019 </cell>
7020 </row>
7021 <row>
7022 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7023 \begin_inset Text
7024
7025 \begin_layout Standard
7026
7027 \series bold
7028 Focarelli
7029 \end_layout
7030
7031 \end_inset
7032 </cell>
7033 <cell alignment="center" valignment="top" topline="true" usebox="none">
7034 \begin_inset Text
7035
7036 \begin_layout Standard
7037 Paola
7038 \end_layout
7039
7040 \end_inset
7041 </cell>
7042 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7043 \begin_inset Text
7044
7045 \begin_layout Standard
7046 111
7047 \end_layout
7048
7049 \end_inset
7050 </cell>
7051 </row>
7052 <row>
7053 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7054 \begin_inset Text
7055
7056 \begin_layout Standard
7057
7058 \series bold
7059 Galletti
7060 \end_layout
7061
7062 \end_inset
7063 </cell>
7064 <cell alignment="center" valignment="top" topline="true" usebox="none">
7065 \begin_inset Text
7066
7067 \begin_layout Standard
7068 Oreste
7069 \end_layout
7070
7071 \end_inset
7072 </cell>
7073 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7074 \begin_inset Text
7075
7076 \begin_layout Standard
7077 111
7078 \end_layout
7079
7080 \end_inset
7081 </cell>
7082 </row>
7083 <row>
7084 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7085 \begin_inset Text
7086
7087 \begin_layout Standard
7088
7089 \series bold
7090 Gasparini
7091 \end_layout
7092
7093 \end_inset
7094 </cell>
7095 <cell alignment="center" valignment="top" topline="true" usebox="none">
7096 \begin_inset Text
7097
7098 \begin_layout Standard
7099 Franca
7100 \end_layout
7101
7102 \end_inset
7103 </cell>
7104 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7105 \begin_inset Text
7106
7107 \begin_layout Standard
7108 111
7109 \end_layout
7110
7111 \end_inset
7112 </cell>
7113 </row>
7114 <row>
7115 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7116 \begin_inset Text
7117
7118 \begin_layout Standard
7119
7120 \series bold
7121 Rizzardi
7122 \series default
7123
7124 \begin_inset Foot
7125 status collapsed
7126
7127 \begin_layout Standard
7128 Example footnote
7129 \end_layout
7130
7131 \end_inset
7132
7133
7134 \end_layout
7135
7136 \end_inset
7137 </cell>
7138 <cell alignment="center" valignment="top" topline="true" usebox="none">
7139 \begin_inset Text
7140
7141 \begin_layout Standard
7142 Paola
7143 \end_layout
7144
7145 \end_inset
7146 </cell>
7147 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7148 \begin_inset Text
7149
7150 \begin_layout Standard
7151 111
7152 \end_layout
7153
7154 \end_inset
7155 </cell>
7156 </row>
7157 <row>
7158 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7159 \begin_inset Text
7160
7161 \begin_layout Standard
7162
7163 \series bold
7164 Lassini
7165 \end_layout
7166
7167 \end_inset
7168 </cell>
7169 <cell alignment="center" valignment="top" topline="true" usebox="none">
7170 \begin_inset Text
7171
7172 \begin_layout Standard
7173 Giancarlo
7174 \end_layout
7175
7176 \end_inset
7177 </cell>
7178 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7179 \begin_inset Text
7180
7181 \begin_layout Standard
7182 111
7183 \end_layout
7184
7185 \end_inset
7186 </cell>
7187 </row>
7188 <row>
7189 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7190 \begin_inset Text
7191
7192 \begin_layout Standard
7193
7194 \series bold
7195 Malfatti
7196 \end_layout
7197
7198 \end_inset
7199 </cell>
7200 <cell alignment="center" valignment="top" topline="true" usebox="none">
7201 \begin_inset Text
7202
7203 \begin_layout Standard
7204 Luciano
7205 \end_layout
7206
7207 \end_inset
7208 </cell>
7209 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7210 \begin_inset Text
7211
7212 \begin_layout Standard
7213 111
7214 \end_layout
7215
7216 \end_inset
7217 </cell>
7218 </row>
7219 <row>
7220 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7221 \begin_inset Text
7222
7223 \begin_layout Standard
7224
7225 \series bold
7226 Malfatti
7227 \end_layout
7228
7229 \end_inset
7230 </cell>
7231 <cell alignment="center" valignment="top" topline="true" usebox="none">
7232 \begin_inset Text
7233
7234 \begin_layout Standard
7235 Valeriano
7236 \end_layout
7237
7238 \end_inset
7239 </cell>
7240 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7241 \begin_inset Text
7242
7243 \begin_layout Standard
7244 111
7245 \end_layout
7246
7247 \end_inset
7248 </cell>
7249 </row>
7250 <row>
7251 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7252 \begin_inset Text
7253
7254 \begin_layout Standard
7255
7256 \series bold
7257 Meneguzzo
7258 \end_layout
7259
7260 \end_inset
7261 </cell>
7262 <cell alignment="center" valignment="top" topline="true" usebox="none">
7263 \begin_inset Text
7264
7265 \begin_layout Standard
7266 Roberto
7267 \end_layout
7268
7269 \end_inset
7270 </cell>
7271 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7272 \begin_inset Text
7273
7274 \begin_layout Standard
7275 111
7276 \end_layout
7277
7278 \end_inset
7279 </cell>
7280 </row>
7281 <row>
7282 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7283 \begin_inset Text
7284
7285 \begin_layout Standard
7286
7287 \series bold
7288 Mezzadra
7289 \end_layout
7290
7291 \end_inset
7292 </cell>
7293 <cell alignment="center" valignment="top" topline="true" usebox="none">
7294 \begin_inset Text
7295
7296 \begin_layout Standard
7297 Roberto
7298 \end_layout
7299
7300 \end_inset
7301 </cell>
7302 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7303 \begin_inset Text
7304
7305 \begin_layout Standard
7306 111
7307 \end_layout
7308
7309 \end_inset
7310 </cell>
7311 </row>
7312 <row>
7313 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7314 \begin_inset Text
7315
7316 \begin_layout Standard
7317
7318 \series bold
7319 Pirpamer
7320 \end_layout
7321
7322 \end_inset
7323 </cell>
7324 <cell alignment="center" valignment="top" topline="true" usebox="none">
7325 \begin_inset Text
7326
7327 \begin_layout Standard
7328 Erich
7329 \end_layout
7330
7331 \end_inset
7332 </cell>
7333 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7334 \begin_inset Text
7335
7336 \begin_layout Standard
7337 111
7338 \end_layout
7339
7340 \end_inset
7341 </cell>
7342 </row>
7343 <row>
7344 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7345 \begin_inset Text
7346
7347 \begin_layout Standard
7348
7349 \series bold
7350 Pochiesa
7351 \end_layout
7352
7353 \end_inset
7354 </cell>
7355 <cell alignment="center" valignment="top" topline="true" usebox="none">
7356 \begin_inset Text
7357
7358 \begin_layout Standard
7359 Paolo
7360 \end_layout
7361
7362 \end_inset
7363 </cell>
7364 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7365 \begin_inset Text
7366
7367 \begin_layout Standard
7368 111, 222
7369 \end_layout
7370
7371 \end_inset
7372 </cell>
7373 </row>
7374 <row>
7375 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7376 \begin_inset Text
7377
7378 \begin_layout Standard
7379
7380 \series bold
7381 Radina
7382 \end_layout
7383
7384 \end_inset
7385 </cell>
7386 <cell alignment="center" valignment="top" topline="true" usebox="none">
7387 \begin_inset Text
7388
7389 \begin_layout Standard
7390 Claudio
7391 \end_layout
7392
7393 \end_inset
7394 </cell>
7395 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7396 \begin_inset Text
7397
7398 \begin_layout Standard
7399 111
7400 \end_layout
7401
7402 \end_inset
7403 </cell>
7404 </row>
7405 <row>
7406 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7407 \begin_inset Text
7408
7409 \begin_layout Standard
7410
7411 \series bold
7412 Stuffer
7413 \end_layout
7414
7415 \end_inset
7416 </cell>
7417 <cell alignment="center" valignment="top" topline="true" usebox="none">
7418 \begin_inset Text
7419
7420 \begin_layout Standard
7421 Oskar
7422 \end_layout
7423
7424 \end_inset
7425 </cell>
7426 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7427 \begin_inset Text
7428
7429 \begin_layout Standard
7430 111
7431 \end_layout
7432
7433 \end_inset
7434 </cell>
7435 </row>
7436 <row>
7437 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7438 \begin_inset Text
7439
7440 \begin_layout Standard
7441
7442 \series bold
7443 Tacchelli
7444 \end_layout
7445
7446 \end_inset
7447 </cell>
7448 <cell alignment="center" valignment="top" topline="true" usebox="none">
7449 \begin_inset Text
7450
7451 \begin_layout Standard
7452 Ugo
7453 \end_layout
7454
7455 \end_inset
7456 </cell>
7457 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7458 \begin_inset Text
7459
7460 \begin_layout Standard
7461 111
7462 \end_layout
7463
7464 \end_inset
7465 </cell>
7466 </row>
7467 <row>
7468 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7469 \begin_inset Text
7470
7471 \begin_layout Standard
7472
7473 \series bold
7474 Tezzele
7475 \end_layout
7476
7477 \end_inset
7478 </cell>
7479 <cell alignment="center" valignment="top" topline="true" usebox="none">
7480 \begin_inset Text
7481
7482 \begin_layout Standard
7483 Margit
7484 \end_layout
7485
7486 \end_inset
7487 </cell>
7488 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7489 \begin_inset Text
7490
7491 \begin_layout Standard
7492 111
7493 \end_layout
7494
7495 \end_inset
7496 </cell>
7497 </row>
7498 <row>
7499 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7500 \begin_inset Text
7501
7502 \begin_layout Standard
7503
7504 \series bold
7505 Unterkalmsteiner
7506 \end_layout
7507
7508 \end_inset
7509 </cell>
7510 <cell alignment="center" valignment="top" topline="true" usebox="none">
7511 \begin_inset Text
7512
7513 \begin_layout Standard
7514 Frieda
7515 \end_layout
7516
7517 \end_inset
7518 </cell>
7519 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7520 \begin_inset Text
7521
7522 \begin_layout Standard
7523 111
7524 \end_layout
7525
7526 \end_inset
7527 </cell>
7528 </row>
7529 <row>
7530 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7531 \begin_inset Text
7532
7533 \begin_layout Standard
7534
7535 \series bold
7536 Vieider
7537 \end_layout
7538
7539 \end_inset
7540 </cell>
7541 <cell alignment="center" valignment="top" topline="true" usebox="none">
7542 \begin_inset Text
7543
7544 \begin_layout Standard
7545 Hilde
7546 \end_layout
7547
7548 \end_inset
7549 </cell>
7550 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7551 \begin_inset Text
7552
7553 \begin_layout Standard
7554 111
7555 \end_layout
7556
7557 \end_inset
7558 </cell>
7559 </row>
7560 <row>
7561 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7562 \begin_inset Text
7563
7564 \begin_layout Standard
7565
7566 \series bold
7567 Vigna
7568 \end_layout
7569
7570 \end_inset
7571 </cell>
7572 <cell alignment="center" valignment="top" topline="true" usebox="none">
7573 \begin_inset Text
7574
7575 \begin_layout Standard
7576 Jürgen
7577 \end_layout
7578
7579 \end_inset
7580 </cell>
7581 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7582 \begin_inset Text
7583
7584 \begin_layout Standard
7585 111
7586 \end_layout
7587
7588 \end_inset
7589 </cell>
7590 </row>
7591 <row>
7592 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7593 \begin_inset Text
7594
7595 \begin_layout Standard
7596
7597 \series bold
7598 Weber
7599 \end_layout
7600
7601 \end_inset
7602 </cell>
7603 <cell alignment="center" valignment="top" topline="true" usebox="none">
7604 \begin_inset Text
7605
7606 \begin_layout Standard
7607 Maurizio
7608 \end_layout
7609
7610 \end_inset
7611 </cell>
7612 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7613 \begin_inset Text
7614
7615 \begin_layout Standard
7616 111
7617 \end_layout
7618
7619 \end_inset
7620 </cell>
7621 </row>
7622 <row bottomline="true">
7623 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7624 \begin_inset Text
7625
7626 \begin_layout Standard
7627
7628 \series bold
7629 Winkler
7630 \end_layout
7631
7632 \end_inset
7633 </cell>
7634 <cell alignment="center" valignment="top" topline="true" usebox="none">
7635 \begin_inset Text
7636
7637 \begin_layout Standard
7638 Franz
7639 \end_layout
7640
7641 \end_inset
7642 </cell>
7643 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7644 \begin_inset Text
7645
7646 \begin_layout Standard
7647 111
7648 \end_layout
7649
7650 \end_inset
7651 </cell>
7652 </row>
7653 <row bottomline="true">
7654 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7655 \begin_inset Text
7656
7657 \begin_layout Standard
7658  
7659 \end_layout
7660
7661 \end_inset
7662 </cell>
7663 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
7664 \begin_inset Text
7665
7666 \begin_layout Standard
7667
7668 \end_layout
7669
7670 \end_inset
7671 </cell>
7672 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7673 \begin_inset Text
7674
7675 \begin_layout Standard
7676
7677 \end_layout
7678
7679 \end_inset
7680 </cell>
7681 </row>
7682 <row>
7683 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7684 \begin_inset Text
7685
7686 \begin_layout Standard
7687
7688 \series bold
7689 Annovi
7690 \end_layout
7691
7692 \end_inset
7693 </cell>
7694 <cell alignment="center" valignment="top" topline="true" usebox="none">
7695 \begin_inset Text
7696
7697 \begin_layout Standard
7698 Silvia
7699 \end_layout
7700
7701 \end_inset
7702 </cell>
7703 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7704 \begin_inset Text
7705
7706 \begin_layout Standard
7707 555
7708 \end_layout
7709
7710 \end_inset
7711 </cell>
7712 </row>
7713 <row>
7714 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7715 \begin_inset Text
7716
7717 \begin_layout Standard
7718
7719 \series bold
7720 Bertoli
7721 \end_layout
7722
7723 \end_inset
7724 </cell>
7725 <cell alignment="center" valignment="top" topline="true" usebox="none">
7726 \begin_inset Text
7727
7728 \begin_layout Standard
7729 Stefano
7730 \end_layout
7731
7732 \end_inset
7733 </cell>
7734 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7735 \begin_inset Text
7736
7737 \begin_layout Standard
7738 555
7739 \end_layout
7740
7741 \end_inset
7742 </cell>
7743 </row>
7744 <row>
7745 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7746 \begin_inset Text
7747
7748 \begin_layout Standard
7749
7750 \series bold
7751 Bozzi
7752 \end_layout
7753
7754 \end_inset
7755 </cell>
7756 <cell alignment="center" valignment="top" topline="true" usebox="none">
7757 \begin_inset Text
7758
7759 \begin_layout Standard
7760 Walter
7761 \end_layout
7762
7763 \end_inset
7764 </cell>
7765 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7766 \begin_inset Text
7767
7768 \begin_layout Standard
7769 555
7770 \end_layout
7771
7772 \end_inset
7773 </cell>
7774 </row>
7775 <row>
7776 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7777 \begin_inset Text
7778
7779 \begin_layout Standard
7780
7781 \series bold
7782 Cachia
7783 \end_layout
7784
7785 \end_inset
7786 </cell>
7787 <cell alignment="center" valignment="top" topline="true" usebox="none">
7788 \begin_inset Text
7789
7790 \begin_layout Standard
7791 Maria
7792 \end_layout
7793
7794 \end_inset
7795 </cell>
7796 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7797 \begin_inset Text
7798
7799 \begin_layout Standard
7800 555
7801 \end_layout
7802
7803 \end_inset
7804 </cell>
7805 </row>
7806 <row>
7807 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7808 \begin_inset Text
7809
7810 \begin_layout Standard
7811
7812 \series bold
7813 Cachia
7814 \end_layout
7815
7816 \end_inset
7817 </cell>
7818 <cell alignment="center" valignment="top" topline="true" usebox="none">
7819 \begin_inset Text
7820
7821 \begin_layout Standard
7822 Maurizio
7823 \end_layout
7824
7825 \end_inset
7826 </cell>
7827 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7828 \begin_inset Text
7829
7830 \begin_layout Standard
7831 555
7832 \end_layout
7833
7834 \end_inset
7835 </cell>
7836 </row>
7837 <row>
7838 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7839 \begin_inset Text
7840
7841 \begin_layout Standard
7842
7843 \series bold
7844 Cinquemani
7845 \end_layout
7846
7847 \end_inset
7848 </cell>
7849 <cell alignment="center" valignment="top" topline="true" usebox="none">
7850 \begin_inset Text
7851
7852 \begin_layout Standard
7853 Giusi
7854 \end_layout
7855
7856 \end_inset
7857 </cell>
7858 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7859 \begin_inset Text
7860
7861 \begin_layout Standard
7862 555
7863 \end_layout
7864
7865 \end_inset
7866 </cell>
7867 </row>
7868 <row>
7869 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7870 \begin_inset Text
7871
7872 \begin_layout Standard
7873
7874 \series bold
7875 Colin
7876 \end_layout
7877
7878 \end_inset
7879 </cell>
7880 <cell alignment="center" valignment="top" topline="true" usebox="none">
7881 \begin_inset Text
7882
7883 \begin_layout Standard
7884 Bernard
7885 \end_layout
7886
7887 \end_inset
7888 </cell>
7889 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7890 \begin_inset Text
7891
7892 \begin_layout Standard
7893 555
7894 \end_layout
7895
7896 \end_inset
7897 </cell>
7898 </row>
7899 <row>
7900 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7901 \begin_inset Text
7902
7903 \begin_layout Standard
7904
7905 \series bold
7906 Concli
7907 \end_layout
7908
7909 \end_inset
7910 </cell>
7911 <cell alignment="center" valignment="top" topline="true" usebox="none">
7912 \begin_inset Text
7913
7914 \begin_layout Standard
7915 Gianfranco
7916 \end_layout
7917
7918 \end_inset
7919 </cell>
7920 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7921 \begin_inset Text
7922
7923 \begin_layout Standard
7924 555
7925 \end_layout
7926
7927 \end_inset
7928 </cell>
7929 </row>
7930 <row>
7931 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7932 \begin_inset Text
7933
7934 \begin_layout Standard
7935
7936 \series bold
7937 Dal Bosco
7938 \end_layout
7939
7940 \end_inset
7941 </cell>
7942 <cell alignment="center" valignment="top" topline="true" usebox="none">
7943 \begin_inset Text
7944
7945 \begin_layout Standard
7946 Carolina
7947 \end_layout
7948
7949 \end_inset
7950 </cell>
7951 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7952 \begin_inset Text
7953
7954 \begin_layout Standard
7955 555
7956 \end_layout
7957
7958 \end_inset
7959 </cell>
7960 </row>
7961 <row>
7962 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7963 \begin_inset Text
7964
7965 \begin_layout Standard
7966
7967 \series bold
7968 Dalpiaz
7969 \end_layout
7970
7971 \end_inset
7972 </cell>
7973 <cell alignment="center" valignment="top" topline="true" usebox="none">
7974 \begin_inset Text
7975
7976 \begin_layout Standard
7977 Annamaria
7978 \end_layout
7979
7980 \end_inset
7981 </cell>
7982 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7983 \begin_inset Text
7984
7985 \begin_layout Standard
7986 555
7987 \end_layout
7988
7989 \end_inset
7990 </cell>
7991 </row>
7992 <row>
7993 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7994 \begin_inset Text
7995
7996 \begin_layout Standard
7997
7998 \series bold
7999 Feliciello
8000 \end_layout
8001
8002 \end_inset
8003 </cell>
8004 <cell alignment="center" valignment="top" topline="true" usebox="none">
8005 \begin_inset Text
8006
8007 \begin_layout Standard
8008 Domenico
8009 \end_layout
8010
8011 \end_inset
8012 </cell>
8013 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8014 \begin_inset Text
8015
8016 \begin_layout Standard
8017 555
8018 \end_layout
8019
8020 \end_inset
8021 </cell>
8022 </row>
8023 <row>
8024 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8025 \begin_inset Text
8026
8027 \begin_layout Standard
8028
8029 \series bold
8030 Focarelli
8031 \end_layout
8032
8033 \end_inset
8034 </cell>
8035 <cell alignment="center" valignment="top" topline="true" usebox="none">
8036 \begin_inset Text
8037
8038 \begin_layout Standard
8039 Paola
8040 \end_layout
8041
8042 \end_inset
8043 </cell>
8044 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8045 \begin_inset Text
8046
8047 \begin_layout Standard
8048 555
8049 \end_layout
8050
8051 \end_inset
8052 </cell>
8053 </row>
8054 <row>
8055 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8056 \begin_inset Text
8057
8058 \begin_layout Standard
8059
8060 \series bold
8061 Galletti
8062 \end_layout
8063
8064 \end_inset
8065 </cell>
8066 <cell alignment="center" valignment="top" topline="true" usebox="none">
8067 \begin_inset Text
8068
8069 \begin_layout Standard
8070 Oreste
8071 \end_layout
8072
8073 \end_inset
8074 </cell>
8075 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8076 \begin_inset Text
8077
8078 \begin_layout Standard
8079 555
8080 \end_layout
8081
8082 \end_inset
8083 </cell>
8084 </row>
8085 <row>
8086 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8087 \begin_inset Text
8088
8089 \begin_layout Standard
8090
8091 \series bold
8092 Gasparini
8093 \end_layout
8094
8095 \end_inset
8096 </cell>
8097 <cell alignment="center" valignment="top" topline="true" usebox="none">
8098 \begin_inset Text
8099
8100 \begin_layout Standard
8101 Franca
8102 \end_layout
8103
8104 \end_inset
8105 </cell>
8106 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8107 \begin_inset Text
8108
8109 \begin_layout Standard
8110 555
8111 \end_layout
8112
8113 \end_inset
8114 </cell>
8115 </row>
8116 <row>
8117 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8118 \begin_inset Text
8119
8120 \begin_layout Standard
8121
8122 \series bold
8123 Rizzardi
8124 \end_layout
8125
8126 \end_inset
8127 </cell>
8128 <cell alignment="center" valignment="top" topline="true" usebox="none">
8129 \begin_inset Text
8130
8131 \begin_layout Standard
8132 Paola
8133 \end_layout
8134
8135 \end_inset
8136 </cell>
8137 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8138 \begin_inset Text
8139
8140 \begin_layout Standard
8141 555
8142 \end_layout
8143
8144 \end_inset
8145 </cell>
8146 </row>
8147 <row>
8148 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8149 \begin_inset Text
8150
8151 \begin_layout Standard
8152
8153 \series bold
8154 Lassini
8155 \end_layout
8156
8157 \end_inset
8158 </cell>
8159 <cell alignment="center" valignment="top" topline="true" usebox="none">
8160 \begin_inset Text
8161
8162 \begin_layout Standard
8163 Giancarlo
8164 \end_layout
8165
8166 \end_inset
8167 </cell>
8168 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8169 \begin_inset Text
8170
8171 \begin_layout Standard
8172 555
8173 \end_layout
8174
8175 \end_inset
8176 </cell>
8177 </row>
8178 <row>
8179 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8180 \begin_inset Text
8181
8182 \begin_layout Standard
8183
8184 \series bold
8185 Malfatti
8186 \end_layout
8187
8188 \end_inset
8189 </cell>
8190 <cell alignment="center" valignment="top" topline="true" usebox="none">
8191 \begin_inset Text
8192
8193 \begin_layout Standard
8194 Luciano
8195 \end_layout
8196
8197 \end_inset
8198 </cell>
8199 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8200 \begin_inset Text
8201
8202 \begin_layout Standard
8203 555
8204 \end_layout
8205
8206 \end_inset
8207 </cell>
8208 </row>
8209 <row>
8210 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8211 \begin_inset Text
8212
8213 \begin_layout Standard
8214
8215 \series bold
8216 Malfatti
8217 \end_layout
8218
8219 \end_inset
8220 </cell>
8221 <cell alignment="center" valignment="top" topline="true" usebox="none">
8222 \begin_inset Text
8223
8224 \begin_layout Standard
8225 Valeriano
8226 \end_layout
8227
8228 \end_inset
8229 </cell>
8230 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8231 \begin_inset Text
8232
8233 \begin_layout Standard
8234 555
8235 \end_layout
8236
8237 \end_inset
8238 </cell>
8239 </row>
8240 <row>
8241 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8242 \begin_inset Text
8243
8244 \begin_layout Standard
8245
8246 \series bold
8247 Meneguzzo
8248 \end_layout
8249
8250 \end_inset
8251 </cell>
8252 <cell alignment="center" valignment="top" topline="true" usebox="none">
8253 \begin_inset Text
8254
8255 \begin_layout Standard
8256 Roberto
8257 \end_layout
8258
8259 \end_inset
8260 </cell>
8261 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8262 \begin_inset Text
8263
8264 \begin_layout Standard
8265 555
8266 \end_layout
8267
8268 \end_inset
8269 </cell>
8270 </row>
8271 <row bottomline="true">
8272 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8273 \begin_inset Text
8274
8275 \begin_layout Standard
8276
8277 \series bold
8278 Mezzadra
8279 \end_layout
8280
8281 \end_inset
8282 </cell>
8283 <cell alignment="center" valignment="top" topline="true" usebox="none">
8284 \begin_inset Text
8285
8286 \begin_layout Standard
8287 Roberto
8288 \end_layout
8289
8290 \end_inset
8291 </cell>
8292 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8293 \begin_inset Text
8294
8295 \begin_layout Standard
8296 555
8297 \end_layout
8298
8299 \end_inset
8300 </cell>
8301 </row>
8302 <row bottomline="true" endlastfoot="true">
8303 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
8304 \begin_inset Text
8305
8306 \begin_layout Standard
8307
8308 \end_layout
8309
8310 \end_inset
8311 </cell>
8312 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8313 \begin_inset Text
8314
8315 \begin_layout Standard
8316
8317 \end_layout
8318
8319 \end_inset
8320 </cell>
8321 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8322 \begin_inset Text
8323
8324 \begin_layout Standard
8325
8326 \end_layout
8327
8328 \end_inset
8329 </cell>
8330 </row>
8331 </lyxtabular>
8332
8333 \end_inset
8334
8335
8336 \end_layout
8337
8338 \begin_layout Section
8339 Special Longtable Issues
8340 \begin_inset LatexCommand label
8341 name "sec:Special-Longtable-Issues"
8342
8343 \end_inset
8344
8345
8346 \end_layout
8347
8348 \begin_layout Subsection
8349 Longtable Calculation
8350 \begin_inset LatexCommand index
8351 name "Longtables ! Calculation"
8352
8353 \end_inset
8354
8355
8356 \end_layout
8357
8358 \begin_layout Standard
8359 LaTeX calculates the height of table pages and their page breaks using so
8360  called chunks.
8361  Chunks are pieces of the tables that are at once in LaTeX's memory.
8362  The default value is historically set to only 20 table rows.
8363  If you are using longtables with many pages this may slow down the creation
8364  of your document.
8365  You can safely increase the chunk size to values of 100-1000 by adding
8366  this command line to your document preamble:
8367 \end_layout
8368
8369 \begin_layout Standard
8370
8371 \series bold
8372
8373 \backslash
8374 setcounter{LTchunksize}{100}
8375 \end_layout
8376
8377 \begin_layout Subsection
8378 Floats and Longtables
8379 \begin_inset LatexCommand index
8380 name "Longtables ! Floats"
8381
8382 \end_inset
8383
8384
8385 \end_layout
8386
8387 \begin_layout Standard
8388 There might be problems when a float appears on the same page where a longtable
8389  starts.
8390  To avoid such situation, add the command 
8391 \series bold
8392
8393 \backslash
8394 clearpage
8395 \series default
8396  as ERT before your longtable.
8397 \end_layout
8398
8399 \begin_layout Subsection
8400 Forced Page Breaks
8401 \begin_inset LatexCommand index
8402 name "Longtables ! Forced Page Breaks"
8403
8404 \end_inset
8405
8406
8407 \end_layout
8408
8409 \begin_layout Standard
8410 By default tables are only broken between rows.
8411  If you have a cell with multiples lines and want to have a page break within
8412  the cell, insert the new line command 
8413 \begin_inset Quotes eld
8414 \end_inset
8415
8416
8417 \series bold
8418
8419 \backslash
8420
8421 \backslash
8422
8423 \series default
8424
8425 \begin_inset Quotes erd
8426 \end_inset
8427
8428  as ERT at this point of the cell where it should be broken.
8429  Before the 
8430 \series bold
8431
8432 \backslash
8433
8434 \backslash
8435
8436 \series default
8437  command you have to insert in ERT so many 
8438 \begin_inset Quotes eld
8439 \end_inset
8440
8441
8442 \series bold
8443 &
8444 \series default
8445
8446 \begin_inset Quotes erd
8447 \end_inset
8448
8449  characters like the number of the following table columns.
8450  The 
8451 \series bold
8452 &
8453 \series default
8454  is the character to separate table cells.
8455  Write in ERT after each 
8456 \series bold
8457 &
8458 \series default
8459  the content of the corresponding following cell and delete the content
8460  of these cells.
8461 \newline
8462 Behind the the 
8463 \series bold
8464
8465 \backslash
8466
8467 \backslash
8468
8469 \series default
8470  command, insert so many 
8471 \series bold
8472 &
8473 \series default
8474  characters like the number of table columns before the current column.
8475  In Table\InsetSpace ~
8476
8477 \begin_inset LatexCommand ref
8478 reference "tab:ForcedPagebreak"
8479
8480 \end_inset
8481
8482  the cell that should be broken is in the second column followed by another
8483  column.
8484  Therefore the following command was inserted in the cell as ERT behind
8485  
8486 \begin_inset Quotes eld
8487 \end_inset
8488
8489
8490 \emph on
8491 Castelchiodato,
8492 \emph default
8493
8494 \begin_inset Quotes erd
8495 \end_inset
8496
8497 :
8498 \end_layout
8499
8500 \begin_layout Standard
8501
8502 \series bold
8503 & 111
8504 \backslash
8505
8506 \backslash
8507
8508 \newline
8509 &
8510 \end_layout
8511
8512 \begin_layout Standard
8513 The 
8514 \begin_inset Quotes eld
8515 \end_inset
8516
8517 111
8518 \begin_inset Quotes erd
8519 \end_inset
8520
8521  in the third columns of the row was deleted.
8522  If your footer row of the longtable has for a certain reason no upper line
8523  but you would have a horizontal line where the cell is broken, use this
8524  command instead:
8525 \end_layout
8526
8527 \begin_layout Standard
8528
8529 \series bold
8530 & 111
8531 \backslash
8532
8533 \backslash
8534
8535 \newline
8536
8537 \backslash
8538 hline &
8539 \end_layout
8540
8541 \begin_layout Standard
8542 When the cell to be broken is in the last column, the command
8543 \end_layout
8544
8545 \begin_layout Standard
8546
8547 \series bold
8548
8549 \backslash
8550 setlength{
8551 \backslash
8552 parf\SpecialChar \textcompwordmark{}
8553 illskip}{0pt}
8554 \end_layout
8555
8556 \begin_layout Standard
8557 must be inserted as ERT at the beginning of the cell.
8558  This assures that the part of the cell that will be displayed on the new
8559  page appears with the full width.
8560 \end_layout
8561
8562 \begin_layout Standard
8563 \align center
8564 \begin_inset Tabular
8565 <lyxtabular version="3" rows="39" columns="3">
8566 <features islongtable="true">
8567 <column alignment="left" valignment="top" leftline="true" width="0cm">
8568 <column alignment="left" valignment="top" rightline="true" width="3cm">
8569 <column alignment="right" valignment="top" rightline="true" width="0pt">
8570 <row endfirsthead="true">
8571 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8572 \begin_inset Text
8573
8574 \begin_layout Standard
8575 \begin_inset Caption
8576
8577 \begin_layout Standard
8578 Table with forced page break in table cell
8579 \begin_inset LatexCommand label
8580 name "tab:ForcedPagebreak"
8581
8582 \end_inset
8583
8584
8585 \begin_inset OptArg
8586 status collapsed
8587
8588 \begin_layout Standard
8589 Table with forced page break in table cell
8590 \end_layout
8591
8592 \end_inset
8593
8594
8595 \end_layout
8596
8597 \end_inset
8598
8599
8600 \begin_inset ERT
8601 status collapsed
8602
8603 \begin_layout Standard
8604
8605
8606 \backslash
8607
8608 \backslash
8609 %
8610 \end_layout
8611
8612 \end_inset
8613
8614
8615 \end_layout
8616
8617 \end_inset
8618 </cell>
8619 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8620 \begin_inset Text
8621
8622 \begin_layout Standard
8623
8624 \end_layout
8625
8626 \end_inset
8627 </cell>
8628 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8629 \begin_inset Text
8630
8631 \begin_layout Standard
8632
8633 \end_layout
8634
8635 \end_inset
8636 </cell>
8637 </row>
8638 <row topline="true" bottomline="true" endfirsthead="true">
8639 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8640 \begin_inset Text
8641
8642 \begin_layout Standard
8643
8644 \series bold
8645 Example Phone List (ignore the names)
8646 \end_layout
8647
8648 \end_inset
8649 </cell>
8650 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8651 \begin_inset Text
8652
8653 \begin_layout Standard
8654
8655 \end_layout
8656
8657 \end_inset
8658 </cell>
8659 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8660 \begin_inset Text
8661
8662 \begin_layout Standard
8663
8664 \end_layout
8665
8666 \end_inset
8667 </cell>
8668 </row>
8669 <row topline="true" bottomline="true" endfirsthead="true">
8670 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8671 \begin_inset Text
8672
8673 \begin_layout Standard
8674
8675 \series bold
8676 NAME
8677 \end_layout
8678
8679 \end_inset
8680 </cell>
8681 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8682 \begin_inset Text
8683
8684 \begin_layout Standard
8685
8686 \end_layout
8687
8688 \end_inset
8689 </cell>
8690 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8691 \begin_inset Text
8692
8693 \begin_layout Standard
8694
8695 \series bold
8696 TEL.
8697 \end_layout
8698
8699 \end_inset
8700 </cell>
8701 </row>
8702 <row bottomline="true" endhead="true">
8703 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8704 \begin_inset Text
8705
8706 \begin_layout Standard
8707 \begin_inset ERT
8708 status collapsed
8709
8710 \begin_layout Standard
8711
8712
8713 \backslash
8714 caption*{Continued table with forced page break in table cell}
8715 \backslash
8716
8717 \backslash
8718 %
8719 \end_layout
8720
8721 \end_inset
8722
8723
8724 \end_layout
8725
8726 \end_inset
8727 </cell>
8728 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8729 \begin_inset Text
8730
8731 \begin_layout Standard
8732
8733 \end_layout
8734
8735 \end_inset
8736 </cell>
8737 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8738 \begin_inset Text
8739
8740 \begin_layout Standard
8741
8742 \end_layout
8743
8744 \end_inset
8745 </cell>
8746 </row>
8747 <row topline="true" bottomline="true" endhead="true">
8748 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8749 \begin_inset Text
8750
8751 \begin_layout Standard
8752  
8753 \series bold
8754 Example Phone List
8755 \end_layout
8756
8757 \end_inset
8758 </cell>
8759 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8760 \begin_inset Text
8761
8762 \begin_layout Standard
8763
8764 \end_layout
8765
8766 \end_inset
8767 </cell>
8768 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8769 \begin_inset Text
8770
8771 \begin_layout Standard
8772
8773 \end_layout
8774
8775 \end_inset
8776 </cell>
8777 </row>
8778 <row topline="true" bottomline="true" endhead="true">
8779 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8780 \begin_inset Text
8781
8782 \begin_layout Standard
8783
8784 \series bold
8785 NAME
8786 \end_layout
8787
8788 \end_inset
8789 </cell>
8790 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8791 \begin_inset Text
8792
8793 \begin_layout Standard
8794
8795 \end_layout
8796
8797 \end_inset
8798 </cell>
8799 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8800 \begin_inset Text
8801
8802 \begin_layout Standard
8803
8804 \series bold
8805 TEL.
8806 \end_layout
8807
8808 \end_inset
8809 </cell>
8810 </row>
8811 <row topline="true" bottomline="true" endfoot="true">
8812 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
8813 \begin_inset Text
8814
8815 \begin_layout Standard
8816 continued on next page
8817 \end_layout
8818
8819 \end_inset
8820 </cell>
8821 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8822 \begin_inset Text
8823
8824 \begin_layout Standard
8825
8826 \end_layout
8827
8828 \end_inset
8829 </cell>
8830 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8831 \begin_inset Text
8832
8833 \begin_layout Standard
8834
8835 \end_layout
8836
8837 \end_inset
8838 </cell>
8839 </row>
8840 <row>
8841 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8842 \begin_inset Text
8843
8844 \begin_layout Standard
8845
8846 \series bold
8847 Annovi
8848 \end_layout
8849
8850 \end_inset
8851 </cell>
8852 <cell alignment="center" valignment="top" topline="true" usebox="none">
8853 \begin_inset Text
8854
8855 \begin_layout Standard
8856 Silvia
8857 \end_layout
8858
8859 \end_inset
8860 </cell>
8861 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8862 \begin_inset Text
8863
8864 \begin_layout Standard
8865 111
8866 \end_layout
8867
8868 \end_inset
8869 </cell>
8870 </row>
8871 <row>
8872 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8873 \begin_inset Text
8874
8875 \begin_layout Standard
8876
8877 \series bold
8878 Bertoli
8879 \end_layout
8880
8881 \end_inset
8882 </cell>
8883 <cell alignment="center" valignment="top" topline="true" usebox="none">
8884 \begin_inset Text
8885
8886 \begin_layout Standard
8887 Stefano
8888 \end_layout
8889
8890 \end_inset
8891 </cell>
8892 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8893 \begin_inset Text
8894
8895 \begin_layout Standard
8896 111
8897 \end_layout
8898
8899 \end_inset
8900 </cell>
8901 </row>
8902 <row>
8903 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8904 \begin_inset Text
8905
8906 \begin_layout Standard
8907
8908 \series bold
8909 Bozzi
8910 \end_layout
8911
8912 \end_inset
8913 </cell>
8914 <cell alignment="center" valignment="top" topline="true" usebox="none">
8915 \begin_inset Text
8916
8917 \begin_layout Standard
8918 Walter
8919 \end_layout
8920
8921 \end_inset
8922 </cell>
8923 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8924 \begin_inset Text
8925
8926 \begin_layout Standard
8927 111
8928 \end_layout
8929
8930 \end_inset
8931 </cell>
8932 </row>
8933 <row>
8934 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8935 \begin_inset Text
8936
8937 \begin_layout Standard
8938
8939 \series bold
8940 Cachia
8941 \end_layout
8942
8943 \end_inset
8944 </cell>
8945 <cell alignment="center" valignment="top" topline="true" usebox="none">
8946 \begin_inset Text
8947
8948 \begin_layout Standard
8949 Maria
8950 \end_layout
8951
8952 \end_inset
8953 </cell>
8954 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8955 \begin_inset Text
8956
8957 \begin_layout Standard
8958 111
8959 \end_layout
8960
8961 \end_inset
8962 </cell>
8963 </row>
8964 <row>
8965 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8966 \begin_inset Text
8967
8968 \begin_layout Standard
8969
8970 \series bold
8971 Cachia
8972 \end_layout
8973
8974 \end_inset
8975 </cell>
8976 <cell alignment="center" valignment="top" topline="true" usebox="none">
8977 \begin_inset Text
8978
8979 \begin_layout Standard
8980 Maurizio
8981 \end_layout
8982
8983 \end_inset
8984 </cell>
8985 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8986 \begin_inset Text
8987
8988 \begin_layout Standard
8989 111
8990 \end_layout
8991
8992 \end_inset
8993 </cell>
8994 </row>
8995 <row>
8996 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8997 \begin_inset Text
8998
8999 \begin_layout Standard
9000
9001 \series bold
9002 Cinquemani
9003 \end_layout
9004
9005 \end_inset
9006 </cell>
9007 <cell alignment="center" valignment="top" topline="true" usebox="none">
9008 \begin_inset Text
9009
9010 \begin_layout Standard
9011 Giusi
9012 \end_layout
9013
9014 \end_inset
9015 </cell>
9016 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9017 \begin_inset Text
9018
9019 \begin_layout Standard
9020 111
9021 \end_layout
9022
9023 \end_inset
9024 </cell>
9025 </row>
9026 <row>
9027 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9028 \begin_inset Text
9029
9030 \begin_layout Standard
9031
9032 \series bold
9033 Colin
9034 \end_layout
9035
9036 \end_inset
9037 </cell>
9038 <cell alignment="center" valignment="top" topline="true" usebox="none">
9039 \begin_inset Text
9040
9041 \begin_layout Standard
9042 Bernard
9043 \end_layout
9044
9045 \end_inset
9046 </cell>
9047 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9048 \begin_inset Text
9049
9050 \begin_layout Standard
9051 111
9052 \end_layout
9053
9054 \end_inset
9055 </cell>
9056 </row>
9057 <row>
9058 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9059 \begin_inset Text
9060
9061 \begin_layout Standard
9062
9063 \series bold
9064 Concli
9065 \end_layout
9066
9067 \end_inset
9068 </cell>
9069 <cell alignment="center" valignment="top" topline="true" usebox="none">
9070 \begin_inset Text
9071
9072 \begin_layout Standard
9073 Gianfranco
9074 \end_layout
9075
9076 \end_inset
9077 </cell>
9078 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9079 \begin_inset Text
9080
9081 \begin_layout Standard
9082 111
9083 \end_layout
9084
9085 \end_inset
9086 </cell>
9087 </row>
9088 <row>
9089 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9090 \begin_inset Text
9091
9092 \begin_layout Standard
9093
9094 \series bold
9095 Dal Bosco
9096 \end_layout
9097
9098 \end_inset
9099 </cell>
9100 <cell alignment="center" valignment="top" topline="true" usebox="none">
9101 \begin_inset Text
9102
9103 \begin_layout Standard
9104 Carolina
9105 \end_layout
9106
9107 \end_inset
9108 </cell>
9109 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9110 \begin_inset Text
9111
9112 \begin_layout Standard
9113 111
9114 \end_layout
9115
9116 \end_inset
9117 </cell>
9118 </row>
9119 <row>
9120 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9121 \begin_inset Text
9122
9123 \begin_layout Standard
9124
9125 \series bold
9126 Dalpiaz
9127 \end_layout
9128
9129 \end_inset
9130 </cell>
9131 <cell alignment="center" valignment="top" topline="true" usebox="none">
9132 \begin_inset Text
9133
9134 \begin_layout Standard
9135 Annamaria
9136 \end_layout
9137
9138 \end_inset
9139 </cell>
9140 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9141 \begin_inset Text
9142
9143 \begin_layout Standard
9144 111
9145 \end_layout
9146
9147 \end_inset
9148 </cell>
9149 </row>
9150 <row>
9151 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9152 \begin_inset Text
9153
9154 \begin_layout Standard
9155
9156 \series bold
9157 Feliciello
9158 \end_layout
9159
9160 \end_inset
9161 </cell>
9162 <cell alignment="center" valignment="top" topline="true" usebox="none">
9163 \begin_inset Text
9164
9165 \begin_layout Standard
9166 Domenico
9167 \end_layout
9168
9169 \end_inset
9170 </cell>
9171 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9172 \begin_inset Text
9173
9174 \begin_layout Standard
9175 111
9176 \end_layout
9177
9178 \end_inset
9179 </cell>
9180 </row>
9181 <row>
9182 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9183 \begin_inset Text
9184
9185 \begin_layout Standard
9186
9187 \series bold
9188 Focarelli
9189 \end_layout
9190
9191 \end_inset
9192 </cell>
9193 <cell alignment="center" valignment="top" topline="true" usebox="none">
9194 \begin_inset Text
9195
9196 \begin_layout Standard
9197 Paola
9198 \end_layout
9199
9200 \end_inset
9201 </cell>
9202 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9203 \begin_inset Text
9204
9205 \begin_layout Standard
9206 111
9207 \end_layout
9208
9209 \end_inset
9210 </cell>
9211 </row>
9212 <row>
9213 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9214 \begin_inset Text
9215
9216 \begin_layout Standard
9217
9218 \series bold
9219 Galletti
9220 \end_layout
9221
9222 \end_inset
9223 </cell>
9224 <cell alignment="center" valignment="top" topline="true" usebox="none">
9225 \begin_inset Text
9226
9227 \begin_layout Standard
9228 Oreste
9229 \end_layout
9230
9231 \end_inset
9232 </cell>
9233 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9234 \begin_inset Text
9235
9236 \begin_layout Standard
9237 111
9238 \end_layout
9239
9240 \end_inset
9241 </cell>
9242 </row>
9243 <row>
9244 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9245 \begin_inset Text
9246
9247 \begin_layout Standard
9248
9249 \series bold
9250 Gasparini
9251 \end_layout
9252
9253 \end_inset
9254 </cell>
9255 <cell alignment="center" valignment="top" topline="true" usebox="none">
9256 \begin_inset Text
9257
9258 \begin_layout Standard
9259 Franca
9260 \end_layout
9261
9262 \end_inset
9263 </cell>
9264 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9265 \begin_inset Text
9266
9267 \begin_layout Standard
9268 111
9269 \end_layout
9270
9271 \end_inset
9272 </cell>
9273 </row>
9274 <row>
9275 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9276 \begin_inset Text
9277
9278 \begin_layout Standard
9279
9280 \series bold
9281 Lassini
9282 \end_layout
9283
9284 \end_inset
9285 </cell>
9286 <cell alignment="center" valignment="top" topline="true" usebox="none">
9287 \begin_inset Text
9288
9289 \begin_layout Standard
9290 Giancarlo
9291 \end_layout
9292
9293 \end_inset
9294 </cell>
9295 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9296 \begin_inset Text
9297
9298 \begin_layout Standard
9299 111
9300 \end_layout
9301
9302 \end_inset
9303 </cell>
9304 </row>
9305 <row>
9306 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9307 \begin_inset Text
9308
9309 \begin_layout Standard
9310
9311 \series bold
9312 Malfatti
9313 \end_layout
9314
9315 \end_inset
9316 </cell>
9317 <cell alignment="center" valignment="top" topline="true" usebox="none">
9318 \begin_inset Text
9319
9320 \begin_layout Standard
9321 Luciano
9322 \end_layout
9323
9324 \end_inset
9325 </cell>
9326 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9327 \begin_inset Text
9328
9329 \begin_layout Standard
9330 111
9331 \end_layout
9332
9333 \end_inset
9334 </cell>
9335 </row>
9336 <row>
9337 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9338 \begin_inset Text
9339
9340 \begin_layout Standard
9341
9342 \series bold
9343 Malfatti
9344 \end_layout
9345
9346 \end_inset
9347 </cell>
9348 <cell alignment="center" valignment="top" topline="true" usebox="none">
9349 \begin_inset Text
9350
9351 \begin_layout Standard
9352 Valeriano
9353 \end_layout
9354
9355 \end_inset
9356 </cell>
9357 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9358 \begin_inset Text
9359
9360 \begin_layout Standard
9361 111
9362 \end_layout
9363
9364 \end_inset
9365 </cell>
9366 </row>
9367 <row>
9368 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9369 \begin_inset Text
9370
9371 \begin_layout Standard
9372
9373 \series bold
9374 Meneguzzo
9375 \end_layout
9376
9377 \end_inset
9378 </cell>
9379 <cell alignment="center" valignment="top" topline="true" usebox="none">
9380 \begin_inset Text
9381
9382 \begin_layout Standard
9383 Roberto
9384 \end_layout
9385
9386 \end_inset
9387 </cell>
9388 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9389 \begin_inset Text
9390
9391 \begin_layout Standard
9392 111
9393 \end_layout
9394
9395 \end_inset
9396 </cell>
9397 </row>
9398 <row>
9399 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9400 \begin_inset Text
9401
9402 \begin_layout Standard
9403
9404 \series bold
9405 Mezzadra
9406 \end_layout
9407
9408 \end_inset
9409 </cell>
9410 <cell alignment="center" valignment="top" topline="true" usebox="none">
9411 \begin_inset Text
9412
9413 \begin_layout Standard
9414 Roberto
9415 \end_layout
9416
9417 \end_inset
9418 </cell>
9419 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9420 \begin_inset Text
9421
9422 \begin_layout Standard
9423 111
9424 \end_layout
9425
9426 \end_inset
9427 </cell>
9428 </row>
9429 <row>
9430 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9431 \begin_inset Text
9432
9433 \begin_layout Standard
9434
9435 \series bold
9436 Pirpamer
9437 \end_layout
9438
9439 \end_inset
9440 </cell>
9441 <cell alignment="center" valignment="top" topline="true" usebox="none">
9442 \begin_inset Text
9443
9444 \begin_layout Standard
9445 Erich
9446 \end_layout
9447
9448 \end_inset
9449 </cell>
9450 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9451 \begin_inset Text
9452
9453 \begin_layout Standard
9454 111
9455 \end_layout
9456
9457 \end_inset
9458 </cell>
9459 </row>
9460 <row>
9461 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9462 \begin_inset Text
9463
9464 \begin_layout Standard
9465
9466 \series bold
9467 Pochiesa
9468 \end_layout
9469
9470 \end_inset
9471 </cell>
9472 <cell alignment="center" valignment="top" topline="true" usebox="none">
9473 \begin_inset Text
9474
9475 \begin_layout Standard
9476 Paolo
9477 \end_layout
9478
9479 \end_inset
9480 </cell>
9481 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9482 \begin_inset Text
9483
9484 \begin_layout Standard
9485 111, 222
9486 \end_layout
9487
9488 \end_inset
9489 </cell>
9490 </row>
9491 <row>
9492 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9493 \begin_inset Text
9494
9495 \begin_layout Standard
9496
9497 \series bold
9498 Radina
9499 \end_layout
9500
9501 \end_inset
9502 </cell>
9503 <cell alignment="center" valignment="top" topline="true" usebox="none">
9504 \begin_inset Text
9505
9506 \begin_layout Standard
9507 Claudio
9508 \end_layout
9509
9510 \end_inset
9511 </cell>
9512 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9513 \begin_inset Text
9514
9515 \begin_layout Standard
9516 111
9517 \end_layout
9518
9519 \end_inset
9520 </cell>
9521 </row>
9522 <row>
9523 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9524 \begin_inset Text
9525
9526 \begin_layout Standard
9527
9528 \series bold
9529 Rizzardi
9530 \end_layout
9531
9532 \end_inset
9533 </cell>
9534 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9535 \begin_inset Text
9536
9537 \begin_layout Standard
9538 Paolo, 11.
9539  Fürst von Montecompatri, 11.
9540  Fürst von Sulmona und Vivaro, 10.
9541  Fürst von Rossano, 5.
9542  Herzog von Canemorte, 11.
9543  Herzog von Palombara, 5.
9544  Herzog von Castelchiodato,
9545 \begin_inset ERT
9546 status collapsed
9547
9548 \begin_layout Standard
9549
9550 & 111
9551 \backslash
9552
9553 \backslash
9554
9555 \end_layout
9556
9557 \begin_layout Standard
9558
9559 &
9560 \end_layout
9561
9562 \end_inset
9563
9564  11.
9565  Herzog von Poggionativo, 11.
9566  Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
9567  Graf von Valinfreda, 11.
9568  Baron von Cropalati, 11.
9569  Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
9570 \end_layout
9571
9572 \end_inset
9573 </cell>
9574 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9575 \begin_inset Text
9576
9577 \begin_layout Standard
9578
9579 \end_layout
9580
9581 \end_inset
9582 </cell>
9583 </row>
9584 <row>
9585 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9586 \begin_inset Text
9587
9588 \begin_layout Standard
9589
9590 \series bold
9591 Stuffer
9592 \end_layout
9593
9594 \end_inset
9595 </cell>
9596 <cell alignment="center" valignment="top" topline="true" usebox="none">
9597 \begin_inset Text
9598
9599 \begin_layout Standard
9600 Oskar
9601 \end_layout
9602
9603 \end_inset
9604 </cell>
9605 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9606 \begin_inset Text
9607
9608 \begin_layout Standard
9609 111
9610 \end_layout
9611
9612 \end_inset
9613 </cell>
9614 </row>
9615 <row>
9616 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9617 \begin_inset Text
9618
9619 \begin_layout Standard
9620
9621 \series bold
9622 Tacchelli
9623 \end_layout
9624
9625 \end_inset
9626 </cell>
9627 <cell alignment="center" valignment="top" topline="true" usebox="none">
9628 \begin_inset Text
9629
9630 \begin_layout Standard
9631 Ugo
9632 \end_layout
9633
9634 \end_inset
9635 </cell>
9636 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9637 \begin_inset Text
9638
9639 \begin_layout Standard
9640 111
9641 \end_layout
9642
9643 \end_inset
9644 </cell>
9645 </row>
9646 <row>
9647 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9648 \begin_inset Text
9649
9650 \begin_layout Standard
9651
9652 \series bold
9653 Tezzele
9654 \end_layout
9655
9656 \end_inset
9657 </cell>
9658 <cell alignment="center" valignment="top" topline="true" usebox="none">
9659 \begin_inset Text
9660
9661 \begin_layout Standard
9662 Margit
9663 \end_layout
9664
9665 \end_inset
9666 </cell>
9667 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9668 \begin_inset Text
9669
9670 \begin_layout Standard
9671 111
9672 \end_layout
9673
9674 \end_inset
9675 </cell>
9676 </row>
9677 <row>
9678 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9679 \begin_inset Text
9680
9681 \begin_layout Standard
9682
9683 \series bold
9684 Unterkalmsteiner
9685 \end_layout
9686
9687 \end_inset
9688 </cell>
9689 <cell alignment="center" valignment="top" topline="true" usebox="none">
9690 \begin_inset Text
9691
9692 \begin_layout Standard
9693 Frieda
9694 \end_layout
9695
9696 \end_inset
9697 </cell>
9698 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9699 \begin_inset Text
9700
9701 \begin_layout Standard
9702 111
9703 \end_layout
9704
9705 \end_inset
9706 </cell>
9707 </row>
9708 <row>
9709 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9710 \begin_inset Text
9711
9712 \begin_layout Standard
9713
9714 \series bold
9715 Vieider
9716 \end_layout
9717
9718 \end_inset
9719 </cell>
9720 <cell alignment="center" valignment="top" topline="true" usebox="none">
9721 \begin_inset Text
9722
9723 \begin_layout Standard
9724 Hilde
9725 \end_layout
9726
9727 \end_inset
9728 </cell>
9729 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9730 \begin_inset Text
9731
9732 \begin_layout Standard
9733 111
9734 \end_layout
9735
9736 \end_inset
9737 </cell>
9738 </row>
9739 <row>
9740 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9741 \begin_inset Text
9742
9743 \begin_layout Standard
9744
9745 \series bold
9746 Vigna
9747 \end_layout
9748
9749 \end_inset
9750 </cell>
9751 <cell alignment="center" valignment="top" topline="true" usebox="none">
9752 \begin_inset Text
9753
9754 \begin_layout Standard
9755 Jürgen
9756 \end_layout
9757
9758 \end_inset
9759 </cell>
9760 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9761 \begin_inset Text
9762
9763 \begin_layout Standard
9764 111
9765 \end_layout
9766
9767 \end_inset
9768 </cell>
9769 </row>
9770 <row>
9771 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9772 \begin_inset Text
9773
9774 \begin_layout Standard
9775
9776 \series bold
9777 Weber
9778 \end_layout
9779
9780 \end_inset
9781 </cell>
9782 <cell alignment="center" valignment="top" topline="true" usebox="none">
9783 \begin_inset Text
9784
9785 \begin_layout Standard
9786 Maurizio
9787 \end_layout
9788
9789 \end_inset
9790 </cell>
9791 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9792 \begin_inset Text
9793
9794 \begin_layout Standard
9795 111
9796 \end_layout
9797
9798 \end_inset
9799 </cell>
9800 </row>
9801 <row bottomline="true">
9802 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9803 \begin_inset Text
9804
9805 \begin_layout Standard
9806
9807 \series bold
9808 Winkler
9809 \end_layout
9810
9811 \end_inset
9812 </cell>
9813 <cell alignment="center" valignment="top" topline="true" usebox="none">
9814 \begin_inset Text
9815
9816 \begin_layout Standard
9817 Franz
9818 \end_layout
9819
9820 \end_inset
9821 </cell>
9822 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9823 \begin_inset Text
9824
9825 \begin_layout Standard
9826 111
9827 \end_layout
9828
9829 \end_inset
9830 </cell>
9831 </row>
9832 <row endlastfoot="true">
9833 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
9834 \begin_inset Text
9835
9836 \begin_layout Standard
9837
9838 \end_layout
9839
9840 \end_inset
9841 </cell>
9842 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9843 \begin_inset Text
9844
9845 \begin_layout Standard
9846
9847 \end_layout
9848
9849 \end_inset
9850 </cell>
9851 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9852 \begin_inset Text
9853
9854 \begin_layout Standard
9855
9856 \end_layout
9857
9858 \end_inset
9859 </cell>
9860 </row>
9861 </lyxtabular>
9862
9863 \end_inset
9864
9865
9866 \end_layout
9867
9868 \begin_layout Section
9869 Multiple Lines Columns and Rows
9870 \end_layout
9871
9872 \begin_layout Subsection
9873 Multiple Lines in Table Cells
9874 \begin_inset LatexCommand label
9875 name "sub:Multiple-Lines-in"
9876
9877 \end_inset
9878
9879
9880 \begin_inset LatexCommand index
9881 name "Multiple Lines in Table Cells"
9882
9883 \end_inset
9884
9885
9886 \begin_inset LatexCommand index
9887 name "Table ! Linebreaks"
9888
9889 \end_inset
9890
9891
9892 \end_layout
9893
9894 \begin_layout Standard
9895 \align center
9896 \begin_inset Float table
9897 placement H
9898 wide false
9899 sideways false
9900 status open
9901
9902 \begin_layout Standard
9903 \begin_inset Caption
9904
9905 \begin_layout Standard
9906 \begin_inset LatexCommand label
9907 name "tab:Table-with-multiple"
9908
9909 \end_inset
9910
9911 Table with multiple lines in cells
9912 \end_layout
9913
9914 \end_inset
9915
9916
9917 \end_layout
9918
9919 \begin_layout Standard
9920 \align center
9921 \begin_inset Tabular
9922 <lyxtabular version="3" rows="3" columns="3">
9923 <features>
9924 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
9925 <column alignment="center" valignment="middle" leftline="true" width="0">
9926 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0">
9927 <row topline="true">
9928 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9929 \begin_inset Text
9930
9931 \begin_layout Standard
9932 multiple
9933 \begin_inset ERT
9934 status collapsed
9935
9936 \begin_layout Standard
9937
9938
9939 \backslash
9940 linebreak 
9941 \end_layout
9942
9943 \end_inset
9944
9945  lines
9946 \end_layout
9947
9948 \end_inset
9949 </cell>
9950 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9951 \begin_inset Text
9952
9953 \begin_layout Standard
9954 b
9955 \end_layout
9956
9957 \end_inset
9958 </cell>
9959 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9960 \begin_inset Text
9961
9962 \begin_layout Standard
9963 c
9964 \end_layout
9965
9966 \end_inset
9967 </cell>
9968 </row>
9969 <row topline="true">
9970 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9971 \begin_inset Text
9972
9973 \begin_layout Standard
9974 d
9975 \end_layout
9976
9977 \end_inset
9978 </cell>
9979 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9980 \begin_inset Text
9981
9982 \begin_layout Standard
9983 e
9984 \end_layout
9985
9986 \end_inset
9987 </cell>
9988 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9989 \begin_inset Text
9990
9991 \begin_layout Standard
9992 f
9993 \end_layout
9994
9995 \end_inset
9996 </cell>
9997 </row>
9998 <row topline="true" bottomline="true">
9999 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10000 \begin_inset Text
10001
10002 \begin_layout Standard
10003 g
10004 \end_layout
10005
10006 \end_inset
10007 </cell>
10008 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10009 \begin_inset Text
10010
10011 \begin_layout Standard
10012 h
10013 \end_layout
10014
10015 \end_inset
10016 </cell>
10017 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10018 \begin_inset Text
10019
10020 \begin_layout Standard
10021 i
10022 \end_layout
10023
10024 \end_inset
10025 </cell>
10026 </row>
10027 </lyxtabular>
10028
10029 \end_inset
10030
10031
10032 \end_layout
10033
10034 \end_inset
10035
10036
10037 \end_layout
10038
10039 \begin_layout Standard
10040 Adjusting a fixed width for a column, enables to enter text as a paragraph
10041  with multiple lines and hyphenations.
10042 \end_layout
10043
10044 \begin_layout Standard
10045 To produce Table\InsetSpace ~
10046
10047 \begin_inset LatexCommand ref
10048 reference "tab:Table-with-multiple"
10049
10050 \end_inset
10051
10052 , create a 3×3 table, mark the first cell and right-click on it.
10053  In the appearing table dialog we set a cell width of 2.5\InsetSpace \thinspace{}
10054 cm and choose centered
10055  for the vertical and horizontal alignment.
10056  The vertical alignment is used for all cells of the row.
10057  As our text is smaller than than 2.5\InsetSpace \thinspace{}
10058 cm, only one line will appear.
10059  To get two lines, we add a line break with the command
10060 \end_layout
10061
10062 \begin_layout Standard
10063
10064 \series bold
10065
10066 \backslash
10067 linebreak
10068 \end_layout
10069
10070 \begin_layout Standard
10071 in ERT.
10072  If the text is wider than the set cell width it will automatically be broken
10073  to several lines.
10074 \end_layout
10075
10076 \begin_layout Standard
10077 If you have a long word in a cell with a fixed width, it cannot be hyphenated
10078  by LaTeX if it is the first entry.
10079  Therefore you need to insert something, to make the word not being the
10080  first entry: Add the command
10081 \end_layout
10082
10083 \begin_layout Standard
10084
10085 \series bold
10086
10087 \backslash
10088 hspace{0pt}
10089 \end_layout
10090
10091 \begin_layout Standard
10092 in ERT before the word.
10093  As the space is zero, it doesn't change the output.
10094  Table\InsetSpace ~
10095
10096 \begin_inset LatexCommand ref
10097 reference "tab:Table-with-and"
10098
10099 \end_inset
10100
10101  shows the effect.
10102 \end_layout
10103
10104 \begin_layout Standard
10105 \begin_inset Float table
10106 placement h
10107 wide false
10108 sideways false
10109 status open
10110
10111 \begin_layout Standard
10112 \begin_inset Caption
10113
10114 \begin_layout Standard
10115 \begin_inset LatexCommand label
10116 name "tab:Table-with-and"
10117
10118 \end_inset
10119
10120 Table with and without hyphenation
10121 \end_layout
10122
10123 \end_inset
10124
10125
10126 \end_layout
10127
10128 \begin_layout Standard
10129
10130 \hfill
10131
10132 \begin_inset Tabular
10133 <lyxtabular version="3" rows="3" columns="3">
10134 <features>
10135 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10136 <column alignment="center" valignment="middle" leftline="true" width="0">
10137 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0">
10138 <row topline="true">
10139 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10140 \begin_inset Text
10141
10142 \begin_layout Standard
10143 verylongtablecellword
10144 \end_layout
10145
10146 \end_inset
10147 </cell>
10148 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10149 \begin_inset Text
10150
10151 \begin_layout Standard
10152 b
10153 \end_layout
10154
10155 \end_inset
10156 </cell>
10157 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10158 \begin_inset Text
10159
10160 \begin_layout Standard
10161 c
10162 \end_layout
10163
10164 \end_inset
10165 </cell>
10166 </row>
10167 <row topline="true">
10168 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10169 \begin_inset Text
10170
10171 \begin_layout Standard
10172 d
10173 \end_layout
10174
10175 \end_inset
10176 </cell>
10177 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10178 \begin_inset Text
10179
10180 \begin_layout Standard
10181 e
10182 \end_layout
10183
10184 \end_inset
10185 </cell>
10186 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10187 \begin_inset Text
10188
10189 \begin_layout Standard
10190 f
10191 \end_layout
10192
10193 \end_inset
10194 </cell>
10195 </row>
10196 <row topline="true" bottomline="true">
10197 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10198 \begin_inset Text
10199
10200 \begin_layout Standard
10201 g
10202 \end_layout
10203
10204 \end_inset
10205 </cell>
10206 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10207 \begin_inset Text
10208
10209 \begin_layout Standard
10210 h
10211 \end_layout
10212
10213 \end_inset
10214 </cell>
10215 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10216 \begin_inset Text
10217
10218 \begin_layout Standard
10219 i
10220 \end_layout
10221
10222 \end_inset
10223 </cell>
10224 </row>
10225 </lyxtabular>
10226
10227 \end_inset
10228
10229
10230 \hfill
10231
10232 \begin_inset Tabular
10233 <lyxtabular version="3" rows="3" columns="3">
10234 <features>
10235 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10236 <column alignment="center" valignment="middle" leftline="true" width="0">
10237 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0">
10238 <row topline="true">
10239 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10240 \begin_inset Text
10241
10242 \begin_layout Standard
10243 \begin_inset ERT
10244 status collapsed
10245
10246 \begin_layout Standard
10247
10248
10249 \backslash
10250 hspace{0pt}
10251 \end_layout
10252
10253 \end_inset
10254
10255 verylongtablecellword
10256 \end_layout
10257
10258 \end_inset
10259 </cell>
10260 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10261 \begin_inset Text
10262
10263 \begin_layout Standard
10264 b
10265 \end_layout
10266
10267 \end_inset
10268 </cell>
10269 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10270 \begin_inset Text
10271
10272 \begin_layout Standard
10273 c
10274 \end_layout
10275
10276 \end_inset
10277 </cell>
10278 </row>
10279 <row topline="true">
10280 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10281 \begin_inset Text
10282
10283 \begin_layout Standard
10284 d
10285 \end_layout
10286
10287 \end_inset
10288 </cell>
10289 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10290 \begin_inset Text
10291
10292 \begin_layout Standard
10293 e
10294 \end_layout
10295
10296 \end_inset
10297 </cell>
10298 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10299 \begin_inset Text
10300
10301 \begin_layout Standard
10302 f
10303 \end_layout
10304
10305 \end_inset
10306 </cell>
10307 </row>
10308 <row topline="true" bottomline="true">
10309 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10310 \begin_inset Text
10311
10312 \begin_layout Standard
10313 g
10314 \end_layout
10315
10316 \end_inset
10317 </cell>
10318 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10319 \begin_inset Text
10320
10321 \begin_layout Standard
10322 h
10323 \end_layout
10324
10325 \end_inset
10326 </cell>
10327 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10328 \begin_inset Text
10329
10330 \begin_layout Standard
10331 i
10332 \end_layout
10333
10334 \end_inset
10335 </cell>
10336 </row>
10337 </lyxtabular>
10338
10339 \end_inset
10340
10341
10342 \hfill
10343
10344 \end_layout
10345
10346 \end_inset
10347
10348
10349 \end_layout
10350
10351 \begin_layout Standard
10352
10353 \newpage
10354
10355 \end_layout
10356
10357 \begin_layout Subsection
10358 Multicolumns
10359 \begin_inset LatexCommand label
10360 name "sub:Multicolumns"
10361
10362 \end_inset
10363
10364
10365 \begin_inset LatexCommand index
10366 name "Multicolumns"
10367
10368 \end_inset
10369
10370
10371 \begin_inset LatexCommand index
10372 name "Table ! Multicolumns"
10373
10374 \end_inset
10375
10376
10377 \end_layout
10378
10379 \begin_layout Subsubsection
10380 Multicolumn Basics
10381 \end_layout
10382
10383 \begin_layout Standard
10384 To span a cell over multiple columns, mark as much cells within a line that
10385  should be one spanned cell and use either the table-toolbar button 
10386 \begin_inset Graphics
10387         filename ../images/tabular-feature_multicolumn.xpm
10388         scale 85
10389         scaleBeforeRotation
10390
10391 \end_inset
10392
10393 , or the menu 
10394 \family sans
10395 Edit\SpecialChar \menuseparator
10396 Table\SpecialChar \menuseparator
10397 Multicolumn
10398 \family default
10399 , or right click on the marked cells and choose multicolumn in the appearing
10400  table dialog under the tab 
10401 \family sans
10402 Table Settings
10403 \family default
10404 .
10405 \end_layout
10406
10407 \begin_layout Standard
10408 Multicolumns have there own cell settings.
10409  That means changing cell borders, cell alignment, and the width only affects
10410  the multicolumn.
10411  Here is an example table with a multicolumn cell in the first row and one
10412  in the last row without the upper border:
10413 \end_layout
10414
10415 \begin_layout Standard
10416 \align center
10417 \begin_inset Tabular
10418 <lyxtabular version="3" rows="3" columns="4">
10419 <features firstHeadTopDL="true" firstHeadBottomDL="true">
10420 <column alignment="center" valignment="top" leftline="true" width="0pt">
10421 <column alignment="center" valignment="middle" leftline="true" width="0">
10422 <column alignment="center" valignment="top" leftline="true" width="0in">
10423 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
10424 <row topline="true" bottomline="true">
10425 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10426 \begin_inset Text
10427
10428 \begin_layout Standard
10429 abc
10430 \end_layout
10431
10432 \end_inset
10433 </cell>
10434 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
10435 \begin_inset Text
10436
10437 \begin_layout Standard
10438 def ghi
10439 \end_layout
10440
10441 \end_inset
10442 </cell>
10443 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10444 \begin_inset Text
10445
10446 \begin_layout Standard
10447
10448 \end_layout
10449
10450 \end_inset
10451 </cell>
10452 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10453 \begin_inset Text
10454
10455 \begin_layout Standard
10456 jkl
10457 \end_layout
10458
10459 \end_inset
10460 </cell>
10461 </row>
10462 <row topline="true">
10463 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10464 \begin_inset Text
10465
10466 \begin_layout Standard
10467
10468 \family roman
10469 \series medium
10470 \shape up
10471 \size normal
10472 \emph off
10473 \bar no
10474 \noun off
10475 \color none
10476 A
10477 \end_layout
10478
10479 \end_inset
10480 </cell>
10481 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10482 \begin_inset Text
10483
10484 \begin_layout Standard
10485 B
10486 \end_layout
10487
10488 \end_inset
10489 </cell>
10490 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10491 \begin_inset Text
10492
10493 \begin_layout Standard
10494 C
10495 \end_layout
10496
10497 \end_inset
10498 </cell>
10499 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10500 \begin_inset Text
10501
10502 \begin_layout Standard
10503 D
10504 \end_layout
10505
10506 \end_inset
10507 </cell>
10508 </row>
10509 <row topline="true" bottomline="true">
10510 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10511 \begin_inset Text
10512
10513 \begin_layout Standard
10514 1
10515 \end_layout
10516
10517 \end_inset
10518 </cell>
10519 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10520 \begin_inset Text
10521
10522 \begin_layout Standard
10523 2
10524 \end_layout
10525
10526 \end_inset
10527 </cell>
10528 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10529 \begin_inset Text
10530
10531 \begin_layout Standard
10532 3
10533 \end_layout
10534
10535 \end_inset
10536 </cell>
10537 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10538 \begin_inset Text
10539
10540 \begin_layout Standard
10541 4
10542 \end_layout
10543
10544 \end_inset
10545 </cell>
10546 </row>
10547 </lyxtabular>
10548
10549 \end_inset
10550
10551
10552 \end_layout
10553
10554 \begin_layout Subsubsection
10555 Multicolumn Calculations
10556 \begin_inset LatexCommand label
10557 name "sub:Multicolumn-Calculations"
10558
10559 \end_inset
10560
10561
10562 \begin_inset LatexCommand index
10563 name "Multicolumns ! Calculations"
10564
10565 \end_inset
10566
10567
10568 \end_layout
10569
10570 \begin_layout Standard
10571 LyX supports multicolumns directly, but we have to take notice of the cell
10572  width of the columns spanned by the multicolumn cell.
10573 \end_layout
10574
10575 \begin_layout Standard
10576 \begin_inset Float table
10577 wide false
10578 sideways false
10579 status open
10580
10581 \begin_layout Standard
10582 \begin_inset Caption
10583
10584 \begin_layout Standard
10585 \begin_inset LatexCommand label
10586 name "tab:Table-with-centered"
10587
10588 \end_inset
10589
10590 Table with centered multicolumn text above two columns that have exactly
10591  half the width of the multicolumn cell
10592 \begin_inset OptArg
10593 status collapsed
10594
10595 \begin_layout Standard
10596 Perfect multicolumn table
10597 \end_layout
10598
10599 \end_inset
10600
10601
10602 \end_layout
10603
10604 \end_inset
10605
10606
10607 \end_layout
10608
10609 \begin_layout Standard
10610 \align center
10611 \begin_inset Tabular
10612 <lyxtabular version="3" rows="3" columns="3">
10613 <features>
10614 <column alignment="center" valignment="middle" leftline="true" width="0" special=">{\centering}m{1.25cm-6.2pt}">
10615 <column alignment="center" valignment="middle" leftline="true" width="0">
10616 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
10617 <row topline="true">
10618 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special=">{\centering}m{2.5cm}">
10619 \begin_inset Text
10620
10621 \begin_layout Standard
10622 multiple lines multicolumn
10623 \end_layout
10624
10625 \end_inset
10626 </cell>
10627 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10628 \begin_inset Text
10629
10630 \begin_layout Standard
10631
10632 \end_layout
10633
10634 \end_inset
10635 </cell>
10636 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10637 \begin_inset Text
10638
10639 \begin_layout Standard
10640 c
10641 \end_layout
10642
10643 \end_inset
10644 </cell>
10645 </row>
10646 <row topline="true">
10647 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10648 \begin_inset Text
10649
10650 \begin_layout Standard
10651 d
10652 \end_layout
10653
10654 \end_inset
10655 </cell>
10656 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10657 \begin_inset Text
10658
10659 \begin_layout Standard
10660 e
10661 \end_layout
10662
10663 \end_inset
10664 </cell>
10665 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10666 \begin_inset Text
10667
10668 \begin_layout Standard
10669 f
10670 \end_layout
10671
10672 \end_inset
10673 </cell>
10674 </row>
10675 <row topline="true" bottomline="true">
10676 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10677 \begin_inset Text
10678
10679 \begin_layout Standard
10680 g
10681 \end_layout
10682
10683 \end_inset
10684 </cell>
10685 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10686 \begin_inset Text
10687
10688 \begin_layout Standard
10689 h
10690 \end_layout
10691
10692 \end_inset
10693 </cell>
10694 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10695 \begin_inset Text
10696
10697 \begin_layout Standard
10698 i
10699 \end_layout
10700
10701 \end_inset
10702 </cell>
10703 </row>
10704 </lyxtabular>
10705
10706 \end_inset
10707
10708
10709 \end_layout
10710
10711 \end_inset
10712
10713
10714 \end_layout
10715
10716 \begin_layout Standard
10717 To create for example Table\InsetSpace ~
10718
10719 \begin_inset LatexCommand ref
10720 reference "tab:Table-with-centered"
10721
10722 \end_inset
10723
10724 , mark the first two cells in the first row of a 3×3 table and right-click
10725  on them.
10726  Now choose for this cell 
10727 \emph on
10728 multicolumn
10729 \emph default
10730
10731 \emph on
10732 centered alignment
10733 \emph default
10734  and a width of 2.5\InsetSpace \thinspace{}
10735 cm in the table dialog.
10736  The spanned columns should have exactly half the width of the multicolumn
10737  cell, so that you would adjust a width of 1.25\InsetSpace \thinspace{}
10738 cm for the first column.
10739  The second column has then automatically a width of 1.25\InsetSpace \thinspace{}
10740 cm (multicolumn
10741  width - width of first column).
10742  This was done for Table\InsetSpace ~
10743
10744 \begin_inset LatexCommand ref
10745 reference "tab:Table-without-half"
10746
10747 \end_inset
10748
10749 .
10750 \end_layout
10751
10752 \begin_layout Standard
10753 \begin_inset Float table
10754 wide false
10755 sideways false
10756 status open
10757
10758 \begin_layout Standard
10759 \begin_inset Caption
10760
10761 \begin_layout Standard
10762 \begin_inset LatexCommand label
10763 name "tab:Table-without-half"
10764
10765 \end_inset
10766
10767 Table where the spanned table columns have not exactly half the width of
10768  the multicolumn cell
10769 \begin_inset OptArg
10770 status collapsed
10771
10772 \begin_layout Standard
10773 Imperfect multicolumn table
10774 \end_layout
10775
10776 \end_inset
10777
10778
10779 \end_layout
10780
10781 \end_inset
10782
10783
10784 \end_layout
10785
10786 \begin_layout Standard
10787 \align center
10788 \begin_inset Tabular
10789 <lyxtabular version="3" rows="3" columns="3">
10790 <features>
10791 <column alignment="center" valignment="top" leftline="true" width="1.25cm">
10792 <column alignment="center" valignment="top" leftline="true" width="0">
10793 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
10794 <row topline="true" bottomline="true">
10795 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
10796 \begin_inset Text
10797
10798 \begin_layout Standard
10799 multiple lines multicolumn
10800 \end_layout
10801
10802 \end_inset
10803 </cell>
10804 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10805 \begin_inset Text
10806
10807 \begin_layout Standard
10808
10809 \end_layout
10810
10811 \end_inset
10812 </cell>
10813 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10814 \begin_inset Text
10815
10816 \begin_layout Standard
10817 c
10818 \end_layout
10819
10820 \end_inset
10821 </cell>
10822 </row>
10823 <row topline="true">
10824 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10825 \begin_inset Text
10826
10827 \begin_layout Standard
10828 d
10829 \end_layout
10830
10831 \end_inset
10832 </cell>
10833 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10834 \begin_inset Text
10835
10836 \begin_layout Standard
10837 e
10838 \end_layout
10839
10840 \end_inset
10841 </cell>
10842 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10843 \begin_inset Text
10844
10845 \begin_layout Standard
10846 f
10847 \end_layout
10848
10849 \end_inset
10850 </cell>
10851 </row>
10852 <row topline="true" bottomline="true">
10853 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10854 \begin_inset Text
10855
10856 \begin_layout Standard
10857 g
10858 \end_layout
10859
10860 \end_inset
10861 </cell>
10862 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10863 \begin_inset Text
10864
10865 \begin_layout Standard
10866 h
10867 \end_layout
10868
10869 \end_inset
10870 </cell>
10871 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10872 \begin_inset Text
10873
10874 \begin_layout Standard
10875 i
10876 \end_layout
10877
10878 \end_inset
10879 </cell>
10880 </row>
10881 </lyxtabular>
10882
10883 \end_inset
10884
10885
10886 \end_layout
10887
10888 \end_inset
10889
10890
10891 \end_layout
10892
10893 \begin_layout Standard
10894 You can see that the first column has not the half width of the multicolumn
10895  cell, it is a bit bigger.
10896  The reason is that the given width of a cell 
10897 \begin_inset Formula $W_{g}$
10898 \end_inset
10899
10900  is not its total width 
10901 \begin_inset Formula $W_{\mathrm{tot}}$
10902 \end_inset
10903
10904  because a cell is always a bit larger than its given width.
10905  Appendix\InsetSpace ~
10906
10907 \begin_inset LatexCommand eqref
10908 reference "cha:Explanation-of-Equation"
10909
10910 \end_inset
10911
10912  explains it in detail.
10913 \end_layout
10914
10915 \begin_layout Standard
10916 The needed given width 
10917 \begin_inset Formula $W_{g\, n}$
10918 \end_inset
10919
10920  when 
10921 \emph on
10922 n
10923 \emph default
10924  columns are spanned can be calculated, so that each column has a total
10925  width of 
10926 \begin_inset Formula $W_{\mathrm{tot\, multicolumn}}/n$
10927 \end_inset
10928
10929 :
10930 \begin_inset Formula \begin{equation}
10931 W_{g\, n}=(W_{g\,\mathrm{multicolumn}}+(1-n)·(12.4\,\mathrm{pt}))/n\label{eq:Wgn}\end{equation}
10932
10933 \end_inset
10934
10935
10936 \end_layout
10937
10938 \begin_layout Standard
10939 In our case we have 
10940 \begin_inset Formula $n=2$
10941 \end_inset
10942
10943
10944 \begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$
10945 \end_inset
10946
10947 cm and the default values for the lengths, so that equation 
10948 \begin_inset LatexCommand ref
10949 reference "eq:Wgn"
10950
10951 \end_inset
10952
10953  becomes
10954 \begin_inset Formula \begin{equation}
10955 W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}\end{equation}
10956
10957 \end_inset
10958
10959
10960 \end_layout
10961
10962 \begin_layout Standard
10963 To enable calculations in LaTeX, the LaTeX-package 
10964 \series bold
10965 calc
10966 \series default
10967  must be loaded with the document preamble line
10968 \begin_inset LatexCommand index
10969 name "LaTeX-packages ! calc"
10970
10971 \end_inset
10972
10973
10974 \end_layout
10975
10976 \begin_layout Standard
10977
10978 \series bold
10979
10980 \backslash
10981 usepackage{calc}
10982 \end_layout
10983
10984 \begin_layout Standard
10985 LyX does not allow to calculate lengths in the width-field of the table
10986  dialog.
10987  Therefore you have to format the column by inserting a LaTeX-argument in
10988  the dialog.
10989  Here is an overview about the arguments:
10990 \end_layout
10991
10992 \begin_layout Itemize
10993
10994 \series bold
10995 p{width}
10996 \series default
10997  creates cell with a fixed width, its text is vertically top-aligned
10998 \end_layout
10999
11000 \begin_layout Itemize
11001
11002 \series bold
11003 m{width}
11004 \series default
11005  creates cell with a fixed width, its text is vertically centered
11006 \end_layout
11007
11008 \begin_layout Itemize
11009
11010 \series bold
11011 b{width}
11012 \series default
11013  creates cell with a fixed width, its text is vertically bottom-aligned
11014 \end_layout
11015
11016 \begin_layout Standard
11017 By entering a LaTeX-argument, all cell settings set in the table dialog
11018  are overwritten.
11019 \end_layout
11020
11021 \begin_layout Standard
11022 \begin_inset Note Greyedout
11023 status open
11024
11025 \begin_layout Standard
11026
11027 \series bold
11028 Note:
11029 \series default
11030  Due to a bug, LyX shows the overwritten settings anyway.
11031 \end_layout
11032
11033 \end_inset
11034
11035
11036 \end_layout
11037
11038 \begin_layout Standard
11039 As the text should be horizontally centered, the command 
11040 \series bold
11041
11042 \backslash
11043 centering
11044 \series default
11045  is added.
11046  You can now enter the following LaTeX-argument for the first spanned column:
11047 \end_layout
11048
11049 \begin_layout Standard
11050
11051 \series bold
11052 >{
11053 \backslash
11054 centering}m{1.25cm-6.2pt}
11055 \end_layout
11056
11057 \begin_layout Standard
11058 The command 
11059 \series bold
11060 >{ }
11061 \series default
11062  means, that the commands inside the braces are applied before the cell
11063  is created.
11064 \end_layout
11065
11066 \begin_layout Standard
11067 Although we have chosen centered alignment for the text of the multicolumn
11068  cell, it is still left aligned.
11069  This is because LyX only applies the alignment to single columns.
11070  So we have to use for the multicolumn the LaTeX-argument
11071 \end_layout
11072
11073 \begin_layout Standard
11074
11075 \series bold
11076 >{
11077 \backslash
11078 centering}m{2.5cm}
11079 \end_layout
11080
11081 \begin_layout Subsection
11082 Multirows
11083 \begin_inset LatexCommand index
11084 name "Multirows"
11085
11086 \end_inset
11087
11088
11089 \begin_inset LatexCommand index
11090 name "Table ! Multirows"
11091
11092 \end_inset
11093
11094
11095 \begin_inset LatexCommand index
11096 name "LaTeX-packages ! multirow"
11097
11098 \end_inset
11099
11100
11101 \end_layout
11102
11103 \begin_layout Standard
11104 In contrary to multicolumns multirows are not yet supported by LyX so a
11105  bit of ERT needs to be used.
11106  To use multirows load the LaTeX-package 
11107 \series bold
11108 multirow
11109 \series default
11110  in your document preamble with the command
11111 \end_layout
11112
11113 \begin_layout Standard
11114
11115 \series bold
11116
11117 \backslash
11118 usepackage{multirow}
11119 \end_layout
11120
11121 \begin_layout Standard
11122 Multirows are created with the command
11123 \end_layout
11124
11125 \begin_layout Standard
11126
11127 \series bold
11128
11129 \backslash
11130 multirow{number of rows}{cell width}{cell entry}
11131 \end_layout
11132
11133 \begin_layout Standard
11134 To create the following table:
11135 \end_layout
11136
11137 \begin_layout Standard
11138 \align center
11139 \begin_inset ERT
11140 status collapsed
11141
11142 \begin_layout Standard
11143
11144
11145 \backslash
11146 renewcommand{
11147 \backslash
11148 multirowsetup}{
11149 \backslash
11150 centering}
11151 \end_layout
11152
11153 \end_inset
11154
11155
11156 \begin_inset Tabular
11157 <lyxtabular version="3" rows="3" columns="3">
11158 <features>
11159 <column alignment="center" valignment="top" leftline="true" width="0">
11160 <column alignment="center" valignment="top" leftline="true" width="0">
11161 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
11162 <row topline="true">
11163 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11164 \begin_inset Text
11165
11166 \begin_layout Standard
11167 a
11168 \end_layout
11169
11170 \end_inset
11171 </cell>
11172 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11173 \begin_inset Text
11174
11175 \begin_layout Standard
11176 b
11177 \end_layout
11178
11179 \end_inset
11180 </cell>
11181 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11182 \begin_inset Text
11183
11184 \begin_layout Standard
11185 c
11186 \end_layout
11187
11188 \end_inset
11189 </cell>
11190 </row>
11191 <row topline="true">
11192 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11193 \begin_inset Text
11194
11195 \begin_layout Standard
11196 \begin_inset ERT
11197 status collapsed
11198
11199 \begin_layout Standard
11200
11201
11202 \backslash
11203 multirow{2}{2.5cm}{
11204 \end_layout
11205
11206 \end_inset
11207
11208 multirow entry
11209 \begin_inset ERT
11210 status collapsed
11211
11212 \begin_layout Standard
11213
11214 }
11215 \end_layout
11216
11217 \end_inset
11218
11219
11220 \end_layout
11221
11222 \end_inset
11223 </cell>
11224 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11225 \begin_inset Text
11226
11227 \begin_layout Standard
11228 e
11229 \end_layout
11230
11231 \end_inset
11232 </cell>
11233 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11234 \begin_inset Text
11235
11236 \begin_layout Standard
11237 f
11238 \end_layout
11239
11240 \end_inset
11241 </cell>
11242 </row>
11243 <row topline="true" bottomline="true">
11244 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11245 \begin_inset Text
11246
11247 \begin_layout Standard
11248
11249 \end_layout
11250
11251 \end_inset
11252 </cell>
11253 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11254 \begin_inset Text
11255
11256 \begin_layout Standard
11257 h
11258 \end_layout
11259
11260 \end_inset
11261 </cell>
11262 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11263 \begin_inset Text
11264
11265 \begin_layout Standard
11266 i
11267 \end_layout
11268
11269 \end_inset
11270 </cell>
11271 </row>
11272 </lyxtabular>
11273
11274 \end_inset
11275
11276
11277 \begin_inset ERT
11278 status collapsed
11279
11280 \begin_layout Standard
11281
11282
11283 \backslash
11284 renewcommand{
11285 \backslash
11286 multirowsetup}{
11287 \backslash
11288 raggedright}
11289 \end_layout
11290
11291 \end_inset
11292
11293
11294 \end_layout
11295
11296 \begin_layout Standard
11297 create a 3×3 table.
11298  To get rid of the line above the last cell in the first column, the cell
11299  is marked as multicolumn and the upper border is unset.
11300  The multirow is now created in the second row of the first column by inserting
11301  there the command
11302 \end_layout
11303
11304 \begin_layout Standard
11305
11306 \series bold
11307
11308 \backslash
11309 multirow{2}{2.5cm}{
11310 \end_layout
11311
11312 \begin_layout Standard
11313 as ERT.
11314  According to the command parameters the multirow spans now two rows and
11315  has a width of 2.5\InsetSpace \thinspace{}
11316 cm.
11317  The content of the multirow cell follows outside the ERT box and the command
11318  is finished with a right brace 
11319 \series bold
11320 }
11321 \series default
11322  in another ERT-box behind the text.
11323 \end_layout
11324
11325 \begin_layout Standard
11326
11327 \series bold
11328
11329 \backslash
11330 multirow
11331 \series default
11332  left-aligns its content by default.
11333  To override the default, renew the command 
11334 \series bold
11335
11336 \backslash
11337 multirowsetup
11338 \series default
11339  with the command
11340 \end_layout
11341
11342 \begin_layout Standard
11343
11344 \series bold
11345
11346 \backslash
11347 renewcommand{
11348 \backslash
11349 multirowsetup}{
11350 \backslash
11351 centering}
11352 \end_layout
11353
11354 \begin_layout Standard
11355 in ERT in the document preamble.
11356  Then all entries of multirow cells in the document are centered.
11357  If centering is only needed for several tables, you can renew the command
11358  in an ERT box just before the table instead of the preamble.
11359  If the text should be right-aligned, replace 
11360 \series bold
11361
11362 \backslash
11363 centering
11364 \series default
11365  by 
11366 \series bold
11367
11368 \backslash
11369 raggedleft
11370 \series default
11371 .
11372  To return to left-alignment 
11373 \series bold
11374
11375 \backslash
11376 raggedright
11377 \series default
11378  is used.
11379 \end_layout
11380
11381 \begin_layout Section
11382 Formal Tables
11383 \begin_inset LatexCommand label
11384 name "sec:Formal-Tables"
11385
11386 \end_inset
11387
11388
11389 \begin_inset LatexCommand index
11390 name "Table ! Formal"
11391
11392 \end_inset
11393
11394
11395 \end_layout
11396
11397 \begin_layout Standard
11398 Tables are often typeset in books similar to Table\InsetSpace ~
11399
11400 \begin_inset LatexCommand ref
11401 reference "tab:Example-booktabs-table"
11402
11403 \end_inset
11404
11405 .
11406  This kind of tables is called 
11407 \begin_inset Quotes eld
11408 \end_inset
11409
11410
11411 \emph on
11412 formal
11413 \emph default
11414
11415 \begin_inset Quotes erd
11416 \end_inset
11417
11418 .
11419  To make a table a formal table use the option 
11420 \family sans
11421 Formal
11422 \family default
11423  in the 
11424 \family sans
11425 Borders
11426 \family default
11427  tab of the table dialog.
11428 \end_layout
11429
11430 \begin_layout Standard
11431 \begin_inset Float table
11432 placement h
11433 wide false
11434 sideways false
11435 status open
11436
11437 \begin_layout Standard
11438 \begin_inset Caption
11439
11440 \begin_layout Standard
11441 \begin_inset LatexCommand label
11442 name "tab:Example-booktabs-table"
11443
11444 \end_inset
11445
11446 Example booktabs-table
11447 \end_layout
11448
11449 \end_inset
11450
11451
11452 \end_layout
11453
11454 \begin_layout Standard
11455 \align center
11456 \begin_inset Tabular
11457 <lyxtabular version="3" rows="8" columns="4">
11458 <features booktabs="true">
11459 <column alignment="center" valignment="top" rightline="true" width="0">
11460 <column alignment="center" valignment="top" width="0">
11461 <column alignment="center" valignment="top" width="0">
11462 <column alignment="center" valignment="top" width="0">
11463 <row topline="true">
11464 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11465 \begin_inset Text
11466
11467 \begin_layout Standard
11468 System
11469 \end_layout
11470
11471 \end_inset
11472 </cell>
11473 <cell alignment="center" valignment="top" topline="true" usebox="none">
11474 \begin_inset Text
11475
11476 \begin_layout Standard
11477 Medipix
11478 \begin_inset Formula $\,$
11479 \end_inset
11480
11481 1
11482 \end_layout
11483
11484 \end_inset
11485 </cell>
11486 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
11487 \begin_inset Text
11488
11489 \begin_layout Standard
11490 Medipix
11491 \begin_inset Formula $\,$
11492 \end_inset
11493
11494 2
11495 \end_layout
11496
11497 \end_inset
11498 </cell>
11499 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11500 \begin_inset Text
11501
11502 \begin_layout Standard
11503
11504 \end_layout
11505
11506 \end_inset
11507 </cell>
11508 </row>
11509 <row>
11510 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11511 \begin_inset Text
11512
11513 \begin_layout Standard
11514 \begin_inset ERT
11515 status collapsed
11516
11517 \begin_layout Standard
11518
11519
11520 \backslash
11521 cmidrule(r){2-2}
11522 \end_layout
11523
11524 \end_inset
11525
11526
11527 \begin_inset ERT
11528 status collapsed
11529
11530 \begin_layout Standard
11531
11532
11533 \backslash
11534 cmidrule(l){3-4}
11535 \end_layout
11536
11537 \end_inset
11538
11539 Detector thickness [µm]
11540 \end_layout
11541
11542 \end_inset
11543 </cell>
11544 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11545 \begin_inset Text
11546
11547 \begin_layout Standard
11548 300
11549 \end_layout
11550
11551 \end_inset
11552 </cell>
11553 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11554 \begin_inset Text
11555
11556 \begin_layout Standard
11557 300
11558 \end_layout
11559
11560 \end_inset
11561 </cell>
11562 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11563 \begin_inset Text
11564
11565 \begin_layout Standard
11566 700
11567 \end_layout
11568
11569 \end_inset
11570 </cell>
11571 </row>
11572 <row topline="true">
11573 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11574 \begin_inset Text
11575
11576 \begin_layout Standard
11577 Edge angle [°]
11578 \end_layout
11579
11580 \end_inset
11581 </cell>
11582 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11583 \begin_inset Text
11584
11585 \begin_layout Standard
11586 3.55
11587 \end_layout
11588
11589 \end_inset
11590 </cell>
11591 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11592 \begin_inset Text
11593
11594 \begin_layout Standard
11595 2.71
11596 \end_layout
11597
11598 \end_inset
11599 </cell>
11600 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11601 \begin_inset Text
11602
11603 \begin_layout Standard
11604 7.99
11605 \end_layout
11606
11607 \end_inset
11608 </cell>
11609 </row>
11610 <row topspace="default">
11611 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11612 \begin_inset Text
11613
11614 \begin_layout Standard
11615 Spatial resolution [µm]
11616 \end_layout
11617
11618 \end_inset
11619 </cell>
11620 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11621 \begin_inset Text
11622
11623 \begin_layout Standard
11624 4.26
11625 \end_layout
11626
11627 \end_inset
11628 </cell>
11629 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11630 \begin_inset Text
11631
11632 \begin_layout Standard
11633 10.17
11634 \end_layout
11635
11636 \end_inset
11637 </cell>
11638 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11639 \begin_inset Text
11640
11641 \begin_layout Standard
11642 10.56
11643 \end_layout
11644
11645 \end_inset
11646 </cell>
11647 </row>
11648 <row topspace="default">
11649 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11650 \begin_inset Text
11651
11652 \begin_layout Standard
11653 MTF at 
11654 \begin_inset Formula $f_{\mathrm{max}}$
11655 \end_inset
11656
11657
11658 \end_layout
11659
11660 \end_inset
11661 </cell>
11662 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11663 \begin_inset Text
11664
11665 \begin_layout Standard
11666 0.53
11667 \end_layout
11668
11669 \end_inset
11670 </cell>
11671 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11672 \begin_inset Text
11673
11674 \begin_layout Standard
11675 0.37
11676 \end_layout
11677
11678 \end_inset
11679 </cell>
11680 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11681 \begin_inset Text
11682
11683 \begin_layout Standard
11684 0.39
11685 \end_layout
11686
11687 \end_inset
11688 </cell>
11689 </row>
11690 <row topspace="default">
11691 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11692 \begin_inset Text
11693
11694 \begin_layout Standard
11695 \begin_inset ERT
11696 status collapsed
11697
11698 \begin_layout Standard
11699
11700
11701 \backslash
11702 cmidrule(l{10pt}){1-1}
11703 \end_layout
11704
11705 \end_inset
11706
11707 LSF-spatial resolution
11708 \end_layout
11709
11710 \end_inset
11711 </cell>
11712 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11713 \begin_inset Text
11714
11715 \begin_layout Standard
11716
11717 \end_layout
11718
11719 \end_inset
11720 </cell>
11721 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11722 \begin_inset Text
11723
11724 \begin_layout Standard
11725
11726 \end_layout
11727
11728 \end_inset
11729 </cell>
11730 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11731 \begin_inset Text
11732
11733 \begin_layout Standard
11734
11735 \end_layout
11736
11737 \end_inset
11738 </cell>
11739 </row>
11740 <row>
11741 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11742 \begin_inset Text
11743
11744 \begin_layout Standard
11745 in Âµm
11746 \end_layout
11747
11748 \end_inset
11749 </cell>
11750 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11751 \begin_inset Text
11752
11753 \begin_layout Standard
11754 129.7
11755 \end_layout
11756
11757 \end_inset
11758 </cell>
11759 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11760 \begin_inset Text
11761
11762 \begin_layout Standard
11763 52.75
11764 \end_layout
11765
11766 \end_inset
11767 </cell>
11768 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11769 \begin_inset Text
11770
11771 \begin_layout Standard
11772 50.78
11773 \end_layout
11774
11775 \end_inset
11776 </cell>
11777 </row>
11778 <row bottomline="true">
11779 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11780 \begin_inset Text
11781
11782 \begin_layout Standard
11783 in % of pixel size
11784 \end_layout
11785
11786 \end_inset
11787 </cell>
11788 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11789 \begin_inset Text
11790
11791 \begin_layout Standard
11792 76.3
11793 \end_layout
11794
11795 \end_inset
11796 </cell>
11797 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11798 \begin_inset Text
11799
11800 \begin_layout Standard
11801 95.9
11802 \end_layout
11803
11804 \end_inset
11805 </cell>
11806 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11807 \begin_inset Text
11808
11809 \begin_layout Standard
11810 92.3
11811 \end_layout
11812
11813 \end_inset
11814 </cell>
11815 </row>
11816 </lyxtabular>
11817
11818 \end_inset
11819
11820
11821 \end_layout
11822
11823 \end_inset
11824
11825
11826 \end_layout
11827
11828 \begin_layout Standard
11829 Spaces to table rows can be added using the 
11830 \family sans
11831 Borders
11832 \family default
11833  tab of the table dialog as described in section\InsetSpace ~
11834
11835 \begin_inset LatexCommand ref
11836 reference "sub:Row-Spacing"
11837
11838 \end_inset
11839
11840 .
11841 \end_layout
11842
11843 \begin_layout Standard
11844 In contrary to normal tables, formal tables have no vertical table lines.
11845  The horizontal table lines can be set like for normal tables but they appear
11846  with different width in the output:
11847 \newline
11848 The first and the last table line have
11849  a default width of 0.08\InsetSpace \thinspace{}
11850 em while the other lines have a default width of
11851  0.05\InsetSpace \thinspace{}
11852 em.
11853 \end_layout
11854
11855 \begin_layout Standard
11856 The default widths can be changed with the following preamble lines
11857 \end_layout
11858
11859 \begin_layout Standard
11860
11861 \series bold
11862
11863 \backslash
11864 let
11865 \backslash
11866 mytoprule
11867 \backslash
11868 toprule
11869 \newline
11870
11871 \backslash
11872 renewcommand{
11873 \backslash
11874 toprule}{
11875 \backslash
11876 mytoprule[width]}
11877 \end_layout
11878
11879 \begin_layout Standard
11880 This example is for the first line, the so called 
11881 \series bold
11882 toprule
11883 \series default
11884 .
11885  If you want to change the width for the last line, replace 
11886 \series bold
11887 toprule
11888 \series default
11889  by 
11890 \series bold
11891 bottomrule
11892 \series default
11893 .
11894  To change the width for the other lines replace 
11895 \series bold
11896 toprule
11897 \series default
11898  by 
11899 \series bold
11900 midrule
11901 \series default
11902 .
11903  You can use all units listed in appendix\InsetSpace ~
11904
11905 \begin_inset LatexCommand ref
11906 reference "cha:Units-available-in"
11907
11908 \end_inset
11909
11910  to set the width.
11911 \end_layout
11912
11913 \begin_layout Standard
11914 Lines that don't span over all table columns can be created by setting a
11915  table line for multicolumn cells.
11916  LyX will then internally use the command 
11917 \series bold
11918
11919 \backslash
11920 cmidrule
11921 \series default
11922  to create this line.
11923  Its full scheme is
11924 \end_layout
11925
11926 \begin_layout Standard
11927
11928 \series bold
11929
11930 \backslash
11931 cmidrule[width](trim){startcol-endcol}
11932 \end_layout
11933
11934 \begin_layout Standard
11935 The options of 
11936 \series bold
11937
11938 \backslash
11939 cmidrule
11940 \series default
11941  are are currently not supported by LyX so you have to use ERT to be able
11942  to use them.
11943  
11944 \series bold
11945
11946 \backslash
11947 cmidrule
11948 \series default
11949 s can manually be created by inserting the command as ERT as first cell
11950  entry of the first cell of a row.
11951  The line is then drawn in the output above the current row.
11952 \end_layout
11953
11954 \begin_layout Standard
11955 The default for the width is 0.03\InsetSpace \thinspace{}
11956 em.
11957  Startcol is the number of the column where the line starts and endcol the
11958  column number where the line ends.
11959  The endcol always needs to be specified, also when the line should span
11960  only one column.
11961  The optional parameter trim could be either 
11962 \emph on
11963 l{trimwidth}
11964 \emph default
11965 , or 
11966 \emph on
11967 r{trimwidth}
11968 \emph default
11969  where the trimwidth is also optional.
11970  Using for example the parameter 
11971 \emph on
11972 l{2pt}
11973 \emph default
11974  means that the line is trimmed from its left end by 2\InsetSpace \thinspace{}
11975 pt.
11976  If you don't specify the trimwidth the lines are trimmed by the default
11977  of 0.5\InsetSpace \thinspace{}
11978 em.
11979 \end_layout
11980
11981 \begin_layout Standard
11982 \begin_inset VSpace bigskip
11983 \end_inset
11984
11985 Table\InsetSpace ~
11986
11987 \begin_inset LatexCommand ref
11988 reference "tab:Example-booktabs-table"
11989
11990 \end_inset
11991
11992  was created using the commands
11993 \end_layout
11994
11995 \begin_layout Standard
11996
11997 \series bold
11998
11999 \backslash
12000 cmidrule(r){2-2}
12001 \backslash
12002 cmidrule(l){3-4}
12003 \end_layout
12004
12005 \begin_layout Standard
12006 at the beginning of the in the second row and
12007 \end_layout
12008
12009 \begin_layout Standard
12010
12011 \series bold
12012
12013 \backslash
12014 cmidrule(l{10pt}){1-1}
12015 \end_layout
12016
12017 \begin_layout Standard
12018 in the sixth row.
12019 \end_layout
12020
12021 \begin_layout Standard
12022 \begin_inset VSpace bigskip
12023 \end_inset
12024
12025
12026 \end_layout
12027
12028 \begin_layout Standard
12029 You might want to have overlapping 
12030 \series bold
12031
12032 \backslash
12033 cmidrule
12034 \series default
12035 s like in Table\InsetSpace ~
12036
12037 \begin_inset LatexCommand ref
12038 reference "tab:Special-booktabs-table"
12039
12040 \end_inset
12041
12042 .
12043  This can be achieved with the ERT command
12044 \end_layout
12045
12046 \begin_layout Standard
12047
12048 \series bold
12049
12050 \backslash
12051 morecmidrules
12052 \end_layout
12053
12054 \begin_layout Standard
12055 The command that was used for the second row of Table\InsetSpace ~
12056
12057 \begin_inset LatexCommand ref
12058 reference "tab:Special-booktabs-table"
12059
12060 \end_inset
12061
12062  is
12063 \end_layout
12064
12065 \begin_layout Standard
12066
12067 \series bold
12068
12069 \backslash
12070 cmidrule(r){2-2}
12071 \backslash
12072 cmidrule(l){3-4}
12073 \backslash
12074 morecmidrules
12075 \backslash
12076 cmidrule{2-4}
12077 \end_layout
12078
12079 \begin_layout Standard
12080 The command for the sixth row is
12081 \end_layout
12082
12083 \begin_layout Standard
12084
12085 \series bold
12086
12087 \backslash
12088 midrule
12089 \backslash
12090 morecmidrules
12091 \backslash
12092 cmidrule{3-4}
12093 \end_layout
12094
12095 \begin_layout Standard
12096 \begin_inset VSpace bigskip
12097 \end_inset
12098
12099
12100 \end_layout
12101
12102 \begin_layout Standard
12103 If you are anyway not satisfied with the border line spacing, you can use
12104  the following command to produce lines that span over all table columns
12105 \series bold
12106 :
12107 \end_layout
12108
12109 \begin_layout Standard
12110
12111 \series bold
12112
12113 \backslash
12114 specialrule{width}{space above}{space below}
12115 \end_layout
12116
12117 \begin_layout Standard
12118 For more informations about these specialties, we refer to the manual of
12119  the LaTeX-package 
12120 \series bold
12121 booktabs
12122 \series default
12123  
12124 \begin_inset LatexCommand cite
12125 key "booktabs"
12126
12127 \end_inset
12128
12129 .
12130 \begin_inset LatexCommand index
12131 name "LaTeX-packages ! booktabs"
12132
12133 \end_inset
12134
12135
12136 \end_layout
12137
12138 \begin_layout Standard
12139 \begin_inset Float table
12140 placement h
12141 wide false
12142 sideways false
12143 status open
12144
12145 \begin_layout Standard
12146 \begin_inset Caption
12147
12148 \begin_layout Standard
12149 \begin_inset LatexCommand label
12150 name "tab:Special-booktabs-table"
12151
12152 \end_inset
12153
12154 Special booktabs-table
12155 \end_layout
12156
12157 \end_inset
12158
12159
12160 \end_layout
12161
12162 \begin_layout Standard
12163 \align center
12164 \begin_inset Tabular
12165 <lyxtabular version="3" rows="8" columns="4">
12166 <features booktabs="true">
12167 <column alignment="center" valignment="top" width="0">
12168 <column alignment="center" valignment="top" width="0">
12169 <column alignment="center" valignment="top" width="0">
12170 <column alignment="center" valignment="top" width="0">
12171 <row topline="true">
12172 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12173 \begin_inset Text
12174
12175 \begin_layout Standard
12176 System
12177 \end_layout
12178
12179 \end_inset
12180 </cell>
12181 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12182 \begin_inset Text
12183
12184 \begin_layout Standard
12185 Medipix\InsetSpace \thinspace{}
12186 1
12187 \end_layout
12188
12189 \end_inset
12190 </cell>
12191 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
12192 \begin_inset Text
12193
12194 \begin_layout Standard
12195 Medipix\InsetSpace \thinspace{}
12196 2
12197 \end_layout
12198
12199 \end_inset
12200 </cell>
12201 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12202 \begin_inset Text
12203
12204 \begin_layout Standard
12205
12206 \end_layout
12207
12208 \end_inset
12209 </cell>
12210 </row>
12211 <row>
12212 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12213 \begin_inset Text
12214
12215 \begin_layout Standard
12216 \begin_inset ERT
12217 status collapsed
12218
12219 \begin_layout Standard
12220
12221
12222 \backslash
12223 cmidrule(r){2-2}
12224 \end_layout
12225
12226 \end_inset
12227
12228
12229 \begin_inset ERT
12230 status collapsed
12231
12232 \begin_layout Standard
12233
12234
12235 \backslash
12236 cmidrule(l){3-4}
12237 \end_layout
12238
12239 \end_inset
12240
12241
12242 \begin_inset ERT
12243 status collapsed
12244
12245 \begin_layout Standard
12246
12247
12248 \backslash
12249 morecmidrules 
12250 \end_layout
12251
12252 \end_inset
12253
12254
12255 \begin_inset ERT
12256 status collapsed
12257
12258 \begin_layout Standard
12259
12260
12261 \backslash
12262 cmidrule{2-4}
12263 \end_layout
12264
12265 \end_inset
12266
12267 Detector thickness [µm]
12268 \end_layout
12269
12270 \end_inset
12271 </cell>
12272 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12273 \begin_inset Text
12274
12275 \begin_layout Standard
12276 300
12277 \end_layout
12278
12279 \end_inset
12280 </cell>
12281 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12282 \begin_inset Text
12283
12284 \begin_layout Standard
12285 300
12286 \end_layout
12287
12288 \end_inset
12289 </cell>
12290 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12291 \begin_inset Text
12292
12293 \begin_layout Standard
12294 700
12295 \end_layout
12296
12297 \end_inset
12298 </cell>
12299 </row>
12300 <row topline="true">
12301 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12302 \begin_inset Text
12303
12304 \begin_layout Standard
12305 Edge angle [°]
12306 \end_layout
12307
12308 \end_inset
12309 </cell>
12310 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12311 \begin_inset Text
12312
12313 \begin_layout Standard
12314 3.55
12315 \end_layout
12316
12317 \end_inset
12318 </cell>
12319 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12320 \begin_inset Text
12321
12322 \begin_layout Standard
12323 2.71
12324 \end_layout
12325
12326 \end_inset
12327 </cell>
12328 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12329 \begin_inset Text
12330
12331 \begin_layout Standard
12332 7.99
12333 \end_layout
12334
12335 \end_inset
12336 </cell>
12337 </row>
12338 <row topspace="default">
12339 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12340 \begin_inset Text
12341
12342 \begin_layout Standard
12343 Spatial resolution [µm]
12344 \end_layout
12345
12346 \end_inset
12347 </cell>
12348 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12349 \begin_inset Text
12350
12351 \begin_layout Standard
12352 4.26
12353 \end_layout
12354
12355 \end_inset
12356 </cell>
12357 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12358 \begin_inset Text
12359
12360 \begin_layout Standard
12361 10.17
12362 \end_layout
12363
12364 \end_inset
12365 </cell>
12366 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12367 \begin_inset Text
12368
12369 \begin_layout Standard
12370 10.56
12371 \end_layout
12372
12373 \end_inset
12374 </cell>
12375 </row>
12376 <row topspace="default">
12377 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12378 \begin_inset Text
12379
12380 \begin_layout Standard
12381 MTF at 
12382 \begin_inset Formula $f_{\mathrm{max}}$
12383 \end_inset
12384
12385
12386 \end_layout
12387
12388 \end_inset
12389 </cell>
12390 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12391 \begin_inset Text
12392
12393 \begin_layout Standard
12394 0.53
12395 \end_layout
12396
12397 \end_inset
12398 </cell>
12399 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12400 \begin_inset Text
12401
12402 \begin_layout Standard
12403 0.37
12404 \end_layout
12405
12406 \end_inset
12407 </cell>
12408 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12409 \begin_inset Text
12410
12411 \begin_layout Standard
12412 0.39
12413 \end_layout
12414
12415 \end_inset
12416 </cell>
12417 </row>
12418 <row topline="true">
12419 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12420 \begin_inset Text
12421
12422 \begin_layout Standard
12423 \begin_inset ERT
12424 status collapsed
12425
12426 \begin_layout Standard
12427
12428
12429 \backslash
12430 morecmidrules 
12431 \end_layout
12432
12433 \end_inset
12434
12435
12436 \begin_inset ERT
12437 status collapsed
12438
12439 \begin_layout Standard
12440
12441
12442 \backslash
12443 cmidrule{3-4}
12444 \end_layout
12445
12446 \end_inset
12447
12448 LSF-spatial resolution
12449 \end_layout
12450
12451 \end_inset
12452 </cell>
12453 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12454 \begin_inset Text
12455
12456 \begin_layout Standard
12457
12458 \end_layout
12459
12460 \end_inset
12461 </cell>
12462 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12463 \begin_inset Text
12464
12465 \begin_layout Standard
12466
12467 \end_layout
12468
12469 \end_inset
12470 </cell>
12471 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12472 \begin_inset Text
12473
12474 \begin_layout Standard
12475
12476 \end_layout
12477
12478 \end_inset
12479 </cell>
12480 </row>
12481 <row>
12482 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12483 \begin_inset Text
12484
12485 \begin_layout Standard
12486 in Âµm
12487 \end_layout
12488
12489 \end_inset
12490 </cell>
12491 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12492 \begin_inset Text
12493
12494 \begin_layout Standard
12495 129.7
12496 \end_layout
12497
12498 \end_inset
12499 </cell>
12500 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12501 \begin_inset Text
12502
12503 \begin_layout Standard
12504 52.75
12505 \end_layout
12506
12507 \end_inset
12508 </cell>
12509 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12510 \begin_inset Text
12511
12512 \begin_layout Standard
12513 50.78
12514 \end_layout
12515
12516 \end_inset
12517 </cell>
12518 </row>
12519 <row bottomline="true">
12520 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12521 \begin_inset Text
12522
12523 \begin_layout Standard
12524 in % of pixel size
12525 \end_layout
12526
12527 \end_inset
12528 </cell>
12529 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12530 \begin_inset Text
12531
12532 \begin_layout Standard
12533 76.3
12534 \end_layout
12535
12536 \end_inset
12537 </cell>
12538 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12539 \begin_inset Text
12540
12541 \begin_layout Standard
12542 95.9
12543 \end_layout
12544
12545 \end_inset
12546 </cell>
12547 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12548 \begin_inset Text
12549
12550 \begin_layout Standard
12551 92.3
12552 \end_layout
12553
12554 \end_inset
12555 </cell>
12556 </row>
12557 </lyxtabular>
12558
12559 \end_inset
12560
12561
12562 \end_layout
12563
12564 \end_inset
12565
12566
12567 \end_layout
12568
12569 \begin_layout Section
12570 Vertical Table Alignment
12571 \begin_inset LatexCommand index
12572 name "Table ! Alignment"
12573
12574 \end_inset
12575
12576
12577 \end_layout
12578
12579 \begin_layout Standard
12580 To align tables vertically in a text line the table must be inside a box.
12581  The box can then be vertically aligned as described in section\InsetSpace ~
12582
12583 \begin_inset LatexCommand ref
12584 reference "sec:Box-Dialog"
12585
12586 \end_inset
12587
12588 .
12589 \end_layout
12590
12591 \begin_layout Standard
12592 In the following example the tables are inside a minipage
12593 \begin_inset Foot
12594 status collapsed
12595
12596 \begin_layout Standard
12597 Minipages are described in section\InsetSpace ~
12598
12599 \begin_inset LatexCommand ref
12600 reference "sec:Minipages"
12601
12602 \end_inset
12603
12604 .
12605 \end_layout
12606
12607 \end_inset
12608
12609  box that has a width of 15\InsetSpace \thinspace{}
12610 col%:
12611 \end_layout
12612
12613 \begin_layout Itemize
12614 test 
12615 \begin_inset Box Frameless
12616 position "t"
12617 hor_pos "c"
12618 has_inner_box 1
12619 inner_pos "c"
12620 use_parbox 0
12621 width "15col%"
12622 special "none"
12623 height "1in"
12624 height_special "totalheight"
12625 status collapsed
12626
12627 \begin_layout Standard
12628 \begin_inset Tabular
12629 <lyxtabular version="3" rows="3" columns="3">
12630 <features>
12631 <column alignment="center" valignment="top" leftline="true" width="0">
12632 <column alignment="center" valignment="top" leftline="true" width="0">
12633 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12634 <row topline="true">
12635 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12636 \begin_inset Text
12637
12638 \begin_layout Standard
12639 a
12640 \end_layout
12641
12642 \end_inset
12643 </cell>
12644 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12645 \begin_inset Text
12646
12647 \begin_layout Standard
12648 d
12649 \end_layout
12650
12651 \end_inset
12652 </cell>
12653 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12654 \begin_inset Text
12655
12656 \begin_layout Standard
12657 g
12658 \end_layout
12659
12660 \end_inset
12661 </cell>
12662 </row>
12663 <row topline="true">
12664 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12665 \begin_inset Text
12666
12667 \begin_layout Standard
12668 b
12669 \end_layout
12670
12671 \end_inset
12672 </cell>
12673 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12674 \begin_inset Text
12675
12676 \begin_layout Standard
12677 e
12678 \end_layout
12679
12680 \end_inset
12681 </cell>
12682 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12683 \begin_inset Text
12684
12685 \begin_layout Standard
12686 h
12687 \end_layout
12688
12689 \end_inset
12690 </cell>
12691 </row>
12692 <row topline="true" bottomline="true">
12693 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12694 \begin_inset Text
12695
12696 \begin_layout Standard
12697 c
12698 \end_layout
12699
12700 \end_inset
12701 </cell>
12702 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12703 \begin_inset Text
12704
12705 \begin_layout Standard
12706 f
12707 \end_layout
12708
12709 \end_inset
12710 </cell>
12711 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12712 \begin_inset Text
12713
12714 \begin_layout Standard
12715 i
12716 \end_layout
12717
12718 \end_inset
12719 </cell>
12720 </row>
12721 </lyxtabular>
12722
12723 \end_inset
12724
12725
12726 \end_layout
12727
12728 \end_inset
12729
12730  test 
12731 \begin_inset ERT
12732 status collapsed
12733
12734 \begin_layout Standard
12735
12736
12737 \backslash
12738 raisebox{0.85
12739 \backslash
12740 baselineskip}{
12741 \end_layout
12742
12743 \end_inset
12744
12745
12746 \begin_inset Box Frameless
12747 position "t"
12748 hor_pos "c"
12749 has_inner_box 1
12750 inner_pos "c"
12751 use_parbox 0
12752 width "15col%"
12753 special "none"
12754 height "1in"
12755 height_special "totalheight"
12756 status collapsed
12757
12758 \begin_layout Standard
12759 \begin_inset Tabular
12760 <lyxtabular version="3" rows="3" columns="3">
12761 <features>
12762 <column alignment="center" valignment="top" leftline="true" width="0">
12763 <column alignment="center" valignment="top" leftline="true" width="0">
12764 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12765 <row topline="true">
12766 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12767 \begin_inset Text
12768
12769 \begin_layout Standard
12770 a
12771 \end_layout
12772
12773 \end_inset
12774 </cell>
12775 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12776 \begin_inset Text
12777
12778 \begin_layout Standard
12779 d
12780 \end_layout
12781
12782 \end_inset
12783 </cell>
12784 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12785 \begin_inset Text
12786
12787 \begin_layout Standard
12788 g
12789 \end_layout
12790
12791 \end_inset
12792 </cell>
12793 </row>
12794 <row topline="true">
12795 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12796 \begin_inset Text
12797
12798 \begin_layout Standard
12799 b
12800 \end_layout
12801
12802 \end_inset
12803 </cell>
12804 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12805 \begin_inset Text
12806
12807 \begin_layout Standard
12808 e
12809 \end_layout
12810
12811 \end_inset
12812 </cell>
12813 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12814 \begin_inset Text
12815
12816 \begin_layout Standard
12817 h
12818 \end_layout
12819
12820 \end_inset
12821 </cell>
12822 </row>
12823 <row topline="true" bottomline="true">
12824 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12825 \begin_inset Text
12826
12827 \begin_layout Standard
12828 c
12829 \end_layout
12830
12831 \end_inset
12832 </cell>
12833 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12834 \begin_inset Text
12835
12836 \begin_layout Standard
12837 f
12838 \end_layout
12839
12840 \end_inset
12841 </cell>
12842 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12843 \begin_inset Text
12844
12845 \begin_layout Standard
12846 i
12847 \end_layout
12848
12849 \end_inset
12850 </cell>
12851 </row>
12852 </lyxtabular>
12853
12854 \end_inset
12855
12856
12857 \end_layout
12858
12859 \end_inset
12860
12861
12862 \begin_inset ERT
12863 status collapsed
12864
12865 \begin_layout Standard
12866
12867 }
12868 \end_layout
12869
12870 \end_inset
12871
12872
12873 \end_layout
12874
12875 \begin_layout Itemize
12876 test 
12877 \begin_inset Box Frameless
12878 position "c"
12879 hor_pos "c"
12880 has_inner_box 1
12881 inner_pos "c"
12882 use_parbox 0
12883 width "15col%"
12884 special "none"
12885 height "1in"
12886 height_special "totalheight"
12887 status collapsed
12888
12889 \begin_layout Standard
12890 \begin_inset Tabular
12891 <lyxtabular version="3" rows="3" columns="3">
12892 <features>
12893 <column alignment="center" valignment="top" leftline="true" width="0">
12894 <column alignment="center" valignment="top" leftline="true" width="0">
12895 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12896 <row topline="true">
12897 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12898 \begin_inset Text
12899
12900 \begin_layout Standard
12901 a
12902 \end_layout
12903
12904 \end_inset
12905 </cell>
12906 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12907 \begin_inset Text
12908
12909 \begin_layout Standard
12910 d
12911 \end_layout
12912
12913 \end_inset
12914 </cell>
12915 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12916 \begin_inset Text
12917
12918 \begin_layout Standard
12919 g
12920 \end_layout
12921
12922 \end_inset
12923 </cell>
12924 </row>
12925 <row topline="true">
12926 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12927 \begin_inset Text
12928
12929 \begin_layout Standard
12930 b
12931 \end_layout
12932
12933 \end_inset
12934 </cell>
12935 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12936 \begin_inset Text
12937
12938 \begin_layout Standard
12939 e
12940 \end_layout
12941
12942 \end_inset
12943 </cell>
12944 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12945 \begin_inset Text
12946
12947 \begin_layout Standard
12948 h
12949 \end_layout
12950
12951 \end_inset
12952 </cell>
12953 </row>
12954 <row topline="true" bottomline="true">
12955 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12956 \begin_inset Text
12957
12958 \begin_layout Standard
12959 c
12960 \end_layout
12961
12962 \end_inset
12963 </cell>
12964 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12965 \begin_inset Text
12966
12967 \begin_layout Standard
12968 f
12969 \end_layout
12970
12971 \end_inset
12972 </cell>
12973 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12974 \begin_inset Text
12975
12976 \begin_layout Standard
12977 i
12978 \end_layout
12979
12980 \end_inset
12981 </cell>
12982 </row>
12983 </lyxtabular>
12984
12985 \end_inset
12986
12987
12988 \end_layout
12989
12990 \end_inset
12991
12992
12993 \end_layout
12994
12995 \begin_layout Itemize
12996 test 
12997 \begin_inset Box Frameless
12998 position "b"
12999 hor_pos "c"
13000 has_inner_box 1
13001 inner_pos "c"
13002 use_parbox 0
13003 width "15col%"
13004 special "none"
13005 height "1in"
13006 height_special "totalheight"
13007 status collapsed
13008
13009 \begin_layout Standard
13010 \begin_inset Tabular
13011 <lyxtabular version="3" rows="3" columns="3">
13012 <features>
13013 <column alignment="center" valignment="top" leftline="true" width="0">
13014 <column alignment="center" valignment="top" leftline="true" width="0">
13015 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13016 <row topline="true">
13017 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13018 \begin_inset Text
13019
13020 \begin_layout Standard
13021 a
13022 \end_layout
13023
13024 \end_inset
13025 </cell>
13026 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13027 \begin_inset Text
13028
13029 \begin_layout Standard
13030 d
13031 \end_layout
13032
13033 \end_inset
13034 </cell>
13035 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13036 \begin_inset Text
13037
13038 \begin_layout Standard
13039 g
13040 \end_layout
13041
13042 \end_inset
13043 </cell>
13044 </row>
13045 <row topline="true">
13046 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13047 \begin_inset Text
13048
13049 \begin_layout Standard
13050 b
13051 \end_layout
13052
13053 \end_inset
13054 </cell>
13055 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13056 \begin_inset Text
13057
13058 \begin_layout Standard
13059 e
13060 \end_layout
13061
13062 \end_inset
13063 </cell>
13064 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13065 \begin_inset Text
13066
13067 \begin_layout Standard
13068 h
13069 \end_layout
13070
13071 \end_inset
13072 </cell>
13073 </row>
13074 <row topline="true" bottomline="true">
13075 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13076 \begin_inset Text
13077
13078 \begin_layout Standard
13079 c
13080 \end_layout
13081
13082 \end_inset
13083 </cell>
13084 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13085 \begin_inset Text
13086
13087 \begin_layout Standard
13088 f
13089 \end_layout
13090
13091 \end_inset
13092 </cell>
13093 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13094 \begin_inset Text
13095
13096 \begin_layout Standard
13097 i
13098 \end_layout
13099
13100 \end_inset
13101 </cell>
13102 </row>
13103 </lyxtabular>
13104
13105 \end_inset
13106
13107
13108 \end_layout
13109
13110 \end_inset
13111
13112  test 
13113 \begin_inset ERT
13114 status collapsed
13115
13116 \begin_layout Standard
13117
13118
13119 \backslash
13120 raisebox{-0.32
13121 \backslash
13122 baselineskip}{
13123 \end_layout
13124
13125 \end_inset
13126
13127
13128 \begin_inset Box Frameless
13129 position "b"
13130 hor_pos "c"
13131 has_inner_box 1
13132 inner_pos "c"
13133 use_parbox 0
13134 width "15col%"
13135 special "none"
13136 height "1in"
13137 height_special "totalheight"
13138 status collapsed
13139
13140 \begin_layout Standard
13141 \begin_inset Tabular
13142 <lyxtabular version="3" rows="3" columns="3">
13143 <features>
13144 <column alignment="center" valignment="top" leftline="true" width="0">
13145 <column alignment="center" valignment="top" leftline="true" width="0">
13146 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13147 <row topline="true">
13148 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13149 \begin_inset Text
13150
13151 \begin_layout Standard
13152 a
13153 \end_layout
13154
13155 \end_inset
13156 </cell>
13157 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13158 \begin_inset Text
13159
13160 \begin_layout Standard
13161 d
13162 \end_layout
13163
13164 \end_inset
13165 </cell>
13166 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13167 \begin_inset Text
13168
13169 \begin_layout Standard
13170 g
13171 \end_layout
13172
13173 \end_inset
13174 </cell>
13175 </row>
13176 <row topline="true">
13177 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13178 \begin_inset Text
13179
13180 \begin_layout Standard
13181 b
13182 \end_layout
13183
13184 \end_inset
13185 </cell>
13186 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13187 \begin_inset Text
13188
13189 \begin_layout Standard
13190 e
13191 \end_layout
13192
13193 \end_inset
13194 </cell>
13195 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13196 \begin_inset Text
13197
13198 \begin_layout Standard
13199 h
13200 \end_layout
13201
13202 \end_inset
13203 </cell>
13204 </row>
13205 <row topline="true" bottomline="true">
13206 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13207 \begin_inset Text
13208
13209 \begin_layout Standard
13210 c
13211 \end_layout
13212
13213 \end_inset
13214 </cell>
13215 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13216 \begin_inset Text
13217
13218 \begin_layout Standard
13219 f
13220 \end_layout
13221
13222 \end_inset
13223 </cell>
13224 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13225 \begin_inset Text
13226
13227 \begin_layout Standard
13228 i
13229 \end_layout
13230
13231 \end_inset
13232 </cell>
13233 </row>
13234 </lyxtabular>
13235
13236 \end_inset
13237
13238
13239 \end_layout
13240
13241 \end_inset
13242
13243
13244 \begin_inset ERT
13245 status collapsed
13246
13247 \begin_layout Standard
13248
13249 }
13250 \end_layout
13251
13252 \end_inset
13253
13254
13255 \end_layout
13256
13257 \begin_layout Standard
13258 As you can see, the content of the first and last table row is not correctly
13259  aligned with the text line where the table is in.
13260  To get this alignment, the minipage box must be set into a raisebox
13261 \begin_inset Foot
13262 status collapsed
13263
13264 \begin_layout Standard
13265 Raiseboxes are described in section\InsetSpace ~
13266
13267 \begin_inset LatexCommand ref
13268 reference "sub:Vertical-Alignment"
13269
13270 \end_inset
13271
13272 .
13273 \end_layout
13274
13275 \end_inset
13276
13277 .
13278  In the example above the second table in the first item is aligned using
13279  the ERT-command
13280 \end_layout
13281
13282 \begin_layout Standard
13283
13284 \series bold
13285
13286 \backslash
13287 raisebox{0.85
13288 \backslash
13289 baselineskip}{
13290 \end_layout
13291
13292 \begin_layout Standard
13293 before the box.
13294  Behind the box the closing brace 
13295 \series bold
13296 }
13297 \series default
13298  is inserted as ERT.
13299  For the second table in the last item the command
13300 \end_layout
13301
13302 \begin_layout Standard
13303
13304 \series bold
13305
13306 \backslash
13307 raisebox{-0.32
13308 \backslash
13309 baselineskip}{
13310 \end_layout
13311
13312 \begin_layout Standard
13313 is used.
13314 \end_layout
13315
13316 \begin_layout Standard
13317 \begin_inset Note Greyedout
13318 status open
13319
13320 \begin_layout Standard
13321
13322 \series bold
13323 Note:
13324 \series default
13325  The alignment of the table row content to the surrounding text line is
13326  not exact.
13327  The needed factor of the 
13328 \series bold
13329
13330 \backslash
13331 raisebox
13332 \series default
13333  command for this alignment depends on the document font, the font size,
13334  and the table line thickness.
13335 \end_layout
13336
13337 \end_inset
13338
13339
13340 \end_layout
13341
13342 \begin_layout Section
13343 Colored Tables
13344 \begin_inset LatexCommand label
13345 name "sec:Colored-Tables"
13346
13347 \end_inset
13348
13349
13350 \begin_inset LatexCommand index
13351 name "Table ! Color"
13352
13353 \end_inset
13354
13355
13356 \end_layout
13357
13358 \begin_layout Subsection
13359 Colored Cells
13360 \begin_inset LatexCommand index
13361 name "Table Color ! for Cells"
13362
13363 \end_inset
13364
13365
13366 \begin_inset LatexCommand index
13367 name "Color ! for Table Cells"
13368
13369 \end_inset
13370
13371
13372 \end_layout
13373
13374 \begin_layout Standard
13375 \begin_inset Float table
13376 placement h
13377 wide false
13378 sideways false
13379 status open
13380
13381 \begin_layout Standard
13382 \begin_inset Caption
13383
13384 \begin_layout Standard
13385 \begin_inset LatexCommand label
13386 name "tab:Table-colored-without"
13387
13388 \end_inset
13389
13390 Table colored without using the package 
13391 \series bold
13392 colortbl
13393 \series default
13394
13395 \begin_inset OptArg
13396 status collapsed
13397
13398 \begin_layout Standard
13399 Table without colortbl
13400 \end_layout
13401
13402 \end_inset
13403
13404
13405 \end_layout
13406
13407 \end_inset
13408
13409
13410 \end_layout
13411
13412 \begin_layout Standard
13413 \align center
13414 \begin_inset Tabular
13415 <lyxtabular version="3" rows="3" columns="3">
13416 <features>
13417 <column alignment="center" valignment="top" leftline="true" width="0">
13418 <column alignment="center" valignment="top" leftline="true" width="0">
13419 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13420 <row topline="true">
13421 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13422 \begin_inset Text
13423
13424 \begin_layout Standard
13425
13426 \color green
13427 a
13428 \end_layout
13429
13430 \end_inset
13431 </cell>
13432 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13433 \begin_inset Text
13434
13435 \begin_layout Standard
13436
13437 \color red
13438 b
13439 \end_layout
13440
13441 \end_inset
13442 </cell>
13443 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13444 \begin_inset Text
13445
13446 \begin_layout Standard
13447
13448 \color red
13449 c
13450 \end_layout
13451
13452 \end_inset
13453 </cell>
13454 </row>
13455 <row topline="true">
13456 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13457 \begin_inset Text
13458
13459 \begin_layout Standard
13460
13461 \color green
13462 d
13463 \end_layout
13464
13465 \end_inset
13466 </cell>
13467 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13468 \begin_inset Text
13469
13470 \begin_layout Standard
13471
13472 \color blue
13473 e
13474 \end_layout
13475
13476 \end_inset
13477 </cell>
13478 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13479 \begin_inset Text
13480
13481 \begin_layout Standard
13482
13483 \color blue
13484 f
13485 \end_layout
13486
13487 \end_inset
13488 </cell>
13489 </row>
13490 <row topline="true" bottomline="true">
13491 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13492 \begin_inset Text
13493
13494 \begin_layout Standard
13495
13496 \color green
13497 g
13498 \end_layout
13499
13500 \end_inset
13501 </cell>
13502 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13503 \begin_inset Text
13504
13505 \begin_layout Standard
13506
13507 \color blue
13508 h
13509 \end_layout
13510
13511 \end_inset
13512 </cell>
13513 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13514 \begin_inset Text
13515
13516 \begin_layout Standard
13517
13518 \color blue
13519 i
13520 \end_layout
13521
13522 \end_inset
13523 </cell>
13524 </row>
13525 </lyxtabular>
13526
13527 \end_inset
13528
13529
13530 \end_layout
13531
13532 \end_inset
13533
13534
13535 \end_layout
13536
13537 \begin_layout Standard
13538 If you only need colored text, mark the cells and choose a color in the
13539  menu 
13540 \family sans
13541 Edit\SpecialChar \menuseparator
13542 Text\InsetSpace ~
13543 Style
13544 \family default
13545 .
13546  This was used to create Table\InsetSpace ~
13547
13548 \begin_inset LatexCommand ref
13549 reference "tab:Table-colored-without"
13550
13551 \end_inset
13552
13553 .
13554  In any other case you have to use the LaTeX-package 
13555 \series bold
13556 colortbl
13557 \series default
13558 .
13559 \begin_inset LatexCommand index
13560 name "LaTeX-packages ! colortbl"
13561
13562 \end_inset
13563
13564
13565 \end_layout
13566
13567 \begin_layout Standard
13568 To create colored tables, 
13569 \series bold
13570 colortbl
13571 \series default
13572  must be loaded in the preamble with the line
13573 \end_layout
13574
13575 \begin_layout Standard
13576
13577 \series bold
13578
13579 \backslash
13580 usepackage{colortbl}
13581 \end_layout
13582
13583 \begin_layout Standard
13584 The color of a column is adjusted with the command
13585 \end_layout
13586
13587 \begin_layout Standard
13588
13589 \series bold
13590
13591 \backslash
13592 columncolor{name of color}
13593 \end_layout
13594
13595 \begin_layout Standard
13596 inside the command 
13597 \series bold
13598 >{ }
13599 \series default
13600 .
13601  More about the command 
13602 \series bold
13603 >{}
13604 \series default
13605  is described in section\InsetSpace ~
13606
13607 \begin_inset LatexCommand ref
13608 reference "sub:Multicolumn-Calculations"
13609
13610 \end_inset
13611
13612 .
13613 \end_layout
13614
13615 \begin_layout Standard
13616 The following color names are predefined:
13617 \end_layout
13618
13619 \begin_layout Standard
13620
13621 \family sans
13622 red
13623 \family default
13624
13625 \family sans
13626 green
13627 \family default
13628
13629 \family sans
13630 yellow
13631 \family default
13632
13633 \family sans
13634 blue
13635 \family default
13636
13637 \family sans
13638 cyan
13639 \family default
13640
13641 \family sans
13642 magenta
13643 \family default
13644
13645 \family sans
13646 black
13647 \family default
13648  and 
13649 \family sans
13650 white
13651 \end_layout
13652
13653 \begin_layout Standard
13654 \begin_inset VSpace medskip
13655 \end_inset
13656
13657
13658 \end_layout
13659
13660 \begin_layout Standard
13661 You can also define your own color with the command
13662 \end_layout
13663
13664 \begin_layout Standard
13665
13666 \series bold
13667
13668 \backslash
13669 def\SpecialChar \textcompwordmark{}
13670 inecolor{color name}{color model}{color values}
13671 \end_layout
13672
13673 \begin_layout Standard
13674 The color model can be
13675 \end_layout
13676
13677 \begin_layout Labeling
13678 \labelwidthstring 00.00.0000
13679 cmyk: cyan, magenta, yellow, black
13680 \end_layout
13681
13682 \begin_layout Labeling
13683 \labelwidthstring 00.00.0000
13684 rgb: red, green blue
13685 \end_layout
13686
13687 \begin_layout Labeling
13688 \labelwidthstring 00.00.0000
13689 gray gray
13690 \end_layout
13691
13692 \begin_layout Standard
13693 and the color values are comma separated numbers between 0 and 1 describing
13694  the factor for the corresponding color of the color model.
13695 \end_layout
13696
13697 \begin_layout Standard
13698 You can e.\InsetSpace \thinspace{}
13699 g.\InsetSpace ~
13700 define the color "
13701 \emph on
13702 darkgreen
13703 \emph default
13704 " in the preamble with
13705 \end_layout
13706
13707 \begin_layout Standard
13708
13709 \series bold
13710
13711 \backslash
13712 def\SpecialChar \textcompwordmark{}
13713 inecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
13714 \end_layout
13715
13716 \begin_layout Standard
13717 and the color "
13718 \emph on
13719 lightgray
13720 \emph default
13721 " with
13722 \end_layout
13723
13724 \begin_layout Standard
13725
13726 \series bold
13727
13728 \backslash
13729 def\SpecialChar \textcompwordmark{}
13730 inecolor{lightgray}{gray}{0.8}
13731 \end_layout
13732
13733 \begin_layout Standard
13734 \begin_inset VSpace medskip
13735 \end_inset
13736
13737
13738 \end_layout
13739
13740 \begin_layout Standard
13741 Lines are colored with the command
13742 \end_layout
13743
13744 \begin_layout Standard
13745
13746 \series bold
13747
13748 \backslash
13749 rowcolor{name of color}
13750 \end_layout
13751
13752 \begin_layout Standard
13753 and cells are colored with the command
13754 \end_layout
13755
13756 \begin_layout Standard
13757
13758 \series bold
13759
13760 \backslash
13761 cellcolor{name of color}
13762 \end_layout
13763
13764 \begin_layout Standard
13765 Both commands are inserted at the beginning of a cell as ERT.
13766 \end_layout
13767
13768 \begin_layout Standard
13769 To color characters in the table, mark the cells and use the LyX menu 
13770 \family sans
13771 Edit\SpecialChar \menuseparator
13772 Text\InsetSpace ~
13773 Style
13774 \family default
13775 .
13776  If a cell contains ERT mark only the characters, otherwise the colored
13777  ERT will cause LaTeX-errors.
13778 \end_layout
13779
13780 \begin_layout Standard
13781 \begin_inset Note Greyedout
13782 status open
13783
13784 \begin_layout Standard
13785
13786 \series bold
13787 Note:
13788 \series default
13789  Not all DVI-viewers are able to display self-defined colors.
13790 \end_layout
13791
13792 \end_inset
13793
13794
13795 \end_layout
13796
13797 \begin_layout Standard
13798 \begin_inset VSpace bigskip
13799 \end_inset
13800
13801
13802 \end_layout
13803
13804 \begin_layout Standard
13805 To create Table\InsetSpace ~
13806
13807 \begin_inset LatexCommand ref
13808 reference "tab:Table-colored-using"
13809
13810 \end_inset
13811
13812  do the following: The color of the first column should be 
13813 \emph on
13814 darkgreen
13815 \emph default
13816 .
13817  So insert
13818 \end_layout
13819
13820 \begin_layout Standard
13821
13822 \series bold
13823 >{
13824 \backslash
13825 columncolor{darkgreen}
13826 \backslash
13827 centering}c
13828 \end_layout
13829
13830 \begin_layout Standard
13831 as LaTeX-argument for this column.
13832  The first row should be blue, therefore the ERT command
13833 \end_layout
13834
13835 \begin_layout Standard
13836
13837 \series bold
13838
13839 \backslash
13840 rowcolow{cyan}
13841 \end_layout
13842
13843 \begin_layout Standard
13844 is inserted to the first cell of this row.
13845  Note that this overwrites the column color for the first cell.
13846  The last cell of the last row is colored magenta by inserting the ERT command
13847 \end_layout
13848
13849 \begin_layout Standard
13850
13851 \series bold
13852
13853 \backslash
13854 cellcolor{magenta}
13855 \end_layout
13856
13857 \begin_layout Standard
13858 The characters could now be colored using the menu 
13859 \family sans
13860 Edit\SpecialChar \menuseparator
13861 Text\InsetSpace ~
13862 Style
13863 \family default
13864 .
13865 \end_layout
13866
13867 \begin_layout Standard
13868 \begin_inset Float table
13869 placement h
13870 wide false
13871 sideways false
13872 status open
13873
13874 \begin_layout Standard
13875 \begin_inset Caption
13876
13877 \begin_layout Standard
13878 \begin_inset LatexCommand label
13879 name "tab:Table-colored-using"
13880
13881 \end_inset
13882
13883 Table colored using the package 
13884 \series bold
13885 colortbl
13886 \series default
13887
13888 \begin_inset OptArg
13889 status collapsed
13890
13891 \begin_layout Standard
13892 Table with colortbl
13893 \end_layout
13894
13895 \end_inset
13896
13897
13898 \end_layout
13899
13900 \end_inset
13901
13902
13903 \end_layout
13904
13905 \begin_layout Standard
13906 \align center
13907 \begin_inset Tabular
13908 <lyxtabular version="3" rows="3" columns="3">
13909 <features>
13910 <column alignment="center" valignment="top" width="0" special=">{\columncolor{darkgreen}\centering}c">
13911 <column alignment="center" valignment="top" width="0">
13912 <column alignment="center" valignment="top" width="0">
13913 <row>
13914 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13915 \begin_inset Text
13916
13917 \begin_layout Standard
13918 \begin_inset ERT
13919 status collapsed
13920
13921 \begin_layout Standard
13922
13923
13924 \backslash
13925 rowcolor{cyan}
13926 \end_layout
13927
13928 \end_inset
13929
13930
13931 \color magenta
13932 a
13933 \end_layout
13934
13935 \end_inset
13936 </cell>
13937 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13938 \begin_inset Text
13939
13940 \begin_layout Standard
13941
13942 \color red
13943 b
13944 \end_layout
13945
13946 \end_inset
13947 </cell>
13948 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13949 \begin_inset Text
13950
13951 \begin_layout Standard
13952
13953 \color red
13954 c
13955 \end_layout
13956
13957 \end_inset
13958 </cell>
13959 </row>
13960 <row>
13961 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13962 \begin_inset Text
13963
13964 \begin_layout Standard
13965
13966 \color yellow
13967 d
13968 \end_layout
13969
13970 \end_inset
13971 </cell>
13972 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13973 \begin_inset Text
13974
13975 \begin_layout Standard
13976
13977 \color blue
13978 e
13979 \end_layout
13980
13981 \end_inset
13982 </cell>
13983 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13984 \begin_inset Text
13985
13986 \begin_layout Standard
13987
13988 \color blue
13989 f
13990 \end_layout
13991
13992 \end_inset
13993 </cell>
13994 </row>
13995 <row>
13996 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13997 \begin_inset Text
13998
13999 \begin_layout Standard
14000
14001 \color yellow
14002 g
14003 \end_layout
14004
14005 \end_inset
14006 </cell>
14007 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14008 \begin_inset Text
14009
14010 \begin_layout Standard
14011
14012 \color blue
14013 h
14014 \end_layout
14015
14016 \end_inset
14017 </cell>
14018 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14019 \begin_inset Text
14020
14021 \begin_layout Standard
14022 \begin_inset ERT
14023 status collapsed
14024
14025 \begin_layout Standard
14026
14027
14028 \backslash
14029 cellcolor{magenta}
14030 \end_layout
14031
14032 \end_inset
14033
14034
14035 \color green
14036 i
14037 \end_layout
14038
14039 \end_inset
14040 </cell>
14041 </row>
14042 </lyxtabular>
14043
14044 \end_inset
14045
14046
14047 \end_layout
14048
14049 \end_inset
14050
14051
14052 \end_layout
14053
14054 \begin_layout Subsection
14055 Colored Lines
14056 \begin_inset LatexCommand index
14057 name "Table Color ! for Lines"
14058
14059 \end_inset
14060
14061
14062 \begin_inset LatexCommand index
14063 name "Color ! for Table Lines"
14064
14065 \end_inset
14066
14067
14068 \end_layout
14069
14070 \begin_layout Standard
14071 As described in section\InsetSpace ~
14072
14073 \begin_inset LatexCommand ref
14074 reference "sub:Line-Thickness"
14075
14076 \end_inset
14077
14078 , the line thickness for all lines in a table can be adjusted with the length
14079  
14080 \series bold
14081
14082 \backslash
14083 arrayrulewidth
14084 \series default
14085 .
14086  It is set to 1.5\InsetSpace \thinspace{}
14087 pt for all tables of this section.
14088 \begin_inset ERT
14089 status collapsed
14090
14091 \begin_layout Standard
14092
14093
14094 \backslash
14095 setlength{
14096 \backslash
14097 arrayrulewidth}{1.5pt}
14098 \end_layout
14099
14100 \end_inset
14101
14102
14103 \end_layout
14104
14105 \begin_layout Standard
14106 To color vertical lines for example with green, create the following column
14107  format in the document preamble, according to the description in section\InsetSpace ~
14108
14109 \begin_inset LatexCommand ref
14110 reference "sub:Customized-Format"
14111
14112 \end_inset
14113
14114 :
14115 \end_layout
14116
14117 \begin_layout Standard
14118
14119 \series bold
14120
14121 \backslash
14122 newcolumntype{W}{!{
14123 \backslash
14124 color{green}
14125 \backslash
14126 vline}}
14127 \end_layout
14128
14129 \begin_layout Standard
14130 For Table\InsetSpace ~
14131
14132 \begin_inset LatexCommand ref
14133 reference "tab:Table-with-vertical-colored"
14134
14135 \end_inset
14136
14137  the LaTeX-argument
14138 \series bold
14139  WcW
14140 \series default
14141  was used for the last column and
14142 \series bold
14143  Wc
14144 \series default
14145  for the other columns.
14146 \end_layout
14147
14148 \begin_layout Standard
14149 If you want to have several colors, define more column formats.
14150 \end_layout
14151
14152 \begin_layout Standard
14153 \begin_inset Float table
14154 wide false
14155 sideways false
14156 status open
14157
14158 \begin_layout Standard
14159 \begin_inset Caption
14160
14161 \begin_layout Standard
14162 \begin_inset LatexCommand label
14163 name "tab:Table-with-vertical-colored"
14164
14165 \end_inset
14166
14167 Table with colored vertical lines
14168 \end_layout
14169
14170 \end_inset
14171
14172
14173 \end_layout
14174
14175 \begin_layout Standard
14176 \align center
14177 \begin_inset Tabular
14178 <lyxtabular version="3" rows="3" columns="3">
14179 <features>
14180 <column alignment="center" valignment="top" width="0" special="Wc">
14181 <column alignment="center" valignment="top" width="0" special="Wc">
14182 <column alignment="center" valignment="top" width="0" special="WcW">
14183 <row topline="true">
14184 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14185 \begin_inset Text
14186
14187 \begin_layout Standard
14188 sd
14189 \end_layout
14190
14191 \end_inset
14192 </cell>
14193 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14194 \begin_inset Text
14195
14196 \begin_layout Standard
14197
14198 \end_layout
14199
14200 \end_inset
14201 </cell>
14202 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14203 \begin_inset Text
14204
14205 \begin_layout Standard
14206
14207 \end_layout
14208
14209 \end_inset
14210 </cell>
14211 </row>
14212 <row topline="true">
14213 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14214 \begin_inset Text
14215
14216 \begin_layout Standard
14217
14218 \end_layout
14219
14220 \end_inset
14221 </cell>
14222 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14223 \begin_inset Text
14224
14225 \begin_layout Standard
14226 sd
14227 \end_layout
14228
14229 \end_inset
14230 </cell>
14231 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14232 \begin_inset Text
14233
14234 \begin_layout Standard
14235
14236 \end_layout
14237
14238 \end_inset
14239 </cell>
14240 </row>
14241 <row topline="true" bottomline="true">
14242 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14243 \begin_inset Text
14244
14245 \begin_layout Standard
14246
14247 \end_layout
14248
14249 \end_inset
14250 </cell>
14251 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14252 \begin_inset Text
14253
14254 \begin_layout Standard
14255
14256 \end_layout
14257
14258 \end_inset
14259 </cell>
14260 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14261 \begin_inset Text
14262
14263 \begin_layout Standard
14264 sd
14265 \end_layout
14266
14267 \end_inset
14268 </cell>
14269 </row>
14270 </lyxtabular>
14271
14272 \end_inset
14273
14274
14275 \end_layout
14276
14277 \end_inset
14278
14279
14280 \end_layout
14281
14282 \begin_layout Standard
14283 \begin_inset VSpace bigskip
14284 \end_inset
14285
14286 To color horizontal lines for example with red, like in Table\InsetSpace ~
14287
14288 \begin_inset LatexCommand ref
14289 reference "tab:Table-with-horizontal-colored"
14290
14291 \end_inset
14292
14293 , insert these commands in ERT before the table or table float:
14294 \end_layout
14295
14296 \begin_layout Standard
14297
14298 \series bold
14299
14300 \backslash
14301 let
14302 \backslash
14303 myHlineC
14304 \backslash
14305 hline
14306 \newline
14307
14308 \backslash
14309 renewcommand{
14310 \backslash
14311 hline}
14312 \newline
14313
14314 \begin_inset ERT
14315 status collapsed
14316
14317 \begin_layout Standard
14318
14319
14320 \backslash
14321 hphantom{ }
14322 \end_layout
14323
14324 \end_inset
14325
14326 {
14327 \backslash
14328 arrayrulecolor{red}
14329 \backslash
14330 myHlineC
14331 \backslash
14332 arrayrulecolor{black}}
14333 \end_layout
14334
14335 \begin_layout Standard
14336 \begin_inset ERT
14337 status collapsed
14338
14339 \begin_layout Standard
14340
14341
14342 \backslash
14343 let
14344 \backslash
14345 myHlineC
14346 \backslash
14347 hline
14348 \end_layout
14349
14350 \begin_layout Standard
14351
14352
14353 \backslash
14354 renewcommand{
14355 \backslash
14356 hline}
14357 \end_layout
14358
14359 \begin_layout Standard
14360
14361  {
14362 \backslash
14363 arrayrulecolor{red}
14364 \backslash
14365 myHlineC
14366 \backslash
14367 arrayrulecolor{black}}
14368 \end_layout
14369
14370 \end_inset
14371
14372
14373 \begin_inset Float table
14374 wide false
14375 sideways false
14376 status open
14377
14378 \begin_layout Standard
14379 \begin_inset Caption
14380
14381 \begin_layout Standard
14382 \begin_inset LatexCommand label
14383 name "tab:Table-with-horizontal-colored"
14384
14385 \end_inset
14386
14387 Table with colored horizontal lines
14388 \end_layout
14389
14390 \end_inset
14391
14392
14393 \end_layout
14394
14395 \begin_layout Standard
14396 \align center
14397 \begin_inset Tabular
14398 <lyxtabular version="3" rows="3" columns="3">
14399 <features>
14400 <column alignment="center" valignment="top" leftline="true" width="0">
14401 <column alignment="center" valignment="top" leftline="true" width="0">
14402 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14403 <row topline="true">
14404 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14405 \begin_inset Text
14406
14407 \begin_layout Standard
14408 sd
14409 \end_layout
14410
14411 \end_inset
14412 </cell>
14413 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14414 \begin_inset Text
14415
14416 \begin_layout Standard
14417
14418 \end_layout
14419
14420 \end_inset
14421 </cell>
14422 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14423 \begin_inset Text
14424
14425 \begin_layout Standard
14426
14427 \end_layout
14428
14429 \end_inset
14430 </cell>
14431 </row>
14432 <row topline="true">
14433 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14434 \begin_inset Text
14435
14436 \begin_layout Standard
14437
14438 \end_layout
14439
14440 \end_inset
14441 </cell>
14442 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14443 \begin_inset Text
14444
14445 \begin_layout Standard
14446 sd
14447 \end_layout
14448
14449 \end_inset
14450 </cell>
14451 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14452 \begin_inset Text
14453
14454 \begin_layout Standard
14455
14456 \end_layout
14457
14458 \end_inset
14459 </cell>
14460 </row>
14461 <row topline="true" bottomline="true">
14462 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14463 \begin_inset Text
14464
14465 \begin_layout Standard
14466
14467 \end_layout
14468
14469 \end_inset
14470 </cell>
14471 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14472 \begin_inset Text
14473
14474 \begin_layout Standard
14475
14476 \end_layout
14477
14478 \end_inset
14479 </cell>
14480 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14481 \begin_inset Text
14482
14483 \begin_layout Standard
14484 sd
14485 \end_layout
14486
14487 \end_inset
14488 </cell>
14489 </row>
14490 </lyxtabular>
14491
14492 \end_inset
14493
14494
14495 \end_layout
14496
14497 \end_inset
14498
14499
14500 \end_layout
14501
14502 \begin_layout Standard
14503 \begin_inset ERT
14504 status collapsed
14505
14506 \begin_layout Standard
14507
14508
14509 \backslash
14510 pagebreak 
14511 \end_layout
14512
14513 \end_inset
14514
14515
14516 \end_layout
14517
14518 \begin_layout Standard
14519 To return to the default line color black, insert this command in ERT behind
14520  the table or table float:
14521 \end_layout
14522
14523 \begin_layout Standard
14524
14525 \series bold
14526
14527 \backslash
14528 renewcommand{
14529 \backslash
14530 hline}{
14531 \backslash
14532 myHlineC}
14533 \end_layout
14534
14535 \begin_layout Standard
14536 Table\InsetSpace ~
14537
14538 \begin_inset LatexCommand ref
14539 reference "tab:Table-with-colored"
14540
14541 \end_inset
14542
14543  is an example with colored vertical and horizontal lines.
14544 \end_layout
14545
14546 \begin_layout Standard
14547 \begin_inset Float table
14548 placement h
14549 wide false
14550 sideways false
14551 status open
14552
14553 \begin_layout Standard
14554 \begin_inset Caption
14555
14556 \begin_layout Standard
14557 \begin_inset LatexCommand label
14558 name "tab:Table-with-colored"
14559
14560 \end_inset
14561
14562 Table with colored lines
14563 \end_layout
14564
14565 \end_inset
14566
14567
14568 \end_layout
14569
14570 \begin_layout Standard
14571 \align center
14572 \begin_inset Tabular
14573 <lyxtabular version="3" rows="3" columns="3">
14574 <features>
14575 <column alignment="center" valignment="top" width="0" special="Wc">
14576 <column alignment="center" valignment="top" width="0" special="Wc">
14577 <column alignment="center" valignment="top" width="0" special="WcW">
14578 <row topline="true">
14579 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14580 \begin_inset Text
14581
14582 \begin_layout Standard
14583 sd
14584 \end_layout
14585
14586 \end_inset
14587 </cell>
14588 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14589 \begin_inset Text
14590
14591 \begin_layout Standard
14592
14593 \end_layout
14594
14595 \end_inset
14596 </cell>
14597 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14598 \begin_inset Text
14599
14600 \begin_layout Standard
14601
14602 \end_layout
14603
14604 \end_inset
14605 </cell>
14606 </row>
14607 <row topline="true">
14608 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14609 \begin_inset Text
14610
14611 \begin_layout Standard
14612
14613 \end_layout
14614
14615 \end_inset
14616 </cell>
14617 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14618 \begin_inset Text
14619
14620 \begin_layout Standard
14621 sd
14622 \end_layout
14623
14624 \end_inset
14625 </cell>
14626 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14627 \begin_inset Text
14628
14629 \begin_layout Standard
14630
14631 \end_layout
14632
14633 \end_inset
14634 </cell>
14635 </row>
14636 <row topline="true" bottomline="true" topspace="default">
14637 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14638 \begin_inset Text
14639
14640 \begin_layout Standard
14641
14642 \end_layout
14643
14644 \end_inset
14645 </cell>
14646 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14647 \begin_inset Text
14648
14649 \begin_layout Standard
14650
14651 \end_layout
14652
14653 \end_inset
14654 </cell>
14655 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14656 \begin_inset Text
14657
14658 \begin_layout Standard
14659 sd
14660 \end_layout
14661
14662 \end_inset
14663 </cell>
14664 </row>
14665 </lyxtabular>
14666
14667 \end_inset
14668
14669
14670 \end_layout
14671
14672 \end_inset
14673
14674
14675 \end_layout
14676
14677 \begin_layout Standard
14678 \begin_inset ERT
14679 status collapsed
14680
14681 \begin_layout Standard
14682
14683
14684 \backslash
14685 renewcommand{
14686 \backslash
14687 hline}{
14688 \backslash
14689 myHlineC}
14690 \end_layout
14691
14692 \end_inset
14693
14694
14695 \end_layout
14696
14697 \begin_layout Standard
14698 \begin_inset ERT
14699 status collapsed
14700
14701 \begin_layout Standard
14702
14703
14704 \backslash
14705 setlength{
14706 \backslash
14707 arrayrulewidth}{0.4pt}
14708 \end_layout
14709
14710 \end_inset
14711
14712
14713 \end_layout
14714
14715 \begin_layout Section
14716 Table Customization
14717 \begin_inset LatexCommand index
14718 name "Table Customization"
14719
14720 \end_inset
14721
14722
14723 \begin_inset LatexCommand index
14724 name "Table ! Customization"
14725
14726 \end_inset
14727
14728
14729 \end_layout
14730
14731 \begin_layout Subsection
14732 Row Spacing
14733 \begin_inset LatexCommand label
14734 name "sub:Row-Spacing"
14735
14736 \end_inset
14737
14738
14739 \begin_inset LatexCommand index
14740 name "Table Customization ! Row Spacing"
14741
14742 \end_inset
14743
14744
14745 \end_layout
14746
14747 \begin_layout Standard
14748 You can add vertical space to table rows in the 
14749 \family sans
14750 Borders
14751 \family default
14752  tab of the table dialog.
14753  You find there three possibilities:
14754 \end_layout
14755
14756 \begin_layout Description
14757 Top\InsetSpace ~
14758 of\InsetSpace ~
14759 row will add space above the characters of the table row.
14760  If the table is a formal table
14761 \begin_inset Foot
14762 status collapsed
14763
14764 \begin_layout Standard
14765 Formal tables are explained in section\InsetSpace ~
14766
14767 \begin_inset LatexCommand ref
14768 reference "sec:Formal-Tables"
14769
14770 \end_inset
14771
14772 .
14773 \end_layout
14774
14775 \end_inset
14776
14777  LyX will insert as default 0.5\InsetSpace \thinspace{}
14778 em space.
14779  For normal tables the inserted space will unfortunately destroy the vertical
14780  table lines as in the following table:
14781 \begin_inset VSpace medskip
14782 \end_inset
14783
14784
14785 \newline
14786
14787 \begin_inset ERT
14788 status collapsed
14789
14790 \begin_layout Standard
14791
14792
14793 \backslash
14794 hspace*{0pt}
14795 \end_layout
14796
14797 \end_inset
14798
14799
14800 \hfill
14801
14802 \begin_inset Tabular
14803 <lyxtabular version="3" rows="3" columns="1">
14804 <features>
14805 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14806 <row topline="true">
14807 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14808 \begin_inset Text
14809
14810 \begin_layout Standard
14811 A
14812 \end_layout
14813
14814 \end_inset
14815 </cell>
14816 </row>
14817 <row topline="true" topspace="3mm">
14818 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14819 \begin_inset Text
14820
14821 \begin_layout Standard
14822 3\InsetSpace \thinspace{}
14823 mm space top of row
14824 \end_layout
14825
14826 \end_inset
14827 </cell>
14828 </row>
14829 <row topline="true" bottomline="true">
14830 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14831 \begin_inset Text
14832
14833 \begin_layout Standard
14834 C
14835 \end_layout
14836
14837 \end_inset
14838 </cell>
14839 </row>
14840 </lyxtabular>
14841
14842 \end_inset
14843
14844
14845 \hfill
14846
14847 \begin_inset ERT
14848 status collapsed
14849
14850 \begin_layout Standard
14851
14852
14853 \backslash
14854 hspace*{0pt}
14855 \end_layout
14856
14857 \end_inset
14858
14859
14860 \begin_inset VSpace medskip
14861 \end_inset
14862
14863
14864 \newline
14865 So inserting space to the top of row for normal tables is only useful when
14866  you don't have vertical lines.
14867 \end_layout
14868
14869 \begin_layout Description
14870 Bottom\InsetSpace ~
14871 of\InsetSpace ~
14872 row will add space below the characters of the table row.
14873  If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
14874 em space, for
14875  normal tables the default size is 2\InsetSpace \thinspace{}
14876 pt.
14877 \end_layout
14878
14879 \begin_layout Description
14880 Between\InsetSpace ~
14881 rows adds space between the current and the following row.
14882  If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
14883 em space.
14884  For normal tables the inserted space will unfortunately destroy the vertical
14885  table lines as in the following table:
14886 \begin_inset VSpace medskip
14887 \end_inset
14888
14889
14890 \newline
14891
14892 \begin_inset ERT
14893 status collapsed
14894
14895 \begin_layout Standard
14896
14897
14898 \backslash
14899 hspace*{0pt}
14900 \end_layout
14901
14902 \end_inset
14903
14904
14905 \hfill
14906
14907 \begin_inset Tabular
14908 <lyxtabular version="3" rows="3" columns="1">
14909 <features>
14910 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14911 <row topline="true">
14912 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14913 \begin_inset Text
14914
14915 \begin_layout Standard
14916 A
14917 \end_layout
14918
14919 \end_inset
14920 </cell>
14921 </row>
14922 <row topline="true" interlinespace="3mm">
14923 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14924 \begin_inset Text
14925
14926 \begin_layout Standard
14927 \begin_inset Formula $\downarrow$
14928 \end_inset
14929
14930  3\InsetSpace \thinspace{}
14931 mm space between row 
14932 \begin_inset Formula $\downarrow$
14933 \end_inset
14934
14935
14936 \end_layout
14937
14938 \end_inset
14939 </cell>
14940 </row>
14941 <row topline="true" bottomline="true">
14942 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14943 \begin_inset Text
14944
14945 \begin_layout Standard
14946 \begin_inset Formula $\uparrow$
14947 \end_inset
14948
14949  3\InsetSpace \thinspace{}
14950 mm space between row 
14951 \begin_inset Formula $\uparrow$
14952 \end_inset
14953
14954
14955 \end_layout
14956
14957 \end_inset
14958 </cell>
14959 </row>
14960 </lyxtabular>
14961
14962 \end_inset
14963
14964
14965 \hfill
14966
14967 \begin_inset ERT
14968 status collapsed
14969
14970 \begin_layout Standard
14971
14972
14973 \backslash
14974 hspace*{0pt}
14975 \end_layout
14976
14977 \end_inset
14978
14979
14980 \begin_inset VSpace medskip
14981 \end_inset
14982
14983
14984 \newline
14985 So inserting space between rows for normal tables is only useful when you
14986  don't have vertical lines.
14987 \end_layout
14988
14989 \begin_layout Standard
14990 \begin_inset VSpace bigskip
14991 \end_inset
14992
14993 When you want to add extra height to all cells of all tables, you can do
14994  this with the following preamble lines:
14995 \end_layout
14996
14997 \begin_layout Standard
14998
14999 \series bold
15000
15001 \backslash
15002 @ifundef\SpecialChar \textcompwordmark{}
15003 ined{extrarowheight}
15004 \newline
15005
15006 \begin_inset ERT
15007 status collapsed
15008
15009 \begin_layout Standard
15010
15011
15012 \backslash
15013 hphantom{ }
15014 \end_layout
15015
15016 \end_inset
15017
15018 {
15019 \backslash
15020 usepackage{array}}{}
15021 \newline
15022
15023 \backslash
15024 setlength{
15025 \backslash
15026 extrarowheight}{height}
15027 \end_layout
15028
15029 \begin_layout Standard
15030 But this has the disadvantage that the cell texts are no longer exactly
15031  vertically centered.
15032  (The package 
15033 \series bold
15034 array
15035 \series default
15036  will be loaded automatically by LyX when you use self defined table formats.
15037  To avoid that it is loaded twice the command 
15038 \series bold
15039
15040 \backslash
15041 @ifundef\SpecialChar \textcompwordmark{}
15042 ined
15043 \series default
15044  is used in the above command.)
15045 \end_layout
15046
15047 \begin_layout Subsection
15048 Special Cell Alignment
15049 \begin_inset LatexCommand index
15050 name "Table Customization ! Special Cell Alignment"
15051
15052 \end_inset
15053
15054
15055 \end_layout
15056
15057 \begin_layout Standard
15058 Sometimes it looks better when the cell entries of a column are aligned
15059  with a special character, e.\InsetSpace \thinspace{}
15060 g.\InsetSpace ~
15061 with the decimal separator as in Table\InsetSpace ~
15062
15063 \begin_inset LatexCommand ref
15064 reference "tab:Table-cells-of"
15065
15066 \end_inset
15067
15068 .
15069 \end_layout
15070
15071 \begin_layout Standard
15072 \begin_inset Float table
15073 placement h
15074 wide false
15075 sideways false
15076 status open
15077
15078 \begin_layout Standard
15079 \begin_inset Caption
15080
15081 \begin_layout Standard
15082 \begin_inset LatexCommand label
15083 name "tab:Table-cells-of"
15084
15085 \end_inset
15086
15087 Table cells of a column aligned with the decimal separator.
15088 \end_layout
15089
15090 \end_inset
15091
15092
15093 \end_layout
15094
15095 \begin_layout Standard
15096 \align center
15097 \begin_inset Tabular
15098 <lyxtabular version="3" rows="4" columns="2">
15099 <features>
15100 <column alignment="right" valignment="top" width="0">
15101 <column alignment="left" valignment="top" width="0" special="@{}l">
15102 <row bottomline="true">
15103 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15104 \begin_inset Text
15105
15106 \begin_layout Standard
15107 heading
15108 \end_layout
15109
15110 \end_inset
15111 </cell>
15112 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15113 \begin_inset Text
15114
15115 \begin_layout Standard
15116
15117 \end_layout
15118
15119 \end_inset
15120 </cell>
15121 </row>
15122 <row>
15123 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15124 \begin_inset Text
15125
15126 \begin_layout Standard
15127 12.
15128 \end_layout
15129
15130 \end_inset
15131 </cell>
15132 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15133 \begin_inset Text
15134
15135 \begin_layout Standard
15136 6
15137 \end_layout
15138
15139 \end_inset
15140 </cell>
15141 </row>
15142 <row>
15143 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15144 \begin_inset Text
15145
15146 \begin_layout Standard
15147 0.
15148 \end_layout
15149
15150 \end_inset
15151 </cell>
15152 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15153 \begin_inset Text
15154
15155 \begin_layout Standard
15156 68
15157 \end_layout
15158
15159 \end_inset
15160 </cell>
15161 </row>
15162 <row>
15163 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15164 \begin_inset Text
15165
15166 \begin_layout Standard
15167 -123.
15168 \end_layout
15169
15170 \end_inset
15171 </cell>
15172 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15173 \begin_inset Text
15174
15175 \begin_layout Standard
15176 0
15177 \end_layout
15178
15179 \end_inset
15180 </cell>
15181 </row>
15182 </lyxtabular>
15183
15184 \end_inset
15185
15186
15187 \end_layout
15188
15189 \end_inset
15190
15191
15192 \end_layout
15193
15194 \begin_layout Standard
15195 This table was created with a 4×2 table.
15196  The heading is a centered multicolumn.
15197  The first column is right-aligned and contains the digits before the decimal
15198  point and the decimal point.
15199  The second column is left aligned and contains the digits after the decimal
15200  point.
15201  To omit the space that is normally between two table columns, use the following
15202  LaTeX-argument for the second column:
15203 \end_layout
15204
15205 \begin_layout Standard
15206
15207 \series bold
15208 @{}l
15209 \end_layout
15210
15211 \begin_layout Standard
15212 Table\InsetSpace ~
15213
15214 \begin_inset LatexCommand ref
15215 reference "tab:Several-table-cell"
15216
15217 \end_inset
15218
15219  shows some example alignments.
15220  For the alignment with the relation sign, you must add the second smallest
15221  math-space at the beginning of the last column to get the correct space
15222  surrounding the relation sign.
15223 \end_layout
15224
15225 \begin_layout Standard
15226 \begin_inset Float table
15227 wide false
15228 sideways false
15229 status open
15230
15231 \begin_layout Standard
15232 \begin_inset Caption
15233
15234 \begin_layout Standard
15235 \begin_inset LatexCommand label
15236 name "tab:Several-table-cell"
15237
15238 \end_inset
15239
15240 Several table cell alignments.
15241 \end_layout
15242
15243 \end_inset
15244
15245
15246 \end_layout
15247
15248 \begin_layout Standard
15249 \align center
15250 \begin_inset Tabular
15251 <lyxtabular version="3" rows="4" columns="6">
15252 <features>
15253 <column alignment="right" valignment="top" width="0">
15254 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l">
15255 <column alignment="right" valignment="top" width="0">
15256 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l">
15257 <column alignment="right" valignment="top" width="0">
15258 <column alignment="left" valignment="top" width="0" special="@{}l">
15259 <row bottomline="true">
15260 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15261 \begin_inset Text
15262
15263 \begin_layout Standard
15264 units
15265 \end_layout
15266
15267 \end_inset
15268 </cell>
15269 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15270 \begin_inset Text
15271
15272 \begin_layout Standard
15273
15274 \end_layout
15275
15276 \end_inset
15277 </cell>
15278 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15279 \begin_inset Text
15280
15281 \begin_layout Standard
15282 exponents
15283 \end_layout
15284
15285 \end_inset
15286 </cell>
15287 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15288 \begin_inset Text
15289
15290 \begin_layout Standard
15291
15292 \end_layout
15293
15294 \end_inset
15295 </cell>
15296 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15297 \begin_inset Text
15298
15299 \begin_layout Standard
15300 relations
15301 \end_layout
15302
15303 \end_inset
15304 </cell>
15305 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15306 \begin_inset Text
15307
15308 \begin_layout Standard
15309
15310 \end_layout
15311
15312 \end_inset
15313 </cell>
15314 </row>
15315 <row>
15316 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15317 \begin_inset Text
15318
15319 \begin_layout Standard
15320 12×
15321 \end_layout
15322
15323 \end_inset
15324 </cell>
15325 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15326 \begin_inset Text
15327
15328 \begin_layout Standard
15329 24\InsetSpace \thinspace{}
15330 bottles
15331 \end_layout
15332
15333 \end_inset
15334 </cell>
15335 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15336 \begin_inset Text
15337
15338 \begin_layout Standard
15339 \begin_inset Formula $10\cdot$
15340 \end_inset
15341
15342
15343 \end_layout
15344
15345 \end_inset
15346 </cell>
15347 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15348 \begin_inset Text
15349
15350 \begin_layout Standard
15351 \begin_inset Formula $10^{\mbox{-}17}$
15352 \end_inset
15353
15354
15355 \end_layout
15356
15357 \end_inset
15358 </cell>
15359 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15360 \begin_inset Text
15361
15362 \begin_layout Standard
15363 \begin_inset Formula $\Gamma(t)\propto$
15364 \end_inset
15365
15366
15367 \end_layout
15368
15369 \end_inset
15370 </cell>
15371 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15372 \begin_inset Text
15373
15374 \begin_layout Standard
15375 \begin_inset Formula $\:\Upsilon(t)$
15376 \end_inset
15377
15378
15379 \end_layout
15380
15381 \end_inset
15382 </cell>
15383 </row>
15384 <row>
15385 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15386 \begin_inset Text
15387
15388 \begin_layout Standard
15389 1024×
15390 \end_layout
15391
15392 \end_inset
15393 </cell>
15394 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15395 \begin_inset Text
15396
15397 \begin_layout Standard
15398 768\InsetSpace \thinspace{}
15399 Pixels
15400 \end_layout
15401
15402 \end_inset
15403 </cell>
15404 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15405 \begin_inset Text
15406
15407 \begin_layout Standard
15408 \begin_inset Formula $5.78\cdot$
15409 \end_inset
15410
15411
15412 \end_layout
15413
15414 \end_inset
15415 </cell>
15416 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15417 \begin_inset Text
15418
15419 \begin_layout Standard
15420 \begin_inset Formula $10^{7}$
15421 \end_inset
15422
15423
15424 \end_layout
15425
15426 \end_inset
15427 </cell>
15428 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15429 \begin_inset Text
15430
15431 \begin_layout Standard
15432 \begin_inset Formula $A\ne$
15433 \end_inset
15434
15435
15436 \end_layout
15437
15438 \end_inset
15439 </cell>
15440 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15441 \begin_inset Text
15442
15443 \begin_layout Standard
15444 \begin_inset Formula $\: B_{\mathrm{red}}$
15445 \end_inset
15446
15447
15448 \end_layout
15449
15450 \end_inset
15451 </cell>
15452 </row>
15453 <row>
15454 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15455 \begin_inset Text
15456
15457 \begin_layout Standard
15458 32×
15459 \end_layout
15460
15461 \end_inset
15462 </cell>
15463 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15464 \begin_inset Text
15465
15466 \begin_layout Standard
15467 6\InsetSpace \thinspace{}
15468 cm
15469 \end_layout
15470
15471 \end_inset
15472 </cell>
15473 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15474 \begin_inset Text
15475
15476 \begin_layout Standard
15477 -
15478 \begin_inset Formula $33.5\cdot$
15479 \end_inset
15480
15481
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 \begin_inset Formula $10^{4}$
15491 \end_inset
15492
15493
15494 \end_layout
15495
15496 \end_inset
15497 </cell>
15498 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15499 \begin_inset Text
15500
15501 \begin_layout Standard
15502 \begin_inset Formula $\sin(\alpha)\ge$
15503 \end_inset
15504
15505
15506 \end_layout
15507
15508 \end_inset
15509 </cell>
15510 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15511 \begin_inset Text
15512
15513 \begin_layout Standard
15514 \begin_inset Formula $\:\sin(\beta)$
15515 \end_inset
15516
15517
15518 \end_layout
15519
15520 \end_inset
15521 </cell>
15522 </row>
15523 </lyxtabular>
15524
15525 \end_inset
15526
15527
15528 \end_layout
15529
15530 \end_inset
15531
15532
15533 \end_layout
15534
15535 \begin_layout Standard
15536 \begin_inset VSpace bigskip
15537 \end_inset
15538
15539 There is also the LaTeX-package 
15540 \series bold
15541 dcolumn
15542 \series default
15543
15544 \begin_inset LatexCommand index
15545 name "LaTeX-packages ! dcolumn"
15546
15547 \end_inset
15548
15549  that provides table cell alignments.
15550  But this unfortunately treats the cell entries as math and doesn't allow
15551  formulas in table cells: The first column of Table\InsetSpace ~
15552
15553 \begin_inset LatexCommand ref
15554 reference "tab:Several-table-cell"
15555
15556 \end_inset
15557
15558  will look with 
15559 \series bold
15560 dcolumn
15561 \series default
15562  like the first column in Table\InsetSpace ~
15563
15564 \begin_inset LatexCommand ref
15565 reference "tab:Alignments-when"
15566
15567 \end_inset
15568
15569  and only with some tricks like the expected.
15570  The alignment of the second and third column of Table\InsetSpace ~
15571
15572 \begin_inset LatexCommand ref
15573 reference "tab:Several-table-cell"
15574
15575 \end_inset
15576
15577  is not possible with 
15578 \series bold
15579 dcolumn
15580 \series default
15581 .
15582 \end_layout
15583
15584 \begin_layout Standard
15585 \begin_inset Float table
15586 placement h
15587 wide false
15588 sideways false
15589 status open
15590
15591 \begin_layout Standard
15592 \begin_inset Caption
15593
15594 \begin_layout Standard
15595 \begin_inset LatexCommand label
15596 name "tab:Alignments-when"
15597
15598 \end_inset
15599
15600 Alignments when LaTeX-package dcolumn is used.
15601  For all column alignments tricks have to be used to get the output.
15602 \end_layout
15603
15604 \end_inset
15605
15606
15607 \end_layout
15608
15609 \begin_layout Standard
15610 \align center
15611 \begin_inset Tabular
15612 <lyxtabular version="3" rows="4" columns="3">
15613 <features>
15614 <column alignment="center" valignment="top" rightline="true" width="0" special="D{x}{\times}{-1}">
15615 <column alignment="center" valignment="top" rightline="true" width="0" special="D{x}{\times}{4.9}">
15616 <column alignment="center" valignment="top" width="0" special="D{~}{\,}{9.7}">
15617 <row bottomline="true">
15618 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15619 \begin_inset Text
15620
15621 \begin_layout Standard
15622 units
15623 \end_layout
15624
15625 \end_inset
15626 </cell>
15627 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15628 \begin_inset Text
15629
15630 \begin_layout Standard
15631 units
15632 \end_layout
15633
15634 \end_inset
15635 </cell>
15636 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15637 \begin_inset Text
15638
15639 \begin_layout Standard
15640 units
15641 \end_layout
15642
15643 \end_inset
15644 </cell>
15645 </row>
15646 <row>
15647 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15648 \begin_inset Text
15649
15650 \begin_layout Standard
15651 12x24\InsetSpace \thinspace{}
15652 bottles
15653 \end_layout
15654
15655 \end_inset
15656 </cell>
15657 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15658 \begin_inset Text
15659
15660 \begin_layout Standard
15661 12x24\InsetSpace \thinspace{}
15662
15663 \begin_inset Formula $\mbox{bottles}$
15664 \end_inset
15665
15666
15667 \end_layout
15668
15669 \end_inset
15670 </cell>
15671 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15672 \begin_inset Text
15673
15674 \begin_layout Standard
15675 12
15676 \begin_inset ERT
15677 status collapsed
15678
15679 \begin_layout Standard
15680
15681
15682 \backslash
15683 times 
15684 \end_layout
15685
15686 \end_inset
15687
15688 24~
15689 \begin_inset Formula $\mbox{bottles}$
15690 \end_inset
15691
15692
15693 \end_layout
15694
15695 \end_inset
15696 </cell>
15697 </row>
15698 <row>
15699 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15700 \begin_inset Text
15701
15702 \begin_layout Standard
15703 1024x768\InsetSpace \thinspace{}
15704 Pixels
15705 \end_layout
15706
15707 \end_inset
15708 </cell>
15709 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15710 \begin_inset Text
15711
15712 \begin_layout Standard
15713 1024x768\InsetSpace \thinspace{}
15714
15715 \begin_inset Formula $\mbox{Pixels}$
15716 \end_inset
15717
15718
15719 \end_layout
15720
15721 \end_inset
15722 </cell>
15723 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15724 \begin_inset Text
15725
15726 \begin_layout Standard
15727 1024
15728 \begin_inset ERT
15729 status collapsed
15730
15731 \begin_layout Standard
15732
15733
15734 \backslash
15735 times 
15736 \end_layout
15737
15738 \end_inset
15739
15740 768~
15741 \begin_inset Formula $\mbox{Pixels}$
15742 \end_inset
15743
15744
15745 \end_layout
15746
15747 \end_inset
15748 </cell>
15749 </row>
15750 <row>
15751 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15752 \begin_inset Text
15753
15754 \begin_layout Standard
15755 32x6\InsetSpace \thinspace{}
15756 cm
15757 \end_layout
15758
15759 \end_inset
15760 </cell>
15761 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15762 \begin_inset Text
15763
15764 \begin_layout Standard
15765 32x6\InsetSpace \thinspace{}
15766
15767 \begin_inset Formula $\mbox{cm}$
15768 \end_inset
15769
15770
15771 \end_layout
15772
15773 \end_inset
15774 </cell>
15775 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15776 \begin_inset Text
15777
15778 \begin_layout Standard
15779 32
15780 \begin_inset ERT
15781 status collapsed
15782
15783 \begin_layout Standard
15784
15785
15786 \backslash
15787 times 
15788 \end_layout
15789
15790 \end_inset
15791
15792 6~
15793 \begin_inset Formula $\mbox{cm}$
15794 \end_inset
15795
15796
15797 \end_layout
15798
15799 \end_inset
15800 </cell>
15801 </row>
15802 </lyxtabular>
15803
15804 \end_inset
15805
15806
15807 \end_layout
15808
15809 \end_inset
15810
15811
15812 \end_layout
15813
15814 \begin_layout Subsection
15815 Customized Cell/Column Format
15816 \begin_inset LatexCommand label
15817 name "sub:Customized-Format"
15818
15819 \end_inset
15820
15821
15822 \begin_inset LatexCommand index
15823 name "Table Customization ! Cell/Column Format"
15824
15825 \end_inset
15826
15827
15828 \end_layout
15829
15830 \begin_layout Standard
15831 Calculating the needed width for spanned columns like in section\InsetSpace ~
15832
15833 \begin_inset LatexCommand ref
15834 reference "sub:Multicolumn-Calculations"
15835
15836 \end_inset
15837
15838  is very annoying if you have several tables with multicolumn cells.
15839  To make life easier, you can define a cell/column format in the preamble,
15840  so that it can be used in all tables of the document.
15841  The format is defined with the command
15842 \end_layout
15843
15844 \begin_layout Standard
15845
15846 \series bold
15847
15848 \backslash
15849 newcolumntype{name of format}[number of arguments]{commands}
15850 \end_layout
15851
15852 \begin_layout Standard
15853 The format name may only consist of one letter.
15854  The letters 
15855 \emph on
15856 b
15857 \emph default
15858
15859 \emph on
15860 c
15861 \emph default
15862
15863 \emph on
15864 l
15865 \emph default
15866
15867 \emph on
15868 m
15869 \emph default
15870
15871 \emph on
15872 p
15873 \emph default
15874  and 
15875 \emph on
15876 r
15877 \emph default
15878  are predefined and cannot be used.
15879  But all letters are allowed as capitals.
15880 \end_layout
15881
15882 \begin_layout Standard
15883 \begin_inset VSpace medskip
15884 \end_inset
15885
15886
15887 \end_layout
15888
15889 \begin_layout Standard
15890 For vertically and horizontally centered multicolumn cells with a fixed
15891  width you can define the cell format
15892 \end_layout
15893
15894 \begin_layout Standard
15895
15896 \series bold
15897
15898 \backslash
15899 newcolumntype{M}[1]{>{
15900 \backslash
15901 centering
15902 \backslash
15903 hspace{0pt}}m{#1}}
15904 \end_layout
15905
15906 \begin_layout Standard
15907 where 
15908 \series bold
15909
15910 \backslash
15911 hspace{0pt}
15912 \series default
15913  avoids the problem of hyphenating the first word, as described in section\InsetSpace ~
15914
15915 \begin_inset LatexCommand ref
15916 reference "sub:Multiple-Lines-in"
15917
15918 \end_inset
15919
15920 .
15921  Now you can simply enter
15922 \end_layout
15923
15924 \begin_layout Standard
15925
15926 \series bold
15927 M{width}
15928 \end_layout
15929
15930 \begin_layout Standard
15931 as LaTeX-argument in the table dialog to create a multicolumn.
15932 \end_layout
15933
15934 \begin_layout Standard
15935 \begin_inset VSpace bigskip
15936 \end_inset
15937
15938
15939 \end_layout
15940
15941 \begin_layout Standard
15942 For cells spanned by a multicolumn cell, you can define the format
15943 \end_layout
15944
15945 \begin_layout Standard
15946
15947 \series bold
15948
15949 \backslash
15950 newcolumntype{S}[2]{>{
15951 \backslash
15952 centering
15953 \backslash
15954 hspace{0pt}}
15955 \newline
15956
15957 \begin_inset ERT
15958 status collapsed
15959
15960 \begin_layout Standard
15961
15962
15963 \backslash
15964 phantom{
15965 \end_layout
15966
15967 \end_inset
15968
15969
15970 \backslash
15971 newcolumntype{S}[2]
15972 \begin_inset ERT
15973 status collapsed
15974
15975 \begin_layout Standard
15976
15977 }
15978 \end_layout
15979
15980 \end_inset
15981
15982 m{(#1+(2
15983 \backslash
15984 tabcolsep+
15985 \backslash
15986 arrayrulewidth)*(1-#2))/#2}}
15987 \end_layout
15988
15989 \begin_layout Standard
15990 This format uses equation 
15991 \begin_inset LatexCommand eqref
15992 reference "eq:Wgn"
15993
15994 \end_inset
15995
15996  to calculate the needed width so that each spanned cell has the same width.
15997 \end_layout
15998
15999 \begin_layout Standard
16000 You can now enter
16001 \end_layout
16002
16003 \begin_layout Standard
16004
16005 \series bold
16006 S{width of multicolumn cell}{number of spanned columns}
16007 \end_layout
16008
16009 \begin_layout Standard
16010 as LaTeX-argument of the column.
16011 \end_layout
16012
16013 \begin_layout Standard
16014 \begin_inset VSpace bigskip
16015 \end_inset
16016
16017
16018 \end_layout
16019
16020 \begin_layout Standard
16021 For colored columns, you can define
16022 \end_layout
16023
16024 \begin_layout Standard
16025
16026 \series bold
16027
16028 \backslash
16029 newcolumntype{K}[1]{>{
16030 \backslash
16031 columncolor{#1}
16032 \backslash
16033 hspace{0pt}}c}
16034 \end_layout
16035
16036 \begin_layout Standard
16037 The 
16038 \begin_inset Quotes eld
16039 \end_inset
16040
16041 c
16042 \begin_inset Quotes erd
16043 \end_inset
16044
16045  at the end creates a column with a flexible width whose text is horizontally
16046  centered.
16047  You can now enter
16048 \end_layout
16049
16050 \begin_layout Standard
16051
16052 \series bold
16053 K{color name}
16054 \end_layout
16055
16056 \begin_layout Standard
16057 as LaTeX-argument.
16058 \end_layout
16059
16060 \begin_layout Standard
16061 \begin_inset VSpace bigskip
16062 \end_inset
16063
16064
16065 \end_layout
16066
16067 \begin_layout Standard
16068 To create Table\InsetSpace ~
16069
16070 \begin_inset LatexCommand ref
16071 reference "tab:Table-using-user-defined"
16072
16073 \end_inset
16074
16075  use the LaTeX-arguments
16076 \end_layout
16077
16078 \begin_layout Standard
16079
16080 \series bold
16081 M{2.5cm}
16082 \end_layout
16083
16084 \begin_layout Standard
16085 for the first column and the multicolumn,
16086 \end_layout
16087
16088 \begin_layout Standard
16089
16090 \series bold
16091 K{red}
16092 \end_layout
16093
16094 \begin_layout Standard
16095 for the the last column, and
16096 \end_layout
16097
16098 \begin_layout Standard
16099
16100 \series bold
16101 S{2.5cm}{2}
16102 \end_layout
16103
16104 \begin_layout Standard
16105 for the cells in the second column.
16106 \end_layout
16107
16108 \begin_layout Standard
16109 \begin_inset Float table
16110 placement h
16111 wide false
16112 sideways false
16113 status open
16114
16115 \begin_layout Standard
16116 \begin_inset Caption
16117
16118 \begin_layout Standard
16119 \begin_inset LatexCommand label
16120 name "tab:Table-using-user-defined"
16121
16122 \end_inset
16123
16124 Table using user-defined table formats
16125 \end_layout
16126
16127 \end_inset
16128
16129
16130 \end_layout
16131
16132 \begin_layout Standard
16133 \align center
16134 \begin_inset Tabular
16135 <lyxtabular version="3" rows="3" columns="4">
16136 <features>
16137 <column alignment="center" valignment="middle" leftline="true" width="2.5cm" special="M{2.5cm}">
16138 <column alignment="center" valignment="middle" leftline="true" width="0" special="S{2.5cm}{2}">
16139 <column alignment="center" valignment="middle" leftline="true" width="0">
16140 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0" special="K{red}">
16141 <row topline="true">
16142 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16143 \begin_inset Text
16144
16145 \begin_layout Standard
16146 verylongtablecellword
16147 \end_layout
16148
16149 \end_inset
16150 </cell>
16151 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none" special="M{2.5cm}">
16152 \begin_inset Text
16153
16154 \begin_layout Standard
16155 multiple lines multicolumn
16156 \end_layout
16157
16158 \end_inset
16159 </cell>
16160 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16161 \begin_inset Text
16162
16163 \begin_layout Standard
16164
16165 \end_layout
16166
16167 \end_inset
16168 </cell>
16169 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16170 \begin_inset Text
16171
16172 \begin_layout Standard
16173 c
16174 \end_layout
16175
16176 \end_inset
16177 </cell>
16178 </row>
16179 <row topline="true">
16180 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16181 \begin_inset Text
16182
16183 \begin_layout Standard
16184 d
16185 \end_layout
16186
16187 \end_inset
16188 </cell>
16189 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16190 \begin_inset Text
16191
16192 \begin_layout Standard
16193 e
16194 \end_layout
16195
16196 \end_inset
16197 </cell>
16198 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16199 \begin_inset Text
16200
16201 \begin_layout Standard
16202 f
16203 \end_layout
16204
16205 \end_inset
16206 </cell>
16207 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16208 \begin_inset Text
16209
16210 \begin_layout Standard
16211 g
16212 \end_layout
16213
16214 \end_inset
16215 </cell>
16216 </row>
16217 <row topline="true" bottomline="true">
16218 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16219 \begin_inset Text
16220
16221 \begin_layout Standard
16222 h
16223 \end_layout
16224
16225 \end_inset
16226 </cell>
16227 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16228 \begin_inset Text
16229
16230 \begin_layout Standard
16231 i
16232 \end_layout
16233
16234 \end_inset
16235 </cell>
16236 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16237 \begin_inset Text
16238
16239 \begin_layout Standard
16240 j
16241 \end_layout
16242
16243 \end_inset
16244 </cell>
16245 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16246 \begin_inset Text
16247
16248 \begin_layout Standard
16249 k
16250 \end_layout
16251
16252 \end_inset
16253 </cell>
16254 </row>
16255 </lyxtabular>
16256
16257 \end_inset
16258
16259
16260 \end_layout
16261
16262 \end_inset
16263
16264
16265 \end_layout
16266
16267 \begin_layout Subsection
16268 Line Thickness
16269 \begin_inset LatexCommand label
16270 name "sub:Line-Thickness"
16271
16272 \end_inset
16273
16274
16275 \begin_inset LatexCommand index
16276 name "Table Customization ! Line Thickness"
16277
16278 \end_inset
16279
16280
16281 \end_layout
16282
16283 \begin_layout Standard
16284 The line thickness for all lines in a table can be adjusted with the length
16285  
16286 \series bold
16287
16288 \backslash
16289 arrayrulewidth
16290 \series default
16291 .
16292  To set for example a line thickness of 1.5\InsetSpace \thinspace{}
16293 pt, like in Table\InsetSpace ~
16294
16295 \begin_inset LatexCommand ref
16296 reference "tab:Table-with-1.5"
16297
16298 \end_inset
16299
16300 , insert the command
16301 \end_layout
16302
16303 \begin_layout Standard
16304
16305 \series bold
16306
16307 \backslash
16308 setlength{
16309 \backslash
16310 arrayrulewidth}{1.5pt}
16311 \end_layout
16312
16313 \begin_layout Standard
16314 in ERT before the table or table float.
16315  The changed thickness is valid for all following tables.
16316  To use the default value again, set 
16317 \series bold
16318
16319 \backslash
16320 arrayrulewidth
16321 \series default
16322  to 0.4\InsetSpace \thinspace{}
16323 pt in ERT behind the table or table float.
16324 \end_layout
16325
16326 \begin_layout Standard
16327 \begin_inset ERT
16328 status collapsed
16329
16330 \begin_layout Standard
16331
16332
16333 \backslash
16334 setlength{
16335 \backslash
16336 arrayrulewidth}{1.5pt}
16337 \end_layout
16338
16339 \end_inset
16340
16341
16342 \begin_inset Float table
16343 wide false
16344 sideways false
16345 status open
16346
16347 \begin_layout Standard
16348 \begin_inset Caption
16349
16350 \begin_layout Standard
16351 \begin_inset LatexCommand label
16352 name "tab:Table-with-1.5"
16353
16354 \end_inset
16355
16356 Table with 1.5\InsetSpace \thinspace{}
16357 pt thick lines
16358 \end_layout
16359
16360 \end_inset
16361
16362
16363 \end_layout
16364
16365 \begin_layout Standard
16366 \align center
16367 \begin_inset Tabular
16368 <lyxtabular version="3" rows="3" columns="3">
16369 <features>
16370 <column alignment="center" valignment="top" leftline="true" width="0">
16371 <column alignment="center" valignment="top" leftline="true" width="0">
16372 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16373 <row topline="true">
16374 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16375 \begin_inset Text
16376
16377 \begin_layout Standard
16378 sd
16379 \end_layout
16380
16381 \end_inset
16382 </cell>
16383 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16384 \begin_inset Text
16385
16386 \begin_layout Standard
16387
16388 \end_layout
16389
16390 \end_inset
16391 </cell>
16392 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16393 \begin_inset Text
16394
16395 \begin_layout Standard
16396
16397 \end_layout
16398
16399 \end_inset
16400 </cell>
16401 </row>
16402 <row topline="true">
16403 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16404 \begin_inset Text
16405
16406 \begin_layout Standard
16407
16408 \end_layout
16409
16410 \end_inset
16411 </cell>
16412 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16413 \begin_inset Text
16414
16415 \begin_layout Standard
16416 sd
16417 \end_layout
16418
16419 \end_inset
16420 </cell>
16421 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16422 \begin_inset Text
16423
16424 \begin_layout Standard
16425
16426 \end_layout
16427
16428 \end_inset
16429 </cell>
16430 </row>
16431 <row topline="true" bottomline="true">
16432 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16433 \begin_inset Text
16434
16435 \begin_layout Standard
16436
16437 \end_layout
16438
16439 \end_inset
16440 </cell>
16441 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16442 \begin_inset Text
16443
16444 \begin_layout Standard
16445
16446 \end_layout
16447
16448 \end_inset
16449 </cell>
16450 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16451 \begin_inset Text
16452
16453 \begin_layout Standard
16454 sd
16455 \end_layout
16456
16457 \end_inset
16458 </cell>
16459 </row>
16460 </lyxtabular>
16461
16462 \end_inset
16463
16464
16465 \end_layout
16466
16467 \end_inset
16468
16469
16470 \begin_inset ERT
16471 status collapsed
16472
16473 \begin_layout Standard
16474
16475
16476 \backslash
16477 setlength{
16478 \backslash
16479 arrayrulewidth}{0.4pt}
16480 \end_layout
16481
16482 \end_inset
16483
16484
16485 \end_layout
16486
16487 \begin_layout Standard
16488 \begin_inset VSpace bigskip
16489 \end_inset
16490
16491 To set the line thickness to 1.5\InsetSpace \thinspace{}
16492 pt only for horizontal lines, like in Table\InsetSpace ~
16493
16494 \begin_inset LatexCommand ref
16495 reference "tab:Table-with-horizontal"
16496
16497 \end_inset
16498
16499 , insert these commands in ERT before the table or table float:
16500 \end_layout
16501
16502 \begin_layout Standard
16503
16504 \series bold
16505
16506 \backslash
16507 let
16508 \backslash
16509 myHline
16510 \backslash
16511 hline
16512 \newline
16513
16514 \backslash
16515 renewcommand{
16516 \backslash
16517 hline}
16518 \newline
16519  {
16520 \backslash
16521 noalign{
16522 \backslash
16523 global
16524 \backslash
16525 arrayrulewidth 1.5pt}
16526 \newline
16527  
16528 \backslash
16529 myHline
16530 \backslash
16531 noalign{
16532 \backslash
16533 global
16534 \backslash
16535 arrayrulewidth 0.4pt}}
16536 \end_layout
16537
16538 \begin_layout Standard
16539 To return to the default line thickness, insert this command in ERT behind
16540  the table or table float:
16541 \end_layout
16542
16543 \begin_layout Standard
16544
16545 \series bold
16546
16547 \backslash
16548 renewcommand{
16549 \backslash
16550 hline}{
16551 \backslash
16552 myHline}
16553 \end_layout
16554
16555 \begin_layout Standard
16556 \begin_inset ERT
16557 status collapsed
16558
16559 \begin_layout Standard
16560
16561
16562 \backslash
16563 let
16564 \backslash
16565 myHline
16566 \backslash
16567 hline
16568 \end_layout
16569
16570 \begin_layout Standard
16571
16572
16573 \backslash
16574 renewcommand{
16575 \backslash
16576 hline}
16577 \end_layout
16578
16579 \begin_layout Standard
16580
16581  {
16582 \backslash
16583 noalign{
16584 \backslash
16585 global
16586 \backslash
16587 arrayrulewidth 1.5pt}
16588 \end_layout
16589
16590 \begin_layout Standard
16591
16592   
16593 \backslash
16594 myHline
16595 \backslash
16596 noalign{
16597 \backslash
16598 global
16599 \backslash
16600 arrayrulewidth 0.4pt}}
16601 \end_layout
16602
16603 \end_inset
16604
16605
16606 \begin_inset Float table
16607 wide false
16608 sideways false
16609 status open
16610
16611 \begin_layout Standard
16612 \begin_inset Caption
16613
16614 \begin_layout Standard
16615 \begin_inset LatexCommand label
16616 name "tab:Table-with-horizontal"
16617
16618 \end_inset
16619
16620 Table with 1.5\InsetSpace \thinspace{}
16621 pt thick horizontal lines
16622 \end_layout
16623
16624 \end_inset
16625
16626
16627 \end_layout
16628
16629 \begin_layout Standard
16630 \align center
16631 \begin_inset Tabular
16632 <lyxtabular version="3" rows="3" columns="3">
16633 <features>
16634 <column alignment="center" valignment="top" leftline="true" width="0">
16635 <column alignment="center" valignment="top" leftline="true" width="0">
16636 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16637 <row topline="true">
16638 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16639 \begin_inset Text
16640
16641 \begin_layout Standard
16642 sd
16643 \end_layout
16644
16645 \end_inset
16646 </cell>
16647 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16648 \begin_inset Text
16649
16650 \begin_layout Standard
16651
16652 \end_layout
16653
16654 \end_inset
16655 </cell>
16656 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16657 \begin_inset Text
16658
16659 \begin_layout Standard
16660
16661 \end_layout
16662
16663 \end_inset
16664 </cell>
16665 </row>
16666 <row topline="true">
16667 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16668 \begin_inset Text
16669
16670 \begin_layout Standard
16671
16672 \end_layout
16673
16674 \end_inset
16675 </cell>
16676 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16677 \begin_inset Text
16678
16679 \begin_layout Standard
16680 sd
16681 \end_layout
16682
16683 \end_inset
16684 </cell>
16685 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16686 \begin_inset Text
16687
16688 \begin_layout Standard
16689
16690 \end_layout
16691
16692 \end_inset
16693 </cell>
16694 </row>
16695 <row topline="true" bottomline="true">
16696 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16697 \begin_inset Text
16698
16699 \begin_layout Standard
16700
16701 \end_layout
16702
16703 \end_inset
16704 </cell>
16705 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16706 \begin_inset Text
16707
16708 \begin_layout Standard
16709
16710 \end_layout
16711
16712 \end_inset
16713 </cell>
16714 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16715 \begin_inset Text
16716
16717 \begin_layout Standard
16718 sd
16719 \end_layout
16720
16721 \end_inset
16722 </cell>
16723 </row>
16724 </lyxtabular>
16725
16726 \end_inset
16727
16728
16729 \end_layout
16730
16731 \end_inset
16732
16733
16734 \begin_inset ERT
16735 status collapsed
16736
16737 \begin_layout Standard
16738
16739
16740 \backslash
16741 renewcommand{
16742 \backslash
16743 hline}{
16744 \backslash
16745 myHline}
16746 \end_layout
16747
16748 \end_inset
16749
16750
16751 \end_layout
16752
16753 \begin_layout Standard
16754 \begin_inset VSpace bigskip
16755 \end_inset
16756
16757 To set the line thickness to 1.5\InsetSpace \thinspace{}
16758 pt only for vertical lines, create the following
16759  column format in the document preamble, according to the description in
16760  section\InsetSpace ~
16761
16762 \begin_inset LatexCommand ref
16763 reference "sub:Customized-Format"
16764
16765 \end_inset
16766
16767 :
16768 \end_layout
16769
16770 \begin_layout Standard
16771
16772 \series bold
16773
16774 \backslash
16775 newcolumntype{V}{!{
16776 \backslash
16777 vrule width 1.5pt}}
16778 \end_layout
16779
16780 \begin_layout Standard
16781 For Table\InsetSpace ~
16782
16783 \begin_inset LatexCommand ref
16784 reference "tab:Table-with-vertical"
16785
16786 \end_inset
16787
16788  the LaTeX-argument
16789 \end_layout
16790
16791 \begin_layout Standard
16792
16793 \series bold
16794 VcV
16795 \end_layout
16796
16797 \begin_layout Standard
16798 was used for the last column and
16799 \end_layout
16800
16801 \begin_layout Standard
16802
16803 \series bold
16804 Vc
16805 \end_layout
16806
16807 \begin_layout Standard
16808 for the other columns.
16809 \end_layout
16810
16811 \begin_layout Standard
16812 \begin_inset Float table
16813 wide false
16814 sideways false
16815 status open
16816
16817 \begin_layout Standard
16818 \begin_inset Caption
16819
16820 \begin_layout Standard
16821 \begin_inset LatexCommand label
16822 name "tab:Table-with-vertical"
16823
16824 \end_inset
16825
16826 Table with 1.5\InsetSpace \thinspace{}
16827 pt thick vertical lines
16828 \end_layout
16829
16830 \end_inset
16831
16832
16833 \end_layout
16834
16835 \begin_layout Standard
16836 \align center
16837 \begin_inset Tabular
16838 <lyxtabular version="3" rows="3" columns="3">
16839 <features>
16840 <column alignment="center" valignment="top" width="0" special="Vc">
16841 <column alignment="center" valignment="top" width="0" special="Vc">
16842 <column alignment="center" valignment="top" width="0" special="VcV">
16843 <row topline="true">
16844 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16845 \begin_inset Text
16846
16847 \begin_layout Standard
16848 sd
16849 \end_layout
16850
16851 \end_inset
16852 </cell>
16853 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16854 \begin_inset Text
16855
16856 \begin_layout Standard
16857
16858 \end_layout
16859
16860 \end_inset
16861 </cell>
16862 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16863 \begin_inset Text
16864
16865 \begin_layout Standard
16866
16867 \end_layout
16868
16869 \end_inset
16870 </cell>
16871 </row>
16872 <row topline="true">
16873 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16874 \begin_inset Text
16875
16876 \begin_layout Standard
16877
16878 \end_layout
16879
16880 \end_inset
16881 </cell>
16882 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16883 \begin_inset Text
16884
16885 \begin_layout Standard
16886 sd
16887 \end_layout
16888
16889 \end_inset
16890 </cell>
16891 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16892 \begin_inset Text
16893
16894 \begin_layout Standard
16895
16896 \end_layout
16897
16898 \end_inset
16899 </cell>
16900 </row>
16901 <row topline="true" bottomline="true">
16902 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16903 \begin_inset Text
16904
16905 \begin_layout Standard
16906
16907 \end_layout
16908
16909 \end_inset
16910 </cell>
16911 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16912 \begin_inset Text
16913
16914 \begin_layout Standard
16915
16916 \end_layout
16917
16918 \end_inset
16919 </cell>
16920 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16921 \begin_inset Text
16922
16923 \begin_layout Standard
16924 sd
16925 \end_layout
16926
16927 \end_inset
16928 </cell>
16929 </row>
16930 </lyxtabular>
16931
16932 \end_inset
16933
16934
16935 \end_layout
16936
16937 \end_inset
16938
16939
16940 \end_layout
16941
16942 \begin_layout Subsection
16943 Dashed Lines
16944 \begin_inset LatexCommand index
16945 name "Table Customization ! Dashed Lines"
16946
16947 \end_inset
16948
16949
16950 \end_layout
16951
16952 \begin_layout Standard
16953 \begin_inset ERT
16954 status collapsed
16955
16956 \begin_layout Standard
16957
16958
16959 \backslash
16960 ifarydshln
16961 \end_layout
16962
16963 \end_inset
16964
16965
16966 \begin_inset Note Note
16967 status open
16968
16969 \begin_layout Standard
16970 The following section will only be displayed when you have the LaTeX-package
16971  
16972 \series bold
16973 arydshln
16974 \series default
16975  is installed.
16976 \end_layout
16977
16978 \end_inset
16979
16980
16981 \end_layout
16982
16983 \begin_layout Standard
16984 \begin_inset Float table
16985 placement H
16986 wide false
16987 sideways false
16988 status open
16989
16990 \begin_layout Standard
16991 \begin_inset Caption
16992
16993 \begin_layout Standard
16994 \begin_inset LatexCommand label
16995 name "tab:Table-with-dashed"
16996
16997 \end_inset
16998
16999 Table with dashed lines
17000 \end_layout
17001
17002 \end_inset
17003
17004
17005 \end_layout
17006
17007 \begin_layout Standard
17008 \align center
17009 \begin_inset Tabular
17010 <lyxtabular version="3" rows="5" columns="5">
17011 <features>
17012 <column alignment="center" valignment="top" leftline="true" width="0">
17013 <column alignment="center" valignment="top" leftline="true" width="0">
17014 <column alignment="center" valignment="top" width="0" special=":c">
17015 <column alignment="center" valignment="top" leftline="true" width="0">
17016 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
17017 <row topline="true" bottomline="true">
17018 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17019 \begin_inset Text
17020
17021 \begin_layout Standard
17022 a
17023 \end_layout
17024
17025 \end_inset
17026 </cell>
17027 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17028 \begin_inset Text
17029
17030 \begin_layout Standard
17031 b
17032 \end_layout
17033
17034 \end_inset
17035 </cell>
17036 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17037 \begin_inset Text
17038
17039 \begin_layout Standard
17040 c
17041 \end_layout
17042
17043 \end_inset
17044 </cell>
17045 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17046 \begin_inset Text
17047
17048 \begin_layout Standard
17049 d
17050 \end_layout
17051
17052 \end_inset
17053 </cell>
17054 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17055 \begin_inset Text
17056
17057 \begin_layout Standard
17058 e
17059 \end_layout
17060
17061 \end_inset
17062 </cell>
17063 </row>
17064 <row topline="true">
17065 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17066 \begin_inset Text
17067
17068 \begin_layout Standard
17069 f
17070 \end_layout
17071
17072 \end_inset
17073 </cell>
17074 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17075 \begin_inset Text
17076
17077 \begin_layout Standard
17078 g
17079 \end_layout
17080
17081 \end_inset
17082 </cell>
17083 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17084 \begin_inset Text
17085
17086 \begin_layout Standard
17087 h
17088 \end_layout
17089
17090 \end_inset
17091 </cell>
17092 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17093 \begin_inset Text
17094
17095 \begin_layout Standard
17096 i
17097 \end_layout
17098
17099 \end_inset
17100 </cell>
17101 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17102 \begin_inset Text
17103
17104 \begin_layout Standard
17105 j
17106 \end_layout
17107
17108 \end_inset
17109 </cell>
17110 </row>
17111 <row>
17112 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17113 \begin_inset Text
17114
17115 \begin_layout Standard
17116 \begin_inset ERT
17117 status collapsed
17118
17119 \begin_layout Standard
17120
17121
17122 \backslash
17123 hdashline 
17124 \end_layout
17125
17126 \end_inset
17127
17128 k
17129 \end_layout
17130
17131 \end_inset
17132 </cell>
17133 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17134 \begin_inset Text
17135
17136 \begin_layout Standard
17137 l
17138 \end_layout
17139
17140 \end_inset
17141 </cell>
17142 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17143 \begin_inset Text
17144
17145 \begin_layout Standard
17146 m
17147 \end_layout
17148
17149 \end_inset
17150 </cell>
17151 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17152 \begin_inset Text
17153
17154 \begin_layout Standard
17155 n
17156 \end_layout
17157
17158 \end_inset
17159 </cell>
17160 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17161 \begin_inset Text
17162
17163 \begin_layout Standard
17164 o
17165 \end_layout
17166
17167 \end_inset
17168 </cell>
17169 </row>
17170 <row topline="true">
17171 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17172 \begin_inset Text
17173
17174 \begin_layout Standard
17175 \begin_inset ERT
17176 status collapsed
17177
17178 \begin_layout Standard
17179
17180
17181 \backslash
17182 cdashline{4-5}
17183 \end_layout
17184
17185 \end_inset
17186
17187 p
17188 \end_layout
17189
17190 \end_inset
17191 </cell>
17192 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17193 \begin_inset Text
17194
17195 \begin_layout Standard
17196 q
17197 \end_layout
17198
17199 \end_inset
17200 </cell>
17201 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="c:">
17202 \begin_inset Text
17203
17204 \begin_layout Standard
17205 r
17206 \end_layout
17207
17208 \end_inset
17209 </cell>
17210 <cell multicolumn="1" alignment="center" valignment="top" rightline="true" usebox="none" special="c:">
17211 \begin_inset Text
17212
17213 \begin_layout Standard
17214 s
17215 \end_layout
17216
17217 \end_inset
17218 </cell>
17219 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17220 \begin_inset Text
17221
17222 \begin_layout Standard
17223
17224 \end_layout
17225
17226 \end_inset
17227 </cell>
17228 </row>
17229 <row topline="true" bottomline="true">
17230 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17231 \begin_inset Text
17232
17233 \begin_layout Standard
17234 t
17235 \end_layout
17236
17237 \end_inset
17238 </cell>
17239 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17240 \begin_inset Text
17241
17242 \begin_layout Standard
17243 u
17244 \end_layout
17245
17246 \end_inset
17247 </cell>
17248 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17249 \begin_inset Text
17250
17251 \begin_layout Standard
17252 v
17253 \end_layout
17254
17255 \end_inset
17256 </cell>
17257 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17258 \begin_inset Text
17259
17260 \begin_layout Standard
17261 w
17262 \end_layout
17263
17264 \end_inset
17265 </cell>
17266 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17267 \begin_inset Text
17268
17269 \begin_layout Standard
17270 x
17271 \end_layout
17272
17273 \end_inset
17274 </cell>
17275 </row>
17276 </lyxtabular>
17277
17278 \end_inset
17279
17280
17281 \end_layout
17282
17283 \end_inset
17284
17285
17286 \end_layout
17287
17288 \begin_layout Standard
17289 LyX doesn't natively support dashed lines, so you have to use ERT.
17290  As prerequisite the LaTeX-package 
17291 \series bold
17292 arydshln
17293 \series default
17294
17295 \begin_inset LatexCommand index
17296 name "LaTeX-packages ! arydshln"
17297
17298 \end_inset
17299
17300  must be loaded in the document preamble with the command
17301 \end_layout
17302
17303 \begin_layout Standard
17304
17305 \series bold
17306
17307 \backslash
17308 usepackage{arydshln}
17309 \end_layout
17310
17311 \begin_layout Standard
17312 To make a vertical line dashed, enter the colon 
17313 \begin_inset Quotes eld
17314 \end_inset
17315
17316 :
17317 \begin_inset Quotes erd
17318 \end_inset
17319
17320  together with the character for the horizontal alignment as LaTeX-argument
17321  in the table cell dialog.
17322 \end_layout
17323
17324 \begin_layout Standard
17325 For a horizontal dashed line add the command
17326 \end_layout
17327
17328 \begin_layout Standard
17329
17330 \series bold
17331
17332 \backslash
17333 hdashline
17334 \end_layout
17335
17336 \begin_layout Standard
17337 in ERT as first element of the first cell in the table row.
17338 \end_layout
17339
17340 \begin_layout Standard
17341 For dashed multicolumn lines use the command
17342 \end_layout
17343
17344 \begin_layout Standard
17345
17346 \series bold
17347
17348 \backslash
17349 cdashline{line number
17350 \series default
17351 }
17352 \end_layout
17353
17354 \begin_layout Standard
17355 in ERT as first element of the first cell in the table row.
17356  If you have for example a multicolumn spanning over columns 2 to 4 and
17357  you want to have a dashed line above, add the command
17358 \end_layout
17359
17360 \begin_layout Standard
17361
17362 \series bold
17363
17364 \backslash
17365 cdashline{2-4}
17366 \end_layout
17367
17368 \begin_layout Standard
17369 as first element of the first cell in the row of the multicolumn.
17370 \end_layout
17371
17372 \begin_layout Standard
17373 \begin_inset VSpace bigskip
17374 \end_inset
17375
17376
17377 \end_layout
17378
17379 \begin_layout Standard
17380 Table\InsetSpace ~
17381
17382 \begin_inset LatexCommand ref
17383 reference "tab:Table-with-dashed"
17384
17385 \end_inset
17386
17387  was created using 
17388 \begin_inset Quotes eld
17389 \end_inset
17390
17391
17392 \series bold
17393 :c
17394 \series default
17395
17396 \begin_inset Quotes erd
17397 \end_inset
17398
17399  as LaTeX-argument of the third column.
17400  The ERT command 
17401 \series bold
17402
17403 \backslash
17404 hdashline
17405 \series default
17406  was inserted to the first cell of the third row and the the ERT command
17407 \newline
17408
17409  
17410 \series bold
17411
17412 \backslash
17413 cdashline{4-5}
17414 \series default
17415  was inserted to the first cell of the fourth row.
17416 \end_layout
17417
17418 \begin_layout Standard
17419 \begin_inset Note Greyedout
17420 status open
17421
17422 \begin_layout Standard
17423
17424 \series bold
17425 Note:
17426 \series default
17427  The used LaTeX-package 
17428 \series bold
17429 arydshln
17430 \series default
17431  is apparently not compatible with the LaTeX-package 
17432 \series bold
17433 colortbl
17434 \series default
17435
17436 \begin_inset LatexCommand index
17437 name "LaTeX-packages ! colortbl"
17438
17439 \end_inset
17440
17441  that is used for colored tables in section\InsetSpace ~
17442
17443 \begin_inset LatexCommand ref
17444 reference "sec:Colored-Tables"
17445
17446 \end_inset
17447
17448 .
17449  That means colored tables cannot have dashed lines.
17450 \end_layout
17451
17452 \end_inset
17453
17454
17455 \end_layout
17456
17457 \begin_layout Standard
17458 \begin_inset ERT
17459 status collapsed
17460
17461 \begin_layout Standard
17462
17463
17464 \backslash
17465 else
17466 \end_layout
17467
17468 \end_inset
17469
17470
17471 \begin_inset Note Note
17472 status open
17473
17474 \begin_layout Standard
17475 The following will be displayed when the LaTeX-package 
17476 \series bold
17477 arydshln
17478 \series default
17479  is not installed:
17480 \end_layout
17481
17482 \end_inset
17483
17484
17485 \end_layout
17486
17487 \begin_layout Standard
17488 You need to install the package 
17489 \series bold
17490 arydshln
17491 \series default
17492  to see the contents of this section in the output.
17493 \end_layout
17494
17495 \begin_layout Standard
17496 \begin_inset ERT
17497 status collapsed
17498
17499 \begin_layout Standard
17500
17501
17502 \backslash
17503 fi
17504 \end_layout
17505
17506 \end_inset
17507
17508
17509 \end_layout
17510
17511 \begin_layout Chapter
17512 Floats
17513 \begin_inset LatexCommand index
17514 name "Floats"
17515
17516 \end_inset
17517
17518
17519 \begin_inset LatexCommand label
17520 name "cha:Floats"
17521
17522 \end_inset
17523
17524
17525 \end_layout
17526
17527 \begin_layout Section
17528 Introduction
17529 \begin_inset LatexCommand label
17530 name "sec:FloatIntroduction"
17531
17532 \end_inset
17533
17534
17535 \begin_inset LatexCommand index
17536 name "Floats ! Introduction"
17537
17538 \end_inset
17539
17540
17541 \end_layout
17542
17543 \begin_layout Standard
17544 A float is a block of text associated with some sort of label, which doesn't
17545  have a fixed location.
17546  It can 
17547 \begin_inset Quotes eld
17548 \end_inset
17549
17550 float
17551 \begin_inset Quotes erd
17552 \end_inset
17553
17554  forward or backward a page or two, to wherever it fits best.
17555  
17556 \family sans
17557 Footnotes
17558 \family default
17559  and 
17560 \family sans
17561 Margin\InsetSpace ~
17562 Notes
17563 \family default
17564  are also floats, because they can float to the next page when there are
17565  too many notes at the page.
17566 \end_layout
17567
17568 \begin_layout Standard
17569 Floats allow a high quality layout.
17570  Images and tables can evenly be spread to the pages to avoid white space
17571  and pages without text.
17572  As the floating often destroys the context between the text and the image/table
17573 , every float can be referenced in the text.
17574  Floats are therefore numbered.
17575  Referencing is described in section\InsetSpace ~
17576
17577 \begin_inset LatexCommand ref
17578 reference "sec:Referencing-Floats"
17579
17580 \end_inset
17581
17582 .
17583 \end_layout
17584
17585 \begin_layout Standard
17586 To insert a float, use the menu 
17587 \family sans
17588 Insert\SpecialChar \menuseparator
17589 Float
17590 \family default
17591 .
17592  This inserts the 
17593 \family sans
17594 Caption
17595 \family default
17596  inset, a box with a label.
17597  The label will automatically be translated to the document language in
17598  the output.
17599  Behind the label you can insert the caption text.
17600  The image or table is inserted above or below the caption in a separate
17601  paragraph within the float.
17602  More about the caption placement is described in section\InsetSpace ~
17603
17604 \begin_inset LatexCommand ref
17605 reference "sec:Caption-Placement"
17606
17607 \end_inset
17608
17609 .
17610  To keep your LyX-document readable, you can open and close the float box
17611  by left-clicking on the box label.
17612  A closed float box looks like this: 
17613 \begin_inset Graphics
17614         filename clipart/floatQt4.png
17615         scale 70
17616         scaleBeforeRotation
17617
17618 \end_inset
17619
17620  -- a gray button with a red label.
17621 \end_layout
17622
17623 \begin_layout Standard
17624 It is recommended to insert floats as a separate paragraph to avoid possible
17625  LaTeX-errors that can occur when the surrounding text is specially formatted.
17626 \end_layout
17627
17628 \begin_layout Standard
17629 Existing figures or tables can be put into a float by marking them and then
17630  pressing the corresponding toolbar button for a new float.
17631 \end_layout
17632
17633 \begin_layout Section
17634 Float Types
17635 \end_layout
17636
17637 \begin_layout Standard
17638 Besides figure and table floats that are described in section\InsetSpace ~
17639
17640 \begin_inset LatexCommand ref
17641 reference "sec:Figure-Floats"
17642
17643 \end_inset
17644
17645  and 
17646 \begin_inset LatexCommand ref
17647 reference "sec:Table-Floats"
17648
17649 \end_inset
17650
17651 , respectively, LyX offers the float types 
17652 \series bold
17653 Algorithm
17654 \series default
17655  and 
17656 \series bold
17657 Text\InsetSpace ~
17658 Wrap\InsetSpace ~
17659 Float
17660 \series default
17661 .
17662 \end_layout
17663
17664 \begin_layout Subsection
17665 Algorithm Floats
17666 \begin_inset LatexCommand index
17667 name "Floats ! Algorithms"
17668
17669 \end_inset
17670
17671
17672 \end_layout
17673
17674 \begin_layout Standard
17675 \begin_inset Float algorithm
17676 placement h
17677 wide false
17678 sideways false
17679 status open
17680
17681 \begin_layout Standard
17682 \begin_inset Caption
17683
17684 \begin_layout Standard
17685 \begin_inset LatexCommand label
17686 name "alg:Example-Algorithm-float"
17687
17688 \end_inset
17689
17690 Example Algorithm float
17691 \end_layout
17692
17693 \end_inset
17694
17695
17696 \end_layout
17697
17698 \begin_layout LyX-Code
17699 for I in 1..N loop
17700 \newline
17701  Sum:= Sum + A(I); /*comment*/
17702 \newline
17703 end loop
17704 \begin_inset VSpace -4mm
17705 \end_inset
17706
17707
17708 \end_layout
17709
17710 \end_inset
17711
17712
17713 \end_layout
17714
17715 \begin_layout Standard
17716 This float type is inserted with the menu 
17717 \family sans
17718 Insert\SpecialChar \menuseparator
17719 Floats\SpecialChar \menuseparator
17720 Algorithm
17721 \family default
17722 .
17723  It is used for program codes and descriptions of algorithms.
17724  A possible environment for algorithms is the 
17725 \family sans
17726 LyX-Code
17727 \family default
17728 , described in LyX's 
17729 \emph on
17730 Userguide
17731 \emph default
17732 .
17733  Algorithm\InsetSpace ~
17734
17735 \begin_inset LatexCommand ref
17736 reference "alg:Example-Algorithm-float"
17737
17738 \end_inset
17739
17740  is an example of an algorithm float where -4\InsetSpace \thinspace{}
17741 mm vertical space was added
17742  at the end of the float to have the bottom rule exactly below the last
17743  text line.
17744 \end_layout
17745
17746 \begin_layout Standard
17747 The float label is not automatically translated into the document language.
17748  If your document is not in English, you have to do this manually by adding
17749  the following line to the document preamble
17750 \series bold
17751 :
17752 \end_layout
17753
17754 \begin_layout Standard
17755
17756 \series bold
17757
17758 \backslash
17759 floatname{algorithm}{your\InsetSpace ~
17760 name}
17761 \end_layout
17762
17763 \begin_layout Standard
17764
17765 \family sans
17766 your\InsetSpace ~
17767 name
17768 \family default
17769  is the word 
17770 \begin_inset Quotes eld
17771 \end_inset
17772
17773
17774 \emph on
17775 algorithm
17776 \emph default
17777
17778 \begin_inset Quotes erd
17779 \end_inset
17780
17781  in your language.
17782 \end_layout
17783
17784 \begin_layout Description
17785
17786 \series bold
17787 Note:
17788 \series default
17789  When the LaTeX-package 
17790 \series bold
17791 hyperref
17792 \series default
17793
17794 \begin_inset LatexCommand index
17795 name "LaTeX-packages ! hyperref"
17796
17797 \end_inset
17798
17799  is used to link cross-references to floats in the PDF-output, it must be
17800  loaded in the document preamble before the definition of floats to be able
17801  to reference floats.
17802  As LyX sets the float definition for algorithm floats automatically before
17803  the user editable part of the document preamble, you need to insert the
17804  following preamble lines 
17805 \emph on
17806 after
17807 \emph default
17808  the loading command of 
17809 \series bold
17810 hyperref
17811 \series default
17812 :
17813 \series bold
17814
17815 \begin_inset VSpace defskip
17816 \end_inset
17817
17818
17819 \newline
17820
17821 \backslash
17822 newfloat{Xalgorithm}{tbp}{loa}
17823 \newline
17824
17825 \backslash
17826 floatname{Xalgorithm}{your\InsetSpace ~
17827 name}
17828 \newline
17829
17830 \backslash
17831 newcommand{
17832 \backslash
17833 theHalgorithm}{
17834 \backslash
17835 theHXalgorithm}
17836 \newline
17837
17838 \backslash
17839 renewenvironment{algorithm}[1][tbp]
17840 \newline
17841
17842 \begin_inset ERT
17843 status collapsed
17844
17845 \begin_layout Standard
17846
17847
17848 \backslash
17849 hphantom{ }
17850 \end_layout
17851
17852 \end_inset
17853
17854 {
17855 \backslash
17856 begin{Xalgorithm}[#1]}{
17857 \backslash
17858 end{Xalgorithm}}
17859 \begin_inset VSpace defskip
17860 \end_inset
17861
17862
17863 \end_layout
17864
17865 \begin_layout Standard
17866 Algorithm floats are not by default numbered in the scheme 
17867 \begin_inset Quotes eld
17868 \end_inset
17869
17870 chapter.algorithm
17871 \begin_inset Quotes erd
17872 \end_inset
17873
17874  like it is the case for table and figure floats in many document-classes.
17875  To number algorithm floats in the same scheme, add this command to your
17876  document preamble:
17877 \end_layout
17878
17879 \begin_layout Standard
17880
17881 \series bold
17882
17883 \backslash
17884 numberwithin{algorithm}{chapter}
17885 \end_layout
17886
17887 \begin_layout Standard
17888 If you use the LaTeX-package 
17889 \series bold
17890 hyperref
17891 \series default
17892 , add this line instead 
17893 \emph on
17894 after
17895 \emph default
17896  the definition of 
17897 \family sans
17898 Xalgorithm
17899 \family default
17900  (the commands from above) to the preamble:
17901 \end_layout
17902
17903 \begin_layout Standard
17904
17905 \series bold
17906
17907 \backslash
17908 numberwithin{Xalgorithm}{chapter}
17909 \end_layout
17910
17911 \begin_layout Standard
17912 To be able to use the command 
17913 \series bold
17914
17915 \backslash
17916 numberwithin
17917 \series default
17918 , set in the tab 
17919 \family sans
17920 Math\InsetSpace ~
17921 Options
17922 \family default
17923  in the document settings the option 
17924 \family sans
17925 Use\InsetSpace ~
17926 AMS\InsetSpace ~
17927 math\InsetSpace ~
17928 package
17929 \family default
17930 .
17931 \end_layout
17932
17933 \begin_layout Subsection
17934 Text Wrap Floats
17935 \begin_inset LatexCommand index
17936 name "Floats ! Text Wrap Floats"
17937
17938 \end_inset
17939
17940
17941 \begin_inset LatexCommand label
17942 name "sub:floatflt-wrap-float"
17943
17944 \end_inset
17945
17946
17947 \end_layout
17948
17949 \begin_layout Standard
17950 This float type is used if you want to 
17951 \begin_inset Quotes eld
17952 \end_inset
17953
17954 wrap
17955 \begin_inset Quotes erd
17956 \end_inset
17957
17958  text around a figure so that it only occupies some fraction of the column
17959  width.
17960  It can be inserted using the menu 
17961 \begin_inset Wrap figure
17962 placement l
17963 width "40col%"
17964 status open
17965
17966 \begin_layout Standard
17967 \begin_inset Graphics
17968         filename clipart/mobius.eps
17969         display color
17970         width 40col%
17971         scaleBeforeRotation
17972         rotateOrigin center
17973
17974 \end_inset
17975
17976
17977 \end_layout
17978
17979 \begin_layout Standard
17980 \begin_inset Caption
17981
17982 \begin_layout Standard
17983 \begin_inset LatexCommand label
17984 name "fig:This-is-a"
17985
17986 \end_inset
17987
17988 This is a wrapped figure, and this is the brilliant caption that describes
17989  it.
17990 \begin_inset VSpace medskip
17991 \end_inset
17992
17993
17994 \end_layout
17995
17996 \end_inset
17997
17998
17999 \end_layout
18000
18001 \end_inset
18002
18003  
18004 \family sans
18005 Insert\SpecialChar \menuseparator
18006 Floats\SpecialChar \menuseparator
18007 Text\InsetSpace ~
18008 Wrap\InsetSpace ~
18009 Float
18010 \family default
18011  if the LaTeX-package 
18012 \series bold
18013 f\SpecialChar \textcompwordmark{}
18014 loatf\SpecialChar \textcompwordmark{}
18015 lt
18016 \series default
18017
18018 \begin_inset LatexCommand index
18019 name "LaTeX-packages ! floatflt"
18020
18021 \end_inset
18022
18023  is installed.
18024 \begin_inset Foot
18025 status collapsed
18026
18027 \begin_layout Standard
18028 Installing a LaTeX-package is explained it in the 
18029 \emph on
18030 LaTeX\InsetSpace ~
18031 Configuration
18032 \emph default
18033  manual.
18034 \end_layout
18035
18036 \end_inset
18037
18038  The width and placement of the float is adjusted by right-clicking on the
18039  float box.
18040  Figure\InsetSpace ~
18041
18042 \begin_inset LatexCommand ref
18043 reference "fig:This-is-a"
18044
18045 \end_inset
18046
18047  is an example text wrap float with a width of 40
18048 \begin_inset Formula $\,$
18049 \end_inset
18050
18051 col%.
18052 \begin_inset Foot
18053 status collapsed
18054
18055 \begin_layout Standard
18056 Available units are explained in 
18057 \begin_inset LatexCommand ref
18058 reference "cha:Units-available-in"
18059
18060 \end_inset
18061
18062 .
18063 \end_layout
18064
18065 \end_inset
18066
18067  Some space was added under the caption to separate it better from the surroundi
18068 ng text.
18069 \end_layout
18070
18071 \begin_layout Standard
18072 The LaTeX-package 
18073 \series bold
18074 f\SpecialChar \textcompwordmark{}
18075 loatf\SpecialChar \textcompwordmark{}
18076 lt
18077 \series default
18078  also supports table wrap floats, but they are not yet supported by LyX.
18079  If you need this, read the documentation of 
18080 \series bold
18081 f\SpecialChar \textcompwordmark{}
18082 loatf\SpecialChar \textcompwordmark{}
18083 lt
18084 \series default
18085  
18086 \begin_inset LatexCommand cite
18087 key "floatflt"
18088
18089 \end_inset
18090
18091 .
18092 \end_layout
18093
18094 \begin_layout Standard
18095 \begin_inset Note Greyedout
18096 status open
18097
18098 \begin_layout Standard
18099
18100 \series bold
18101 Note:
18102 \series default
18103  Text\InsetSpace ~
18104 wrap float floats are fragile! E.\InsetSpace \thinspace{}
18105 g.\InsetSpace ~
18106 having a figure too close to the bottom
18107  of the page can mess things up in the way that the float doesn't appear
18108  in the output or that it is placed over some other text.
18109 \begin_inset Foot
18110 status open
18111
18112 \begin_layout Standard
18113 The better solution is to use the LaTeX-package 
18114 \series bold
18115 wrapf\SpecialChar \textcompwordmark{}
18116 ig
18117 \series default
18118
18119 \begin_inset LatexCommand index
18120 name "LaTeX-packages ! wrapfig\\vspace{4mm}"
18121
18122 \end_inset
18123
18124  instead of 
18125 \series bold
18126 f\SpecialChar \textcompwordmark{}
18127 loatf\SpecialChar \textcompwordmark{}
18128 lt
18129 \series default
18130 , but it is currently not supported by LyX.
18131 \end_layout
18132
18133 \end_inset
18134
18135
18136 \end_layout
18137
18138 \end_inset
18139
18140
18141 \end_layout
18142
18143 \begin_layout Standard
18144 In general:
18145 \end_layout
18146
18147 \begin_layout Itemize
18148 Wrap floats should not be placed in paragraphs that run over a page break.
18149  That means that wrap floats should better be inserted to the exact place
18150  when the document is nearly finished and you are able to estimate where
18151  page breaks will appear.
18152 \end_layout
18153
18154 \begin_layout Itemize
18155 Wrap floats should either be placed in an own paragraph before the paragraph
18156  where they should wrap into or within a paragraph.
18157 \end_layout
18158
18159 \begin_layout Itemize
18160 Wrap floats in consecutive paragraphs may cause troubles, so assure that
18161  there is a text paragraph between them as separator.
18162 \end_layout
18163
18164 \begin_layout Itemize
18165 Wrap floats are not allowed in section headings or tables.
18166 \end_layout
18167
18168 \begin_layout Section
18169 Float Numbering
18170 \begin_inset LatexCommand label
18171 name "sec:Float-Numbering"
18172
18173 \end_inset
18174
18175
18176 \begin_inset LatexCommand index
18177 name "Floats ! Numbering"
18178
18179 \end_inset
18180
18181
18182 \end_layout
18183
18184 \begin_layout Standard
18185 Floats are usually numbered either independent from the sections the floats
18186  are in, or in the scheme 
18187 \begin_inset Quotes eld
18188 \end_inset
18189
18190 chapter.number
18191 \begin_inset Quotes erd
18192 \end_inset
18193
18194  or 
18195 \begin_inset Quotes eld
18196 \end_inset
18197
18198 section.number
18199 \begin_inset Quotes erd
18200 \end_inset
18201
18202 .
18203  This depends on the used document class.
18204 \end_layout
18205
18206 \begin_layout Standard
18207 To change the section independent numbering, you can use this command in
18208  the document preamble:
18209 \end_layout
18210
18211 \begin_layout Standard
18212
18213 \series bold
18214
18215 \backslash
18216 renewcommand{
18217 \backslash
18218 thetable}{
18219 \backslash
18220 roman{table}}
18221 \end_layout
18222
18223 \begin_layout Standard
18224
18225 \series bold
18226
18227 \backslash
18228 thetable
18229 \series default
18230  is the command that prints the table number, for figure floats, the command
18231  would be 
18232 \series bold
18233
18234 \backslash
18235 thefigure
18236 \series default
18237 .
18238  The command 
18239 \series bold
18240
18241 \backslash
18242 roman
18243 \series default
18244  prints in the command above the table number as small roman number.
18245 \end_layout
18246
18247 \begin_layout Standard
18248 To change the numbering scheme for example to 
18249 \begin_inset Quotes eld
18250 \end_inset
18251
18252 subsection.number
18253 \begin_inset Quotes erd
18254 \end_inset
18255
18256 , use this command in the preamble:
18257 \end_layout
18258
18259 \begin_layout Standard
18260
18261 \series bold
18262
18263 \backslash
18264 numberwithin{table}{subsection}
18265 \end_layout
18266
18267 \begin_layout Standard
18268 To be able to use the command 
18269 \series bold
18270
18271 \backslash
18272 numberwithin
18273 \series default
18274 , set in the tab 
18275 \family sans
18276 Math\InsetSpace ~
18277 Options
18278 \family default
18279  in the document settings the option 
18280 \family sans
18281 Use\InsetSpace ~
18282 AMS\InsetSpace ~
18283 math\InsetSpace ~
18284 package
18285 \family default
18286 .
18287 \end_layout
18288
18289 \begin_layout Standard
18290 Please also have a look at section\InsetSpace ~
18291
18292 \begin_inset LatexCommand ref
18293 reference "sub:Footnote-Numbering"
18294
18295 \end_inset
18296
18297  for the details and important notes about the numbering commands.
18298 \end_layout
18299
18300 \begin_layout Section
18301 Referencing Floats
18302 \begin_inset LatexCommand label
18303 name "sec:Referencing-Floats"
18304
18305 \end_inset
18306
18307
18308 \begin_inset LatexCommand index
18309 name "Floats ! References"
18310
18311 \end_inset
18312
18313
18314 \begin_inset LatexCommand index
18315 name "References"
18316
18317 \end_inset
18318
18319
18320 \end_layout
18321
18322 \begin_layout Standard
18323 To reference a float, insert a label into its caption using the menu 
18324 \family sans
18325 Insert\SpecialChar \menuseparator
18326 Label
18327 \family default
18328  or the toolbar button 
18329 \begin_inset Graphics
18330         filename ../images/label-insert.xpm
18331         scale 85
18332         scaleBeforeRotation
18333
18334 \end_inset
18335
18336 .
18337  A grey label box like this one: 
18338 \begin_inset Graphics
18339         filename clipart/labelQt4.png
18340         scale 85
18341         scaleBeforeRotation
18342
18343 \end_inset
18344
18345  will be inserted and the label window pops up asking for the label text.
18346  LyX offers as text the first words of the caption with a prefix.
18347  The prefix depends on the float type, e.\InsetSpace \thinspace{}
18348 g.\InsetSpace ~
18349 for figure floats the prefix will
18350  be "
18351 \family sans
18352 fig:
18353 \family default
18354 ".
18355 \end_layout
18356
18357 \begin_layout Standard
18358 The label is used as anchor and name for the reference.
18359  You can refer to the label using the menu 
18360 \family sans
18361 Insert\SpecialChar \menuseparator
18362 Cross-reference
18363 \family default
18364  or the toolbar button 
18365 \begin_inset Graphics
18366         filename ../images/dialog-show-new-inset_ref.xpm
18367         scale 85
18368         scaleBeforeRotation
18369
18370 \end_inset
18371
18372 .
18373  A grey cross-reference box like this one: 
18374 \begin_inset Graphics
18375         filename clipart/referenceQt4.png
18376         scale 85
18377         scaleBeforeRotation
18378
18379 \end_inset
18380
18381  will be inserted and the cross-reference window appear showing all labels
18382  of the document.
18383  If you have multiple LyX-documents opened, choose the one you are working
18384  on from the drop-list at the top of the dialog.
18385  You can now sort the labels alphabetically and then choose one.
18386  At the position of the cross-reference box the float number will appear
18387  in the output.
18388 \end_layout
18389
18390 \begin_layout Standard
18391 It is recommended to use a protected space between the cross-reference name
18392  and its number to avoid line breaks between them.
18393  If a cross-reference refers to a non-existing label, you will see two question
18394  marks in the output instead of the reference.
18395 \end_layout
18396
18397 \begin_layout Standard
18398 You can change labels at any time by clicking on the label box.
18399  References to the changed label will automatically change its link to the
18400  new label text, so that you don't need to take care about this.
18401 \end_layout
18402
18403 \begin_layout Standard
18404 The button 
18405 \family sans
18406 Go\InsetSpace ~
18407 to\InsetSpace ~
18408 Label
18409 \family default
18410  in the cross-reference window sets the cursor before the referred label.
18411  The button text changes then to Go\InsetSpace ~
18412 Back and you can use it to set the cursor
18413  back to the cross-reference.
18414  Right-clicking on a cross-reference box also sets the cursor before the
18415  referenced label but without a possibility to go back.
18416 \end_layout
18417
18418 \begin_layout Subsection
18419 Cross-Reference Formats
18420 \begin_inset LatexCommand label
18421 name "sub:Cross-Reference-Formats"
18422
18423 \end_inset
18424
18425
18426 \begin_inset LatexCommand index
18427 name "References ! Formats"
18428
18429 \end_inset
18430
18431
18432 \end_layout
18433
18434 \begin_layout Standard
18435 There are six varieties of cross-references:
18436 \end_layout
18437
18438 \begin_layout Description
18439 <reference>: prints the float number, this is the default: 
18440 \begin_inset LatexCommand ref
18441 reference "fig:Two-distorted-images"
18442
18443 \end_inset
18444
18445
18446 \end_layout
18447
18448 \begin_layout Description
18449 (<reference>): prints the float number within two parentheses, this is the
18450  style normally used to reference formulas, especially when the reference
18451  name 
18452 \begin_inset Quotes eld
18453 \end_inset
18454
18455 Equation
18456 \begin_inset Quotes erd
18457 \end_inset
18458
18459  is omitted: 
18460 \begin_inset LatexCommand eqref
18461 reference "eq:Wgn"
18462
18463 \end_inset
18464
18465
18466 \end_layout
18467
18468 \begin_layout Description
18469 <page>: prints the page number: Page\InsetSpace ~
18470
18471 \begin_inset LatexCommand pageref
18472 reference "fig:Two-distorted-images"
18473
18474 \end_inset
18475
18476
18477 \end_layout
18478
18479 \begin_layout Description
18480 on\InsetSpace ~
18481 page\InsetSpace ~
18482 <page>: prints the text "on page" and the page number: 
18483 \begin_inset LatexCommand vpageref
18484 reference "fig:Two-distorted-images"
18485
18486 \end_inset
18487
18488
18489 \end_layout
18490
18491 \begin_layout Description
18492 <reference>\InsetSpace ~
18493 on\InsetSpace ~
18494 page\InsetSpace ~
18495 <page>: prints the float number, the text "on page", and
18496  the page number: 
18497 \begin_inset LatexCommand vref
18498 reference "fig:Two-distorted-images"
18499
18500 \end_inset
18501
18502
18503 \end_layout
18504
18505 \begin_layout Description
18506 Formatted\InsetSpace ~
18507 reference: prints a self defined cross-reference format.
18508  
18509 \begin_inset Note Greyedout
18510 status open
18511
18512 \begin_layout Standard
18513
18514 \series bold
18515 Note:
18516 \series default
18517  This feature is only available when you have the LaTeX-package 
18518 \series bold
18519 prettyref
18520 \series default
18521  installed.
18522 \end_layout
18523
18524 \end_inset
18525
18526
18527 \end_layout
18528
18529 \begin_layout Standard
18530 Note that the style <page> won't print the page number if the label is on
18531  the previous, the same, or the next page.
18532  You will e.\InsetSpace \thinspace{}
18533 g.\InsetSpace ~
18534 see the text 
18535 \begin_inset Quotes eld
18536 \end_inset
18537
18538
18539 \family sans
18540 on this page
18541 \family default
18542
18543 \begin_inset Quotes erd
18544 \end_inset
18545
18546  instead.
18547 \end_layout
18548
18549 \begin_layout Standard
18550 The number and current page of the referred document part in the output,
18551  is automatically calculated by LaTeX.
18552  The varieties are adjusted in the field 
18553 \family sans
18554 Format
18555 \family default
18556  of the cross-reference window, that appear when you click on the cross-referenc
18557 e box.
18558 \end_layout
18559
18560 \begin_layout Subsection
18561 Referencing Subfigures
18562 \begin_inset LatexCommand label
18563 name "sub:Referencing-Subfigures"
18564
18565 \end_inset
18566
18567
18568 \begin_inset LatexCommand index
18569 name "References ! to Subfigures"
18570
18571 \end_inset
18572
18573
18574 \end_layout
18575
18576 \begin_layout Standard
18577 Currently referencing subfigures is not supported by LyX, so you have to
18578  use LaTeX-commands.
18579  The label is the created with the command
18580 \end_layout
18581
18582 \begin_layout Standard
18583
18584 \series bold
18585
18586 \backslash
18587 label{fig:YourLabelName}
18588 \end_layout
18589
18590 \begin_layout Standard
18591 that is directly inserted into the subfigure caption field.
18592  To reference the label add this command in ERT
18593 \end_layout
18594
18595 \begin_layout Standard
18596
18597 \series bold
18598
18599 \backslash
18600 ref{fig:YourLabelName}
18601 \end_layout
18602
18603 \begin_layout Standard
18604 to the position in your document where the reference should be placed.
18605  Here is a reference to a subfigure: Subfigure\InsetSpace ~
18606
18607 \begin_inset ERT
18608 status collapsed
18609
18610 \begin_layout Standard
18611
18612
18613 \backslash
18614 ref{fig:Platypus}
18615 \end_layout
18616
18617 \end_inset
18618
18619 .
18620 \end_layout
18621
18622 \begin_layout Subsection
18623 Automatic Reference Naming
18624 \begin_inset LatexCommand index
18625 name "References ! Automatic Reference Naming"
18626
18627 \end_inset
18628
18629
18630 \end_layout
18631
18632 \begin_layout Standard
18633 The LaTeX-package 
18634 \series bold
18635 hyperref
18636 \series default
18637  provides a very useful feature that cross-references automatically include
18638  the name of the referenced floats (or text parts like sections).
18639  You save to write e.\InsetSpace \thinspace{}
18640 g.\InsetSpace ~
18641 the name 
18642 \begin_inset Quotes eld
18643 \end_inset
18644
18645 Figure
18646 \begin_inset Quotes erd
18647 \end_inset
18648
18649  before every reference box.
18650  To get this automatic reference naming, you have to load the LaTeX-package
18651  
18652 \series bold
18653 hyperref
18654 \series default
18655
18656 \begin_inset LatexCommand index
18657 name "LaTeX-packages ! hyperref"
18658
18659 \end_inset
18660
18661  in the document preamble with
18662 \end_layout
18663
18664 \begin_layout Standard
18665
18666 \series bold
18667
18668 \backslash
18669 usepackage[pdfborder={0 0 0}]{hyperref}
18670 \newline
18671
18672 \backslash
18673 AtBeginDocument{
18674 \backslash
18675 renewcommand{
18676 \backslash
18677 ref}[1]{
18678 \backslash
18679 mbox{
18680 \backslash
18681 autoref{#1}}}}
18682 \end_layout
18683
18684 \begin_layout Standard
18685
18686 \series bold
18687 hyperref
18688 \series default
18689  is used to link cross-references in the DVI- and PDF-output, this means
18690  that the reader of your document will be able to click on a table of content
18691  (TOC) entry or on a reference and he will be shown the referenced document
18692  part.
18693  
18694 \series bold
18695 hyperref
18696 \series default
18697  also creates PDF-bookmarks for every section of your document to make it
18698  easier for readers to navigate through the document.
18699  This is also used in this document but when you have a look in the document
18700  preamble you will find various options in the load command of 
18701 \series bold
18702 hyperref
18703 \series default
18704 .
18705  To learn more about the 
18706 \series bold
18707 hyperref
18708 \series default
18709  package, we refer to its documentation 
18710 \begin_inset LatexCommand cite
18711 key "hyperref"
18712
18713 \end_inset
18714
18715 .
18716 \end_layout
18717
18718 \begin_layout Standard
18719 \begin_inset Note Greyedout
18720 status open
18721
18722 \begin_layout Standard
18723
18724 \series bold
18725 Note:
18726 \series default
18727  Automatic reference naming cannot be used when you use cross-references
18728  in the 
18729 \family sans
18730 Formatted\InsetSpace ~
18731 reference
18732 \family default
18733  style, described in section\InsetSpace ~
18734
18735 \begin_inset LatexCommand ref
18736 reference "sub:Cross-Reference-Formats"
18737
18738 \end_inset
18739
18740 .
18741 \end_layout
18742
18743 \end_inset
18744
18745
18746 \end_layout
18747
18748 \begin_layout Subsection
18749 Reference Position
18750 \begin_inset LatexCommand label
18751 name "sub:Reference-Position"
18752
18753 \end_inset
18754
18755
18756 \begin_inset LatexCommand index
18757 name "References ! Reference Position"
18758
18759 \end_inset
18760
18761
18762 \end_layout
18763
18764 \begin_layout Standard
18765 If you use 
18766 \series bold
18767 hyperref
18768 \series default
18769
18770 \begin_inset LatexCommand index
18771 name "LaTeX-packages ! hyperref"
18772
18773 \end_inset
18774
18775  to link cross-references in the output, you will see that clicking on an
18776  image float reference jumps to the image label.
18777  The caption will be the first text part on the screen, so that you cannot
18778  see the image without scrolling.
18779  This is because the reference link anchor is placed at the position of
18780  the label.
18781  With the use of the package 
18782 \series bold
18783 hypcap
18784 \series default
18785
18786 \begin_inset LatexCommand index
18787 name "LaTeX-packages ! hypcap"
18788
18789 \end_inset
18790
18791 , which is part of the LaTeX-package 
18792 \series bold
18793 oberdiek
18794 \series default
18795
18796 \begin_inset LatexCommand index
18797 name "LaTeX-packages ! oberdiek"
18798
18799 \end_inset
18800
18801 , the link anchor is placed at the beginning of a float.
18802  To use this feature for figure floats, load 
18803 \series bold
18804 hypcap
18805 \series default
18806  in the document preamble with the line
18807 \end_layout
18808
18809 \begin_layout Standard
18810
18811 \series bold
18812
18813 \backslash
18814 usepackage[f\SpecialChar \textcompwordmark{}
18815 igure]{hypcap}
18816 \end_layout
18817
18818 \begin_layout Standard
18819 You can also use 
18820 \series bold
18821 hypcap
18822 \series default
18823  for all floats but this isn't recommended for stability reasons.
18824  For more informations, have a look at 
18825 \series bold
18826 hypcap
18827 \series default
18828 's manual 
18829 \begin_inset LatexCommand cite
18830 key "hypcap"
18831
18832 \end_inset
18833
18834 .
18835 \end_layout
18836
18837 \begin_layout Standard
18838 \begin_inset Note Greyedout
18839 status open
18840
18841 \begin_layout Standard
18842
18843 \series bold
18844 Note:
18845 \series default
18846  
18847 \series bold
18848 hypcap
18849 \series default
18850  must be loaded after 
18851 \series bold
18852 hyperref
18853 \series default
18854  in the document preamble.
18855 \end_layout
18856
18857 \end_inset
18858
18859
18860 \end_layout
18861
18862 \begin_layout Standard
18863 \begin_inset Note Greyedout
18864 status open
18865
18866 \begin_layout Standard
18867
18868 \series bold
18869 Note:
18870 \series default
18871  
18872 \series bold
18873 hypcap
18874 \series default
18875  has no effect for references to subfigures.
18876 \end_layout
18877
18878 \end_inset
18879
18880
18881 \end_layout
18882
18883 \begin_layout Section
18884 Float Placement
18885 \begin_inset LatexCommand label
18886 name "sec:Float-Placement"
18887
18888 \end_inset
18889
18890
18891 \begin_inset LatexCommand index
18892 name "Floats ! Placement"
18893
18894 \end_inset
18895
18896
18897 \end_layout
18898
18899 \begin_layout Standard
18900 Right-clicking on a float-box opens a dialog where you can alter the placement
18901  options that LaTeX uses for positioning the float.
18902 \newline
18903 The option 
18904 \family sans
18905 Span\InsetSpace ~
18906 columns
18907 \family default
18908  is only useful for two-column documents: If you select it, the float will
18909  span across both columns on the page instead of being confined to just
18910  one.
18911 \newline
18912 The option 
18913 \family sans
18914 Rotate\InsetSpace ~
18915 sideways
18916 \family default
18917  is used to rotate floats, see section 
18918 \begin_inset LatexCommand ref
18919 reference "sec:Rotated-Floats"
18920
18921 \end_inset
18922
18923 .
18924 \end_layout
18925
18926 \begin_layout Standard
18927 You can use one ore more of the following options in the float dialog to
18928  set the placement for a particular float when you uncheck the option 
18929 \family sans
18930 Use\InsetSpace ~
18931 default\InsetSpace ~
18932 placement
18933 \family default
18934 :
18935 \end_layout
18936
18937 \begin_layout Description
18938 Here\InsetSpace ~
18939 if\InsetSpace ~
18940 possible try to place the float on the position where it is inserted
18941 \end_layout
18942
18943 \begin_layout Description
18944 Top\InsetSpace ~
18945 of\InsetSpace ~
18946 page try to place the float on the top of the current page
18947 \end_layout
18948
18949 \begin_layout Description
18950 Bottom\InsetSpace ~
18951 of\InsetSpace ~
18952 page try to place the float on the bottom of the current page
18953 \end_layout
18954
18955 \begin_layout Description
18956 Page\InsetSpace ~
18957 of\InsetSpace ~
18958 floats try to place the float on an own page 
18959 \end_layout
18960
18961 \begin_layout Standard
18962 The order of the above option is 
18963 \emph on
18964 always
18965 \emph default
18966  used by LaTeX.
18967  That means, if you use the default placement, LaTeX will first try out
18968  
18969 \family sans
18970 Here\InsetSpace ~
18971 if\InsetSpace ~
18972 possible
18973 \family default
18974 , then 
18975 \family sans
18976 Top\InsetSpace ~
18977 of\InsetSpace ~
18978 page
18979 \family default
18980 , and then the others.
18981  If you don't use the default, LaTeX will try only the checked options but
18982  in the same order.
18983  If none of the 4 placements are possible the procedure is internally repeated
18984  but it is tried to put the float on the following page.
18985 \end_layout
18986
18987 \begin_layout Standard
18988 By default, each option has its own rules:
18989 \end_layout
18990
18991 \begin_layout Labeling
18992 \labelwidthstring 00.00.0000
18993
18994 \family sans
18995 Top\InsetSpace ~
18996 of\InsetSpace ~
18997 page
18998 \family default
18999  only floats occupying less than 70\InsetSpace \thinspace{}
19000 % of the page can be placed at the top
19001  of a page (
19002 \series bold
19003
19004 \backslash
19005 topfraction
19006 \series default
19007 )
19008 \end_layout
19009
19010 \begin_layout Labeling
19011 \labelwidthstring 00.00.0000
19012
19013 \family sans
19014 Bottom\InsetSpace ~
19015 of\InsetSpace ~
19016 page
19017 \family default
19018 : only floats occupying less than 30\InsetSpace \thinspace{}
19019 % of the page can be placed at the bottom
19020  of a page.
19021  (
19022 \series bold
19023
19024 \backslash
19025 bottomfraction
19026 \series default
19027 )
19028 \end_layout
19029
19030 \begin_layout Labeling
19031 \labelwidthstring 00.00.0000
19032
19033 \family sans
19034 Page\InsetSpace ~
19035 of\InsetSpace ~
19036 floats
19037 \family default
19038 : only if more than 50\InsetSpace \thinspace{}
19039 % of the page are occupied by floats, several floats
19040  can be set together on a page.
19041  (
19042 \series bold
19043
19044 \backslash
19045 floatpagefraction
19046 \series default
19047 )
19048 \end_layout
19049
19050 \begin_layout Standard
19051 If you don't like these rules, you can ignore them by using the additional
19052  option 
19053 \family sans
19054 Ignore\InsetSpace ~
19055 LaTeX\InsetSpace ~
19056 rules
19057 \family default
19058 .
19059 \newline
19060 You can also redefine the rules with LaTeX-commands that are given in parenthese
19061 s behind the rules description above.
19062  To increase for example the often too small default of the bottom-rule
19063  to 50\InsetSpace \thinspace{}
19064 % of the page, add this line to your document preamble:
19065 \end_layout
19066
19067 \begin_layout Standard
19068
19069 \series bold
19070
19071 \backslash
19072 renewcommand{
19073 \backslash
19074 bottomfraction}{0.5}
19075 \end_layout
19076
19077 \begin_layout Standard
19078 Sometimes you might need, under all circumstances, a float to be placed
19079  exactly at the position where it is inserted.
19080  For this case you can use the option 
19081 \family sans
19082 Here\InsetSpace ~
19083 definitely
19084 \family default
19085 .
19086  Use this option very rarely and only if the document is nearly ready to
19087  be printed.
19088  Because the float is then no longer able to 
19089 \begin_inset Quotes eld
19090 \end_inset
19091
19092 float
19093 \begin_inset Quotes erd
19094 \end_inset
19095
19096  when you change your document and this will often destroy the page layout.
19097 \end_layout
19098
19099 \begin_layout Standard
19100 There are no placement options for text wrap floats, because they are always
19101  surrounded by the text of a certain paragraph.
19102 \begin_inset VSpace bigskip
19103 \end_inset
19104
19105
19106 \end_layout
19107
19108 \begin_layout Standard
19109 Sometimes you have the problem that a float is placed at the top of a page
19110  while its corresponding section starts at the middle of the page, so that
19111  the reader could think the float is part of the previous section.
19112  To avoid this the LaTeX-command 
19113 \series bold
19114
19115 \backslash
19116 suppressf\SpecialChar \textcompwordmark{}
19117 loats
19118 \series default
19119  can be used.
19120  It suppresses a given float placement for the page where it is inserted
19121  and can therefore be used to avoid that floats could be set before a section
19122  starts.
19123  To get this, add these commands to your document preamble:
19124 \end_layout
19125
19126 \begin_layout Standard
19127
19128 \series bold
19129
19130 \backslash
19131 let
19132 \backslash
19133 mySection
19134 \backslash
19135 section
19136 \newline
19137
19138 \backslash
19139 renewcommand{
19140 \backslash
19141 section}{
19142 \backslash
19143 suppressf\SpecialChar \textcompwordmark{}
19144 loats[t]
19145 \backslash
19146 mySection}
19147 \end_layout
19148
19149 \begin_layout Standard
19150 You can define the same for all section headings, like chapters and subsections.
19151  This definition is not recommended to be used for small text parts like
19152  subsubsections because LaTeX may then have problems to find a suitable
19153  placement.
19154 \end_layout
19155
19156 \begin_layout Standard
19157 \begin_inset VSpace bigskip
19158 \end_inset
19159
19160 In some cases it is required to have all figures/tables at the end of the
19161  document.
19162  For this purpose the LaTeX-package 
19163 \series bold
19164 endf\SpecialChar \textcompwordmark{}
19165 loat
19166 \series default
19167
19168 \begin_inset LatexCommand index
19169 name "LaTeX-packages ! endfloat"
19170
19171 \end_inset
19172
19173  was developed.
19174  It puts all figure and table floats at the end of the document into own
19175  sections.
19176  At the original float position a text hint like 
19177 \begin_inset Quotes eld
19178 \end_inset
19179
19180
19181 \family sans
19182 [Figure\InsetSpace ~
19183 3.2 about here.]
19184 \family default
19185
19186 \begin_inset Quotes erd
19187 \end_inset
19188
19189  is inserted.
19190  The endfloat-package is loaded in the preamble with the line
19191 \end_layout
19192
19193 \begin_layout Standard
19194
19195 \series bold
19196
19197 \backslash
19198 usepackage[options]{endf\SpecialChar \textcompwordmark{}
19199 loat}
19200 \end_layout
19201
19202 \begin_layout Standard
19203 There are various package options to format the created figure/table sections.
19204  For more information we refer to the 
19205 \series bold
19206 endf\SpecialChar \textcompwordmark{}
19207 loat
19208 \series default
19209  documentation 
19210 \begin_inset LatexCommand cite
19211 key "endfloat"
19212
19213 \end_inset
19214
19215 .
19216 \newline
19217
19218 \begin_inset Note Greyedout
19219 status open
19220
19221 \begin_layout Standard
19222
19223 \series bold
19224 Note: endf\SpecialChar \textcompwordmark{}
19225 loat
19226 \series default
19227  doesn't provide an automatic translation for the text hint, you have to
19228  do this manually, see section\InsetSpace ~
19229 4 in 
19230 \begin_inset LatexCommand cite
19231 key "endfloat"
19232
19233 \end_inset
19234
19235 .
19236 \end_layout
19237
19238 \end_inset
19239
19240
19241 \newline
19242
19243 \begin_inset Note Greyedout
19244 status open
19245
19246 \begin_layout Standard
19247
19248 \series bold
19249 Note:
19250 \series default
19251  There is currently a bug in 
19252 \series bold
19253 endf\SpecialChar \textcompwordmark{}
19254 loat
19255 \series default
19256  when the caption contains a German 
19257 \begin_inset Quotes eld
19258 \end_inset
19259
19260 ß
19261 \begin_inset Quotes erd
19262 \end_inset
19263
19264 .
19265  Use in this case the command 
19266 \begin_inset Quotes eld
19267 \end_inset
19268
19269
19270 \series bold
19271
19272 \backslash
19273 ss
19274 \series default
19275
19276 \begin_inset Quotes erd
19277 \end_inset
19278
19279  in ERT instead of 
19280 \begin_inset Quotes eld
19281 \end_inset
19282
19283 ß
19284 \begin_inset Quotes erd
19285 \end_inset
19286
19287 .
19288 \end_layout
19289
19290 \end_inset
19291
19292
19293 \end_layout
19294
19295 \begin_layout Standard
19296 \begin_inset VSpace bigskip
19297 \end_inset
19298
19299 For more details about float placements, have a look at LaTeX books, 
19300 \begin_inset LatexCommand cite
19301 key "latexcompanion,latexguide,latexbook"
19302
19303 \end_inset
19304
19305 .
19306 \end_layout
19307
19308 \begin_layout Section
19309 Rotated Floats
19310 \begin_inset LatexCommand label
19311 name "sec:Rotated-Floats"
19312
19313 \end_inset
19314
19315
19316 \begin_inset LatexCommand index
19317 name "Floats ! Rotating"
19318
19319 \end_inset
19320
19321
19322 \end_layout
19323
19324 \begin_layout Standard
19325 Especially for wide tables you might have floats rotated.
19326  To rotate a whole float including the caption, right-click on the float-box
19327  and use the option 
19328 \family sans
19329 Rotate\InsetSpace ~
19330 sideways
19331 \family default
19332 .
19333 \end_layout
19334
19335 \begin_layout Standard
19336 Rotated floats are always placed on its own page (or column, when you have
19337  a two-column document).
19338  They are normally rotated so that you can read them from the outside margin
19339  -- to the left on even pages, to the right on odd pages.
19340  To force a certain rotation direction for all pages, you can add either
19341  the option 
19342 \series bold
19343 f\SpecialChar \textcompwordmark{}
19344 iguresleft
19345 \series default
19346  or 
19347 \series bold
19348 f\SpecialChar \textcompwordmark{}
19349 iguresright
19350 \series default
19351  to the document class options.
19352 \end_layout
19353
19354 \begin_layout Standard
19355 Referencing rotated floats is the same like for normal floats, the caption
19356  format is also the same: Table\InsetSpace ~
19357
19358 \begin_inset LatexCommand ref
19359 reference "tab:Rotated-table"
19360
19361 \end_inset
19362
19363  is an example of a rotated table float.
19364 \end_layout
19365
19366 \begin_layout Standard
19367 \begin_inset Note Greyedout
19368 status open
19369
19370 \begin_layout Standard
19371
19372 \series bold
19373 Note:
19374 \series default
19375  Not all DVI-viewers are able to display rotated floats.
19376 \end_layout
19377
19378 \end_inset
19379
19380
19381 \end_layout
19382
19383 \begin_layout Standard
19384 \begin_inset Float table
19385 wide false
19386 sideways true
19387 status open
19388
19389 \begin_layout Standard
19390 \begin_inset Caption
19391
19392 \begin_layout Standard
19393 \begin_inset LatexCommand label
19394 name "tab:Rotated-table"
19395
19396 \end_inset
19397
19398  Rotated table
19399 \end_layout
19400
19401 \end_inset
19402
19403
19404 \end_layout
19405
19406 \begin_layout Standard
19407 \align center
19408 \begin_inset Tabular
19409 <lyxtabular version="3" rows="1" columns="5">
19410 <features>
19411 <column alignment="center" valignment="top" leftline="true" width="0">
19412 <column alignment="center" valignment="top" leftline="true" width="0">
19413 <column alignment="center" valignment="top" leftline="true" width="0">
19414 <column alignment="center" valignment="top" leftline="true" width="0">
19415 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
19416 <row topline="true" bottomline="true">
19417 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19418 \begin_inset Text
19419
19420 \begin_layout Standard
19421 test
19422 \end_layout
19423
19424 \end_inset
19425 </cell>
19426 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19427 \begin_inset Text
19428
19429 \begin_layout Standard
19430 b
19431 \end_layout
19432
19433 \end_inset
19434 </cell>
19435 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19436 \begin_inset Text
19437
19438 \begin_layout Standard
19439 c
19440 \end_layout
19441
19442 \end_inset
19443 </cell>
19444 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19445 \begin_inset Text
19446
19447 \begin_layout Standard
19448 d
19449 \end_layout
19450
19451 \end_inset
19452 </cell>
19453 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19454 \begin_inset Text
19455
19456 \begin_layout Standard
19457 e
19458 \end_layout
19459
19460 \end_inset
19461 </cell>
19462 </row>
19463 </lyxtabular>
19464
19465 \end_inset
19466
19467
19468 \end_layout
19469
19470 \end_inset
19471
19472
19473 \end_layout
19474
19475 \begin_layout Section
19476 Caption Formatting
19477 \begin_inset LatexCommand index
19478 name "Caption ! Formatting"
19479
19480 \end_inset
19481
19482
19483 \begin_inset LatexCommand index
19484 name "Floats ! Caption Formatting"
19485
19486 \end_inset
19487
19488
19489 \begin_inset LatexCommand index
19490 name "LaTeX-packages ! caption"
19491
19492 \end_inset
19493
19494
19495 \begin_inset LatexCommand label
19496 name "sec:Caption-Formatting"
19497
19498 \end_inset
19499
19500
19501 \end_layout
19502
19503 \begin_layout Standard
19504 The 
19505 \family sans
19506 Caption
19507 \family default
19508  environment is the default paragraph environment for 
19509 \family sans
19510 Floats
19511 \family default
19512 .
19513  On the LyX screen captions appear as label, e.\InsetSpace \thinspace{}
19514 g.\InsetSpace ~
19515
19516 \begin_inset Quotes eld
19517 \end_inset
19518
19519
19520 \family sans
19521 Figure #:
19522 \family default
19523
19524 \begin_inset Quotes erd
19525 \end_inset
19526
19527  followed by the caption text.
19528  
19529 \begin_inset Quotes eld
19530 \end_inset
19531
19532 #
19533 \begin_inset Quotes erd
19534 \end_inset
19535
19536  is the actual reference number.
19537  By default the label and the number are in the same font as the caption
19538  text and a colon follows the number to divide the label from the text.
19539  This caption format is not suitable for all document formats.
19540  
19541 \end_layout
19542
19543 \begin_layout Standard
19544 To change the default caption format, load the LaTeX-package 
19545 \series bold
19546 caption
19547 \series default
19548
19549 \begin_inset LatexCommand index
19550 name "LaTeX-packages ! caption"
19551
19552 \end_inset
19553
19554  in the document preamble with this line:
19555 \end_layout
19556
19557 \begin_layout Standard
19558
19559 \series bold
19560
19561 \backslash
19562 usepackage[format definition]{caption}
19563 \end_layout
19564
19565 \begin_layout Standard
19566 To have for example the label and the number in sans-serif bold font and
19567  the table captions always above the table like in this document, use the
19568  following command:
19569 \end_layout
19570
19571 \begin_layout Standard
19572
19573 \series bold
19574
19575 \backslash
19576 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
19577 \end_layout
19578
19579 \begin_layout Standard
19580 You can also define different caption formats for the different float types.
19581  In this case load the 
19582 \series bold
19583 caption
19584 \series default
19585  package without format specific options and define the different formats
19586  with the help of the command
19587 \end_layout
19588
19589 \begin_layout Standard
19590
19591 \series bold
19592
19593 \backslash
19594 captionsetup[float type]{format definition}
19595 \end_layout
19596
19597 \begin_layout Standard
19598 in the document preamble.
19599  For example the caption formats of Figure\InsetSpace ~
19600
19601 \begin_inset LatexCommand ref
19602 reference "fig:This-is-an-fig"
19603
19604 \end_inset
19605
19606  and Table\InsetSpace ~
19607
19608 \begin_inset LatexCommand ref
19609 reference "tab:This-is-an-tab"
19610
19611 \end_inset
19612
19613  can be created using these commands in the document preamble:
19614 \end_layout
19615
19616 \begin_layout Standard
19617
19618 \series bold
19619
19620 \backslash
19621 usepackage[tableposition=top]{caption}
19622 \series default
19623
19624 \newline
19625
19626 \series bold
19627
19628 \backslash
19629 captionsetup[f\SpecialChar \textcompwordmark{}
19630 igure]{labelfont={tt}, textfont=it, indention=1cm,%
19631 \newline
19632
19633 \begin_inset ERT
19634 status collapsed
19635
19636 \begin_layout Standard
19637
19638
19639 \backslash
19640 hphantom{
19641 \backslash
19642
19643 \backslash
19644 captionsetup[figure]
19645 \backslash
19646 {}
19647 \end_layout
19648
19649 \end_inset
19650
19651  labelsep=period}
19652 \newline
19653
19654 \backslash
19655 captionsetup[table]{labelfont={bf,sf}}
19656 \end_layout
19657
19658 \begin_layout Standard
19659 \begin_inset Note Greyedout
19660 status open
19661
19662 \begin_layout Standard
19663
19664 \series bold
19665 Note:
19666 \series default
19667  The option 
19668 \series bold
19669 tableposition=top
19670 \series default
19671  has no effect when a 
19672 \series bold
19673 koma-script
19674 \series default
19675
19676 \begin_inset LatexCommand index
19677 name "LaTeX-packages ! koma-script"
19678
19679 \end_inset
19680
19681  document class is used.
19682  In this case the document class option 
19683 \series bold
19684 tablecaptionabove
19685 \series default
19686  must be used.
19687 \end_layout
19688
19689 \end_inset
19690
19691
19692 \end_layout
19693
19694 \begin_layout Standard
19695 For more information about the package 
19696 \series bold
19697 caption
19698 \series default
19699  we refer to its documentation 
19700 \begin_inset LatexCommand cite
19701 key "caption,caption-de"
19702
19703 \end_inset
19704
19705 .
19706 \end_layout
19707
19708 \begin_layout Standard
19709 To change the label name from e.g.
19710  
19711 \begin_inset Quotes eld
19712 \end_inset
19713
19714 Figure
19715 \begin_inset Quotes erd
19716 \end_inset
19717
19718  to 
19719 \begin_inset Quotes eld
19720 \end_inset
19721
19722 Image
19723 \begin_inset Quotes erd
19724 \end_inset
19725
19726  use this preamble command:
19727 \end_layout
19728
19729 \begin_layout Standard
19730
19731 \series bold
19732
19733 \backslash
19734 renewcommand{
19735 \backslash
19736 fnum@figure}{Image~
19737 \backslash
19738 thefigure}
19739 \end_layout
19740
19741 \begin_layout Standard
19742 where 
19743 \series bold
19744
19745 \backslash
19746 thefigure
19747 \series default
19748  inserts the figure number and
19749 \series bold
19750  
19751 \begin_inset Quotes eld
19752 \end_inset
19753
19754 ~
19755 \series default
19756
19757 \begin_inset Quotes erd
19758 \end_inset
19759
19760  creates a protected space.
19761 \end_layout
19762
19763 \begin_layout Standard
19764 \begin_inset VSpace bigskip
19765 \end_inset
19766
19767 If you are using a 
19768 \series bold
19769 koma-script
19770 \series default
19771
19772 \begin_inset LatexCommand index
19773 name "LaTeX-packages ! koma-script"
19774
19775 \end_inset
19776
19777  document class (
19778 \family sans
19779 article (koma-script)
19780 \family default
19781
19782 \family sans
19783 book (koma-script)
19784 \family default
19785
19786 \family sans
19787 letter (koma-script)
19788 \family default
19789 , or 
19790 \family sans
19791 report (koma-script)
19792 \family default
19793 \InsetSpace \thinspace{}
19794 ), you can alternatively to the 
19795 \series bold
19796 caption
19797 \series default
19798  package use 
19799 \series bold
19800 koma-script
19801 \series default
19802 's built-in command 
19803 \series bold
19804
19805 \backslash
19806 setkomafont
19807 \series default
19808 .
19809  For example, to have the caption label in bold, add this command to your
19810  document preamble:
19811 \end_layout
19812
19813 \begin_layout Standard
19814
19815 \series bold
19816
19817 \backslash
19818 setkomafont{captionlabel}{
19819 \backslash
19820 bfseries}
19821 \end_layout
19822
19823 \begin_layout Standard
19824 For more information about 
19825 \series bold
19826
19827 \backslash
19828 setkomafont
19829 \series default
19830  we refer to the 
19831 \series bold
19832 koma-script
19833 \series default
19834  documentation 
19835 \begin_inset LatexCommand cite
19836 key "koma-script,koma-script-de"
19837
19838 \end_inset
19839
19840 .
19841 \end_layout
19842
19843 \begin_layout Standard
19844 \begin_inset ERT
19845 status collapsed
19846
19847 \begin_layout Standard
19848
19849
19850 \backslash
19851 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
19852 }
19853 \end_layout
19854
19855 \end_inset
19856
19857
19858 \begin_inset Note Note
19859 status open
19860
19861 \begin_layout Standard
19862 The caption format is changed only for this example.
19863 \end_layout
19864
19865 \end_inset
19866
19867
19868 \end_layout
19869
19870 \begin_layout Standard
19871 \begin_inset Float figure
19872 placement !p
19873 wide false
19874 sideways false
19875 status open
19876
19877 \begin_layout Standard
19878 \align center
19879 \begin_inset Graphics
19880         filename clipart/mobius.eps
19881         lyxscale 50
19882         scale 50
19883         scaleBeforeRotation
19884
19885 \end_inset
19886
19887
19888 \end_layout
19889
19890 \begin_layout Standard
19891 \begin_inset Caption
19892
19893 \begin_layout Standard
19894 \begin_inset LatexCommand label
19895 name "fig:This-is-an-fig"
19896
19897 \end_inset
19898
19899 This is an example figure caption that is longer than one line to show the
19900  different caption format.
19901  Here a self-defined caption format is used.
19902 \end_layout
19903
19904 \end_inset
19905
19906
19907 \end_layout
19908
19909 \end_inset
19910
19911
19912 \end_layout
19913
19914 \begin_layout Standard
19915 \begin_inset ERT
19916 status collapsed
19917
19918 \begin_layout Standard
19919
19920
19921 \backslash
19922 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
19923 on}
19924 \end_layout
19925
19926 \end_inset
19927
19928
19929 \end_layout
19930
19931 \begin_layout Standard
19932 \begin_inset Float table
19933 placement !p
19934 wide false
19935 sideways false
19936 status open
19937
19938 \begin_layout Standard
19939 \begin_inset Caption
19940
19941 \begin_layout Standard
19942 \begin_inset LatexCommand label
19943 name "tab:This-is-an-tab"
19944
19945 \end_inset
19946
19947 This is an example table caption that is longer than one line to show the
19948  different caption format.
19949  Here the standard caption format for tables in this document is used.
19950 \end_layout
19951
19952 \end_inset
19953
19954
19955 \end_layout
19956
19957 \begin_layout Standard
19958 \align center
19959 \begin_inset Tabular
19960 <lyxtabular version="3" rows="1" columns="5">
19961 <features>
19962 <column alignment="center" valignment="top" leftline="true" width="0">
19963 <column alignment="center" valignment="top" leftline="true" width="0">
19964 <column alignment="center" valignment="top" leftline="true" width="0">
19965 <column alignment="center" valignment="top" leftline="true" width="0">
19966 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
19967 <row topline="true" bottomline="true">
19968 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19969 \begin_inset Text
19970
19971 \begin_layout Standard
19972 a
19973 \end_layout
19974
19975 \end_inset
19976 </cell>
19977 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19978 \begin_inset Text
19979
19980 \begin_layout Standard
19981 b
19982 \end_layout
19983
19984 \end_inset
19985 </cell>
19986 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19987 \begin_inset Text
19988
19989 \begin_layout Standard
19990 c
19991 \end_layout
19992
19993 \end_inset
19994 </cell>
19995 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19996 \begin_inset Text
19997
19998 \begin_layout Standard
19999 d
20000 \end_layout
20001
20002 \end_inset
20003 </cell>
20004 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20005 \begin_inset Text
20006
20007 \begin_layout Standard
20008 e
20009 \end_layout
20010
20011 \end_inset
20012 </cell>
20013 </row>
20014 </lyxtabular>
20015
20016 \end_inset
20017
20018
20019 \end_layout
20020
20021 \end_inset
20022
20023
20024 \end_layout
20025
20026 \begin_layout Section
20027 Caption Placement
20028 \begin_inset LatexCommand index
20029 name "Caption ! Placement"
20030
20031 \end_inset
20032
20033
20034 \begin_inset LatexCommand index
20035 name "Floats ! Caption Placement"
20036
20037 \end_inset
20038
20039
20040 \begin_inset LatexCommand label
20041 name "sec:Caption-Placement"
20042
20043 \end_inset
20044
20045
20046 \end_layout
20047
20048 \begin_layout Standard
20049 The common caption placement rule is:
20050 \end_layout
20051
20052 \begin_layout Description
20053 Figure: Caption is set below the figure
20054 \end_layout
20055
20056 \begin_layout Description
20057 Table: Caption is set above the table
20058 \end_layout
20059
20060 \begin_layout Standard
20061 Having the caption above the table is unfortunately not supported in LaTeX's
20062  standard classes.
20063  That means if you are using the document classes 
20064 \family sans
20065 article
20066 \family default
20067
20068 \family sans
20069 book
20070 \family default
20071
20072 \family sans
20073 letter
20074 \family default
20075 , or 
20076 \family sans
20077 report
20078 \family default
20079  there will be no space between the caption and the table.
20080  To insert the needed space, add the following option to the load command
20081  of the LaTeX-package 
20082 \series bold
20083 caption
20084 \series default
20085  in your document preamble
20086 \begin_inset Foot
20087 status collapsed
20088
20089 \begin_layout Standard
20090 See section\InsetSpace ~
20091
20092 \begin_inset LatexCommand ref
20093 reference "sec:Caption-Formatting"
20094
20095 \end_inset
20096
20097  for more information of the package 
20098 \series bold
20099 caption
20100 \series default
20101 .
20102 \end_layout
20103
20104 \end_inset
20105
20106 :
20107 \end_layout
20108
20109 \begin_layout Standard
20110
20111 \series bold
20112 tableposition=top
20113 \end_layout
20114
20115 \begin_layout Standard
20116 If you are using a 
20117 \series bold
20118 koma-script
20119 \series default
20120
20121 \begin_inset LatexCommand index
20122 name "LaTeX-packages ! koma-script"
20123
20124 \end_inset
20125
20126  document class (
20127 \family sans
20128 article (koma-script)
20129 \family default
20130
20131 \family sans
20132 book (koma-script)
20133 \family default
20134
20135 \family sans
20136 letter (koma-script)
20137 \family default
20138 , or 
20139 \family sans
20140 report (koma-script)
20141 \family default
20142 \InsetSpace \thinspace{}
20143 ), you can alternatively to the 
20144 \series bold
20145 caption
20146 \series default
20147  package set the document class option 
20148 \series bold
20149 tablecaptionabove
20150 \series default
20151 .
20152 \end_layout
20153
20154 \begin_layout Standard
20155 \begin_inset VSpace bigskip
20156 \end_inset
20157
20158 It is also possible to set the caption beside a figure or table.
20159  To get this the LaTeX-package 
20160 \series bold
20161 sidecap
20162 \series default
20163
20164 \begin_inset LatexCommand index
20165 name "LaTeX-packages ! sidecap"
20166
20167 \end_inset
20168
20169  has to be loaded in the document preamble with the line
20170 \end_layout
20171
20172 \begin_layout Standard
20173
20174 \series bold
20175
20176 \backslash
20177 usepackage[option]{sidecap}
20178 \end_layout
20179
20180 \begin_layout Standard
20181 If you set no option, the caption is placed on the side of the outer page
20182  margin -- to the right on odd pages, to the left on even pages.
20183  You can change the placement to inner margin with the option 
20184 \series bold
20185 innercaption
20186 \series default
20187 .
20188  To force the placement always to the right or left, use the option 
20189 \series bold
20190 rightcaption
20191 \series default
20192  or 
20193 \series bold
20194 leftcaption
20195 \series default
20196 , respectively.
20197 \end_layout
20198
20199 \begin_layout Standard
20200 To place in LyX the caption of a float on the side, it is necessary to add
20201  these commands to the document preamble:
20202 \end_layout
20203
20204 \begin_layout Standard
20205
20206 \lyxline
20207
20208 \end_layout
20209
20210 \begin_layout Standard
20211
20212 \series bold
20213
20214 \backslash
20215 newcommand{
20216 \backslash
20217 TabBesBeg}{%
20218 \newline
20219
20220 \begin_inset ERT
20221 status collapsed
20222
20223 \begin_layout Standard
20224
20225
20226 \backslash
20227 hphantom{ }
20228 \end_layout
20229
20230 \end_inset
20231
20232
20233 \backslash
20234 let
20235 \backslash
20236 MyTable
20237 \backslash
20238 table
20239 \newline
20240
20241 \begin_inset ERT
20242 status collapsed
20243
20244 \begin_layout Standard
20245
20246
20247 \backslash
20248 hphantom{ }
20249 \end_layout
20250
20251 \end_inset
20252
20253
20254 \backslash
20255 let
20256 \backslash
20257 MyEndtable
20258 \backslash
20259 endtable
20260 \newline
20261
20262 \begin_inset ERT
20263 status collapsed
20264
20265 \begin_layout Standard
20266
20267
20268 \backslash
20269 hphantom{ }
20270 \end_layout
20271
20272 \end_inset
20273
20274
20275 \backslash
20276 renewenvironment{table}{
20277 \backslash
20278 begin{SCtable}}{
20279 \backslash
20280 end{SCtable}}}
20281 \end_layout
20282
20283 \begin_layout Standard
20284
20285 \series bold
20286
20287 \backslash
20288 newcommand{
20289 \backslash
20290 TabBesEnd}{%
20291 \newline
20292
20293 \begin_inset ERT
20294 status collapsed
20295
20296 \begin_layout Standard
20297
20298
20299 \backslash
20300 hphantom{ }
20301 \end_layout
20302
20303 \end_inset
20304
20305
20306 \backslash
20307 let
20308 \backslash
20309 table
20310 \backslash
20311 MyTable
20312 \newline
20313
20314 \begin_inset ERT
20315 status collapsed
20316
20317 \begin_layout Standard
20318
20319
20320 \backslash
20321 hphantom{ }
20322 \end_layout
20323
20324 \end_inset
20325
20326
20327 \backslash
20328 let
20329 \backslash
20330 endtable
20331 \backslash
20332 MyEndtable
20333 \end_layout
20334
20335 \begin_layout Standard
20336
20337 \series bold
20338
20339 \backslash
20340 newcommand{
20341 \backslash
20342 FigBesBeg}{%
20343 \newline
20344
20345 \begin_inset ERT
20346 status collapsed
20347
20348 \begin_layout Standard
20349
20350
20351 \backslash
20352 hphantom{ }
20353 \end_layout
20354
20355 \end_inset
20356
20357
20358 \backslash
20359 let
20360 \backslash
20361 MyFigure
20362 \backslash
20363 f\SpecialChar \textcompwordmark{}
20364 igure
20365 \newline
20366
20367 \begin_inset ERT
20368 status collapsed
20369
20370 \begin_layout Standard
20371
20372
20373 \backslash
20374 hphantom{ }
20375 \end_layout
20376
20377 \end_inset
20378
20379
20380 \backslash
20381 let
20382 \backslash
20383 MyEndf\SpecialChar \textcompwordmark{}
20384 igure
20385 \backslash
20386 endf\SpecialChar \textcompwordmark{}
20387 igure
20388 \newline
20389
20390 \begin_inset ERT
20391 status collapsed
20392
20393 \begin_layout Standard
20394
20395
20396 \backslash
20397 hphantom{ }
20398 \end_layout
20399
20400 \end_inset
20401
20402
20403 \backslash
20404 renewenvironment{f\SpecialChar \textcompwordmark{}
20405 igure}{
20406 \backslash
20407 begin{SCf\SpecialChar \textcompwordmark{}
20408 igure}}{
20409 \backslash
20410 end{SCf\SpecialChar \textcompwordmark{}
20411 igure}}}
20412 \end_layout
20413
20414 \begin_layout Standard
20415
20416 \series bold
20417
20418 \backslash
20419 newcommand{
20420 \backslash
20421 FigBesEnd}{%
20422 \newline
20423
20424 \begin_inset ERT
20425 status collapsed
20426
20427 \begin_layout Standard
20428
20429
20430 \backslash
20431 hphantom{ }
20432 \end_layout
20433
20434 \end_inset
20435
20436
20437 \backslash
20438 let
20439 \backslash
20440 f\SpecialChar \textcompwordmark{}
20441 igure
20442 \backslash
20443 MyFigure
20444 \newline
20445
20446 \begin_inset ERT
20447 status collapsed
20448
20449 \begin_layout Standard
20450
20451
20452 \backslash
20453 hphantom{ }
20454 \end_layout
20455
20456 \end_inset
20457
20458
20459 \backslash
20460 let
20461 \backslash
20462 endf\SpecialChar \textcompwordmark{}
20463 igure
20464 \backslash
20465 MyEndf\SpecialChar \textcompwordmark{}
20466 igure}
20467 \end_layout
20468
20469 \begin_layout Standard
20470
20471 \lyxline
20472
20473 \end_layout
20474
20475 \begin_layout Standard
20476 The commands allow you to redefine the floats so that the caption is set
20477  on the side.
20478  For figure floats use the command
20479 \end_layout
20480
20481 \begin_layout Standard
20482
20483 \series bold
20484
20485 \backslash
20486 FigBesBeg
20487 \end_layout
20488
20489 \begin_layout Standard
20490 in ERT before the float.
20491  Behind the float insert the command
20492 \end_layout
20493
20494 \begin_layout Standard
20495
20496 \series bold
20497
20498 \backslash
20499 FigBesEnd
20500 \end_layout
20501
20502 \begin_layout Standard
20503 in ERT to get back to the original float definition.
20504 \end_layout
20505
20506 \begin_layout Standard
20507 For table floats use the corresponding commands
20508 \end_layout
20509
20510 \begin_layout Standard
20511
20512 \series bold
20513
20514 \backslash
20515 TabBesBeg
20516 \series default
20517  and 
20518 \series bold
20519
20520 \backslash
20521 TabBesEnd
20522 \end_layout
20523
20524 \begin_layout Standard
20525 Figure\InsetSpace ~
20526
20527 \begin_inset LatexCommand ref
20528 reference "fig:cap-beside-fig"
20529
20530 \end_inset
20531
20532  and Table\InsetSpace ~
20533
20534 \begin_inset LatexCommand ref
20535 reference "tab:cap-beside-tab"
20536
20537 \end_inset
20538
20539  are examples where the caption is set beside.
20540 \end_layout
20541
20542 \begin_layout Standard
20543 You can see in the examples that the caption text appears at the top of
20544  the floats for table floats and at the bottom for figure floats.
20545  To change this, you can use the command
20546 \end_layout
20547
20548 \begin_layout Standard
20549
20550 \series bold
20551
20552 \backslash
20553 sidecaptionvpos{float type}{placement}
20554 \end_layout
20555
20556 \begin_layout Standard
20557 in the document preamble or in ERT before the float.
20558  The float type is either 
20559 \family sans
20560 figure
20561 \family default
20562  or 
20563 \family sans
20564 table
20565 \family default
20566 , the placement can be 
20567 \begin_inset Quotes eld
20568 \end_inset
20569
20570
20571 \family sans
20572 t
20573 \family default
20574
20575 \begin_inset Quotes erd
20576 \end_inset
20577
20578  for top, 
20579 \begin_inset Quotes eld
20580 \end_inset
20581
20582
20583 \family sans
20584 c
20585 \family default
20586
20587 \begin_inset Quotes erd
20588 \end_inset
20589
20590  for center, or 
20591 \begin_inset Quotes eld
20592 \end_inset
20593
20594
20595 \family sans
20596 b
20597 \family default
20598
20599 \begin_inset Quotes erd
20600 \end_inset
20601
20602  for bottom.
20603  To have for example the caption of figure floats vertically centered, use
20604  the command
20605 \end_layout
20606
20607 \begin_layout Standard
20608
20609 \series bold
20610
20611 \backslash
20612 sidecaptionvpos{f\SpecialChar \textcompwordmark{}
20613 igure}{c}
20614 \end_layout
20615
20616 \begin_layout Standard
20617 This was used for Figure\InsetSpace ~
20618
20619 \begin_inset LatexCommand ref
20620 reference "fig:cap-beside-fig-2"
20621
20622 \end_inset
20623
20624 .
20625 \end_layout
20626
20627 \begin_layout Standard
20628 \begin_inset VSpace medskip
20629 \end_inset
20630
20631 For more information about the package 
20632 \series bold
20633 sidecap
20634 \series default
20635  we refer to its documentation 
20636 \begin_inset LatexCommand cite
20637 key "sidecap"
20638
20639 \end_inset
20640
20641 .
20642 \end_layout
20643
20644 \begin_layout Standard
20645 \begin_inset Note Greyedout
20646 status open
20647
20648 \begin_layout Standard
20649
20650 \series bold
20651 Note:
20652 \series default
20653  The LaTeX-package 
20654 \series bold
20655 hypcap
20656 \series default
20657
20658 \begin_inset LatexCommand index
20659 name "LaTeX-packages ! hypcap"
20660
20661 \end_inset
20662
20663 , described in section\InsetSpace ~
20664
20665 \begin_inset LatexCommand ref
20666 reference "sub:Reference-Position"
20667
20668 \end_inset
20669
20670 , has no effect on floats with the caption set beside.
20671 \end_layout
20672
20673 \end_inset
20674
20675
20676 \end_layout
20677
20678 \begin_layout Standard
20679 \begin_inset ERT
20680 status collapsed
20681
20682 \begin_layout Standard
20683
20684
20685 \backslash
20686 FigBesBeg 
20687 \end_layout
20688
20689 \end_inset
20690
20691
20692 \end_layout
20693
20694 \begin_layout Standard
20695 \begin_inset Float figure
20696 wide false
20697 sideways false
20698 status open
20699
20700 \begin_layout Standard
20701 \begin_inset Graphics
20702         filename clipart/escher-lsd.eps
20703         scale 75
20704         scaleBeforeRotation
20705
20706 \end_inset
20707
20708
20709 \end_layout
20710
20711 \begin_layout Standard
20712 \begin_inset Caption
20713
20714 \begin_layout Standard
20715 \begin_inset LatexCommand label
20716 name "fig:cap-beside-fig"
20717
20718 \end_inset
20719
20720 This is a caption beside a figure.
20721 \end_layout
20722
20723 \end_inset
20724
20725
20726 \end_layout
20727
20728 \end_inset
20729
20730
20731 \end_layout
20732
20733 \begin_layout Standard
20734 \begin_inset ERT
20735 status collapsed
20736
20737 \begin_layout Standard
20738
20739
20740 \backslash
20741 TabBesBeg 
20742 \end_layout
20743
20744 \end_inset
20745
20746
20747 \end_layout
20748
20749 \begin_layout Standard
20750 \begin_inset Float table
20751 wide false
20752 sideways false
20753 status open
20754
20755 \begin_layout Standard
20756 \begin_inset Caption
20757
20758 \begin_layout Standard
20759 \begin_inset LatexCommand label
20760 name "tab:cap-beside-tab"
20761
20762 \end_inset
20763
20764 This is a caption beside a table.
20765 \end_layout
20766
20767 \end_inset
20768
20769
20770 \end_layout
20771
20772 \begin_layout Standard
20773 \begin_inset Tabular
20774 <lyxtabular version="3" rows="4" columns="5">
20775 <features>
20776 <column alignment="center" valignment="top" leftline="true" width="0">
20777 <column alignment="center" valignment="top" leftline="true" width="0">
20778 <column alignment="center" valignment="top" leftline="true" width="0">
20779 <column alignment="center" valignment="top" leftline="true" width="0">
20780 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
20781 <row topline="true">
20782 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20783 \begin_inset Text
20784
20785 \begin_layout Standard
20786 a
20787 \end_layout
20788
20789 \end_inset
20790 </cell>
20791 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20792 \begin_inset Text
20793
20794 \begin_layout Standard
20795
20796 \end_layout
20797
20798 \end_inset
20799 </cell>
20800 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20801 \begin_inset Text
20802
20803 \begin_layout Standard
20804 b
20805 \end_layout
20806
20807 \end_inset
20808 </cell>
20809 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20810 \begin_inset Text
20811
20812 \begin_layout Standard
20813
20814 \end_layout
20815
20816 \end_inset
20817 </cell>
20818 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20819 \begin_inset Text
20820
20821 \begin_layout Standard
20822 c
20823 \end_layout
20824
20825 \end_inset
20826 </cell>
20827 </row>
20828 <row topline="true">
20829 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20830 \begin_inset Text
20831
20832 \begin_layout Standard
20833
20834 \end_layout
20835
20836 \end_inset
20837 </cell>
20838 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20839 \begin_inset Text
20840
20841 \begin_layout Standard
20842 d
20843 \end_layout
20844
20845 \end_inset
20846 </cell>
20847 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20848 \begin_inset Text
20849
20850 \begin_layout Standard
20851
20852 \end_layout
20853
20854 \end_inset
20855 </cell>
20856 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20857 \begin_inset Text
20858
20859 \begin_layout Standard
20860 e
20861 \end_layout
20862
20863 \end_inset
20864 </cell>
20865 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20866 \begin_inset Text
20867
20868 \begin_layout Standard
20869
20870 \end_layout
20871
20872 \end_inset
20873 </cell>
20874 </row>
20875 <row topline="true">
20876 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20877 \begin_inset Text
20878
20879 \begin_layout Standard
20880 f
20881 \end_layout
20882
20883 \end_inset
20884 </cell>
20885 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20886 \begin_inset Text
20887
20888 \begin_layout Standard
20889
20890 \end_layout
20891
20892 \end_inset
20893 </cell>
20894 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20895 \begin_inset Text
20896
20897 \begin_layout Standard
20898 g
20899 \end_layout
20900
20901 \end_inset
20902 </cell>
20903 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20904 \begin_inset Text
20905
20906 \begin_layout Standard
20907
20908 \end_layout
20909
20910 \end_inset
20911 </cell>
20912 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20913 \begin_inset Text
20914
20915 \begin_layout Standard
20916 h
20917 \end_layout
20918
20919 \end_inset
20920 </cell>
20921 </row>
20922 <row topline="true" bottomline="true">
20923 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20924 \begin_inset Text
20925
20926 \begin_layout Standard
20927
20928 \end_layout
20929
20930 \end_inset
20931 </cell>
20932 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20933 \begin_inset Text
20934
20935 \begin_layout Standard
20936 i
20937 \end_layout
20938
20939 \end_inset
20940 </cell>
20941 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20942 \begin_inset Text
20943
20944 \begin_layout Standard
20945
20946 \end_layout
20947
20948 \end_inset
20949 </cell>
20950 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20951 \begin_inset Text
20952
20953 \begin_layout Standard
20954 j
20955 \end_layout
20956
20957 \end_inset
20958 </cell>
20959 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20960 \begin_inset Text
20961
20962 \begin_layout Standard
20963
20964 \end_layout
20965
20966 \end_inset
20967 </cell>
20968 </row>
20969 </lyxtabular>
20970
20971 \end_inset
20972
20973
20974 \end_layout
20975
20976 \end_inset
20977
20978
20979 \end_layout
20980
20981 \begin_layout Standard
20982 \begin_inset ERT
20983 status collapsed
20984
20985 \begin_layout Standard
20986
20987
20988 \backslash
20989 TabBesEnd
20990 \end_layout
20991
20992 \end_inset
20993
20994
20995 \end_layout
20996
20997 \begin_layout Standard
20998 \begin_inset ERT
20999 status collapsed
21000
21001 \begin_layout Standard
21002
21003
21004 \backslash
21005 sidecaptionvpos{figure}{c}
21006 \end_layout
21007
21008 \end_inset
21009
21010
21011 \begin_inset Float figure
21012 wide false
21013 sideways false
21014 status open
21015
21016 \begin_layout Standard
21017 \begin_inset Graphics
21018         filename clipart/escher-lsd.eps
21019         scale 75
21020         scaleBeforeRotation
21021
21022 \end_inset
21023
21024
21025 \end_layout
21026
21027 \begin_layout Standard
21028 \begin_inset Caption
21029
21030 \begin_layout Standard
21031 \begin_inset LatexCommand label
21032 name "fig:cap-beside-fig-2"
21033
21034 \end_inset
21035
21036 This is a vertically centered caption beside a figure.
21037 \end_layout
21038
21039 \end_inset
21040
21041
21042 \end_layout
21043
21044 \end_inset
21045
21046
21047 \end_layout
21048
21049 \begin_layout Standard
21050 \begin_inset ERT
21051 status collapsed
21052
21053 \begin_layout Standard
21054
21055
21056 \backslash
21057 FigBesEnd
21058 \end_layout
21059
21060 \end_inset
21061
21062
21063 \end_layout
21064
21065 \begin_layout Section
21066 Listings of Floats
21067 \begin_inset LatexCommand label
21068 name "sec:Listings-of-Floats"
21069
21070 \end_inset
21071
21072
21073 \begin_inset LatexCommand index
21074 name "Floats ! Float Lists"
21075
21076 \end_inset
21077
21078
21079 \end_layout
21080
21081 \begin_layout Standard
21082 Similar to the the table of contents where the sections of the document
21083  are listed, there are listings for all float types, like the figures of
21084  the documents.
21085  You can insert them via the 
21086 \family sans
21087 Insert\SpecialChar \menuseparator
21088 List\InsetSpace ~
21089 /\InsetSpace ~
21090 TOC
21091 \family default
21092  sub menus.
21093 \end_layout
21094
21095 \begin_layout Standard
21096 The list entries are the float captions or its short title, the float number,
21097  and the page number where they appear in the document.
21098 \end_layout
21099
21100 \begin_layout Standard
21101 You can find the list of figures and tables at the end of this document.
21102 \end_layout
21103
21104 \begin_layout Chapter
21105 Notes
21106 \end_layout
21107
21108 \begin_layout Section
21109 \begin_inset ERT
21110 status collapsed
21111
21112 \begin_layout Standard
21113
21114
21115 \backslash
21116 texorpdfstring{
21117 \end_layout
21118
21119 \end_inset
21120
21121 LyX
21122 \begin_inset ERT
21123 status collapsed
21124
21125 \begin_layout Standard
21126
21127 }{LyX}
21128 \end_layout
21129
21130 \end_inset
21131
21132  Notes
21133 \begin_inset LatexCommand label
21134 name "sec:LyX-Notes"
21135
21136 \end_inset
21137
21138
21139 \begin_inset LatexCommand index
21140 name "Notes ! LyX Notes"
21141
21142 \end_inset
21143
21144
21145 \begin_inset Note Note
21146 status collapsed
21147
21148 \begin_layout Standard
21149 The command 
21150 \backslash
21151 texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures
21152  are displayed wrongly in PDF-bookmarks.
21153  For more information about this, have a look at 
21154 \begin_inset LatexCommand cite
21155 key "hyperref"
21156
21157 \end_inset
21158
21159 .
21160 \end_layout
21161
21162 \end_inset
21163
21164
21165 \end_layout
21166
21167 \begin_layout Standard
21168 Notes are inserted with the toolbar button 
21169 \begin_inset Graphics
21170         filename ../images/note-insert.xpm
21171         scale 85
21172         scaleBeforeRotation
21173
21174 \end_inset
21175
21176  or the menu 
21177 \family sans
21178 Insert\SpecialChar \menuseparator
21179 Note
21180 \family default
21181 .
21182  There are five types of notes:
21183 \end_layout
21184
21185 \begin_layout Description
21186 LyX\InsetSpace ~
21187 Note This note type is for internal notes that won't appear in the output.
21188  Its note-box looks like this:
21189 \newline
21190
21191 \newline
21192
21193 \begin_inset Graphics
21194         filename clipart/LyXNoteImageQt4.png
21195         display none
21196         scale 85
21197         scaleBeforeRotation
21198
21199 \end_inset
21200
21201  
21202 \begin_inset Note Note
21203 status open
21204
21205 \begin_layout Standard
21206 This is text in a note box that doesn't appear in the output.
21207 \end_layout
21208
21209 \end_inset
21210
21211
21212 \end_layout
21213
21214 \begin_layout Description
21215 Comment This note also doesn't appear in the output but it appears as LaTeX-comm
21216 ent, when you export the document to LaTeX via the menu 
21217 \family sans
21218 File\SpecialChar \menuseparator
21219 Export\SpecialChar \menuseparator
21220 LaTeX (pdflatex) / LaTeX (plain)
21221 \family default
21222 .
21223  Its note-box looks like this:
21224 \newline
21225
21226 \newline
21227
21228 \begin_inset Graphics
21229         filename clipart/CommentNoteImageQt4.png
21230         display none
21231         scale 85
21232         scaleBeforeRotation
21233
21234 \end_inset
21235
21236  
21237 \begin_inset Note Comment
21238 status open
21239
21240 \begin_layout Standard
21241 This is text in a note box that only appears as comment in LaTeX-files.
21242 \end_layout
21243
21244 \end_inset
21245
21246
21247 \end_layout
21248
21249 \begin_layout Description
21250 Greyed\InsetSpace ~
21251 Out This note will appear in the output as grey text.
21252  Its note-box looks like this:
21253 \newline
21254
21255 \newline
21256
21257 \begin_inset Graphics
21258         filename clipart/GreyedOutNoteImageQt4.png
21259         display none
21260         scale 85
21261         scaleBeforeRotation
21262
21263 \end_inset
21264
21265
21266 \newline
21267
21268 \begin_inset ERT
21269 status collapsed
21270
21271 \begin_layout Standard
21272
21273
21274 \backslash
21275 renewenvironment{lyxgreyedout}
21276 \end_layout
21277
21278 \begin_layout Standard
21279
21280 {
21281 \backslash
21282 textcolor[gray]{0.8}
21283 \backslash
21284 bgroup}{
21285 \backslash
21286 egroup}
21287 \end_layout
21288
21289 \end_inset
21290
21291
21292 \begin_inset Note Greyedout
21293 status open
21294
21295 \begin_layout Standard
21296 This is text
21297 \begin_inset Foot
21298 status open
21299
21300 \begin_layout Standard
21301 This is an example footnote within a greyed out note.
21302 \end_layout
21303
21304 \end_inset
21305
21306  of a comment that appears in the output as grey text.
21307 \end_layout
21308
21309 \end_inset
21310
21311
21312 \begin_inset ERT
21313 status collapsed
21314
21315 \begin_layout Standard
21316
21317
21318 \backslash
21319 renewenvironment{lyxgreyedout}
21320 \end_layout
21321
21322 \begin_layout Standard
21323
21324 {
21325 \backslash
21326 textcolor{blue}
21327 \backslash
21328 bgroup}{
21329 \backslash
21330 egroup}
21331 \end_layout
21332
21333 \end_inset
21334
21335
21336 \begin_inset Note Note
21337 status collapsed
21338
21339 \begin_layout Standard
21340 The greyed out note is here redefined to show it with the original LyX definitio
21341 n because greyed out notes are redefined in the preamble of this document,
21342  as described below, to have blue text.
21343 \end_layout
21344
21345 \end_inset
21346
21347
21348 \newline
21349
21350 \newline
21351 As you can see in the example, the first line of greyed out notes is a bit
21352  indented and greyed out notes can have footnotes.
21353 \end_layout
21354
21355 \begin_layout Description
21356 Framed This note will appear in the output as framed text.
21357  Its note-box looks like this:
21358 \newline
21359
21360 \newline
21361
21362 \begin_inset Graphics
21363         filename clipart/FramedNoteImageQt4.png
21364         display none
21365         scale 85
21366         scaleBeforeRotation
21367
21368 \end_inset
21369
21370  
21371 \begin_inset Note Framed
21372 status open
21373
21374 \begin_layout Standard
21375 This is text in a note box that appears framed in the output.
21376 \end_layout
21377
21378 \end_inset
21379
21380  In contrary to framed boxes
21381 \begin_inset Foot
21382 status collapsed
21383
21384 \begin_layout Standard
21385 Framed boxes are described in section\InsetSpace ~
21386
21387 \begin_inset LatexCommand ref
21388 reference "sec:Framed-Boxes"
21389
21390 \end_inset
21391
21392 .
21393 \end_layout
21394
21395 \end_inset
21396
21397  the frame uses always the whole text width and the note is set into its
21398  own paragraph.
21399 \end_layout
21400
21401 \begin_layout Description
21402 Shaded This note will appear in the output with red background color.
21403  Its note box looks like this:
21404 \newline
21405
21406 \newline
21407
21408 \begin_inset Graphics
21409         filename clipart/ShadedNoteImageQt4.png
21410         display none
21411         scale 85
21412         scaleBeforeRotation
21413
21414 \end_inset
21415
21416
21417 \begin_inset Note Shaded
21418 status open
21419
21420 \begin_layout Standard
21421 This text in a note box appears in the output with red background.
21422 \end_layout
21423
21424 \end_inset
21425
21426 In contrary to colored boxes
21427 \begin_inset Foot
21428 status collapsed
21429
21430 \begin_layout Standard
21431 Colored boxes are described in section\InsetSpace ~
21432
21433 \begin_inset LatexCommand ref
21434 reference "sec:Colored-Boxes"
21435
21436 \end_inset
21437
21438 .
21439 \end_layout
21440
21441 \end_inset
21442
21443  the note uses always the whole text width and the note is set into its
21444  own paragraph.
21445 \end_layout
21446
21447 \begin_layout Standard
21448 \begin_inset VSpace bigskip
21449 \end_inset
21450
21451 When you use the toolbar button 
21452 \begin_inset Graphics
21453         filename ../images/note-insert.xpm
21454         scale 85
21455         scaleBeforeRotation
21456
21457 \end_inset
21458
21459  to insert notes, a 
21460 \family sans
21461 LyX\InsetSpace ~
21462 Note
21463 \family default
21464  is inserted.
21465  You can switch between the five note types by right-clicking on the note-box.
21466  
21467 \family roman
21468 \series medium
21469 \bar no
21470 If you want to turn existing text into a note, mark it and click on the
21471  note
21472 \family default
21473 \series default
21474 \bar default
21475  toolbar 
21476 \family roman
21477 \series medium
21478 \bar no
21479 button
21480 \family default
21481 \series default
21482 \bar default
21483 .
21484 \end_layout
21485
21486 \begin_layout Standard
21487 \begin_inset VSpace bigskip
21488 \end_inset
21489
21490 You can change the text color of the greyed out notes in the preamble with
21491  the following command:
21492 \end_layout
21493
21494 \begin_layout Standard
21495
21496 \series bold
21497
21498 \backslash
21499 renewenvironment{lyxgreyedout}
21500 \newline
21501
21502 \begin_inset ERT
21503 status collapsed
21504
21505 \begin_layout Standard
21506
21507
21508 \backslash
21509 hphantom{ }
21510 \end_layout
21511
21512 \end_inset
21513
21514 {
21515 \backslash
21516 textcolor{color}
21517 \backslash
21518 bgroup}{
21519 \backslash
21520 egroup}
21521 \end_layout
21522
21523 \begin_layout Standard
21524 The available colors and the method to define own colors is explained in
21525  section\InsetSpace ~
21526
21527 \begin_inset LatexCommand ref
21528 reference "sec:Colored-Tables"
21529
21530 \end_inset
21531
21532 .
21533 \end_layout
21534
21535 \begin_layout Standard
21536 Notes that appear in blue in this document are set using greyed out notes
21537  with blue text.
21538 \end_layout
21539
21540 \begin_layout Standard
21541 \begin_inset VSpace bigskip
21542 \end_inset
21543
21544
21545 \end_layout
21546
21547 \begin_layout Standard
21548 The text style of 
21549 \family sans
21550 Framed
21551 \family default
21552  and 
21553 \family sans
21554 Shaded
21555 \family default
21556  notes can be set in the 
21557 \family sans
21558 Text Style
21559 \family default
21560  dialog.
21561 \end_layout
21562
21563 \begin_layout Standard
21564 The default frame width for 
21565 \family sans
21566 Framed
21567 \family default
21568  notes is 0.4\InsetSpace \thinspace{}
21569 pt; it can be changed by changing the size 
21570 \series bold
21571
21572 \backslash
21573 FrameRule
21574 \series default
21575 .
21576  The default space between the note content and the frame is 9\InsetSpace \thinspace{}
21577 pt; it can
21578  be changed by changing the size 
21579 \series bold
21580
21581 \backslash
21582 FrameSep
21583 \series default
21584 .
21585  For example the frame appearance of the following 
21586 \family sans
21587 Framed
21588 \family default
21589  note is set with the ERT commands
21590 \end_layout
21591
21592 \begin_layout Standard
21593
21594 \series bold
21595
21596 \backslash
21597 FrameRule 5pt 
21598 \backslash
21599 FrameSep 0.5cm
21600 \end_layout
21601
21602 \begin_layout Standard
21603 \begin_inset ERT
21604 status collapsed
21605
21606 \begin_layout Standard
21607
21608
21609 \backslash
21610 FrameRule 5pt 
21611 \backslash
21612 FrameSep 0.5cm
21613 \end_layout
21614
21615 \end_inset
21616
21617
21618 \begin_inset Note Framed
21619 status open
21620
21621 \begin_layout Standard
21622 This is text in a 
21623 \family sans
21624 Framed
21625 \family default
21626  note.
21627 \end_layout
21628
21629 \end_inset
21630
21631
21632 \begin_inset ERT
21633 status collapsed
21634
21635 \begin_layout Standard
21636
21637
21638 \backslash
21639 FrameRule 0.4pt 
21640 \backslash
21641 FrameSep 9pt
21642 \end_layout
21643
21644 \end_inset
21645
21646
21647 \end_layout
21648
21649 \begin_layout Standard
21650 \begin_inset VSpace bigskip
21651 \end_inset
21652
21653
21654 \end_layout
21655
21656 \begin_layout Standard
21657 For 
21658 \family sans
21659 Shaded
21660 \family default
21661  notes the default space between the note content and the note border is
21662  3\InsetSpace \thinspace{}
21663 pt; it can be changed by changing the size 
21664 \series bold
21665
21666 \backslash
21667 fboxsep
21668 \series default
21669 .
21670 \newline
21671 The default background color red can be changed with the command 
21672 \series bold
21673
21674 \backslash
21675 def\SpecialChar \textcompwordmark{}
21676 inecolor{shadebox}
21677 \series default
21678 .
21679  The scheme of the 
21680 \series bold
21681
21682 \backslash
21683 def\SpecialChar \textcompwordmark{}
21684 inecolor
21685 \series default
21686  command is explained in section\InsetSpace ~
21687
21688 \begin_inset LatexCommand ref
21689 reference "sec:Colored-Tables"
21690
21691 \end_inset
21692
21693
21694 \begin_inset Foot
21695 status collapsed
21696
21697 \begin_layout Standard
21698 Note that 
21699 \series bold
21700
21701 \backslash
21702 def
21703 \series default
21704 \SpecialChar \textcompwordmark{}
21705
21706 \series bold
21707 inecolor
21708 \series default
21709  requires the LaTeX-package 
21710 \series bold
21711 color
21712 \series default
21713  in the preamble, see section\InsetSpace ~
21714
21715 \begin_inset LatexCommand ref
21716 reference "sec:Colored-Boxes"
21717
21718 \end_inset
21719
21720 .
21721 \end_layout
21722
21723 \end_inset
21724
21725 .
21726 \end_layout
21727
21728 \begin_layout Standard
21729 For example the appearance of the following 
21730 \family sans
21731 Shaded
21732 \family default
21733  note is set with the ERT commands
21734 \end_layout
21735
21736 \begin_layout Standard
21737
21738 \series bold
21739
21740 \backslash
21741 fboxsep 0.5cm
21742 \series default
21743
21744 \newline
21745
21746 \series bold
21747
21748 \backslash
21749 def\SpecialChar \textcompwordmark{}
21750 inecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
21751 \end_layout
21752
21753 \begin_layout Standard
21754 \begin_inset ERT
21755 status collapsed
21756
21757 \begin_layout Standard
21758
21759
21760 \backslash
21761 fboxsep 0.5cm
21762 \end_layout
21763
21764 \end_inset
21765
21766
21767 \begin_inset ERT
21768 status collapsed
21769
21770 \begin_layout Standard
21771
21772
21773 \backslash
21774 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
21775 \end_layout
21776
21777 \end_inset
21778
21779
21780 \begin_inset Note Shaded
21781 status open
21782
21783 \begin_layout Standard
21784
21785 \color yellow
21786 This is yellow text in a
21787 \color none
21788  
21789 \family sans
21790 \color yellow
21791 Shaded
21792 \family default
21793 \color none
21794  
21795 \color yellow
21796 note with darkgreen background.
21797 \end_layout
21798
21799 \end_inset
21800
21801
21802 \begin_inset ERT
21803 status collapsed
21804
21805 \begin_layout Standard
21806
21807
21808 \backslash
21809 fboxsep 3pt
21810 \end_layout
21811
21812 \end_inset
21813
21814
21815 \begin_inset ERT
21816 status collapsed
21817
21818 \begin_layout Standard
21819
21820
21821 \backslash
21822 definecolor{shadecolor}{rgb}{1,0,0}
21823 \end_layout
21824
21825 \end_inset
21826
21827
21828 \end_layout
21829
21830 \begin_layout Section
21831 Footnotes
21832 \begin_inset LatexCommand label
21833 name "sec:Footnotes"
21834
21835 \end_inset
21836
21837
21838 \begin_inset LatexCommand index
21839 name "Notes ! Footnotes"
21840
21841 \end_inset
21842
21843
21844 \begin_inset LatexCommand index
21845 name "Footnotes"
21846
21847 \end_inset
21848
21849
21850 \end_layout
21851
21852 \begin_layout Standard
21853 Footnotes can be inserted using the toolbar button 
21854 \begin_inset Graphics
21855         filename ../images/footnote-insert.xpm
21856         scale 85
21857         scaleBeforeRotation
21858
21859 \end_inset
21860
21861  or the menu 
21862 \family sans
21863 Insert\SpecialChar \menuseparator
21864 Footnote
21865 \family default
21866 .
21867  
21868 \family roman
21869 \series medium
21870 \bar no
21871 You'll see
21872 \family default
21873 \series default
21874 \bar default
21875  then the following footnote-box: 
21876 \begin_inset Graphics
21877         filename clipart/footnoteQt4.png
21878         scale 80
21879         scaleBeforeRotation
21880
21881 \end_inset
21882
21883  
21884 \family roman
21885 \series medium
21886 \bar no
21887 where you can enter the footnote text.
21888  If you want to turn existing text into a footnote, mark it and click on
21889  the footnote
21890 \family default
21891 \series default
21892 \bar default
21893  toolbar 
21894 \family roman
21895 \series medium
21896 \bar no
21897 button
21898 \family default
21899 \series default
21900 \bar default
21901 .
21902 \end_layout
21903
21904 \begin_layout Standard
21905 Here is an example footnote:
21906 \family roman
21907 \series medium
21908 \bar no
21909
21910 \begin_inset Foot
21911 status open
21912
21913 \begin_layout Standard
21914 \begin_inset LatexCommand label
21915 name "foot:This-is-an"
21916
21917 \end_inset
21918
21919 This is an example footnote.
21920 \end_layout
21921
21922 \end_inset
21923
21924
21925 \family default
21926 \series default
21927 \bar default
21928
21929 \begin_inset ERT
21930 status collapsed
21931
21932 \begin_layout Standard
21933
21934
21935 \backslash
21936 newcounter{MyRepeatFoot}
21937 \end_layout
21938
21939 \begin_layout Standard
21940
21941
21942 \backslash
21943 setcounter{MyRepeatFoot}{
21944 \backslash
21945 thefootnote}
21946 \end_layout
21947
21948 \end_inset
21949
21950
21951 \end_layout
21952
21953 \begin_layout Standard
21954 The footnote will appear in the output as a superscript number at the text
21955  position where the footnote box is placed.
21956  The footnote text is placed at the bottom of the current page.
21957  The footnote number is calculated by LaTeX, the numbers are consecutive.
21958  It depends on your document-class, if the footnote number is reset for
21959  every chapter.
21960 \end_layout
21961
21962 \begin_layout Standard
21963 Footnotes can be referenced like floats: Insert a label into the footnote
21964  and cross-reference this label in the text as described in section\InsetSpace ~
21965
21966 \begin_inset LatexCommand ref
21967 reference "sec:Referencing-Floats"
21968
21969 \end_inset
21970
21971 .
21972 \newline
21973 This is a cross-reference of Footnote\InsetSpace ~
21974
21975 \begin_inset LatexCommand ref
21976 reference "foot:This-is-an"
21977
21978 \end_inset
21979
21980 .
21981 \end_layout
21982
21983 \begin_layout Standard
21984 \begin_inset VSpace defskip
21985 \end_inset
21986
21987 To use footnotes within tables, you have to use minipages, see section\InsetSpace ~
21988
21989 \begin_inset LatexCommand ref
21990 reference "sec:Minipages"
21991
21992 \end_inset
21993
21994 .
21995  Footnotes within longtables are described in section\InsetSpace ~
21996
21997 \begin_inset LatexCommand ref
21998 reference "sub:Footnotes-in-Longtables"
21999
22000 \end_inset
22001
22002 .
22003 \end_layout
22004
22005 \begin_layout Standard
22006 \begin_inset VSpace defskip
22007 \end_inset
22008
22009 To create only a mark for a footnote, use the command 
22010 \series bold
22011
22012 \backslash
22013 footnotemark[number]
22014 \series default
22015  in ERT.
22016  This is used when you have the same annotation several times in a text
22017  but doesn't want to print the footnote text every time.
22018 \newline
22019 As you don't know
22020  the number of the repeating footnote while you are writing the text, you
22021  have to store its number.
22022  For the following footnote mark example, these commands were inserted in
22023  ERT behind Footnote\InsetSpace ~
22024
22025 \begin_inset LatexCommand ref
22026 reference "foot:This-is-an"
22027
22028 \end_inset
22029
22030  to store the footnote number:
22031 \end_layout
22032
22033 \begin_layout Standard
22034
22035 \series bold
22036
22037 \backslash
22038 newcounter{MyRepeatFoot}
22039 \newline
22040
22041 \backslash
22042 setcounter{MyRepeatFoot}{
22043 \backslash
22044 thefootnote}
22045 \end_layout
22046
22047 \begin_layout Standard
22048 The footnote mark was then created with this command:
22049 \end_layout
22050
22051 \begin_layout Standard
22052
22053 \series bold
22054
22055 \backslash
22056 footnotemark[
22057 \backslash
22058 theMyRepeatFoot]
22059 \end_layout
22060
22061 \begin_layout Standard
22062 Here is an example footnote mark:
22063 \family roman
22064 \series medium
22065 \bar no
22066
22067 \begin_inset ERT
22068 status collapsed
22069
22070 \begin_layout Standard
22071
22072
22073 \backslash
22074 footnotemark[
22075 \backslash
22076 theMyRepeatFoot]
22077 \end_layout
22078
22079 \end_inset
22080
22081
22082 \end_layout
22083
22084 \begin_layout Subsection
22085 Footnote Numbering
22086 \begin_inset LatexCommand label
22087 name "sub:Footnote-Numbering"
22088
22089 \end_inset
22090
22091
22092 \begin_inset LatexCommand index
22093 name "Footnotes ! Numbering"
22094
22095 \end_inset
22096
22097
22098 \end_layout
22099
22100 \begin_layout Standard
22101 To reset the footnote number back to 1 after each section
22102 \family roman
22103 , add this command to your document preamble:
22104 \end_layout
22105
22106 \begin_layout Standard
22107
22108 \series bold
22109
22110 \backslash
22111 @addtoreset{footnote}{section}
22112 \end_layout
22113
22114 \begin_layout Standard
22115 \begin_inset VSpace bigskip
22116 \end_inset
22117
22118 The following preamble command changes the footnote numbering style to small
22119  roman numerals:
22120 \end_layout
22121
22122 \begin_layout Standard
22123
22124 \series bold
22125
22126 \backslash
22127 renewcommand{
22128 \backslash
22129 thefootnote}{
22130 \backslash
22131 roman{footnote}}
22132 \end_layout
22133
22134 \begin_layout Standard
22135 \begin_inset ERT
22136 status collapsed
22137
22138 \begin_layout Standard
22139
22140
22141 \backslash
22142 renewcommand{
22143 \backslash
22144 thefootnote}{
22145 \backslash
22146 roman{footnote}}
22147 \end_layout
22148
22149 \end_inset
22150
22151  This is a footnote with roman numbering:
22152 \begin_inset Foot
22153 status open
22154
22155 \begin_layout Standard
22156 This is an example footnote with roman numbering.
22157 \end_layout
22158
22159 \end_inset
22160
22161
22162 \end_layout
22163
22164 \begin_layout Standard
22165 To change the numbering style to capital roman numerals replace in the command
22166  above 
22167 \series bold
22168
22169 \backslash
22170 roman
22171 \series default
22172  by 
22173 \series bold
22174
22175 \backslash
22176 Roman
22177 \series default
22178 .
22179  To 
22180 \begin_inset Quotes eld
22181 \end_inset
22182
22183 number
22184 \begin_inset Quotes erd
22185 \end_inset
22186
22187  footnotes with capital or small Latin letters use 
22188 \series bold
22189
22190 \backslash
22191 Alph
22192 \series default
22193  or 
22194 \series bold
22195
22196 \backslash
22197 alph
22198 \series default
22199 , respectively.
22200  To 
22201 \begin_inset Quotes eld
22202 \end_inset
22203
22204 number
22205 \begin_inset Quotes erd
22206 \end_inset
22207
22208  footnotes with symbols use 
22209 \series bold
22210
22211 \backslash
22212 fnsymbol
22213 \series default
22214 .
22215 \end_layout
22216
22217 \begin_layout Standard
22218 \begin_inset Note Greyedout
22219 status open
22220
22221 \begin_layout Standard
22222
22223 \series bold
22224 Note:
22225 \series default
22226  You can only number 26 footnotes with Latin letters, because this numbering
22227  is limited to single letters.
22228 \end_layout
22229
22230 \end_inset
22231
22232
22233 \newline
22234
22235 \begin_inset Note Greyedout
22236 status open
22237
22238 \begin_layout Standard
22239
22240 \series bold
22241 Note:
22242 \series default
22243  You can only number 9 footnotes with symbols.
22244 \end_layout
22245
22246 \end_inset
22247
22248
22249 \end_layout
22250
22251 \begin_layout Standard
22252 To return to the default numbering style when you changed to another one,
22253  use 
22254 \series bold
22255
22256 \backslash
22257 arabic
22258 \series default
22259  instead of 
22260 \series bold
22261
22262 \backslash
22263 roman
22264 \series default
22265  in the command above.
22266 \begin_inset ERT
22267 status collapsed
22268
22269 \begin_layout Standard
22270
22271
22272 \backslash
22273 renewcommand{
22274 \backslash
22275 thefootnote}{
22276 \backslash
22277 arabic{footnote}}
22278 \end_layout
22279
22280 \end_inset
22281
22282
22283 \end_layout
22284
22285 \begin_layout Standard
22286 \begin_inset VSpace bigskip
22287 \end_inset
22288
22289
22290 \end_layout
22291
22292 \begin_layout Standard
22293 If you want to have footnotes numbered in the scheme 
22294 \begin_inset Quotes eld
22295 \end_inset
22296
22297 chapter.footnote
22298 \begin_inset Quotes erd
22299 \end_inset
22300
22301 , add the following command to your document preamble:
22302 \end_layout
22303
22304 \begin_layout Standard
22305
22306 \series bold
22307
22308 \backslash
22309 numberwithin{footnote}{chapter}
22310 \end_layout
22311
22312 \begin_layout Standard
22313 To be able to use the command 
22314 \series bold
22315
22316 \backslash
22317 numberwithin
22318 \series default
22319 , set in the tab 
22320 \family sans
22321 Math\InsetSpace ~
22322 Options
22323 \family default
22324  in the document settings the option 
22325 \family sans
22326 Use\InsetSpace ~
22327 AMS\InsetSpace ~
22328 math\InsetSpace ~
22329 package
22330 \family default
22331 .
22332 \end_layout
22333
22334 \begin_layout Standard
22335 \begin_inset ERT
22336 status collapsed
22337
22338 \begin_layout Standard
22339
22340
22341 \backslash
22342 numberwithin{footnote}{chapter}
22343 \end_layout
22344
22345 \end_inset
22346
22347 This is another example footnote:
22348 \series bold
22349
22350 \begin_inset Foot
22351 status open
22352
22353 \begin_layout Standard
22354 This is a footnote numbered in the scheme 
22355 \begin_inset Quotes eld
22356 \end_inset
22357
22358 chapter.footnote
22359 \begin_inset Quotes erd
22360 \end_inset
22361
22362 .
22363 \end_layout
22364
22365 \end_inset
22366
22367
22368 \series default
22369
22370 \begin_inset ERT
22371 status collapsed
22372
22373 \begin_layout Standard
22374
22375
22376 \backslash
22377 renewcommand{
22378 \backslash
22379 thefootnote}{
22380 \backslash
22381 arabic{footnote}}
22382 \end_layout
22383
22384 \end_inset
22385
22386
22387 \end_layout
22388
22389 \begin_layout Standard
22390 \begin_inset Note Greyedout
22391 status open
22392
22393 \begin_layout Standard
22394
22395 \series bold
22396 Note:
22397 \series default
22398  
22399 \series bold
22400
22401 \backslash
22402 numberwithin
22403 \series default
22404  always prints out the footnote number as arabic number; previous redefinitions
22405  to get non-arabic numbers are overwritten.
22406 \end_layout
22407
22408 \end_inset
22409
22410
22411 \end_layout
22412
22413 \begin_layout Standard
22414 So to get for example the scheme 
22415 \begin_inset Quotes eld
22416 \end_inset
22417
22418 chapter.
22419 \backslash
22420 Roman{footnote}
22421 \begin_inset Quotes erd
22422 \end_inset
22423
22424 , use this command instead of 
22425 \series bold
22426
22427 \backslash
22428 numberwithin
22429 \series default
22430 :
22431 \end_layout
22432
22433 \begin_layout Standard
22434
22435 \series bold
22436
22437 \backslash
22438 renewcommand{
22439 \backslash
22440 thefootnote}{
22441 \backslash
22442 thechapter.
22443 \backslash
22444 Roman{footnote}}
22445 \end_layout
22446
22447 \begin_layout Subsection
22448 Footnote Placement
22449 \begin_inset LatexCommand index
22450 name "Footnotes ! Placement"
22451
22452 \end_inset
22453
22454
22455 \end_layout
22456
22457 \begin_layout Standard
22458 If you have several footnotes in one page, they appear without vertical
22459  space between them at the bottom of the page.
22460  To make them better readable you can e.\InsetSpace \thinspace{}
22461 g.\InsetSpace ~
22462 add 1.5\InsetSpace \thinspace{}
22463 mm space with the following
22464  preamble command:
22465 \end_layout
22466
22467 \begin_layout Standard
22468
22469 \series bold
22470
22471 \backslash
22472 let
22473 \backslash
22474 myFoot
22475 \backslash
22476 footnote
22477 \newline
22478
22479 \backslash
22480 renewcommand{
22481 \backslash
22482 footnote}[1]{
22483 \backslash
22484 myFoot{#1
22485 \backslash
22486 vspace{1.5mm}}}
22487 \end_layout
22488
22489 \begin_layout Standard
22490 \begin_inset VSpace bigskip
22491 \end_inset
22492
22493 In a two-column document the footnotes appear at the bottom of every column,
22494  see Figure\InsetSpace ~
22495
22496 \begin_inset LatexCommand ref
22497 reference "fig:Standard-footnote-placement"
22498
22499 \end_inset
22500
22501 .
22502  If the footnotes should only appear at the bottom of the right column,
22503  as in Figure\InsetSpace ~
22504
22505 \begin_inset LatexCommand ref
22506 reference "fig:Footnote-placement-in"
22507
22508 \end_inset
22509
22510 , use the LaTeX-package 
22511 \series bold
22512 ftnright
22513 \series default
22514
22515 \begin_inset LatexCommand index
22516 name "LaTeX-packages ! ftnright"
22517
22518 \end_inset
22519
22520  with this command in the document preamble:
22521 \end_layout
22522
22523 \begin_layout Standard
22524
22525 \series bold
22526
22527 \backslash
22528 usepackage{ftnright}
22529 \end_layout
22530
22531 \begin_layout Standard
22532 \begin_inset Float figure
22533 placement !h
22534 wide false
22535 sideways false
22536 status open
22537
22538 \begin_layout Standard
22539 \begin_inset ERT
22540 status collapsed
22541
22542 \begin_layout Standard
22543
22544
22545 \backslash
22546 framebox{
22547 \end_layout
22548
22549 \end_inset
22550
22551
22552 \begin_inset Graphics
22553         filename clipart/without_fntright.pdf
22554         width 100col%
22555         scaleBeforeRotation
22556
22557 \end_inset
22558
22559
22560 \begin_inset ERT
22561 status collapsed
22562
22563 \begin_layout Standard
22564
22565 }
22566 \end_layout
22567
22568 \end_inset
22569
22570
22571 \end_layout
22572
22573 \begin_layout Standard
22574 \begin_inset Caption
22575
22576 \begin_layout Standard
22577 \begin_inset LatexCommand label
22578 name "fig:Standard-footnote-placement"
22579
22580 \end_inset
22581
22582 Standard footnote placement in two-column documents.
22583 \end_layout
22584
22585 \end_inset
22586
22587
22588 \end_layout
22589
22590 \end_inset
22591
22592
22593 \end_layout
22594
22595 \begin_layout Standard
22596 \begin_inset Float figure
22597 placement !h
22598 wide false
22599 sideways false
22600 status open
22601
22602 \begin_layout Standard
22603 \begin_inset ERT
22604 status collapsed
22605
22606 \begin_layout Standard
22607
22608
22609 \backslash
22610 framebox{
22611 \end_layout
22612
22613 \end_inset
22614
22615
22616 \begin_inset Graphics
22617         filename clipart/with_fntright.pdf
22618         width 100col%
22619         scaleBeforeRotation
22620
22621 \end_inset
22622
22623
22624 \begin_inset ERT
22625 status collapsed
22626
22627 \begin_layout Standard
22628
22629 }
22630 \end_layout
22631
22632 \end_inset
22633
22634
22635 \end_layout
22636
22637 \begin_layout Standard
22638 \begin_inset Caption
22639
22640 \begin_layout Standard
22641 \begin_inset LatexCommand label
22642 name "fig:Footnote-placement-in"
22643
22644 \end_inset
22645
22646 Footnote placement in two-column documents when the LaTeX-package 
22647 \series bold
22648 ftnright
22649 \series default
22650  is used.
22651 \end_layout
22652
22653 \end_inset
22654
22655
22656 \end_layout
22657
22658 \end_inset
22659
22660
22661 \end_layout
22662
22663 \begin_layout Standard
22664 \begin_inset VSpace bigskip
22665 \end_inset
22666
22667 In some scientific literature it is usual to collect the footnotes and print
22668  them in a separate paragraph at the the end of a section, like in Figure\InsetSpace ~
22669
22670 \begin_inset LatexCommand ref
22671 reference "fig:Endnotes----footnotes"
22672
22673 \end_inset
22674
22675 .
22676  They are then so called 
22677 \begin_inset Quotes eld
22678 \end_inset
22679
22680 endnotes
22681 \begin_inset Quotes erd
22682 \end_inset
22683
22684 .
22685  To use endnotes instead of footnotes in your document, load the LaTeX-package
22686  
22687 \series bold
22688 endnotes
22689 \series default
22690
22691 \begin_inset LatexCommand index
22692 name "LaTeX-packages ! endnotes"
22693
22694 \end_inset
22695
22696  with the document preamble lines
22697 \end_layout
22698
22699 \begin_layout Standard
22700
22701 \series bold
22702
22703 \backslash
22704 usepackage{endnotes}
22705 \newline
22706
22707 \backslash
22708 let
22709 \backslash
22710 footnote
22711 \backslash
22712 endnote
22713 \end_layout
22714
22715 \begin_layout Standard
22716 To insert the collected footnotes, insert the command
22717 \end_layout
22718
22719 \begin_layout Standard
22720
22721 \series bold
22722
22723 \backslash
22724 theendnotes
22725 \end_layout
22726
22727 \begin_layout Standard
22728 in ERT at the the end of a section or chapter.
22729 \end_layout
22730
22731 \begin_layout Standard
22732 \begin_inset Float figure
22733 wide false
22734 sideways false
22735 status open
22736
22737 \begin_layout Standard
22738 \align center
22739 \begin_inset ERT
22740 status collapsed
22741
22742 \begin_layout Standard
22743
22744
22745 \backslash
22746 framebox{
22747 \end_layout
22748
22749 \end_inset
22750
22751
22752 \begin_inset Graphics
22753         filename clipart/endnotes.pdf
22754         scaleBeforeRotation
22755
22756 \end_inset
22757
22758
22759 \begin_inset ERT
22760 status collapsed
22761
22762 \begin_layout Standard
22763
22764 }
22765 \end_layout
22766
22767 \end_inset
22768
22769
22770 \end_layout
22771
22772 \begin_layout Standard
22773 \begin_inset Caption
22774
22775 \begin_layout Standard
22776 \begin_inset LatexCommand label
22777 name "fig:Endnotes----footnotes"
22778
22779 \end_inset
22780
22781 Endnotes -- footnotes are printed in a separate paragraph at the end of
22782  sections or chapters.
22783 \end_layout
22784
22785 \end_inset
22786
22787
22788 \end_layout
22789
22790 \end_inset
22791
22792
22793 \end_layout
22794
22795 \begin_layout Standard
22796 \begin_inset VSpace medskip
22797 \end_inset
22798
22799 The paragraph heading for the endnotes isn't automatically translated into
22800  the document language, this must be done manually.
22801  The following preamble command translate the default English name 
22802 \begin_inset Quotes eld
22803 \end_inset
22804
22805 Notes
22806 \begin_inset Quotes erd
22807 \end_inset
22808
22809  to the German translation 
22810 \begin_inset Quotes eld
22811 \end_inset
22812
22813 Anmerkungen
22814 \begin_inset Quotes erd
22815 \end_inset
22816
22817 :
22818 \end_layout
22819
22820 \begin_layout Standard
22821
22822 \series bold
22823
22824 \backslash
22825 renewcommand{
22826 \backslash
22827 notesname}{Anmerkungen}
22828 \end_layout
22829
22830 \begin_layout Standard
22831 \begin_inset VSpace medskip
22832 \end_inset
22833
22834 The numbering of endnotes can be changed like the footnote numbering as
22835  described in section\InsetSpace ~
22836
22837 \begin_inset LatexCommand ref
22838 reference "sub:Footnote-Numbering"
22839
22840 \end_inset
22841
22842 ; just replace the command 
22843 \series bold
22844
22845 \backslash
22846 thefootnote
22847 \series default
22848  by 
22849 \series bold
22850
22851 \backslash
22852 theendnote
22853 \series default
22854 .
22855  To reset the endnote number use the command 
22856 \series bold
22857
22858 \backslash
22859 @addtoreset
22860 \series default
22861  as described in section\InsetSpace ~
22862
22863 \begin_inset LatexCommand ref
22864 reference "sub:Footnote-Numbering"
22865
22866 \end_inset
22867
22868  and replace the command parameter 
22869 \series bold
22870 footnote
22871 \series default
22872  by 
22873 \series bold
22874 endnote
22875 \series default
22876 .
22877 \end_layout
22878
22879 \begin_layout Standard
22880 To create only a mark for an endnote, use the command 
22881 \series bold
22882
22883 \backslash
22884 endnotemark[number]
22885 \series default
22886  similar to the command 
22887 \series bold
22888
22889 \backslash
22890 footnotemark
22891 \series default
22892 , described in section\InsetSpace ~
22893
22894 \begin_inset LatexCommand ref
22895 reference "sec:Footnotes"
22896
22897 \end_inset
22898
22899 .
22900 \end_layout
22901
22902 \begin_layout Standard
22903 \begin_inset VSpace bigskip
22904 \end_inset
22905
22906 Footnotes can also be placed in the page margin and the footnote text alignment
22907  can be changed, see the LaTeX-package 
22908 \series bold
22909 footmisc
22910 \series default
22911
22912 \begin_inset LatexCommand index
22913 name "LaTeX-packages ! footmisc"
22914
22915 \end_inset
22916
22917
22918 \begin_inset LatexCommand cite
22919 key "footmisc"
22920
22921 \end_inset
22922
22923  for more information about this.
22924 \end_layout
22925
22926 \begin_layout Standard
22927 For various further footnote formatting issues have a look at LaTeX-books,
22928  
22929 \begin_inset LatexCommand cite
22930 key "latexcompanion,latexguide,latexbook"
22931
22932 \end_inset
22933
22934 .
22935 \end_layout
22936
22937 \begin_layout Section
22938 Margin Notes
22939 \begin_inset LatexCommand index
22940 name "Notes ! Margin Notes"
22941
22942 \end_inset
22943
22944
22945 \end_layout
22946
22947 \begin_layout Standard
22948 Margin notes look and behave in LyX like footnotes.
22949  They are inserted via the menu 
22950 \family sans
22951 Insert\SpecialChar \menuseparator
22952 Marginal\InsetSpace ~
22953 Note
22954 \family default
22955  or the toolbar button 
22956 \begin_inset Graphics
22957         filename ../images/marginalnote-insert.xpm
22958         scale 85
22959         scaleBeforeRotation
22960
22961 \end_inset
22962
22963 .
22964  A grey 
22965 \family roman
22966 \series medium
22967 box with the
22968 \family default
22969 \series default
22970  red 
22971 \family roman
22972 \series medium
22973 label 
22974 \begin_inset Quotes eld
22975 \end_inset
22976
22977 margin
22978 \begin_inset Quotes erd
22979 \end_inset
22980
22981  appears where you can enter the text of the margin note.
22982 \end_layout
22983
22984 \begin_layout Standard
22985 At the side is an example margin note.
22986 \family roman
22987 \series medium
22988
22989 \begin_inset Marginal
22990 status open
22991
22992 \begin_layout Standard
22993 This is a margin note.
22994 \end_layout
22995
22996 \end_inset
22997
22998
22999 \end_layout
23000
23001 \begin_layout Standard
23002 Margin notes appear at the right side in single-sided documents.
23003  In double-sided documents they appear in the outer margin -- left on even
23004  pages, right on odd pages.
23005  The text of margin notes is aligned opposite to the outer margin -- right-align
23006 ed when the note appears in the left margin.
23007  The first line of the margin note is placed at the position of the text
23008  line where it is inserted in the document.
23009 \end_layout
23010
23011 \begin_layout Standard
23012 \begin_inset VSpace bigskip
23013 \end_inset
23014
23015 To place the margin note in the inner margin, add the command
23016 \end_layout
23017
23018 \begin_layout Standard
23019
23020 \series bold
23021
23022 \backslash
23023 reversemarginpar
23024 \end_layout
23025
23026 \begin_layout Standard
23027 in ERT before a margin note.
23028  The new placement is valid for all following margin notes.
23029 \begin_inset ERT
23030 status collapsed
23031
23032 \begin_layout Standard
23033
23034
23035 \backslash
23036 reversemarginpar 
23037 \end_layout
23038
23039 \end_inset
23040
23041
23042 \begin_inset Marginal
23043 status open
23044
23045 \begin_layout Standard
23046 This is a margin note in the inner margin.
23047 \end_layout
23048
23049 \end_inset
23050
23051
23052 \series bold
23053
23054 \newline
23055
23056 \series default
23057
23058 \begin_inset Note Greyedout
23059 status open
23060
23061 \begin_layout Standard
23062
23063 \series bold
23064 Note:
23065 \series default
23066  There is often not enough space in the inner margin so that the notes are
23067  not correctly displayed in the output.
23068 \end_layout
23069
23070 \end_inset
23071
23072
23073 \end_layout
23074
23075 \begin_layout Standard
23076 To return to the default placement insert the command
23077 \end_layout
23078
23079 \begin_layout Standard
23080
23081 \series bold
23082
23083 \backslash
23084 normalmarginpar
23085 \end_layout
23086
23087 \begin_layout Standard
23088 in ERT.
23089 \begin_inset ERT
23090 status collapsed
23091
23092 \begin_layout Standard
23093
23094
23095 \backslash
23096 normalmarginpar 
23097 \end_layout
23098
23099 \end_inset
23100
23101  
23102 \begin_inset Note Greyedout
23103 status open
23104
23105 \begin_layout Standard
23106
23107 \series bold
23108 Note:
23109 \series default
23110  The command is ignored when it is within a paragraph where also the command
23111  
23112 \series bold
23113
23114 \backslash
23115 reversemarginpar
23116 \series default
23117  is inserted.
23118 \end_layout
23119
23120 \end_inset
23121
23122
23123 \end_layout
23124
23125 \begin_layout Standard
23126 \begin_inset VSpace bigskip
23127 \end_inset
23128
23129
23130 \family roman
23131 \series medium
23132
23133 \begin_inset Marginal
23134 status open
23135
23136 \begin_layout Standard
23137 AVeryLongMarginParWord that isn't hyphenated.
23138 \end_layout
23139
23140 \end_inset
23141
23142
23143 \family default
23144 \series default
23145 Similar to the case described in section\InsetSpace ~
23146
23147 \begin_inset LatexCommand ref
23148 reference "sub:Multiple-Lines-in"
23149
23150 \end_inset
23151
23152 , long words cannot be hyphenated when they are the first word in a margin
23153  note.
23154  To avoid this, insert the command
23155 \end_layout
23156
23157 \begin_layout Standard
23158
23159 \series bold
23160
23161 \backslash
23162 hspace{0pt}
23163 \end_layout
23164
23165 \begin_layout Standard
23166 in ERT before the word
23167 \family roman
23168 \series medium
23169 .
23170 \begin_inset Marginal
23171 status open
23172
23173 \begin_layout Standard
23174 \begin_inset ERT
23175 status collapsed
23176
23177 \begin_layout Standard
23178
23179
23180 \backslash
23181 hspace{0pt}
23182 \end_layout
23183
23184 \end_inset
23185
23186 AVeryLongMarginParWord that is hyphenated.
23187 \end_layout
23188
23189 \end_inset
23190
23191
23192 \end_layout
23193
23194 \begin_layout Standard
23195 \begin_inset VSpace bigskip
23196 \end_inset
23197
23198
23199 \end_layout
23200
23201 \begin_layout Standard
23202 \begin_inset Note Greyedout
23203 status open
23204
23205 \begin_layout Standard
23206
23207 \series bold
23208 Note:
23209 \series default
23210  Margin notes can normally not be used inside tables, floats, and footnotes.
23211 \end_layout
23212
23213 \end_inset
23214
23215
23216 \end_layout
23217
23218 \begin_layout Standard
23219 \begin_inset VSpace bigskip
23220 \end_inset
23221
23222
23223 \end_layout
23224
23225 \begin_layout Standard
23226 \begin_inset ERT
23227 status collapsed
23228
23229 \begin_layout Standard
23230
23231
23232 \backslash
23233 ifmarginnote
23234 \end_layout
23235
23236 \end_inset
23237
23238
23239 \begin_inset Note Note
23240 status open
23241
23242 \begin_layout Standard
23243 The following section will only be displayed when you have the LaTeX-package
23244  
23245 \series bold
23246 marginnote
23247 \series default
23248  is installed.
23249 \end_layout
23250
23251 \end_inset
23252
23253
23254 \end_layout
23255
23256 \begin_layout Standard
23257 This restriction can be evaded by using the LaTeX-package 
23258 \series bold
23259 marginnote
23260 \series default
23261
23262 \begin_inset LatexCommand index
23263 name "LaTeX-packages ! marginnote"
23264
23265 \end_inset
23266
23267 .
23268  By adding these two lines to your document preamble, the command used by
23269  LyX for margin notes is redefined to use the command provided by the 
23270 \series bold
23271 marginnote
23272 \series default
23273 -package:
23274 \end_layout
23275
23276 \begin_layout Standard
23277
23278 \series bold
23279
23280 \backslash
23281 usepackage{marginnote}
23282 \newline
23283
23284 \backslash
23285 let
23286 \backslash
23287 marginpar
23288 \backslash
23289 marginnote
23290 \end_layout
23291
23292 \begin_layout Standard
23293 This is also used in this document because 
23294 \series bold
23295 marginnote
23296 \series default
23297  has another useful feature: You can set a vertical offset for the note.
23298  This is often needed when too many margin notes are too close together
23299  or for a better page layout.
23300  The offset is set in LyX as ERT directly behind the margin note in the
23301  scheme
23302 \end_layout
23303
23304 \begin_layout Standard
23305
23306 \series bold
23307 [offset]
23308 \end_layout
23309
23310 \begin_layout Standard
23311 where the offset is a length with one of the units listed in Table\InsetSpace ~
23312
23313 \begin_inset LatexCommand ref
23314 reference "tab:Units"
23315
23316 \end_inset
23317
23318 .
23319  A negative value shifts the note up, a positive value shifts it down.
23320  
23321 \family roman
23322 \series medium
23323 For example the margin note beside this text line is shifted up 1.5\InsetSpace \thinspace{}
23324 cm with
23325  the ERT-command 
23326 \begin_inset Quotes eld
23327 \end_inset
23328
23329
23330 \family default
23331 \series bold
23332 [-1.5cm]
23333 \family roman
23334 \series medium
23335
23336 \begin_inset Quotes erd
23337 \end_inset
23338
23339
23340 \begin_inset Marginal
23341 status open
23342
23343 \begin_layout Standard
23344 This margin note is shifted up 1.5\InsetSpace \thinspace{}
23345 cm from its original position.
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 \end_layout
23366
23367 \begin_layout Standard
23368 \begin_inset VSpace medskip
23369 \end_inset
23370
23371 With 
23372 \series bold
23373 marginnote
23374 \series default
23375  you can also change the alignment of the text in the margin note.
23376  For example the commands
23377 \end_layout
23378
23379 \begin_layout Standard
23380
23381 \series bold
23382
23383 \backslash
23384 renewcommand*{
23385 \backslash
23386 raggedleftmarginnote}{
23387 \backslash
23388 centering}
23389 \newline
23390
23391 \backslash
23392 renewcommand*{
23393 \backslash
23394 raggedrightmarginnote}{
23395 \backslash
23396 centering}
23397 \end_layout
23398
23399 \begin_layout Standard
23400 set the alignment to centered.
23401  
23402 \series bold
23403
23404 \backslash
23405 raggedleftmarginnote
23406 \series default
23407  denotes margin notes that appear at the left side.
23408 \family roman
23409 \series medium
23410
23411 \begin_inset ERT
23412 status collapsed
23413
23414 \begin_layout Standard
23415
23416
23417 \backslash
23418 renewcommand*{
23419 \backslash
23420 raggedleftmarginnote}{
23421 \backslash
23422 centering}
23423 \end_layout
23424
23425 \begin_layout Standard
23426
23427
23428 \backslash
23429 renewcommand*{
23430 \backslash
23431 raggedrightmarginnote}{
23432 \backslash
23433 centering}
23434 \end_layout
23435
23436 \end_inset
23437
23438
23439 \begin_inset Marginal
23440 status open
23441
23442 \begin_layout Standard
23443 The text of this margin note is centered.
23444 \end_layout
23445
23446 \end_inset
23447
23448
23449 \family default
23450 \series default
23451  The default is
23452 \end_layout
23453
23454 \begin_layout Standard
23455
23456 \series bold
23457
23458 \backslash
23459 renewcommand*{
23460 \backslash
23461 raggedleftmarginnote}{
23462 \backslash
23463 raggedleft}
23464 \newline
23465
23466 \backslash
23467 renewcommand*{
23468 \backslash
23469 raggedrightmarginnote}{
23470 \backslash
23471 raggedright}
23472 \family roman
23473 \series medium
23474
23475 \begin_inset ERT
23476 status collapsed
23477
23478 \begin_layout Standard
23479
23480
23481 \backslash
23482 renewcommand*{
23483 \backslash
23484 raggedleftmarginnote}{
23485 \backslash
23486 raggedleft}
23487 \end_layout
23488
23489 \begin_layout Standard
23490
23491
23492 \backslash
23493 renewcommand*{
23494 \backslash
23495 raggedrightmarginnote}{
23496 \backslash
23497 raggedright}
23498 \end_layout
23499
23500 \end_inset
23501
23502
23503 \end_layout
23504
23505 \begin_layout Standard
23506 \begin_inset VSpace medskip
23507 \end_inset
23508
23509 For the other features of 
23510 \series bold
23511 marginnote
23512 \series default
23513  we refer to its documentation 
23514 \begin_inset LatexCommand cite
23515 key "marginnote"
23516
23517 \end_inset
23518
23519 .
23520 \end_layout
23521
23522 \begin_layout Standard
23523 \begin_inset VSpace bigskip
23524 \end_inset
23525
23526 You can adjust the layout of margin notes by changing its definition.
23527  To create for example a header for all margin notes with the underlined,
23528  sans-serif, and bold header text 
23529 \begin_inset Quotes eld
23530 \end_inset
23531
23532
23533 \family sans
23534 \series bold
23535 \bar under
23536 Attention!
23537 \family default
23538 \series default
23539 \bar default
23540
23541 \begin_inset Quotes erd
23542 \end_inset
23543
23544 , add this to your document preamble:
23545 \end_layout
23546
23547 \begin_layout Standard
23548
23549 \series bold
23550
23551 \backslash
23552 let
23553 \backslash
23554 myMarginpar
23555 \backslash
23556 marginpar
23557 \newline
23558
23559 \backslash
23560 renewcommand{
23561 \backslash
23562 marginpar}[1]{
23563 \backslash
23564 myMarginpar{%
23565 \newline
23566
23567 \begin_inset ERT
23568 status collapsed
23569
23570 \begin_layout Standard
23571
23572
23573 \backslash
23574 hphantom{ }
23575 \end_layout
23576
23577 \end_inset
23578
23579
23580 \backslash
23581 hspace{0pt}
23582 \backslash
23583 textsf{
23584 \backslash
23585 textbf{
23586 \backslash
23587 underbar{Attention!}}}%
23588 \newline
23589
23590 \begin_inset ERT
23591 status collapsed
23592
23593 \begin_layout Standard
23594
23595
23596 \backslash
23597 hphantom{ }
23598 \end_layout
23599
23600 \end_inset
23601
23602
23603 \backslash
23604 vspace{1.5mm}
23605 \backslash
23606
23607 \backslash
23608 #1}}
23609 \end_layout
23610
23611 \begin_layout Standard
23612
23613 \family roman
23614 \series medium
23615 \begin_inset ERT
23616 status collapsed
23617
23618 \begin_layout Standard
23619
23620
23621 \backslash
23622 let
23623 \backslash
23624 myMarginpar
23625 \backslash
23626 marginpar
23627 \end_layout
23628
23629 \begin_layout Standard
23630
23631
23632 \backslash
23633 renewcommand{
23634 \backslash
23635 marginpar}[1]{
23636 \backslash
23637 myMarginpar{%
23638 \end_layout
23639
23640 \begin_layout Standard
23641
23642    
23643 \backslash
23644 textsf{
23645 \backslash
23646 textbf{
23647 \backslash
23648 underbar{Attention!}}}%
23649 \end_layout
23650
23651 \begin_layout Standard
23652
23653    
23654 \backslash
23655 vspace{1.5mm}
23656 \backslash
23657
23658 \backslash
23659 #1}}
23660 \end_layout
23661
23662 \end_inset
23663
23664
23665 \begin_inset Marginal
23666 status open
23667
23668 \begin_layout Standard
23669 This is a margin note with a defined heading.
23670 \end_layout
23671
23672 \end_inset
23673
23674
23675 \family default
23676 \series default
23677
23678 \begin_inset ERT
23679 status collapsed
23680
23681 \begin_layout Standard
23682
23683 [-1.5cm]
23684 \end_layout
23685
23686 \end_inset
23687
23688
23689 \family roman
23690 \series medium
23691
23692 \begin_inset ERT
23693 status collapsed
23694
23695 \begin_layout Standard
23696
23697
23698 \backslash
23699 renewcommand{
23700 \backslash
23701 marginpar}[1]{
23702 \backslash
23703 myMarginpar{#1}}
23704 \end_layout
23705
23706 \end_inset
23707
23708
23709 \family default
23710 \series default
23711
23712 \begin_inset Note Note
23713 status collapsed
23714
23715 \begin_layout Standard
23716 The margin note format is changed only for this example.
23717 \end_layout
23718
23719 \end_inset
23720
23721
23722 \end_layout
23723
23724 \begin_layout Standard
23725 \begin_inset ERT
23726 status collapsed
23727
23728 \begin_layout Standard
23729
23730
23731 \backslash
23732 else
23733 \end_layout
23734
23735 \end_inset
23736
23737
23738 \begin_inset Note Note
23739 status open
23740
23741 \begin_layout Standard
23742 The following will be displayed when the LaTeX-package 
23743 \series bold
23744 marginnote
23745 \series default
23746  is not installed:
23747 \end_layout
23748
23749 \end_inset
23750
23751
23752 \end_layout
23753
23754 \begin_layout Standard
23755 You need to install the LaTeX-package 
23756 \series bold
23757 marginnote
23758 \series default
23759  to see the following part of this section in the output.
23760 \end_layout
23761
23762 \begin_layout Standard
23763 \begin_inset ERT
23764 status collapsed
23765
23766 \begin_layout Standard
23767
23768
23769 \backslash
23770 fi
23771 \end_layout
23772
23773 \end_inset
23774
23775
23776 \end_layout
23777
23778 \begin_layout Chapter
23779 Boxes
23780 \end_layout
23781
23782 \begin_layout Section
23783 Introduction
23784 \begin_inset LatexCommand index
23785 name "Boxes ! Introduction"
23786
23787 \end_inset
23788
23789
23790 \end_layout
23791
23792 \begin_layout Standard
23793 Boxes are used to format a block of text.
23794  Boxes can be used to write documents with multiple languages, see section\InsetSpace ~
23795
23796 \begin_inset LatexCommand ref
23797 reference "sec:Minipages"
23798
23799 \end_inset
23800
23801 , to frame texts, see section\InsetSpace ~
23802
23803 \begin_inset LatexCommand ref
23804 reference "sec:Framed-Boxes"
23805
23806 \end_inset
23807
23808 , to prevent words to be hyphenated, see section\InsetSpace ~
23809
23810 \begin_inset LatexCommand ref
23811 reference "sec:Prevent-Hyphenation"
23812
23813 \end_inset
23814
23815 , to align text, see section\InsetSpace ~
23816
23817 \begin_inset LatexCommand ref
23818 reference "sub:Vertical-Alignment"
23819
23820 \end_inset
23821
23822 , or to set the background color of texts, see section\InsetSpace ~
23823
23824 \begin_inset LatexCommand ref
23825 reference "sec:Colored-Boxes"
23826
23827 \end_inset
23828
23829 .
23830 \end_layout
23831
23832 \begin_layout Standard
23833 Boxes can be inserted with the menu 
23834 \family sans
23835 Insert\SpecialChar \menuseparator
23836 Box
23837 \family default
23838 .
23839  A grey box with the label 
23840 \family sans
23841 Box (Minipage)
23842 \family default
23843
23844 \begin_inset Graphics
23845         filename clipart/BoxInsetDefaultQt4.png
23846         scale 85
23847         scaleBeforeRotation
23848
23849 \end_inset
23850
23851 , will be inserted.
23852  The box type can be specified by right-clicking on the box.
23853  The appearing box dialog offers the 
23854 \family sans
23855 Inner\InsetSpace ~
23856 Box
23857 \family default
23858  types 
23859 \family sans
23860 Parbox
23861 \family default
23862  and 
23863 \family sans
23864 Minipage
23865 \family default
23866 .
23867  The type 
23868 \family sans
23869 Minipage
23870 \family default
23871  is the default for new boxes and is explained in section\InsetSpace ~
23872
23873 \begin_inset LatexCommand ref
23874 reference "sec:Minipages"
23875
23876 \end_inset
23877
23878 ; the type 
23879 \family sans
23880 Parbox
23881 \family default
23882  is described in section\InsetSpace ~
23883
23884 \begin_inset LatexCommand ref
23885 reference "sec:Parboxes"
23886
23887 \end_inset
23888
23889 .
23890 \end_layout
23891
23892 \begin_layout Standard
23893 Boxes aren't numbered and can therefore not be referenced like floats or
23894  footnotes.
23895 \end_layout
23896
23897 \begin_layout Standard
23898 \begin_inset Note Greyedout
23899 status open
23900
23901 \begin_layout Standard
23902
23903 \series bold
23904 Note:
23905 \series default
23906  Due to a bug in LyX you have to insert a protected space behind a box when
23907  you want to separate in a line the box from the following text with a space.
23908 \end_layout
23909
23910 \end_inset
23911
23912
23913 \end_layout
23914
23915 \begin_layout Standard
23916 \begin_inset Note Greyedout
23917 status open
23918
23919 \begin_layout Standard
23920
23921 \series bold
23922 Note:
23923 \series default
23924  Boxes must not be the item in an 
23925 \family sans
23926 Itemize
23927 \family default
23928  or 
23929 \family sans
23930 Description
23931 \family default
23932  environment.
23933 \end_layout
23934
23935 \end_inset
23936
23937
23938 \end_layout
23939
23940 \begin_layout Standard
23941 \begin_inset Note Greyedout
23942 status open
23943
23944 \begin_layout Standard
23945
23946 \series bold
23947 Note:
23948 \series default
23949  For an unknown reason you can only set the 
23950 \family sans
23951 Inner\InsetSpace ~
23952 Box
23953 \family default
23954  type to 
23955 \family sans
23956 None
23957 \family default
23958  when you use a framed box.
23959  Boxes without an 
23960 \family sans
23961 Inner\InsetSpace ~
23962 Box
23963 \family default
23964  type and without frames are explained in section\InsetSpace ~
23965
23966 \begin_inset LatexCommand ref
23967 reference "sec:Prevent-Hyphenation"
23968
23969 \end_inset
23970
23971 .
23972 \end_layout
23973
23974 \end_inset
23975
23976
23977 \end_layout
23978
23979 \begin_layout Section
23980 Box Dialog
23981 \begin_inset LatexCommand label
23982 name "sec:Box-Dialog"
23983
23984 \end_inset
23985
23986
23987 \begin_inset LatexCommand index
23988 name "Boxes ! Box Dialog"
23989
23990 \end_inset
23991
23992
23993 \begin_inset LatexCommand index
23994 name "Boxes ! Alignment"
23995
23996 \end_inset
23997
23998
23999 \end_layout
24000
24001 \begin_layout Standard
24002 In the box dialog you can adjust the box geometry in the fields 
24003 \family sans
24004 Width
24005 \family default
24006  and 
24007 \family sans
24008 Height
24009 \family default
24010 .
24011  The available units for the geometry are explained in Table\InsetSpace ~
24012
24013 \begin_inset LatexCommand ref
24014 reference "tab:Units"
24015
24016 \end_inset
24017
24018 .
24019  The field 
24020 \family sans
24021 Heigth
24022 \family default
24023  offers the following additional sizes:
24024 \end_layout
24025
24026 \begin_layout Description
24027 Depth This is the plain text 
24028 \begin_inset Quotes eld
24029 \end_inset
24030
24031 height
24032 \begin_inset Quotes erd
24033 \end_inset
24034
24035 .
24036  It ignores the total depth when there are multiple text lines in the box:
24037 \newline
24038
24039 \newline
24040
24041 \newline
24042
24043 \begin_inset Box Boxed
24044 position "c"
24045 hor_pos "c"
24046 has_inner_box 1
24047 inner_pos "c"
24048 use_parbox 0
24049 width "12col%"
24050 special "none"
24051 height "1in"
24052 height_special "depth"
24053 status collapsed
24054
24055 \begin_layout Standard
24056 \align center
24057 Box height set to 1\InsetSpace \thinspace{}
24058 Depth
24059 \end_layout
24060
24061 \end_inset
24062
24063
24064 \newline
24065
24066 \newline
24067
24068 \end_layout
24069
24070 \begin_layout Description
24071 Height This is the heigth of the text that is inside the box.
24072  A value of e.\InsetSpace \thinspace{}
24073 g.\InsetSpace ~
24074 2 for this size will set the box heigth to 2 times the text
24075  height: 
24076 \begin_inset Box Boxed
24077 position "c"
24078 hor_pos "c"
24079 has_inner_box 1
24080 inner_pos "c"
24081 use_parbox 0
24082 width "20col%"
24083 special "none"
24084 height "2in"
24085 height_special "height"
24086 status collapsed
24087
24088 \begin_layout Standard
24089 \align center
24090 Box height set to 2\InsetSpace \thinspace{}
24091 Height
24092 \end_layout
24093
24094 \end_inset
24095
24096
24097 \end_layout
24098
24099 \begin_layout Description
24100 Total\InsetSpace ~
24101 Height This is the Height\InsetSpace \thinspace{}
24102 +\InsetSpace \thinspace{}
24103 Depth: 
24104 \begin_inset Box Boxed
24105 position "c"
24106 hor_pos "c"
24107 has_inner_box 1
24108 inner_pos "c"
24109 use_parbox 0
24110 width "20col%"
24111 special "none"
24112 height "1in"
24113 height_special "totalheight"
24114 status collapsed
24115
24116 \begin_layout Standard
24117 \align center
24118 Box height set to 1\InsetSpace \thinspace{}
24119 Total\InsetSpace ~
24120 Height
24121 \end_layout
24122
24123 \end_inset
24124
24125
24126 \end_layout
24127
24128 \begin_layout Description
24129 Width This set the width of the box as heigth: 
24130 \begin_inset Box Boxed
24131 position "c"
24132 hor_pos "c"
24133 has_inner_box 1
24134 inner_pos "c"
24135 use_parbox 0
24136 width "12col%"
24137 special "none"
24138 height "1in"
24139 height_special "width"
24140 status collapsed
24141
24142 \begin_layout Standard
24143 \align center
24144 Box height set to 1\InsetSpace \thinspace{}
24145 Width
24146 \end_layout
24147
24148 \end_inset
24149
24150
24151 \end_layout
24152
24153 \begin_layout Standard
24154 \begin_inset VSpace bigskip
24155 \end_inset
24156
24157 When you have chosen an 
24158 \family sans
24159 Inner\InsetSpace ~
24160 Box
24161 \family default
24162 , the vertical box alignment can be:
24163 \end_layout
24164
24165 \begin_layout Description
24166 Top This is an example text line.
24167  
24168 \begin_inset Box Boxed
24169 position "t"
24170 hor_pos "c"
24171 has_inner_box 1
24172 inner_pos "c"
24173 use_parbox 0
24174 width "12col%"
24175 special "none"
24176 height "1in"
24177 height_special "totalheight"
24178 status collapsed
24179
24180 \begin_layout Standard
24181 \align center
24182 This box is top-aligned.
24183 \end_layout
24184
24185 \end_inset
24186
24187 \InsetSpace ~
24188 This is an example text line.
24189 \end_layout
24190
24191 \begin_layout Description
24192 Middle This is an example text line.
24193  
24194 \begin_inset Box Boxed
24195 position "c"
24196 hor_pos "c"
24197 has_inner_box 1
24198 inner_pos "c"
24199 use_parbox 0
24200 width "12col%"
24201 special "none"
24202 height "1in"
24203 height_special "totalheight"
24204 status collapsed
24205
24206 \begin_layout Standard
24207 \align center
24208 This box is middle-aligned.
24209 \end_layout
24210
24211 \end_inset
24212
24213 \InsetSpace ~
24214 This is an example text line.
24215 \end_layout
24216
24217 \begin_layout Description
24218 Bottom This is an example text line.
24219  
24220 \begin_inset Box Boxed
24221 position "b"
24222 hor_pos "c"
24223 has_inner_box 1
24224 inner_pos "c"
24225 use_parbox 0
24226 width "12col%"
24227 special "none"
24228 height "1in"
24229 height_special "totalheight"
24230 status collapsed
24231
24232 \begin_layout Standard
24233 \align center
24234 This box is bottom-aligned.
24235 \end_layout
24236
24237 \end_inset
24238
24239 \InsetSpace ~
24240 This is an example text line.
24241 \end_layout
24242
24243 \begin_layout Standard
24244 The horizontal box alignment can be set via LyX's paragraph dialog when
24245  you set the box into its own paragraph.
24246 \end_layout
24247
24248 \begin_layout Standard
24249 \begin_inset VSpace bigskip
24250 \end_inset
24251
24252 When you have chosen an 
24253 \family sans
24254 Inner\InsetSpace ~
24255 Box
24256 \family default
24257 , the box content can be vertical aligned to:
24258 \end_layout
24259
24260 \begin_layout Description
24261 top This is an example text line.
24262  
24263 \begin_inset Box Boxed
24264 position "c"
24265 hor_pos "c"
24266 has_inner_box 1
24267 inner_pos "t"
24268 use_parbox 0
24269 width "12col%"
24270 special "none"
24271 height "1.5in"
24272 height_special "totalheight"
24273 status collapsed
24274
24275 \begin_layout Standard
24276 \align center
24277 This box text is top-aligned.
24278 \end_layout
24279
24280 \end_inset
24281
24282 \InsetSpace ~
24283 This is an example text line.
24284 \end_layout
24285
24286 \begin_layout Description
24287 middle This is an example text line.
24288  
24289 \begin_inset Box Boxed
24290 position "c"
24291 hor_pos "c"
24292 has_inner_box 1
24293 inner_pos "c"
24294 use_parbox 0
24295 width "12col%"
24296 special "none"
24297 height "1.5in"
24298 height_special "totalheight"
24299 status collapsed
24300
24301 \begin_layout Standard
24302 \align center
24303 This box text is middle-aligned.
24304 \end_layout
24305
24306 \end_inset
24307
24308 \InsetSpace ~
24309 This is an example text line.
24310 \end_layout
24311
24312 \begin_layout Description
24313 bottom This is an example text line.
24314  
24315 \begin_inset Box Boxed
24316 position "c"
24317 hor_pos "c"
24318 has_inner_box 1
24319 inner_pos "b"
24320 use_parbox 0
24321 width "12col%"
24322 special "none"
24323 height "1.5in"
24324 height_special "totalheight"
24325 status collapsed
24326
24327 \begin_layout Standard
24328 \align center
24329 This box text is bottom-aligned.
24330 \end_layout
24331
24332 \end_inset
24333
24334 \InsetSpace ~
24335 This is an example text line.
24336 \end_layout
24337
24338 \begin_layout Description
24339 stretch This is an example text line.
24340  
24341 \begin_inset Box Boxed
24342 position "c"
24343 hor_pos "c"
24344 has_inner_box 1
24345 inner_pos "s"
24346 use_parbox 0
24347 width "12col%"
24348 special "none"
24349 height "1.5in"
24350 height_special "totalheight"
24351 status collapsed
24352
24353 \begin_layout Standard
24354 \align center
24355 This box
24356 \end_layout
24357
24358 \begin_layout Standard
24359 \align center
24360 text is
24361 \end_layout
24362
24363 \begin_layout Standard
24364 \align center
24365 stretched.
24366 \end_layout
24367
24368 \end_inset
24369
24370 \InsetSpace ~
24371 This is an example text line.
24372 \end_layout
24373
24374 \begin_layout Standard
24375 To stretch the box content, it must consist of more than one paragraph.
24376  In the example above every text line is in an own paragraph.
24377 \end_layout
24378
24379 \begin_layout Standard
24380 \begin_inset VSpace bigskip
24381 \end_inset
24382
24383 To align the box content horizontally you can use LyX's paragraph dialog
24384  when you have chosen an 
24385 \family sans
24386 Inner\InsetSpace ~
24387 Box
24388 \family default
24389 .
24390 \end_layout
24391
24392 \begin_layout Standard
24393 \align center
24394 \begin_inset Box Boxed
24395 position "c"
24396 hor_pos "c"
24397 has_inner_box 1
24398 inner_pos "s"
24399 use_parbox 0
24400 width "15col%"
24401 special "none"
24402 height "1.25in"
24403 height_special "totalheight"
24404 status collapsed
24405
24406 \begin_layout Standard
24407 \align left
24408 This box
24409 \end_layout
24410
24411 \begin_layout Standard
24412 \align center
24413 text is
24414 \end_layout
24415
24416 \begin_layout Standard
24417 \align right
24418 stretched.
24419 \end_layout
24420
24421 \end_inset
24422
24423
24424 \end_layout
24425
24426 \begin_layout Standard
24427 If you haven't set an 
24428 \family sans
24429 Inner\InsetSpace ~
24430 Box
24431 \family default
24432 , you can align the box content horizontally in the box dialog.
24433 \end_layout
24434
24435 \begin_layout Standard
24436 \align center
24437 \begin_inset Box Boxed
24438 position "c"
24439 hor_pos "s"
24440 has_inner_box 0
24441 inner_pos "s"
24442 use_parbox 0
24443 width "90col%"
24444 special "none"
24445 height "1.25in"
24446 height_special "totalheight"
24447 status collapsed
24448
24449 \begin_layout Standard
24450 \align left
24451 This box text is horizontally stretched.
24452 \end_layout
24453
24454 \end_inset
24455
24456
24457 \end_layout
24458
24459 \begin_layout Section
24460 Framed Boxes
24461 \begin_inset LatexCommand label
24462 name "sec:Framed-Boxes"
24463
24464 \end_inset
24465
24466
24467 \begin_inset LatexCommand index
24468 name "Boxes ! Frames"
24469
24470 \end_inset
24471
24472
24473 \end_layout
24474
24475 \begin_layout Standard
24476 The frame style of the box can be specified in the box-dialog in the drop-down
24477  list 
24478 \family sans
24479 Type
24480 \family default
24481 .
24482  The following frame types are possible:
24483 \end_layout
24484
24485 \begin_layout Description
24486 Rectangular\InsetSpace ~
24487 box This draws a rectangle frame around the box.
24488  The frame line thickness has the size of 
24489 \series bold
24490
24491 \backslash
24492 fboxrule
24493 \series default
24494 .
24495  
24496 \begin_inset Box Boxed
24497 position "c"
24498 hor_pos "c"
24499 has_inner_box 1
24500 inner_pos "c"
24501 use_parbox 0
24502 width "20col%"
24503 special "none"
24504 height "1in"
24505 height_special "totalheight"
24506 status collapsed
24507
24508 \begin_layout Standard
24509 \align center
24510 Rectangular box
24511 \end_layout
24512
24513 \end_inset
24514
24515
24516 \end_layout
24517
24518 \begin_layout Description
24519 Oval\InsetSpace ~
24520 box,\InsetSpace ~
24521 thin This draws an oval frame around the box.
24522  The frame line thickness has the size 0.4\InsetSpace \thinspace{}
24523 pt.
24524  
24525 \begin_inset Box ovalbox
24526 position "c"
24527 hor_pos "c"
24528 has_inner_box 1
24529 inner_pos "c"
24530 use_parbox 0
24531 width "20col%"
24532 special "none"
24533 height "1in"
24534 height_special "totalheight"
24535 status collapsed
24536
24537 \begin_layout Standard
24538 \align center
24539 Oval box, thin
24540 \end_layout
24541
24542 \end_inset
24543
24544
24545 \end_layout
24546
24547 \begin_layout Description
24548 Oval\InsetSpace ~
24549 box,\InsetSpace ~
24550 thick This draws an oval frame around the box.
24551  The frame line thickness has the size 0.8\InsetSpace \thinspace{}
24552 pt.
24553  
24554 \begin_inset Box Ovalbox
24555 position "c"
24556 hor_pos "c"
24557 has_inner_box 1
24558 inner_pos "c"
24559 use_parbox 0
24560 width "20col%"
24561 special "none"
24562 height "1in"
24563 height_special "totalheight"
24564 status collapsed
24565
24566 \begin_layout Standard
24567 \align center
24568 Oval box, thick
24569 \end_layout
24570
24571 \end_inset
24572
24573
24574 \end_layout
24575
24576 \begin_layout Description
24577 Shadow\InsetSpace ~
24578 box This draws a rectangle frame with a shadow around the box.
24579  The frame line thickness has the size of 
24580 \series bold
24581
24582 \backslash
24583 fboxrule
24584 \series default
24585 , the shadow has a width of 4\InsetSpace \thinspace{}
24586 pt.
24587  
24588 \begin_inset Box Shadowbox
24589 position "c"
24590 hor_pos "c"
24591 has_inner_box 1
24592 inner_pos "c"
24593 use_parbox 0
24594 width "20col%"
24595 special "none"
24596 height "1in"
24597 height_special "totalheight"
24598 status collapsed
24599
24600 \begin_layout Standard
24601 \align center
24602 Shadow box
24603 \end_layout
24604
24605 \end_inset
24606
24607
24608 \end_layout
24609
24610 \begin_layout Description
24611 Double\InsetSpace ~
24612 box This draws a double-line rectangle frame around the box.
24613  The line thickness of the inner frame is 0.75\InsetSpace \thinspace{}
24614
24615 \series bold
24616
24617 \backslash
24618 fboxrule
24619 \series default
24620 , the thickness of the outer frame is 1.5\InsetSpace \thinspace{}
24621
24622 \series bold
24623
24624 \backslash
24625 fboxrule
24626 \series default
24627 .
24628  The distance between the lines is 1.5\InsetSpace \thinspace{}
24629
24630 \series bold
24631
24632 \backslash
24633 fboxrule
24634 \series default
24635 \InsetSpace \thinspace{}
24636 +\InsetSpace \thinspace{}
24637 0.5\InsetSpace \thinspace{}
24638 pt.
24639  
24640 \begin_inset Box Doublebox
24641 position "c"
24642 hor_pos "c"
24643 has_inner_box 1
24644 inner_pos "c"
24645 use_parbox 0
24646 width "20col%"
24647 special "none"
24648 height "1in"
24649 height_special "totalheight"
24650 status collapsed
24651
24652 \begin_layout Standard
24653 \align center
24654 Double box
24655 \end_layout
24656
24657 \end_inset
24658
24659
24660 \end_layout
24661
24662 \begin_layout Standard
24663 \begin_inset VSpace bigskip
24664 \end_inset
24665
24666 LyX's box label will change to the used frame style when you set a frame.
24667  To be able to use the different frame styles, the LaTeX-package 
24668 \series bold
24669 fancybox
24670 \series default
24671
24672 \begin_inset LatexCommand index
24673 name "LaTeX-packages ! fancybox"
24674
24675 \end_inset
24676
24677  must be installed.
24678 \end_layout
24679
24680 \begin_layout Standard
24681 \begin_inset VSpace bigskip
24682 \end_inset
24683
24684 The default value for the size 
24685 \series bold
24686
24687 \backslash
24688 fboxrule
24689 \series default
24690  is 0.4\InsetSpace \thinspace{}
24691 pt.
24692  It can be changed with the following command in ERT to e.\InsetSpace \thinspace{}
24693 g.\InsetSpace ~
24694 2\InsetSpace \thinspace{}
24695 pt:
24696 \end_layout
24697
24698 \begin_layout Standard
24699
24700 \series bold
24701
24702 \backslash
24703 setlength{
24704 \backslash
24705 fboxrule}{2pt}
24706 \end_layout
24707
24708 \begin_layout Standard
24709 \begin_inset ERT
24710 status collapsed
24711
24712 \begin_layout Standard
24713
24714
24715 \backslash
24716 setlength{
24717 \backslash
24718 fboxrule}{2pt}
24719 \end_layout
24720
24721 \end_inset
24722
24723
24724 \begin_inset Box Boxed
24725 position "c"
24726 hor_pos "c"
24727 has_inner_box 1
24728 inner_pos "c"
24729 use_parbox 0
24730 width "25col%"
24731 special "none"
24732 height "1in"
24733 height_special "totalheight"
24734 status collapsed
24735
24736 \begin_layout Standard
24737 \align center
24738 Rectangular box with 
24739 \series bold
24740
24741 \backslash
24742 fboxrule
24743 \series default
24744 \InsetSpace \thinspace{}
24745 =\InsetSpace \thinspace{}
24746 2\InsetSpace \thinspace{}
24747 pt
24748 \end_layout
24749
24750 \end_inset
24751
24752
24753 \begin_inset ERT
24754 status collapsed
24755
24756 \begin_layout Standard
24757
24758
24759 \backslash
24760 setlength{
24761 \backslash
24762 fboxrule}{0.4pt}
24763 \end_layout
24764
24765 \end_inset
24766
24767
24768 \end_layout
24769
24770 \begin_layout Standard
24771 \begin_inset VSpace bigskip
24772 \end_inset
24773
24774 The space between the frame and the box content is for all frame styles
24775  by default 3\InsetSpace \thinspace{}
24776 pt.
24777  You can change it by setting the length 
24778 \series bold
24779
24780 \backslash
24781 fboxsep
24782 \series default
24783  to another value.
24784  For example the command
24785 \end_layout
24786
24787 \begin_layout Standard
24788
24789 \series bold
24790
24791 \backslash
24792 setlength{
24793 \backslash
24794 fboxsep}{10pt}
24795 \end_layout
24796
24797 \begin_layout Standard
24798 sets the value to 10\InsetSpace \thinspace{}
24799 pt, like for the following box:
24800 \end_layout
24801
24802 \begin_layout Standard
24803 \begin_inset ERT
24804 status collapsed
24805
24806 \begin_layout Standard
24807
24808
24809 \backslash
24810 setlength{
24811 \backslash
24812 fboxsep}{10pt}
24813 \end_layout
24814
24815 \end_inset
24816
24817
24818 \begin_inset Box Boxed
24819 position "c"
24820 hor_pos "c"
24821 has_inner_box 1
24822 inner_pos "c"
24823 use_parbox 0
24824 width "25col%"
24825 special "none"
24826 height "1in"
24827 height_special "totalheight"
24828 status collapsed
24829
24830 \begin_layout Standard
24831 \align center
24832 Rectangular box with 
24833 \series bold
24834
24835 \backslash
24836 fboxsep
24837 \series default
24838 \InsetSpace \thinspace{}
24839 =\InsetSpace \thinspace{}
24840 10\InsetSpace \thinspace{}
24841 pt
24842 \end_layout
24843
24844 \end_inset
24845
24846
24847 \begin_inset ERT
24848 status collapsed
24849
24850 \begin_layout Standard
24851
24852
24853 \backslash
24854 setlength{
24855 \backslash
24856 fboxsep}{3pt}
24857 \end_layout
24858
24859 \end_inset
24860
24861
24862 \end_layout
24863
24864 \begin_layout Standard
24865 \begin_inset VSpace bigskip
24866 \end_inset
24867
24868 The diameter of the round corners of the oval boxes can be set with the
24869  command 
24870 \series bold
24871
24872 \backslash
24873 cornersize
24874 \series default
24875 .
24876  The command
24877 \end_layout
24878
24879 \begin_layout Standard
24880
24881 \series bold
24882
24883 \backslash
24884 cornersize*{1cm}
24885 \end_layout
24886
24887 \begin_layout Standard
24888 sets the diameter to 1\InsetSpace \thinspace{}
24889 cm.
24890  The command
24891 \end_layout
24892
24893 \begin_layout Standard
24894
24895 \series bold
24896
24897 \backslash
24898 cornersize{num}
24899 \end_layout
24900
24901 \begin_layout Standard
24902 sets the diameter to 
24903 \family sans
24904 num\InsetSpace \thinspace{}
24905 ×\InsetSpace \thinspace{}
24906 minimum(width and heigth of box)
24907 \family default
24908 .
24909  The default is 
24910 \series bold
24911
24912 \backslash
24913 cornersize{0.5}
24914 \series default
24915 .
24916 \end_layout
24917
24918 \begin_layout Standard
24919 \begin_inset ERT
24920 status collapsed
24921
24922 \begin_layout Standard
24923
24924
24925 \backslash
24926 cornersize*{1.5cm}
24927 \end_layout
24928
24929 \end_inset
24930
24931
24932 \begin_inset Box Ovalbox
24933 position "c"
24934 hor_pos "c"
24935 has_inner_box 1
24936 inner_pos "c"
24937 use_parbox 0
24938 width "25col%"
24939 special "none"
24940 height "1in"
24941 height_special "totalheight"
24942 status collapsed
24943
24944 \begin_layout Standard
24945 \align center
24946 Oval box with 
24947 \series bold
24948
24949 \backslash
24950 cornersize
24951 \series default
24952 \InsetSpace \thinspace{}
24953 =\InsetSpace \thinspace{}
24954 1.5\InsetSpace \thinspace{}
24955 cm
24956 \end_layout
24957
24958 \end_inset
24959
24960
24961 \begin_inset ERT
24962 status collapsed
24963
24964 \begin_layout Standard
24965
24966
24967 \backslash
24968 cornersize{0.5}
24969 \end_layout
24970
24971 \end_inset
24972
24973
24974 \end_layout
24975
24976 \begin_layout Standard
24977 \begin_inset VSpace bigskip
24978 \end_inset
24979
24980 The size of the shadow can be adjusted by changing the length 
24981 \series bold
24982
24983 \backslash
24984 shadowsize
24985 \series default
24986 .
24987  It it set to 2\InsetSpace \thinspace{}
24988 pt for the following box by this command:
24989 \end_layout
24990
24991 \begin_layout Standard
24992
24993 \series bold
24994
24995 \backslash
24996 setlength{
24997 \backslash
24998 shadowsize}{2pt}
24999 \end_layout
25000
25001 \begin_layout Standard
25002 \begin_inset ERT
25003 status collapsed
25004
25005 \begin_layout Standard
25006
25007
25008 \backslash
25009 setlength{
25010 \backslash
25011 shadowsize}{2pt}
25012 \end_layout
25013
25014 \end_inset
25015
25016
25017 \begin_inset Box Shadowbox
25018 position "c"
25019 hor_pos "c"
25020 has_inner_box 1
25021 inner_pos "c"
25022 use_parbox 0
25023 width "25col%"
25024 special "none"
25025 height "1in"
25026 height_special "totalheight"
25027 status collapsed
25028
25029 \begin_layout Standard
25030 \align center
25031 Shadow box with 
25032 \series bold
25033
25034 \backslash
25035 shadowsize
25036 \series default
25037 \InsetSpace \thinspace{}
25038 =\InsetSpace \thinspace{}
25039 2\InsetSpace \thinspace{}
25040 pt
25041 \end_layout
25042
25043 \end_inset
25044
25045
25046 \begin_inset ERT
25047 status collapsed
25048
25049 \begin_layout Standard
25050
25051
25052 \backslash
25053 setlength{
25054 \backslash
25055 shadowsize}{4pt}
25056 \end_layout
25057
25058 \end_inset
25059
25060
25061 \end_layout
25062
25063 \begin_layout Standard
25064 \begin_inset VSpace bigskip
25065 \end_inset
25066
25067 Changed lengths and widths are valid for all boxes following the commands
25068  that change them.
25069 \end_layout
25070
25071 \begin_layout Section
25072 Minipages
25073 \begin_inset LatexCommand label
25074 name "sec:Minipages"
25075
25076 \end_inset
25077
25078
25079 \begin_inset LatexCommand index
25080 name "Boxes ! Minipages"
25081
25082 \end_inset
25083
25084
25085 \end_layout
25086
25087 \begin_layout Standard
25088 Minipages are treated by LaTeX as pages within pages and can therefore for
25089  example have their own footnotes.
25090 \end_layout
25091
25092 \begin_layout Standard
25093 Minipages are useful when you write documents with different languages.
25094 \end_layout
25095
25096 \begin_layout Standard
25097 Below are two example minipages side by side.
25098  Their width is set to 45\InsetSpace \thinspace{}
25099 col% and they are separated by a horizontal fill,
25100  that was inserted via the menu 
25101 \family sans
25102 Insert\SpecialChar \menuseparator
25103 Special\InsetSpace ~
25104 Formatting\SpecialChar \menuseparator
25105 Horizontal\InsetSpace ~
25106 Fill
25107 \family default
25108 .
25109 \end_layout
25110
25111 \begin_layout Standard
25112 \begin_inset Box Frameless
25113 position "t"
25114 hor_pos "c"
25115 has_inner_box 1
25116 inner_pos "c"
25117 use_parbox 0
25118 width "45col%"
25119 special "none"
25120 height "1in"
25121 height_special "totalheight"
25122 status open
25123
25124 \begin_layout Standard
25125
25126 \lang german
25127 Dies ist ein deutscher Text.
25128  Dies ist ein deutscher Text.
25129  Dies ist ein deutscher Text.
25130  Dies ist ein deutscher Text.
25131  Dies ist ein deutscher Text.
25132  Dies ist ein deutscher Text.
25133  Dies ist ein deutscher Text.
25134  Dies ist ein deutscher Text.
25135  Dies ist ein deutscher Text.
25136  Dies ist ein deutscher Text.
25137  Dies ist ein deutscher Text.
25138  Dies ist ein deutscher Text.
25139  Dies ist ein deutscher Text
25140 \begin_inset Foot
25141 status collapsed
25142
25143 \begin_layout Standard
25144
25145 \lang german
25146 Dies ist eine deutsche Fußnote.
25147 \end_layout
25148
25149 \end_inset
25150
25151 .
25152  Dies ist ein deutscher Text.
25153  Dies ist ein deutscher Text.
25154 \end_layout
25155
25156 \end_inset
25157
25158
25159 \hfill
25160
25161 \begin_inset Box Frameless
25162 position "t"
25163 hor_pos "c"
25164 has_inner_box 1
25165 inner_pos "c"
25166 use_parbox 0
25167 width "45col%"
25168 special "none"
25169 height "1in"
25170 height_special "totalheight"
25171 status open
25172
25173 \begin_layout Standard
25174 This is an English Text.
25175  This is an English Text.
25176  This is an English Text.
25177  This is an English Text.
25178  This is an English Text.
25179  This is an English Text.
25180  This is an English Text.
25181  This is an English Text.
25182  This is an English Text.
25183  This is an English Text.
25184  This is an English Text.
25185  This is an English Text.
25186  This is an English Text.
25187  This is an English Text.
25188  This is an English Text.
25189  This is an English Text.
25190 \begin_inset Foot
25191 status collapsed
25192
25193 \begin_layout Standard
25194 This is an English footnote.
25195 \end_layout
25196
25197 \end_inset
25198
25199  This is an English Text.
25200  
25201 \end_layout
25202
25203 \end_inset
25204
25205
25206 \end_layout
25207
25208 \begin_layout Standard
25209 \begin_inset VSpace bigskip
25210 \end_inset
25211
25212 Another application for minipages are footnotes within tables.
25213  Due to a LaTeX restriction footnotes within tables doesn't appear at the
25214  bottom of the current page.
25215  But when you put the table with the footnote to a minipage, the footnote
25216  will appear at its bottom, numbered with Latin letters.
25217  The footnote number is reset to 1 in every minipage but not outside the
25218  minipages.
25219 \end_layout
25220
25221 \begin_layout Standard
25222 The footnote of this table doesn't appear: 
25223 \begin_inset Tabular
25224 <lyxtabular version="3" rows="3" columns="4">
25225 <features>
25226 <column alignment="center" valignment="top" leftline="true" width="0pt">
25227 <column alignment="center" valignment="top" leftline="true" width="0pt">
25228 <column alignment="center" valignment="top" leftline="true" width="0pt">
25229 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
25230 <row topline="true">
25231 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25232 \begin_inset Text
25233
25234 \begin_layout Standard
25235 1
25236 \end_layout
25237
25238 \end_inset
25239 </cell>
25240 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25241 \begin_inset Text
25242
25243 \begin_layout Standard
25244 2
25245 \end_layout
25246
25247 \end_inset
25248 </cell>
25249 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25250 \begin_inset Text
25251
25252 \begin_layout Standard
25253 3
25254 \begin_inset Foot
25255 status collapsed
25256
25257 \begin_layout Standard
25258 This is a footnote within a table.
25259 \end_layout
25260
25261 \end_inset
25262
25263
25264 \end_layout
25265
25266 \end_inset
25267 </cell>
25268 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25269 \begin_inset Text
25270
25271 \begin_layout Standard
25272 4
25273 \end_layout
25274
25275 \end_inset
25276 </cell>
25277 </row>
25278 <row topline="true">
25279 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25280 \begin_inset Text
25281
25282 \begin_layout Standard
25283 a
25284 \end_layout
25285
25286 \end_inset
25287 </cell>
25288 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25289 \begin_inset Text
25290
25291 \begin_layout Standard
25292 b
25293 \end_layout
25294
25295 \end_inset
25296 </cell>
25297 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25298 \begin_inset Text
25299
25300 \begin_layout Standard
25301 c
25302 \end_layout
25303
25304 \end_inset
25305 </cell>
25306 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25307 \begin_inset Text
25308
25309 \begin_layout Standard
25310 d
25311 \end_layout
25312
25313 \end_inset
25314 </cell>
25315 </row>
25316 <row topline="true" bottomline="true">
25317 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25318 \begin_inset Text
25319
25320 \begin_layout Standard
25321 e
25322 \end_layout
25323
25324 \end_inset
25325 </cell>
25326 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25327 \begin_inset Text
25328
25329 \begin_layout Standard
25330 f
25331 \end_layout
25332
25333 \end_inset
25334 </cell>
25335 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25336 \begin_inset Text
25337
25338 \begin_layout Standard
25339 g
25340 \end_layout
25341
25342 \end_inset
25343 </cell>
25344 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25345 \begin_inset Text
25346
25347 \begin_layout Standard
25348 h
25349 \end_layout
25350
25351 \end_inset
25352 </cell>
25353 </row>
25354 </lyxtabular>
25355
25356 \end_inset
25357
25358
25359 \end_layout
25360
25361 \begin_layout Standard
25362 \align center
25363 \begin_inset Box Frameless
25364 position "t"
25365 hor_pos "c"
25366 has_inner_box 1
25367 inner_pos "c"
25368 use_parbox 0
25369 width "30col%"
25370 special "none"
25371 height "1in"
25372 height_special "totalheight"
25373 status open
25374
25375 \begin_layout Standard
25376 \align center
25377 \begin_inset Tabular
25378 <lyxtabular version="3" rows="3" columns="4">
25379 <features>
25380 <column alignment="center" valignment="top" leftline="true" width="0pt">
25381 <column alignment="center" valignment="top" leftline="true" width="0pt">
25382 <column alignment="center" valignment="top" leftline="true" width="0pt">
25383 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
25384 <row topline="true">
25385 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25386 \begin_inset Text
25387
25388 \begin_layout Standard
25389 1
25390 \end_layout
25391
25392 \end_inset
25393 </cell>
25394 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25395 \begin_inset Text
25396
25397 \begin_layout Standard
25398 2
25399 \end_layout
25400
25401 \end_inset
25402 </cell>
25403 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25404 \begin_inset Text
25405
25406 \begin_layout Standard
25407 3
25408 \begin_inset Foot
25409 status collapsed
25410
25411 \begin_layout Standard
25412 This is a footnote within a table.
25413 \end_layout
25414
25415 \end_inset
25416
25417
25418 \end_layout
25419
25420 \end_inset
25421 </cell>
25422 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25423 \begin_inset Text
25424
25425 \begin_layout Standard
25426 4
25427 \end_layout
25428
25429 \end_inset
25430 </cell>
25431 </row>
25432 <row topline="true">
25433 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25434 \begin_inset Text
25435
25436 \begin_layout Standard
25437 a
25438 \end_layout
25439
25440 \end_inset
25441 </cell>
25442 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25443 \begin_inset Text
25444
25445 \begin_layout Standard
25446 b
25447 \end_layout
25448
25449 \end_inset
25450 </cell>
25451 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25452 \begin_inset Text
25453
25454 \begin_layout Standard
25455 c
25456 \end_layout
25457
25458 \end_inset
25459 </cell>
25460 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25461 \begin_inset Text
25462
25463 \begin_layout Standard
25464 d
25465 \end_layout
25466
25467 \end_inset
25468 </cell>
25469 </row>
25470 <row topline="true" bottomline="true">
25471 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25472 \begin_inset Text
25473
25474 \begin_layout Standard
25475 e
25476 \end_layout
25477
25478 \end_inset
25479 </cell>
25480 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25481 \begin_inset Text
25482
25483 \begin_layout Standard
25484 f
25485 \end_layout
25486
25487 \end_inset
25488 </cell>
25489 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25490 \begin_inset Text
25491
25492 \begin_layout Standard
25493 g
25494 \end_layout
25495
25496 \end_inset
25497 </cell>
25498 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25499 \begin_inset Text
25500
25501 \begin_layout Standard
25502 h
25503 \end_layout
25504
25505 \end_inset
25506 </cell>
25507 </row>
25508 </lyxtabular>
25509
25510 \end_inset
25511
25512
25513 \end_layout
25514
25515 \end_inset
25516
25517
25518 \end_layout
25519
25520 \begin_layout Standard
25521 \begin_inset VSpace bigskip
25522 \end_inset
25523
25524 The document-wide paragraph settings are ignored within minipages.
25525  That means that there will be no space between paragraphs in minipages
25526  although you set it to e.\InsetSpace \thinspace{}
25527 g.\InsetSpace ~
25528
25529 \family sans
25530 MedSkip
25531 \family default
25532  in the document settings.
25533 \end_layout
25534
25535 \begin_layout Standard
25536 Minipages can also be used to set a background color for text parts, see
25537  section\InsetSpace ~
25538
25539 \begin_inset LatexCommand ref
25540 reference "sub:Color-for-Paragraphs"
25541
25542 \end_inset
25543
25544 .
25545 \end_layout
25546
25547 \begin_layout Standard
25548 \begin_inset Note Greyedout
25549 status open
25550
25551 \begin_layout Standard
25552
25553 \series bold
25554 Note:
25555 \series default
25556  You cannot have floats or margin notes inside minipages but minipages can
25557  be used inside tables, floats, and other boxes.
25558 \end_layout
25559
25560 \end_inset
25561
25562
25563 \end_layout
25564
25565 \begin_layout Section
25566 Parboxes
25567 \begin_inset LatexCommand label
25568 name "sec:Parboxes"
25569
25570 \end_inset
25571
25572
25573 \begin_inset LatexCommand index
25574 name "Boxes ! Parboxes"
25575
25576 \end_inset
25577
25578
25579 \end_layout
25580
25581 \begin_layout Standard
25582 Parboxes are very similar to minipages with the difference that they cannot
25583  have footnotes.
25584  The main difference to minipages is that minipages are in contrary to parboxes
25585  no real boxes but LaTeX-environments.
25586 \end_layout
25587
25588 \begin_layout Standard
25589 \align center
25590 \begin_inset Box Frameless
25591 position "t"
25592 hor_pos "c"
25593 has_inner_box 1
25594 inner_pos "t"
25595 use_parbox 1
25596 width "33col%"
25597 special "none"
25598 height "1in"
25599 height_special "totalheight"
25600 status collapsed
25601
25602 \begin_layout Standard
25603 This a text within a parbox.
25604  This a text within a parbox.
25605 \end_layout
25606
25607 \begin_layout Standard
25608 This footnote won't appear:
25609 \begin_inset Foot
25610 status collapsed
25611
25612 \begin_layout Standard
25613 This footnote is inside a parbox and will therefore not appear.
25614 \end_layout
25615
25616 \end_inset
25617
25618
25619 \end_layout
25620
25621 \end_inset
25622
25623
25624 \end_layout
25625
25626 \begin_layout Section
25627 Boxes for Words and Characters
25628 \begin_inset LatexCommand index
25629 name "Boxes ! for Characters"
25630
25631 \end_inset
25632
25633
25634 \end_layout
25635
25636 \begin_layout Subsection
25637 Prevent Hyphenation
25638 \begin_inset LatexCommand label
25639 name "sec:Prevent-Hyphenation"
25640
25641 \end_inset
25642
25643
25644 \begin_inset LatexCommand index
25645 name "Boxes ! to Prevent Hyphenation"
25646
25647 \end_inset
25648
25649
25650 \end_layout
25651
25652 \begin_layout Standard
25653 You can use a special kind of boxes to prevent words or text to be hyphenated.
25654 \newline
25655 Her
25656 e is an example text:
25657 \end_layout
25658
25659 \begin_layout Standard
25660 This line is an example to show how you can prevent the hyphenation of 
25661 \begin_inset Quotes eld
25662 \end_inset
25663
25664 veryverylongword
25665 \begin_inset Quotes erd
25666 \end_inset
25667
25668 .
25669 \end_layout
25670
25671 \begin_layout Standard
25672 To prevent the hyphenation of the word 
25673 \begin_inset Quotes eld
25674 \end_inset
25675
25676 veryverylongword
25677 \begin_inset Quotes erd
25678 \end_inset
25679
25680 , add the command
25681 \end_layout
25682
25683 \begin_layout Standard
25684
25685 \series bold
25686
25687 \backslash
25688 mbox{
25689 \end_layout
25690
25691 \begin_layout Standard
25692 in ERT before the word.
25693  Behind the word insert a closing brace 
25694 \begin_inset Quotes eld
25695 \end_inset
25696
25697
25698 \series bold
25699 }
25700 \series default
25701
25702 \begin_inset Quotes erd
25703 \end_inset
25704
25705  in ERT.
25706 \begin_inset ERT
25707 status collapsed
25708
25709 \begin_layout Standard
25710
25711
25712 \backslash
25713 pagebreak 
25714 \end_layout
25715
25716 \end_inset
25717
25718
25719 \end_layout
25720
25721 \begin_layout Standard
25722 This is the result:
25723 \end_layout
25724
25725 \begin_layout Standard
25726 This line is an example to show how you can prevent the hyphenation of 
25727 \begin_inset ERT
25728 status collapsed
25729
25730 \begin_layout Standard
25731
25732
25733 \backslash
25734 mbox{
25735 \end_layout
25736
25737 \end_inset
25738
25739
25740 \begin_inset Quotes eld
25741 \end_inset
25742
25743 veryverylongword
25744 \begin_inset Quotes erd
25745 \end_inset
25746
25747 .
25748 \begin_inset ERT
25749 status collapsed
25750
25751 \begin_layout Standard
25752
25753 }
25754 \end_layout
25755
25756 \end_inset
25757
25758
25759 \end_layout
25760
25761 \begin_layout Standard
25762 You can alternatively set the command 
25763 \begin_inset Quotes eld
25764 \end_inset
25765
25766
25767 \series bold
25768
25769 \backslash
25770 -
25771 \series default
25772
25773 \begin_inset Quotes grd
25774 \end_inset
25775
25776  as ERT directly before the word:
25777 \end_layout
25778
25779 \begin_layout Standard
25780 This line is an example to show how you can prevent the hyphenation of 
25781 \begin_inset Quotes eld
25782 \end_inset
25783
25784
25785 \begin_inset ERT
25786 status collapsed
25787
25788 \begin_layout Standard
25789
25790
25791 \backslash
25792 -
25793 \end_layout
25794
25795 \end_inset
25796
25797 veryverylongword
25798 \begin_inset Quotes erd
25799 \end_inset
25800
25801 .
25802 \end_layout
25803
25804 \begin_layout Standard
25805 Of course the word now protrudes over the side margin.
25806  To avoid this, add via the menu 
25807 \family sans
25808 Insert\SpecialChar \menuseparator
25809 Special\InsetSpace ~
25810 Formatting\SpecialChar \menuseparator
25811 Line\InsetSpace ~
25812 Break
25813 \family default
25814  (shortcut 
25815 \series bold
25816 Ctrl-Return
25817 \series default
25818 ) a line break before the word:
25819 \end_layout
25820
25821 \begin_layout Standard
25822 This line is an example to show how you can prevent the hyphenation of 
25823 \newline
25824
25825 \begin_inset ERT
25826 status collapsed
25827
25828 \begin_layout Standard
25829
25830
25831 \backslash
25832 mbox{
25833 \end_layout
25834
25835 \end_inset
25836
25837
25838 \begin_inset Quotes eld
25839 \end_inset
25840
25841 veryverylongword
25842 \begin_inset Quotes erd
25843 \end_inset
25844
25845 .
25846 \begin_inset ERT
25847 status collapsed
25848
25849 \begin_layout Standard
25850
25851 }
25852 \end_layout
25853
25854 \end_inset
25855
25856
25857 \end_layout
25858
25859 \begin_layout Subsection
25860 Vertical Alignment
25861 \begin_inset LatexCommand label
25862 name "sub:Vertical-Alignment"
25863
25864 \end_inset
25865
25866
25867 \begin_inset LatexCommand index
25868 name "Boxes ! for Vertical Alignment"
25869
25870 \end_inset
25871
25872
25873 \begin_inset LatexCommand index
25874 name "Boxes ! Raiseboxes"
25875
25876 \end_inset
25877
25878
25879 \end_layout
25880
25881 \begin_layout Standard
25882 With the help of the command 
25883 \series bold
25884
25885 \backslash
25886 raisebox
25887 \series default
25888  you can align words, characters or other boxes vertically to the surrounding
25889  text.
25890  
25891 \series bold
25892
25893 \backslash
25894 raisebox
25895 \series default
25896  is used with the following scheme:
25897 \end_layout
25898
25899 \begin_layout Standard
25900
25901 \series bold
25902
25903 \backslash
25904 raisebox{lift}[height][depth]{box content}
25905 \end_layout
25906
25907 \begin_layout Standard
25908 The lift can be a positive value to raise the box or a negative value to
25909  lower the box.
25910 \end_layout
25911
25912 \begin_layout Standard
25913 To align for example the word 
25914 \begin_inset Quotes eld
25915 \end_inset
25916
25917 preventing
25918 \begin_inset Quotes erd
25919 \end_inset
25920
25921  so that the bottom of the 
25922 \begin_inset Quotes eld
25923 \end_inset
25924
25925 deepest
25926 \begin_inset Quotes erd
25927 \end_inset
25928
25929  character 
25930 \begin_inset Quotes eld
25931 \end_inset
25932
25933 p
25934 \begin_inset Quotes erd
25935 \end_inset
25936
25937  is at the baseline, insert the command
25938 \end_layout
25939
25940 \begin_layout Standard
25941
25942 \series bold
25943
25944 \backslash
25945 raisebox{
25946 \backslash
25947 depth}{
25948 \end_layout
25949
25950 \begin_layout Standard
25951 in ERT before the word.
25952  Behind the word insert a closing brace 
25953 \begin_inset Quotes eld
25954 \end_inset
25955
25956
25957 \series bold
25958 }
25959 \series default
25960
25961 \begin_inset Quotes erd
25962 \end_inset
25963
25964  in ERT.
25965 \newline
25966 This is the result:
25967 \end_layout
25968
25969 \begin_layout Standard
25970 This is a text line with the word 
25971 \begin_inset ERT
25972 status collapsed
25973
25974 \begin_layout Standard
25975
25976
25977 \backslash
25978 raisebox{
25979 \backslash
25980 depth}{
25981 \end_layout
25982
25983 \end_inset
25984
25985
25986 \begin_inset Quotes eld
25987 \end_inset
25988
25989 preventing
25990 \begin_inset Quotes erd
25991 \end_inset
25992
25993
25994 \begin_inset ERT
25995 status collapsed
25996
25997 \begin_layout Standard
25998
25999 }
26000 \end_layout
26001
26002 \end_inset
26003
26004  as raised word.
26005 \end_layout
26006
26007 \begin_layout Standard
26008 \begin_inset VSpace bigskip
26009 \end_inset
26010
26011 When you raise or lower characters in a line, the line distance will be
26012  spread:
26013 \end_layout
26014
26015 \begin_layout Standard
26016 This is a text line with the word 
26017 \begin_inset ERT
26018 status collapsed
26019
26020 \begin_layout Standard
26021
26022
26023 \backslash
26024 raisebox{-
26025 \backslash
26026 depth}{
26027 \end_layout
26028
26029 \end_inset
26030
26031
26032 \begin_inset Quotes eld
26033 \end_inset
26034
26035 preventing
26036 \begin_inset Quotes erd
26037 \end_inset
26038
26039
26040 \begin_inset ERT
26041 status collapsed
26042
26043 \begin_layout Standard
26044
26045 }
26046 \end_layout
26047
26048 \end_inset
26049
26050  as lowered word.
26051 \newline
26052 This is a text line with the word 
26053 \begin_inset ERT
26054 status collapsed
26055
26056 \begin_layout Standard
26057
26058
26059 \backslash
26060 raisebox{0.5cm}{
26061 \end_layout
26062
26063 \end_inset
26064
26065
26066 \begin_inset Quotes eld
26067 \end_inset
26068
26069 testing
26070 \begin_inset Quotes erd
26071 \end_inset
26072
26073
26074 \begin_inset ERT
26075 status collapsed
26076
26077 \begin_layout Standard
26078
26079 }
26080 \end_layout
26081
26082 \end_inset
26083
26084  as raised word.
26085 \end_layout
26086
26087 \begin_layout Standard
26088 If you want to prevent this for a certain reason, set the box height to
26089  a zero value.
26090  For example use
26091 \end_layout
26092
26093 \begin_layout Standard
26094
26095 \series bold
26096
26097 \backslash
26098 raisebox{-
26099 \backslash
26100 depth}[0pt]{
26101 \end_layout
26102
26103 \begin_layout Standard
26104 This is a text line with the word 
26105 \begin_inset ERT
26106 status collapsed
26107
26108 \begin_layout Standard
26109
26110
26111 \backslash
26112 raisebox{-
26113 \backslash
26114 depth}[0pt]{
26115 \end_layout
26116
26117 \end_inset
26118
26119
26120 \begin_inset Quotes eld
26121 \end_inset
26122
26123 preventing
26124 \begin_inset Quotes erd
26125 \end_inset
26126
26127
26128 \begin_inset ERT
26129 status collapsed
26130
26131 \begin_layout Standard
26132
26133 }
26134 \end_layout
26135
26136 \end_inset
26137
26138  as lowered word.
26139 \newline
26140 This is a text line with the word 
26141 \begin_inset ERT
26142 status collapsed
26143
26144 \begin_layout Standard
26145
26146
26147 \backslash
26148 raisebox{0.5cm}[0pt]{
26149 \end_layout
26150
26151 \end_inset
26152
26153
26154 \begin_inset Quotes eld
26155 \end_inset
26156
26157 testing
26158 \begin_inset Quotes erd
26159 \end_inset
26160
26161
26162 \begin_inset ERT
26163 status collapsed
26164
26165 \begin_layout Standard
26166
26167 }
26168 \end_layout
26169
26170 \end_inset
26171
26172  as raised word.
26173 \end_layout
26174
26175 \begin_layout Section
26176 Colored Boxes
26177 \begin_inset LatexCommand label
26178 name "sec:Colored-Boxes"
26179
26180 \end_inset
26181
26182
26183 \begin_inset LatexCommand index
26184 name "Boxes ! Color"
26185
26186 \end_inset
26187
26188
26189 \end_layout
26190
26191 \begin_layout Subsection
26192 Color for Text
26193 \begin_inset LatexCommand index
26194 name "Color ! for Text"
26195
26196 \end_inset
26197
26198
26199 \end_layout
26200
26201 \begin_layout Standard
26202 To color the background of text the text must be put into a so called 
26203 \begin_inset Quotes eld
26204 \end_inset
26205
26206 colorbox
26207 \begin_inset Quotes erd
26208 \end_inset
26209
26210 .
26211  This requires that the LaTeX-package 
26212 \series bold
26213 color
26214 \series default
26215
26216 \begin_inset LatexCommand index
26217 name "LaTeX-packages ! color"
26218
26219 \end_inset
26220
26221  is loaded in the document preamble with the command
26222 \end_layout
26223
26224 \begin_layout Standard
26225
26226 \series bold
26227
26228 \backslash
26229 @ifundef\SpecialChar \textcompwordmark{}
26230 ined{textcolor}
26231 \newline
26232
26233 \begin_inset ERT
26234 status collapsed
26235
26236 \begin_layout Standard
26237
26238
26239 \backslash
26240 hphantom{ }
26241 \end_layout
26242
26243 \end_inset
26244
26245 {
26246 \backslash
26247 usepackage{color}}{}
26248 \end_layout
26249
26250 \begin_layout Standard
26251 The package 
26252 \series bold
26253 color
26254 \series default
26255  will be loaded automatically by LyX when you color text
26256 \begin_inset Foot
26257 status collapsed
26258
26259 \begin_layout Standard
26260 To avoid that it is loaded twice the command 
26261 \series bold
26262
26263 \backslash
26264 @ifundef\SpecialChar \textcompwordmark{}
26265 ined
26266 \series default
26267  is used.
26268 \end_layout
26269
26270 \end_inset
26271
26272 .
26273 \end_layout
26274
26275 \begin_layout Standard
26276 \begin_inset VSpace medskip
26277 \end_inset
26278
26279 Colorboxes are created with the command 
26280 \series bold
26281
26282 \backslash
26283 colorbox
26284 \series default
26285 .
26286  This will be used with the following scheme:
26287 \end_layout
26288
26289 \begin_layout Standard
26290
26291 \series bold
26292
26293 \backslash
26294 colorbox{color}{box content}
26295 \end_layout
26296
26297 \begin_layout Standard
26298 The box content can also be a box and colorboxes can also be within other
26299  boxes.
26300 \end_layout
26301
26302 \begin_layout Standard
26303 The following colors are predefined:
26304 \newline
26305
26306 \family sans
26307 black
26308 \family default
26309
26310 \family sans
26311 blue
26312 \family default
26313
26314 \family sans
26315 cyan
26316 \family default
26317 \series bold
26318 ,
26319 \series default
26320  
26321 \family sans
26322 green
26323 \family default
26324
26325 \family sans
26326 magenta
26327 \family default
26328
26329 \family sans
26330 red
26331 \family default
26332
26333 \family sans
26334 white
26335 \family default
26336 , and 
26337 \family sans
26338 yellow
26339 \family default
26340 .
26341 \newline
26342 You can also define your own color as described in section\InsetSpace ~
26343
26344 \begin_inset LatexCommand ref
26345 reference "sec:Colored-Tables"
26346
26347 \end_inset
26348
26349 .
26350 \end_layout
26351
26352 \begin_layout Standard
26353 To have e.\InsetSpace \thinspace{}
26354 g.\InsetSpace ~
26355 a red background for a word, insert the command
26356 \end_layout
26357
26358 \begin_layout Standard
26359
26360 \series bold
26361
26362 \backslash
26363 colorbox{red}{
26364 \end_layout
26365
26366 \begin_layout Standard
26367 before the word in ERT.
26368  Behind the word insert a closing brace 
26369 \begin_inset Quotes eld
26370 \end_inset
26371
26372
26373 \series bold
26374 }
26375 \series default
26376
26377 \begin_inset Quotes erd
26378 \end_inset
26379
26380  in ERT.
26381 \newline
26382 This is the result:
26383 \end_layout
26384
26385 \begin_layout Standard
26386 This is a line where the word 
26387 \begin_inset ERT
26388 status collapsed
26389
26390 \begin_layout Standard
26391
26392
26393 \backslash
26394 colorbox{red}{
26395 \end_layout
26396
26397 \end_inset
26398
26399
26400 \begin_inset Quotes eld
26401 \end_inset
26402
26403 Attention!
26404 \begin_inset Quotes erd
26405 \end_inset
26406
26407
26408 \begin_inset ERT
26409 status collapsed
26410
26411 \begin_layout Standard
26412
26413 }
26414 \end_layout
26415
26416 \end_inset
26417
26418  has a red background.
26419 \end_layout
26420
26421 \begin_layout Standard
26422 \begin_inset VSpace bigskip
26423 \end_inset
26424
26425 If you would have the box frame in a different color, you can use the command
26426  
26427 \series bold
26428
26429 \backslash
26430 fcolorbox
26431 \series default
26432  with the following scheme:
26433 \end_layout
26434
26435 \begin_layout Standard
26436
26437 \series bold
26438
26439 \backslash
26440 fcolorbox{frame color}{box color}{box content}
26441 \end_layout
26442
26443 \begin_layout Standard
26444
26445 \series bold
26446
26447 \backslash
26448 fcolorbox
26449 \series default
26450  is an extension to 
26451 \series bold
26452
26453 \backslash
26454 colorbox
26455 \series default
26456 .
26457  The frame thickness and the space between the frame and the box content
26458  can be adjusted with the lengths 
26459 \series bold
26460
26461 \backslash
26462 fboxrule
26463 \series default
26464  and 
26465 \series bold
26466
26467 \backslash
26468 fboxsep
26469 \series default
26470 , respectively, as described in section\InsetSpace ~
26471
26472 \begin_inset LatexCommand ref
26473 reference "sec:Framed-Boxes"
26474
26475 \end_inset
26476
26477 .
26478 \end_layout
26479
26480 \begin_layout Standard
26481 For the following example the command
26482 \end_layout
26483
26484 \begin_layout Standard
26485
26486 \series bold
26487
26488 \backslash
26489 fcolorbox{cyan}{magenta}{
26490 \end_layout
26491
26492 \begin_layout Standard
26493 was used.
26494 \end_layout
26495
26496 \begin_layout Standard
26497 Here is an example where the frame line thickness was set to 1\InsetSpace \thinspace{}
26498 mm:
26499 \newline
26500
26501 \begin_inset ERT
26502 status collapsed
26503
26504 \begin_layout Standard
26505
26506
26507 \backslash
26508 fboxrule 1mm 
26509 \backslash
26510 fboxsep 1mm
26511 \end_layout
26512
26513 \end_inset
26514
26515
26516 \begin_inset ERT
26517 status collapsed
26518
26519 \begin_layout Standard
26520
26521
26522 \backslash
26523 fcolorbox{cyan}{magenta}{
26524 \end_layout
26525
26526 \end_inset
26527
26528 This is text within a colored, framed box.
26529 \begin_inset ERT
26530 status collapsed
26531
26532 \begin_layout Standard
26533
26534 }
26535 \end_layout
26536
26537 \end_inset
26538
26539
26540 \end_layout
26541
26542 \begin_layout Standard
26543 \begin_inset VSpace bigskip
26544 \end_inset
26545
26546 Of course you can also have colored text inside a colorbox:
26547 \newline
26548
26549 \begin_inset ERT
26550 status collapsed
26551
26552 \begin_layout Standard
26553
26554
26555 \backslash
26556 fcolorbox{cyan}{magenta}{
26557 \end_layout
26558
26559 \end_inset
26560
26561
26562 \color yellow
26563 This is colored text within a colored, framed box.
26564 \color none
26565
26566 \begin_inset ERT
26567 status collapsed
26568
26569 \begin_layout Standard
26570
26571 }
26572 \end_layout
26573
26574 \end_inset
26575
26576
26577 \begin_inset ERT
26578 status collapsed
26579
26580 \begin_layout Standard
26581
26582
26583 \backslash
26584 fboxrule 0.4pt 
26585 \backslash
26586 fboxsep 3pt
26587 \end_layout
26588
26589 \end_inset
26590
26591
26592 \end_layout
26593
26594 \begin_layout Standard
26595
26596 \series bold
26597 \begin_inset VSpace medskip
26598 \end_inset
26599
26600
26601 \end_layout
26602
26603 \begin_layout Standard
26604 \begin_inset Note Greyedout
26605 status open
26606
26607 \begin_layout Standard
26608
26609 \series bold
26610 Note:
26611 \series default
26612  Text in colorboxes cannot have line breaks.
26613  To color multiple text lines or paragraphs, use a box inside a colorbox
26614  as described in the following.
26615 \end_layout
26616
26617 \end_inset
26618
26619
26620 \end_layout
26621
26622 \begin_layout Subsection
26623 Color for Paragraphs
26624 \begin_inset LatexCommand label
26625 name "sub:Color-for-Paragraphs"
26626
26627 \end_inset
26628
26629
26630 \begin_inset LatexCommand index
26631 name "Color ! for Paragraphs"
26632
26633 \end_inset
26634
26635
26636 \end_layout
26637
26638 \begin_layout Standard
26639 To set the background color for more than one text line, put the text into
26640  a minipage.
26641  Before the minipage insert the 
26642 \series bold
26643
26644 \backslash
26645 colorbox
26646 \series default
26647  command
26648 \end_layout
26649
26650 \begin_layout Standard
26651
26652 \series bold
26653
26654 \backslash
26655 colorbox{color}{
26656 \end_layout
26657
26658 \begin_layout Standard
26659 in ERT.
26660  Behind the minipage insert a closing brace 
26661 \begin_inset Quotes eld
26662 \end_inset
26663
26664
26665 \series bold
26666 }
26667 \series default
26668
26669 \begin_inset Quotes erd
26670 \end_inset
26671
26672  in ERT.
26673 \end_layout
26674
26675 \begin_layout Standard
26676 \begin_inset ERT
26677 status collapsed
26678
26679 \begin_layout Standard
26680
26681
26682 \backslash
26683 colorbox{lightgrey}{
26684 \end_layout
26685
26686 \end_inset
26687
26688
26689 \begin_inset Box Frameless
26690 position "t"
26691 hor_pos "c"
26692 has_inner_box 1
26693 inner_pos "t"
26694 use_parbox 0
26695 width "100col%"
26696 special "none"
26697 height "1in"
26698 height_special "totalheight"
26699 status collapsed
26700
26701 \begin_layout Standard
26702 This is text with background color.
26703  This is text with background color.
26704 \end_layout
26705
26706 \begin_layout Standard
26707 \begin_inset VSpace defskip
26708 \end_inset
26709
26710 The text can have footnotes
26711 \begin_inset Foot
26712 status collapsed
26713
26714 \begin_layout Standard
26715 Another example footnote
26716 \end_layout
26717
26718 \end_inset
26719
26720  and can include tables and figures.
26721 \end_layout
26722
26723 \begin_layout Standard
26724 \align center
26725 \begin_inset Tabular
26726 <lyxtabular version="3" rows="3" columns="3">
26727 <features>
26728 <column alignment="center" valignment="top" leftline="true" width="0">
26729 <column alignment="center" valignment="top" leftline="true" width="0">
26730 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
26731 <row topline="true">
26732 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26733 \begin_inset Text
26734
26735 \begin_layout Standard
26736 a
26737 \end_layout
26738
26739 \end_inset
26740 </cell>
26741 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26742 \begin_inset Text
26743
26744 \begin_layout Standard
26745 !
26746 \end_layout
26747
26748 \end_inset
26749 </cell>
26750 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26751 \begin_inset Text
26752
26753 \begin_layout Standard
26754 3
26755 \end_layout
26756
26757 \end_inset
26758 </cell>
26759 </row>
26760 <row topline="true">
26761 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26762 \begin_inset Text
26763
26764 \begin_layout Standard
26765 <
26766 \end_layout
26767
26768 \end_inset
26769 </cell>
26770 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26771 \begin_inset Text
26772
26773 \begin_layout Standard
26774 b2
26775 \begin_inset Quotes erd
26776 \end_inset
26777
26778 |
26779 \end_layout
26780
26781 \end_inset
26782 </cell>
26783 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26784 \begin_inset Text
26785
26786 \begin_layout Standard
26787 >
26788 \end_layout
26789
26790 \end_inset
26791 </cell>
26792 </row>
26793 <row topline="true" bottomline="true">
26794 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26795 \begin_inset Text
26796
26797 \begin_layout Standard
26798 1
26799 \end_layout
26800
26801 \end_inset
26802 </cell>
26803 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26804 \begin_inset Text
26805
26806 \begin_layout Standard
26807 §
26808 \end_layout
26809
26810 \end_inset
26811 </cell>
26812 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26813 \begin_inset Text
26814
26815 \begin_layout Standard
26816 c
26817 \end_layout
26818
26819 \end_inset
26820 </cell>
26821 </row>
26822 </lyxtabular>
26823
26824 \end_inset
26825
26826
26827 \end_layout
26828
26829 \end_inset
26830
26831
26832 \begin_inset ERT
26833 status collapsed
26834
26835 \begin_layout Standard
26836
26837 }
26838 \end_layout
26839
26840 \end_inset
26841
26842
26843 \end_layout
26844
26845 \begin_layout Section
26846 URLs (Uniform Resource Locators)
26847 \begin_inset LatexCommand index
26848 name "URLs"
26849
26850 \end_inset
26851
26852
26853 \end_layout
26854
26855 \begin_layout Standard
26856 Links to web pages or email addresses can be inserted via the menu 
26857 \family sans
26858 Insert\SpecialChar \menuseparator
26859 URL
26860 \family default
26861 .
26862  The appearing URL dialog has two fields; the 
26863 \family sans
26864 URL
26865 \family default
26866  field and the 
26867 \family sans
26868 Name
26869 \family default
26870  field for the URL description, which will be typeset as plain text immediately
26871  before the URL.
26872 \end_layout
26873
26874 \begin_layout Standard
26875 Here is an example URL: 
26876 \begin_inset LatexCommand url
26877 name "LyX's homepage"
26878 target "http://www.lyx.org"
26879
26880 \end_inset
26881
26882
26883 \end_layout
26884
26885 \begin_layout Standard
26886 The option 
26887 \family sans
26888 Generate\InsetSpace ~
26889 hyperlink
26890 \family default
26891  in the URL dialog has only an affect when you export your document to the
26892  format 
26893 \begin_inset Quotes eld
26894 \end_inset
26895
26896
26897 \family sans
26898 LinuxDoc
26899 \family default
26900
26901 \begin_inset Quotes erd
26902 \end_inset
26903
26904 .
26905 \end_layout
26906
26907 \begin_layout Standard
26908 You cannot change the style of the link text.
26909  The text of the 
26910 \family sans
26911 Name
26912 \family default
26913  field will have the default text style of the document while the text of
26914  the 
26915 \family sans
26916 URL
26917 \family default
26918  field will have the style 
26919 \begin_inset Quotes eld
26920 \end_inset
26921
26922
26923 \family sans
26924 Typewriter
26925 \family default
26926
26927 \begin_inset Quotes erd
26928 \end_inset
26929
26930 .
26931 \end_layout
26932
26933 \begin_layout Standard
26934 When you use the LaTeX-package 
26935 \series bold
26936 hyperref
26937 \series default
26938
26939 \begin_inset LatexCommand index
26940 name "LaTeX-packages ! hyperref"
26941
26942 \end_inset
26943
26944  to link cross-references in the output, URLs will automatically become
26945  clickable hyperlinks in DVI and PDF-output.
26946 \end_layout
26947
26948 \begin_layout Standard
26949 \begin_inset Note Greyedout
26950 status open
26951
26952 \begin_layout Standard
26953
26954 \series bold
26955 Note:
26956 \series default
26957  When you use the following characters: "%", "#", "^", you have to write
26958  them with a preceding backslash, e.\InsetSpace \thinspace{}
26959 g.\InsetSpace ~
26960
26961 \begin_inset Quotes eld
26962 \end_inset
26963
26964
26965 \backslash
26966 #
26967 \begin_inset Quotes erd
26968 \end_inset
26969
26970 .
26971  URLs must not end with a backslash.
26972 \end_layout
26973
26974 \end_inset
26975
26976
26977 \end_layout
26978
26979 \begin_layout Standard
26980 \begin_inset VSpace bigskip
26981 \end_inset
26982
26983 To create real hyperlinks without the force to write the link location to
26984  the text, you can use the command
26985 \end_layout
26986
26987 \begin_layout Standard
26988
26989 \series bold
26990
26991 \backslash
26992 href{link location}{link text}
26993 \end_layout
26994
26995 \begin_layout Standard
26996 in ERT.
26997  To get for example a link to LyX's web page, write the command
26998 \end_layout
26999
27000 \begin_layout Standard
27001
27002 \series bold
27003
27004 \backslash
27005 href{http://www.lyx.org}{
27006 \end_layout
27007
27008 \begin_layout Standard
27009 in ERT.
27010  Insert after the command the link text 
27011 \begin_inset Quotes eld
27012 \end_inset
27013
27014 LyX's homepage
27015 \begin_inset Quotes erd
27016 \end_inset
27017
27018  as normal text followed by a closing brace 
27019 \begin_inset Quotes eld
27020 \end_inset
27021
27022
27023 \series bold
27024 }
27025 \series default
27026
27027 \begin_inset Quotes erd
27028 \end_inset
27029
27030  in ERT.
27031  This is the result: 
27032 \begin_inset ERT
27033 status collapsed
27034
27035 \begin_layout Standard
27036
27037
27038 \backslash
27039 href{http://www.lyx.org}{
27040 \end_layout
27041
27042 \end_inset
27043
27044 LyX's homepage
27045 \begin_inset ERT
27046 status collapsed
27047
27048 \begin_layout Standard
27049
27050 }
27051 \end_layout
27052
27053 \end_inset
27054
27055
27056 \end_layout
27057
27058 \begin_layout Standard
27059 To link to email addresses, add the prefix 
27060 \begin_inset Quotes eld
27061 \end_inset
27062
27063
27064 \family sans
27065 mailto:
27066 \family default
27067
27068 \begin_inset Quotes erd
27069 \end_inset
27070
27071  to the link location:
27072 \newline
27073 Email to 
27074 \begin_inset ERT
27075 status collapsed
27076
27077 \begin_layout Standard
27078
27079
27080 \backslash
27081 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's documentation}{
27082 \end_layout
27083
27084 \end_inset
27085
27086 lyx-docs mailing list
27087 \begin_inset ERT
27088 status collapsed
27089
27090 \begin_layout Standard
27091
27092 }
27093 \end_layout
27094
27095 \end_inset
27096
27097 .
27098 \end_layout
27099
27100 \begin_layout Standard
27101 Using 
27102 \series bold
27103
27104 \backslash
27105 href
27106 \series default
27107  instead of LyX's URL box has the advantage that you can specify the text
27108  style of the link text like for all other text parts.
27109  You can then set hyphenation points and forced linebreaks to have long
27110  link text broken at the page margin.
27111  You are furthermore able to change the text style for all URLs in your
27112  document with an option in 
27113 \series bold
27114 hyperref
27115 \series default
27116 's load command and the restrictions mentioned above doesn't apply for 
27117 \series bold
27118
27119 \backslash
27120 href
27121 \series default
27122 .
27123 \end_layout
27124
27125 \begin_layout Chapter
27126 External Stuff
27127 \begin_inset LatexCommand index
27128 name "External Stuff"
27129
27130 \end_inset
27131
27132
27133 \end_layout
27134
27135 \begin_layout Standard
27136 With the menu 
27137 \family sans
27138 Insert\SpecialChar \menuseparator
27139 File
27140 \family default
27141  you can insert external material to your document.
27142  This can be:
27143 \end_layout
27144
27145 \begin_layout Description
27146 LyX\InsetSpace ~
27147 Document Another LyX document; its content is directly inserted to your
27148  document.
27149 \end_layout
27150
27151 \begin_layout Description
27152 Plain\InsetSpace ~
27153 Text A text document; every of its text lines is inserted to your document
27154  as own paragraph.
27155 \end_layout
27156
27157 \begin_layout Description
27158 Plain\InsetSpace ~
27159 Text,\InsetSpace ~
27160 Join\InsetSpace ~
27161 Lines A text document; its text lines are inserted as they
27162  are.
27163  Empty text lines creates a new paragraph in your document.
27164 \end_layout
27165
27166 \begin_layout Description
27167 External\InsetSpace ~
27168 Material Files in various formats.
27169 \end_layout
27170
27171 \begin_layout Description
27172 Child\InsetSpace ~
27173 Document LyX or LaTeX-documents.
27174 \end_layout
27175
27176 \begin_layout Section
27177 External Material
27178 \begin_inset LatexCommand index
27179 name "External Stuff ! External Material"
27180
27181 \end_inset
27182
27183
27184 \end_layout
27185
27186 \begin_layout Standard
27187 The external material feature allows you to insert files to your document
27188  without converting them previously to a format that can be read by the
27189  document output format because LyX takes care of needed conversions.
27190  This is similar to images that can be inserted in various image formats
27191  to LyX documents.
27192 \end_layout
27193
27194 \begin_layout Standard
27195 External material can be inserted via the 
27196 \family sans
27197 External Material
27198 \family default
27199  dialog that is accessible with the menu 
27200 \family sans
27201 Insert\SpecialChar \menuseparator
27202 File\SpecialChar \menuseparator
27203 External\InsetSpace ~
27204 Material
27205 \family default
27206 .
27207  Currently the following file types (
27208 \family sans
27209 Templates
27210 \family default
27211 ) are allowed:
27212 \end_layout
27213
27214 \begin_layout Description
27215 ChessDiagram This template supports chess position diagrams made with the
27216  program 
27217 \begin_inset ERT
27218 status collapsed
27219
27220 \begin_layout Standard
27221
27222
27223 \backslash
27224 href{http://en.wikipedia.org/wiki/XBoard}{
27225 \end_layout
27226
27227 \end_inset
27228
27229
27230 \series bold
27231 XBoard
27232 \series default
27233
27234 \begin_inset ERT
27235 status collapsed
27236
27237 \begin_layout Standard
27238
27239 }
27240 \end_layout
27241
27242 \end_inset
27243
27244 .
27245 \end_layout
27246
27247 \begin_layout Description
27248 Date This inserts the date in the form 
27249 \emph on
27250 Day-Month-Year
27251 \emph default
27252 .
27253  This is a date inserted as external material: 
27254 \begin_inset External
27255         template Date
27256         filename .
27257
27258 \end_inset
27259
27260
27261 \newline
27262 The date is not shown within LyX, only in the output.
27263  There are two other methods of inserting a date: Via menu 
27264 \family sans
27265 Insert\SpecialChar \menuseparator
27266 Date
27267 \family default
27268  and with the LaTeX command 
27269 \series bold
27270
27271 \backslash
27272 today
27273 \series default
27274  as ERT.
27275  The different methods are compared in Table\InsetSpace ~
27276
27277 \begin_inset LatexCommand ref
27278 reference "tab:Comparison-of-the"
27279
27280 \end_inset
27281
27282 .
27283 \end_layout
27284
27285 \begin_layout Description
27286 LilyPond This template is used for music notation typeset with the program
27287 \begin_inset ERT
27288 status collapsed
27289
27290 \begin_layout Standard
27291
27292
27293 \backslash
27294 linebreak 
27295 \end_layout
27296
27297 \end_inset
27298
27299
27300 \begin_inset ERT
27301 status collapsed
27302
27303 \begin_layout Standard
27304
27305
27306 \backslash
27307 href{http://en.wikipedia.org/wiki/LilyPond}{
27308 \end_layout
27309
27310 \end_inset
27311
27312
27313 \series bold
27314 LilyPond
27315 \series default
27316
27317 \begin_inset ERT
27318 status collapsed
27319
27320 \begin_layout Standard
27321
27322 }
27323 \end_layout
27324
27325 \end_inset
27326
27327 .
27328 \begin_inset Note Note
27329 status collapsed
27330
27331 \begin_layout Standard
27332 The command 
27333 \series bold
27334
27335 \backslash
27336 linebreak
27337 \series default
27338  breaks the line while the remaining text in the line is stretched to the
27339  page margin.
27340 \end_layout
27341
27342 \end_inset
27343
27344
27345 \end_layout
27346
27347 \begin_layout Description
27348 RasterImage This can be used for bitmap images.
27349  Nearly all popular image formats are supported.
27350  The image can be treated in the 
27351 \family sans
27352 External material
27353 \family default
27354  dialog like the images that are usually included via the 
27355 \family sans
27356 Graphics
27357 \family default
27358  dialog as described in section\InsetSpace ~
27359
27360 \begin_inset LatexCommand ref
27361 reference "sec:Graphics-Dialog"
27362
27363 \end_inset
27364
27365 .
27366  The difference is that only raster images are allowed, that means that
27367  PDF and EPS-images are not supported.
27368 \end_layout
27369
27370 \begin_layout Description
27371 XFig This template supports images created with the program 
27372 \begin_inset ERT
27373 status collapsed
27374
27375 \begin_layout Standard
27376
27377
27378 \backslash
27379 href{http://en.wikipedia.org/wiki/Xfig}{
27380 \end_layout
27381
27382 \end_inset
27383
27384
27385 \series bold
27386 Xfig
27387 \series default
27388
27389 \begin_inset ERT
27390 status collapsed
27391
27392 \begin_layout Standard
27393
27394 }
27395 \end_layout
27396
27397 \end_inset
27398
27399 .
27400 \end_layout
27401
27402 \begin_layout Standard
27403 \begin_inset Float table
27404 placement h
27405 wide false
27406 sideways false
27407 status open
27408
27409 \begin_layout Standard
27410 \begin_inset Caption
27411
27412 \begin_layout Standard
27413 \begin_inset LatexCommand label
27414 name "tab:Comparison-of-the"
27415
27416 \end_inset
27417
27418 Comparison of the date input methods.
27419 \end_layout
27420
27421 \end_inset
27422
27423
27424 \end_layout
27425
27426 \begin_layout Standard
27427 \align center
27428 \begin_inset Tabular
27429 <lyxtabular version="3" rows="4" columns="4">
27430 <features>
27431 <column alignment="center" valignment="top" leftline="true" width="0">
27432 <column alignment="center" valignment="top" leftline="true" width="0">
27433 <column alignment="center" valignment="top" leftline="true" width="0">
27434 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
27435 <row topline="true">
27436 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27437 \begin_inset Text
27438
27439 \begin_layout Standard
27440 Document format
27441 \end_layout
27442
27443 \end_inset
27444 </cell>
27445 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27446 \begin_inset Text
27447
27448 \begin_layout Standard
27449
27450 \family sans
27451 External Material\SpecialChar \menuseparator
27452 Date
27453 \end_layout
27454
27455 \end_inset
27456 </cell>
27457 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27458 \begin_inset Text
27459
27460 \begin_layout Standard
27461
27462 \family sans
27463 Insert\SpecialChar \menuseparator
27464 Date
27465 \end_layout
27466
27467 \end_inset
27468 </cell>
27469 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27470 \begin_inset Text
27471
27472 \begin_layout Standard
27473 command 
27474 \series bold
27475
27476 \backslash
27477 today
27478 \end_layout
27479
27480 \end_inset
27481 </cell>
27482 </row>
27483 <row topline="true">
27484 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27485 \begin_inset Text
27486
27487 \begin_layout Standard
27488 LyX
27489 \end_layout
27490
27491 \end_inset
27492 </cell>
27493 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27494 \begin_inset Text
27495
27496 \begin_layout Standard
27497 as inset box
27498 \end_layout
27499
27500 \end_inset
27501 </cell>
27502 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27503 \begin_inset Text
27504
27505 \begin_layout Standard
27506 as date
27507 \end_layout
27508
27509 \end_inset
27510 </cell>
27511 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27512 \begin_inset Text
27513
27514 \begin_layout Standard
27515 as ERT inset box
27516 \end_layout
27517
27518 \end_inset
27519 </cell>
27520 </row>
27521 <row topline="true">
27522 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27523 \begin_inset Text
27524
27525 \begin_layout Standard
27526 LaTeX
27527 \end_layout
27528
27529 \end_inset
27530 </cell>
27531 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27532 \begin_inset Text
27533
27534 \begin_layout Standard
27535 as date
27536 \end_layout
27537
27538 \end_inset
27539 </cell>
27540 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27541 \begin_inset Text
27542
27543 \begin_layout Standard
27544 as date
27545 \end_layout
27546
27547 \end_inset
27548 </cell>
27549 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27550 \begin_inset Text
27551
27552 \begin_layout Standard
27553 as command
27554 \end_layout
27555
27556 \end_inset
27557 </cell>
27558 </row>
27559 <row topline="true" bottomline="true">
27560 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27561 \begin_inset Text
27562
27563 \begin_layout Standard
27564 DVI, PDF, PS
27565 \end_layout
27566
27567 \end_inset
27568 </cell>
27569 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27570 \begin_inset Text
27571
27572 \begin_layout Standard
27573 as date
27574 \end_layout
27575
27576 \end_inset
27577 </cell>
27578 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27579 \begin_inset Text
27580
27581 \begin_layout Standard
27582 as date
27583 \end_layout
27584
27585 \end_inset
27586 </cell>
27587 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27588 \begin_inset Text
27589
27590 \begin_layout Standard
27591 as date
27592 \end_layout
27593
27594 \end_inset
27595 </cell>
27596 </row>
27597 </lyxtabular>
27598
27599 \end_inset
27600
27601
27602 \end_layout
27603
27604 \end_inset
27605
27606
27607 \end_layout
27608
27609 \begin_layout Standard
27610 When you use the option 
27611 \family sans
27612 Draft
27613 \family default
27614  in the 
27615 \family sans
27616 File
27617 \family default
27618  tab of the 
27619 \family sans
27620 External Material
27621 \family default
27622  dialog, only the path to the inserted file is shown in the output.
27623 \newline
27624 External
27625  material is displayed in LyX either as box like this: 
27626 \begin_inset Graphics
27627         filename clipart/ExternalMaterialQt4.png
27628         scale 85
27629         scaleBeforeRotation
27630
27631 \end_inset
27632
27633  or as image, depending on the setting in the 
27634 \family sans
27635 LyX\InsetSpace ~
27636 View
27637 \family default
27638  tab of the 
27639 \family sans
27640 External Material
27641 \family default
27642  dialog.
27643 \end_layout
27644
27645 \begin_layout Standard
27646 The 
27647 \family sans
27648 \emph on
27649 Customization
27650 \family default
27651 \emph default
27652  manual explains how you can define your own templates.
27653 \end_layout
27654
27655 \begin_layout Section
27656 Child Documents
27657 \begin_inset LatexCommand label
27658 name "sec:Child-Documents"
27659
27660 \end_inset
27661
27662
27663 \begin_inset LatexCommand index
27664 name "External Stuff ! Child Documents"
27665
27666 \end_inset
27667
27668
27669 \begin_inset LatexCommand index
27670 name "Files ! Include"
27671
27672 \end_inset
27673
27674
27675 \end_layout
27676
27677 \begin_layout Standard
27678 Child documents are used when you have a long document consisting of several
27679  larger parts or sections.
27680  For maintenance it is often useful and sometimes even required to split
27681  the document in several files that can be revised separately.
27682  The different documents are then the so called child documents and a master
27683  document connects them to print the full document or parts of it.
27684 \end_layout
27685
27686 \begin_layout Standard
27687 Included documents are displayed in LyX as a box like this: 
27688 \begin_inset Graphics
27689         filename clipart/ChildDocumentQt4.png
27690         scale 85
27691         scaleBeforeRotation
27692
27693 \end_inset
27694
27695  To include child documents to a master document use the menu 
27696 \family sans
27697 Insert\SpecialChar \menuseparator
27698 File\SpecialChar \menuseparator
27699 Child\InsetSpace ~
27700 Documents
27701 \family default
27702 .
27703  A dialog pops up where you can choose between four include methods:
27704 \end_layout
27705
27706 \begin_layout Description
27707 Include You can include LyX and LaTeX-documents.
27708  When you press the 
27709 \family sans
27710 Load
27711 \family default
27712  button in the 
27713 \family sans
27714 Child Document
27715 \family default
27716  dialog, the included documents will be opened in LyX in a new file tab
27717  so that you can modify it.
27718 \newline
27719
27720 \end_layout
27721
27722 \begin_layout Standard
27723 Here is a child document inserted using 
27724 \family sans
27725 Include
27726 \family default
27727
27728 \begin_inset Include \include{DummyDocument1.lyx}
27729 preview false
27730
27731 \end_inset
27732
27733
27734 \end_layout
27735
27736 \begin_layout Standard
27737 The section numbering includes the sections of the included files in the
27738  order they are inserted in the master document.
27739  The included example document has for example a subsection that is numbered
27740  as subsection of this section.
27741  Labels of included documents can be referenced: Subsection\InsetSpace ~
27742
27743 \begin_inset LatexCommand ref
27744 reference "sub:External-Subsection-1"
27745
27746 \end_inset
27747
27748
27749 \end_layout
27750
27751 \begin_layout Standard
27752 The preamble of the child document is ignored, only the preamble of the
27753  master document is used.
27754  Included documents are inserted starting on a new page and end with a pagebreak.
27755 \end_layout
27756
27757 \begin_layout Standard
27758 With the LaTeX-command 
27759 \series bold
27760
27761 \backslash
27762 includeonly 
27763 \series default
27764 you can specify which included child documents are processed when the output
27765  is generated.
27766  This is useful when you are perhaps only working on a certain chapter of
27767  your large document as this saves compiling time.
27768  
27769 \series bold
27770
27771 \backslash
27772 includeonly
27773 \series default
27774  is inserted to the master document preamble.
27775  It takes a comma-separated list of the filenames as argument, e.g.
27776 \end_layout
27777
27778 \begin_layout Standard
27779
27780 \series bold
27781
27782 \backslash
27783 includeonly{chapter1,chapter5}
27784 \end_layout
27785
27786 \begin_layout Standard
27787 will only process the included files named 
27788 \begin_inset Quotes eld
27789 \end_inset
27790
27791 chapter1.lyx
27792 \begin_inset Quotes erd
27793 \end_inset
27794
27795  (or 
27796 \begin_inset Quotes eld
27797 \end_inset
27798
27799 chapter1.tex
27800 \begin_inset Quotes erd
27801 \end_inset
27802
27803 ) and 
27804 \begin_inset Quotes eld
27805 \end_inset
27806
27807 chapter5.lyx
27808 \begin_inset Quotes erd
27809 \end_inset
27810
27811  .
27812 \end_layout
27813
27814 \begin_layout Standard
27815 \begin_inset Note Greyedout
27816 status open
27817
27818 \begin_layout Standard
27819
27820 \series bold
27821 Note:
27822 \series default
27823  When you have included a LyX- or LaTeX-file, you are warned when you export/vie
27824 w the document in case that the child document uses another document class
27825  than the master document as this will lead to unexpected outputs.
27826 \end_layout
27827
27828 \end_inset
27829
27830
27831 \end_layout
27832
27833 \begin_layout Description
27834 Input This method is very similar to the Include method.
27835  The differences are:
27836 \end_layout
27837
27838 \begin_deeper
27839 \begin_layout Itemize
27840 Input files don't start with a new page and don't end with a pagebreak.
27841 \end_layout
27842
27843 \begin_layout Itemize
27844 Input files can be previewed in LyX when 
27845 \family sans
27846 Instant\InsetSpace ~
27847 Preview
27848 \family default
27849  is enabled in LyX's preferences under 
27850 \family sans
27851 Look\InsetSpace ~
27852 and\InsetSpace ~
27853 feel\SpecialChar \menuseparator
27854 Graphics
27855 \family default
27856 .
27857 \end_layout
27858
27859 \begin_layout Itemize
27860 The LaTeX-command 
27861 \series bold
27862
27863 \backslash
27864 includeonly
27865 \series default
27866  cannot be used.
27867 \end_layout
27868
27869 \end_deeper
27870 \begin_layout Standard
27871 Here is a child document inserted using 
27872 \family sans
27873 Input
27874 \family default
27875
27876 \begin_inset Include \input{DummyDocument2.lyx}
27877 preview false
27878
27879 \end_inset
27880
27881
27882 \end_layout
27883
27884 \begin_layout Description
27885 Verbatim With this method every text file can be included.
27886  The file is shown in the output with its source code, no command used in
27887  the text is invoked.
27888  You can use the option 
27889 \family sans
27890 Mark spaces in output
27891 \family default
27892  that displays the character 
27893 \begin_inset Quotes eld
27894 \end_inset
27895
27896
27897 \begin_inset ERT
27898 status collapsed
27899
27900 \begin_layout Standard
27901
27902
27903 \backslash
27904 textvisiblespace 
27905 \end_layout
27906
27907 \end_inset
27908
27909
27910 \begin_inset Quotes erd
27911 \end_inset
27912
27913  for every space character in the source code.
27914  The difference to the method via the menu 
27915 \family sans
27916 Insert\SpecialChar \menuseparator
27917 File\SpecialChar \menuseparator
27918 Plain\InsetSpace ~
27919 Text
27920 \family default
27921  is that the document content is not shown in LyX.
27922 \end_layout
27923
27924 \begin_layout Standard
27925 Here is a child document inserted as Verbatim: 
27926 \begin_inset Include \verbatiminput{DummyTextDocument.txt}
27927 preview false
27928
27929 \end_inset
27930
27931
27932 \begin_inset VSpace bigskip
27933 \end_inset
27934
27935 Here is a child document inserted as Verbatim using the 
27936 \family sans
27937 Mark spaces in output
27938 \family default
27939  option: 
27940 \begin_inset Include \verbatiminput*{DummyTextDocument.txt}
27941 preview false
27942
27943 \end_inset
27944
27945
27946 \end_layout
27947
27948 \begin_layout Standard
27949 \begin_inset VSpace bigskip
27950 \end_inset
27951
27952
27953 \end_layout
27954
27955 \begin_layout Standard
27956 \begin_inset Note Greyedout
27957 status open
27958
27959 \begin_layout Standard
27960
27961 \series bold
27962 Note:
27963 \series default
27964  As you can see in the examples above, the text of the documents included
27965  as 
27966 \family sans
27967 verbatim
27968 \family default
27969  is not broken at the end of the document lines.
27970 \end_layout
27971
27972 \end_inset
27973
27974
27975 \end_layout
27976
27977 \begin_layout Description
27978 Listings This type is described in chapter\InsetSpace ~
27979
27980 \begin_inset LatexCommand ref
27981 reference "cha:Program-Code-Listings"
27982
27983 \end_inset
27984
27985 .
27986 \end_layout
27987
27988 \begin_layout Standard
27989 \begin_inset Note Greyedout
27990 status open
27991
27992 \begin_layout Standard
27993
27994 \series bold
27995 Note:
27996 \series default
27997  Including the same document twice in a document using different methods
27998  could cause LaTeX-problems.
27999 \end_layout
28000
28001 \end_inset
28002
28003
28004 \end_layout
28005
28006 \begin_layout Chapter
28007 Program Code Listings
28008 \begin_inset LatexCommand label
28009 name "cha:Program-Code-Listings"
28010
28011 \end_inset
28012
28013
28014 \begin_inset LatexCommand index
28015 name "Listings"
28016
28017 \end_inset
28018
28019
28020 \begin_inset LatexCommand index
28021 name "Program Code"
28022
28023 \end_inset
28024
28025
28026 \begin_inset LatexCommand index
28027 name "Floats ! Listings"
28028
28029 \end_inset
28030
28031
28032 \end_layout
28033
28034 \begin_layout Standard
28035 To include and typeset program code you can use the 
28036 \family sans
28037 Listings
28038 \family default
28039  inset that can be inserted via the menu 
28040 \family sans
28041 Insert\SpecialChar \menuseparator
28042 Program Listing
28043 \family default
28044 .
28045  The LaTeX-package 
28046 \series bold
28047 listings
28048 \series default
28049
28050 \begin_inset LatexCommand index
28051 name "LaTeX-packages ! listings"
28052
28053 \end_inset
28054
28055  provides a powerful and flexible way to insert program source code to your
28056  document.
28057 \end_layout
28058
28059 \begin_layout Standard
28060 When right-clicking on a listings inset a dialog pops up where you can set
28061  the listings format.
28062 \end_layout
28063
28064 \begin_layout Standard
28065 By default, a listing starts a new paragraph in the output.
28066  The placement option 
28067 \family sans
28068 Inline\InsetSpace ~
28069 listing
28070 \family default
28071  prints the listing inline like this: 
28072 \begin_inset listings
28073 lstparams "language={C++}"
28074 inline true
28075 status open
28076
28077 \begin_layout Standard
28078
28079 int a=5;
28080 \end_layout
28081
28082 \end_inset
28083
28084
28085 \newline
28086 The option 
28087 \family sans
28088 Float
28089 \family default
28090  creates a listings float where you can specify the placement options 
28091 \begin_inset Quotes eld
28092 \end_inset
28093
28094
28095 \family sans
28096 h
28097 \family default
28098
28099 \begin_inset Quotes erd
28100 \end_inset
28101
28102
28103 \begin_inset Quotes eld
28104 \end_inset
28105
28106
28107 \family sans
28108 t
28109 \family default
28110
28111 \begin_inset Quotes erd
28112 \end_inset
28113
28114
28115 \begin_inset Quotes eld
28116 \end_inset
28117
28118
28119 \family sans
28120 b
28121 \family default
28122
28123 \begin_inset Quotes erd
28124 \end_inset
28125
28126 , and 
28127 \begin_inset Quotes eld
28128 \end_inset
28129
28130
28131 \family sans
28132 p
28133 \family default
28134
28135 \begin_inset Quotes erd
28136 \end_inset
28137
28138  corresponding to the float placement options described in section\InsetSpace ~
28139
28140 \begin_inset LatexCommand ref
28141 reference "sec:Float-Placement"
28142
28143 \end_inset
28144
28145 .
28146  The placement options can be mixed and are inserted without any separation,
28147  e.\InsetSpace \thinspace{}
28148 g.\InsetSpace ~
28149
28150 \begin_inset Quotes eld
28151 \end_inset
28152
28153
28154 \family sans
28155 htbp
28156 \family default
28157
28158 \begin_inset Quotes erd
28159 \end_inset
28160
28161 .
28162  The option 
28163 \begin_inset Quotes eld
28164 \end_inset
28165
28166 h
28167 \begin_inset Quotes erd
28168 \end_inset
28169
28170  has sometimes no effect, but you don't need to use the 
28171 \family sans
28172 Float
28173 \family default
28174  option in this case as also non-float listings can have captions and be
28175  referenced.
28176 \end_layout
28177
28178 \begin_layout Standard
28179 You can add captions to listings with the menu 
28180 \family sans
28181 Insert\SpecialChar \menuseparator
28182 Caption
28183 \family default
28184 .
28185  Listings can be referenced like floats: Listing\InsetSpace ~
28186
28187 \begin_inset LatexCommand ref
28188 reference "lst:Example-Listing"
28189
28190 \end_inset
28191
28192
28193 \end_layout
28194
28195 \begin_layout Standard
28196 \begin_inset listings
28197 lstparams "language=Python"
28198 inline false
28199 status open
28200
28201 \begin_layout Standard
28202
28203 \begin_inset Caption
28204
28205 \begin_layout Standard
28206 \begin_inset LatexCommand label
28207 name "lst:Example-Listing"
28208
28209 \end_inset
28210
28211 Example Listing float
28212 \end_layout
28213
28214 \end_inset
28215
28216 # Example listing float
28217 \end_layout
28218
28219 \begin_layout Standard
28220
28221 def func(param):
28222 \end_layout
28223
28224 \begin_layout Standard
28225
28226     'this is a python function'
28227 \end_layout
28228
28229 \begin_layout Standard
28230
28231     pass
28232 \end_layout
28233
28234 \end_inset
28235
28236
28237 \end_layout
28238
28239 \begin_layout Standard
28240 When you have set a programming language in the listings dialog, the keywords
28241  of this language will be recognized and specially typeset in the output.
28242  In the example listings the Python keyword 
28243 \begin_inset Quotes eld
28244 \end_inset
28245
28246 def
28247 \begin_inset Quotes erd
28248 \end_inset
28249
28250  is recognized and printed bold in the output.
28251 \end_layout
28252
28253 \begin_layout Standard
28254 In section 
28255 \family sans
28256 Line\InsetSpace ~
28257 numbering
28258 \family default
28259  of the listings dialog you can specify the line numbering style.
28260  You can insert a number to specify which lines are numbered to the field
28261  
28262 \family sans
28263 Step
28264 \family default
28265 .
28266  When you insert e.g.
28267  
28268 \begin_inset Quotes eld
28269 \end_inset
28270
28271 3
28272 \begin_inset Quotes erd
28273 \end_inset
28274
28275 , only every 3rd line will be numbered.
28276 \end_layout
28277
28278 \begin_layout Standard
28279 You can furthermore specify a range of lines, only these will then appear
28280  in the output.
28281  The option 
28282 \family sans
28283 Extended\InsetSpace ~
28284 chars
28285 \family default
28286  should be used when you use national characters like the German umlauts
28287  in the listing.
28288 \newline
28289 Here is an example listing with left line numbering, step
28290  
28291 \begin_inset Quotes eld
28292 \end_inset
28293
28294 3
28295 \begin_inset Quotes erd
28296 \end_inset
28297
28298 , language 
28299 \begin_inset Quotes eld
28300 \end_inset
28301
28302 Python
28303 \begin_inset Quotes erd
28304 \end_inset
28305
28306 , options 
28307 \begin_inset Quotes eld
28308 \end_inset
28309
28310 Extended\InsetSpace ~
28311 chars
28312 \begin_inset Quotes erd
28313 \end_inset
28314
28315  and 
28316 \begin_inset Quotes eld
28317 \end_inset
28318
28319 Space\InsetSpace ~
28320 as\InsetSpace ~
28321 Symbol
28322 \begin_inset Quotes erd
28323 \end_inset
28324
28325 , range lines 3\InsetSpace \thinspace{}
28326 -\InsetSpace \thinspace{}
28327 8:
28328 \end_layout
28329
28330 \begin_layout Standard
28331 \begin_inset listings
28332 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
28333 inline false
28334 status open
28335
28336 \begin_layout Standard
28337
28338 def func(param):
28339 \end_layout
28340
28341 \begin_layout Standard
28342
28343     'this is a python function'
28344 \end_layout
28345
28346 \begin_layout Standard
28347
28348     pass
28349 \end_layout
28350
28351 \begin_layout Standard
28352
28353 def func(param):
28354 \end_layout
28355
28356 \begin_layout Standard
28357
28358 'This is a German word: Tschüß'
28359 \end_layout
28360
28361 \begin_layout Standard
28362
28363 pass
28364 \end_layout
28365
28366 \begin_layout Standard
28367
28368 def func(param):
28369 \end_layout
28370
28371 \begin_layout Standard
28372
28373 'this is a python function'
28374 \end_layout
28375
28376 \begin_layout Standard
28377
28378 pass
28379 \end_layout
28380
28381 \end_inset
28382
28383
28384 \end_layout
28385
28386 \begin_layout Standard
28387 \begin_inset Note Greyedout
28388 status open
28389
28390 \begin_layout Standard
28391
28392 \series bold
28393 Note:
28394 \series default
28395  The line numbering is shifted by a line by every previous listing.
28396  That's the reason why the lines 2 and 5 are numbered in the above listing
28397  and not the lines 3 and 6.
28398 \end_layout
28399
28400 \end_inset
28401
28402
28403 \end_layout
28404
28405 \begin_layout Standard
28406 \begin_inset VSpace bigskip
28407 \end_inset
28408
28409
28410 \end_layout
28411
28412 \begin_layout Standard
28413 It is also possible to print lines from a file as listing.
28414  To do this, use the menu 
28415 \family sans
28416 Insert\SpecialChar \menuseparator
28417 File\SpecialChar \menuseparator
28418 Child Document
28419 \family default
28420  and choose the type 
28421 \family sans
28422 Listings
28423 \family default
28424 .
28425 \begin_inset Foot
28426 status collapsed
28427
28428 \begin_layout Standard
28429 The other child document types are described in section\InsetSpace ~
28430
28431 \begin_inset LatexCommand ref
28432 reference "sec:Child-Documents"
28433
28434 \end_inset
28435
28436 .
28437 \end_layout
28438
28439 \end_inset
28440
28441  In the child document dialog you can specify the listing parameters in
28442  a text box.
28443  To show a list of all available parameters, type in a question mark 
28444 \begin_inset Quotes eld
28445 \end_inset
28446
28447 ?
28448 \begin_inset Quotes erd
28449 \end_inset
28450
28451  in the text box.
28452 \end_layout
28453
28454 \begin_layout Standard
28455 To reference child document listings, write a label text into the corresponding
28456  field of the child document dialog.
28457  The label can then be referenced using the menu 
28458 \family sans
28459 Insert\SpecialChar \menuseparator
28460 Cross-Reference
28461 \family default
28462 .
28463 \end_layout
28464
28465 \begin_layout Standard
28466 Listing\InsetSpace ~
28467
28468 \begin_inset LatexCommand ref
28469 reference "lst:file-listing"
28470
28471 \end_inset
28472
28473  is an example for a listing of a file; there the lines 10\InsetSpace \thinspace{}
28474 -\InsetSpace \thinspace{}
28475 15 of this LyX
28476  file are listed.
28477 \end_layout
28478
28479 \begin_layout Standard
28480 \begin_inset Include \lstinputlisting{EmbeddedObjects.lyx}[breaklines=true,caption={Lines 10 - 15 of this LyX file},firstline=10,label={lst:file-listing},language={[LaTeX]TeX},lastline=15]
28481 preview false
28482
28483 \end_inset
28484
28485
28486 \end_layout
28487
28488 \begin_layout Standard
28489 \begin_inset VSpace bigskip
28490 \end_inset
28491
28492
28493 \end_layout
28494
28495 \begin_layout Standard
28496 Global listings settings can be set in the 
28497 \family sans
28498 Document\SpecialChar \menuseparator
28499 Settings\SpecialChar \menuseparator
28500 Text Layout
28501 \family default
28502  dialog.
28503  To get there a list of available options, type in a question mark 
28504 \begin_inset Quotes eld
28505 \end_inset
28506
28507 ?
28508 \begin_inset Quotes erd
28509 \end_inset
28510
28511  in the 
28512 \family sans
28513 Listings\InsetSpace ~
28514 settings
28515 \family default
28516  field.
28517 \end_layout
28518
28519 \begin_layout Standard
28520 For more information about the 
28521 \series bold
28522 listings
28523 \series default
28524  package, we refer to its documentation 
28525 \begin_inset LatexCommand cite
28526 key "listings"
28527
28528 \end_inset
28529
28530 .
28531 \end_layout
28532
28533 \begin_layout Standard
28534
28535 \newpage
28536
28537 \end_layout
28538
28539 \begin_layout Chapter
28540 \start_of_appendix
28541 Units available in 
28542 \begin_inset ERT
28543 status collapsed
28544
28545 \begin_layout Standard
28546
28547
28548 \backslash
28549 texorpdfstring{
28550 \end_layout
28551
28552 \end_inset
28553
28554 LyX
28555 \begin_inset ERT
28556 status collapsed
28557
28558 \begin_layout Standard
28559
28560 }{LyX}
28561 \end_layout
28562
28563 \end_inset
28564
28565
28566 \begin_inset LatexCommand index
28567 name "Units"
28568
28569 \end_inset
28570
28571
28572 \begin_inset LatexCommand label
28573 name "cha:Units-available-in"
28574
28575 \end_inset
28576
28577
28578 \begin_inset Note Note
28579 status collapsed
28580
28581 \begin_layout Standard
28582 The command 
28583 \backslash
28584 texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures
28585  are displayed wrongly in PDF-bookmarks.
28586  For more information about this, have a look at 
28587 \begin_inset LatexCommand cite
28588 key "hyperref"
28589
28590 \end_inset
28591
28592 .
28593 \end_layout
28594
28595 \end_inset
28596
28597
28598 \end_layout
28599
28600 \begin_layout Standard
28601 To understand the units described in this documentation, Table\InsetSpace ~
28602
28603 \begin_inset LatexCommand ref
28604 reference "tab:Units"
28605
28606 \end_inset
28607
28608  explains all units available in LyX.
28609 \end_layout
28610
28611 \begin_layout Standard
28612 \begin_inset Float table
28613 placement h
28614 wide false
28615 sideways false
28616 status open
28617
28618 \begin_layout Standard
28619 \begin_inset Caption
28620
28621 \begin_layout Standard
28622 \begin_inset LatexCommand label
28623 name "tab:Units"
28624
28625 \end_inset
28626
28627 Units
28628 \end_layout
28629
28630 \end_inset
28631
28632
28633 \end_layout
28634
28635 \begin_layout Standard
28636 \begin_inset VSpace medskip
28637 \end_inset
28638
28639
28640 \end_layout
28641
28642 \begin_layout Standard
28643 \align center
28644 \begin_inset Tabular
28645 <lyxtabular version="3" rows="20" columns="2">
28646 <features>
28647 <column alignment="center" valignment="top" leftline="true" width="0">
28648 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
28649 <row topline="true" bottomline="true">
28650 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28651 \begin_inset Text
28652
28653 \begin_layout Standard
28654 unit
28655 \end_layout
28656
28657 \end_inset
28658 </cell>
28659 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28660 \begin_inset Text
28661
28662 \begin_layout Standard
28663 name/description
28664 \end_layout
28665
28666 \end_inset
28667 </cell>
28668 </row>
28669 <row topline="true">
28670 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28671 \begin_inset Text
28672
28673 \begin_layout Standard
28674 mm
28675 \end_layout
28676
28677 \end_inset
28678 </cell>
28679 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28680 \begin_inset Text
28681
28682 \begin_layout Standard
28683 millimeter
28684 \end_layout
28685
28686 \end_inset
28687 </cell>
28688 </row>
28689 <row topline="true">
28690 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28691 \begin_inset Text
28692
28693 \begin_layout Standard
28694 cm
28695 \end_layout
28696
28697 \end_inset
28698 </cell>
28699 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28700 \begin_inset Text
28701
28702 \begin_layout Standard
28703 centimeter
28704 \end_layout
28705
28706 \end_inset
28707 </cell>
28708 </row>
28709 <row topline="true">
28710 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28711 \begin_inset Text
28712
28713 \begin_layout Standard
28714 in
28715 \end_layout
28716
28717 \end_inset
28718 </cell>
28719 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28720 \begin_inset Text
28721
28722 \begin_layout Standard
28723 inch
28724 \end_layout
28725
28726 \end_inset
28727 </cell>
28728 </row>
28729 <row topline="true">
28730 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28731 \begin_inset Text
28732
28733 \begin_layout Standard
28734 pt
28735 \end_layout
28736
28737 \end_inset
28738 </cell>
28739 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28740 \begin_inset Text
28741
28742 \begin_layout Standard
28743 point (72.27\InsetSpace \thinspace{}
28744 pt = 1\InsetSpace \thinspace{}
28745 in)
28746 \end_layout
28747
28748 \end_inset
28749 </cell>
28750 </row>
28751 <row topline="true">
28752 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28753 \begin_inset Text
28754
28755 \begin_layout Standard
28756 pc
28757 \end_layout
28758
28759 \end_inset
28760 </cell>
28761 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28762 \begin_inset Text
28763
28764 \begin_layout Standard
28765 pica (1\InsetSpace \thinspace{}
28766 pc = 12\InsetSpace \thinspace{}
28767 pt)
28768 \end_layout
28769
28770 \end_inset
28771 </cell>
28772 </row>
28773 <row topline="true">
28774 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28775 \begin_inset Text
28776
28777 \begin_layout Standard
28778 sp
28779 \end_layout
28780
28781 \end_inset
28782 </cell>
28783 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28784 \begin_inset Text
28785
28786 \begin_layout Standard
28787 scaled point (65536\InsetSpace \thinspace{}
28788 sp = 1\InsetSpace \thinspace{}
28789 pt)
28790 \end_layout
28791
28792 \end_inset
28793 </cell>
28794 </row>
28795 <row topline="true">
28796 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28797 \begin_inset Text
28798
28799 \begin_layout Standard
28800 bp
28801 \end_layout
28802
28803 \end_inset
28804 </cell>
28805 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28806 \begin_inset Text
28807
28808 \begin_layout Standard
28809 big point (72\InsetSpace \thinspace{}
28810 bp = 1\InsetSpace \thinspace{}
28811 in)
28812 \end_layout
28813
28814 \end_inset
28815 </cell>
28816 </row>
28817 <row topline="true">
28818 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28819 \begin_inset Text
28820
28821 \begin_layout Standard
28822 dd
28823 \end_layout
28824
28825 \end_inset
28826 </cell>
28827 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28828 \begin_inset Text
28829
28830 \begin_layout Standard
28831 didot (1\InsetSpace \thinspace{}
28832 dd 
28833 \begin_inset Formula $\approx$
28834 \end_inset
28835
28836  0.376\InsetSpace \thinspace{}
28837 mm)
28838 \end_layout
28839
28840 \end_inset
28841 </cell>
28842 </row>
28843 <row topline="true">
28844 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28845 \begin_inset Text
28846
28847 \begin_layout Standard
28848 cc
28849 \end_layout
28850
28851 \end_inset
28852 </cell>
28853 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28854 \begin_inset Text
28855
28856 \begin_layout Standard
28857 cicero (1\InsetSpace \thinspace{}
28858 cc = 12\InsetSpace \thinspace{}
28859 dd)
28860 \end_layout
28861
28862 \end_inset
28863 </cell>
28864 </row>
28865 <row topline="true">
28866 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28867 \begin_inset Text
28868
28869 \begin_layout Standard
28870 Scale%
28871 \end_layout
28872
28873 \end_inset
28874 </cell>
28875 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28876 \begin_inset Text
28877
28878 \begin_layout Standard
28879 % of original image width
28880 \end_layout
28881
28882 \end_inset
28883 </cell>
28884 </row>
28885 <row topline="true">
28886 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28887 \begin_inset Text
28888
28889 \begin_layout Standard
28890 text%
28891 \end_layout
28892
28893 \end_inset
28894 </cell>
28895 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28896 \begin_inset Text
28897
28898 \begin_layout Standard
28899 % of text width
28900 \end_layout
28901
28902 \end_inset
28903 </cell>
28904 </row>
28905 <row topline="true">
28906 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28907 \begin_inset Text
28908
28909 \begin_layout Standard
28910 col%
28911 \end_layout
28912
28913 \end_inset
28914 </cell>
28915 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28916 \begin_inset Text
28917
28918 \begin_layout Standard
28919 % of column width
28920 \end_layout
28921
28922 \end_inset
28923 </cell>
28924 </row>
28925 <row topline="true">
28926 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28927 \begin_inset Text
28928
28929 \begin_layout Standard
28930 page%
28931 \end_layout
28932
28933 \end_inset
28934 </cell>
28935 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28936 \begin_inset Text
28937
28938 \begin_layout Standard
28939 % of paper width
28940 \end_layout
28941
28942 \end_inset
28943 </cell>
28944 </row>
28945 <row topline="true">
28946 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28947 \begin_inset Text
28948
28949 \begin_layout Standard
28950 line%
28951 \end_layout
28952
28953 \end_inset
28954 </cell>
28955 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28956 \begin_inset Text
28957
28958 \begin_layout Standard
28959 % of line width
28960 \end_layout
28961
28962 \end_inset
28963 </cell>
28964 </row>
28965 <row topline="true">
28966 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28967 \begin_inset Text
28968
28969 \begin_layout Standard
28970 theight%
28971 \end_layout
28972
28973 \end_inset
28974 </cell>
28975 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28976 \begin_inset Text
28977
28978 \begin_layout Standard
28979 % of text height
28980 \end_layout
28981
28982 \end_inset
28983 </cell>
28984 </row>
28985 <row topline="true">
28986 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28987 \begin_inset Text
28988
28989 \begin_layout Standard
28990 pheight%
28991 \end_layout
28992
28993 \end_inset
28994 </cell>
28995 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28996 \begin_inset Text
28997
28998 \begin_layout Standard
28999 % of paper height
29000 \end_layout
29001
29002 \end_inset
29003 </cell>
29004 </row>
29005 <row topline="true">
29006 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29007 \begin_inset Text
29008
29009 \begin_layout Standard
29010 ex
29011 \end_layout
29012
29013 \end_inset
29014 </cell>
29015 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29016 \begin_inset Text
29017
29018 \begin_layout Standard
29019 height of letter 
29020 \emph on
29021 x
29022 \emph default
29023  in current font
29024 \end_layout
29025
29026 \end_inset
29027 </cell>
29028 </row>
29029 <row topline="true">
29030 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29031 \begin_inset Text
29032
29033 \begin_layout Standard
29034 em
29035 \end_layout
29036
29037 \end_inset
29038 </cell>
29039 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29040 \begin_inset Text
29041
29042 \begin_layout Standard
29043 width of letter 
29044 \emph on
29045 M
29046 \emph default
29047  in current font
29048 \end_layout
29049
29050 \end_inset
29051 </cell>
29052 </row>
29053 <row topline="true" bottomline="true">
29054 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29055 \begin_inset Text
29056
29057 \begin_layout Standard
29058 mu
29059 \end_layout
29060
29061 \end_inset
29062 </cell>
29063 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29064 \begin_inset Text
29065
29066 \begin_layout Standard
29067 math unit (1\InsetSpace \thinspace{}
29068 mu = 1/18\InsetSpace \thinspace{}
29069 em)
29070 \end_layout
29071
29072 \end_inset
29073 </cell>
29074 </row>
29075 </lyxtabular>
29076
29077 \end_inset
29078
29079
29080 \end_layout
29081
29082 \end_inset
29083
29084
29085 \end_layout
29086
29087 \begin_layout Chapter
29088 Output File Formats with Graphics
29089 \begin_inset LatexCommand label
29090 name "cha:Output-File-Formats"
29091
29092 \end_inset
29093
29094
29095 \end_layout
29096
29097 \begin_layout Section
29098 DVI
29099 \begin_inset LatexCommand index
29100 name "File Formats ! DVI"
29101
29102 \end_inset
29103
29104
29105 \begin_inset LatexCommand index
29106 name "DVI|see{File Formats}"
29107
29108 \end_inset
29109
29110
29111 \end_layout
29112
29113 \begin_layout Standard
29114 This file type has the extension 
29115 \begin_inset Quotes eld
29116 \end_inset
29117
29118
29119 \family typewriter
29120 .dvi
29121 \family default
29122
29123 \begin_inset Quotes erd
29124 \end_inset
29125
29126 .
29127  It is called 
29128 \begin_inset Quotes eld
29129 \end_inset
29130
29131 device-independent
29132 \begin_inset Quotes erd
29133 \end_inset
29134
29135  (DVI), because it is completely portable; you can move them from one machine
29136  to another without needing to do any sort of conversion.
29137  At the time when this file-format was developed, this was no matter of
29138  course.
29139  DVIs are used for quick previews and as pre-stage for other output formats,
29140  like PostScript.
29141 \end_layout
29142
29143 \begin_layout Standard
29144 \begin_inset Note Greyedout
29145 status open
29146
29147 \begin_layout Standard
29148
29149 \series bold
29150 Note:
29151 \series default
29152  DVI-files doesn't contain images, they will only be a linked.
29153 \end_layout
29154
29155 \end_inset
29156
29157  So don't forget this, if you move your 
29158 \family typewriter
29159 .dvi
29160 \family default
29161  file to another computer.
29162  This property can also slow down your computer when you view the DVI.
29163  Because the DVI-viewer has to convert the image in the background to make
29164  it visible when you scroll in the DVI.
29165  So we recommend to use PDF for files with many images.
29166 \end_layout
29167
29168 \begin_layout Standard
29169 You can export your document to DVI by using the menu 
29170 \family sans
29171 File\SpecialChar \menuseparator
29172 Export\SpecialChar \menuseparator
29173 DVI
29174 \family default
29175 .
29176  You can view your document as DVI via the 
29177 \family sans
29178 View
29179 \family default
29180  menu or by using the toolbar button 
29181 \begin_inset Graphics
29182         filename ../images/buffer-view_dvi.xpm
29183         scale 85
29184         scaleBeforeRotation
29185
29186 \end_inset
29187
29188 .
29189 \end_layout
29190
29191 \begin_layout Section
29192 PostScript
29193 \begin_inset LatexCommand label
29194 name "sec:PostScript"
29195
29196 \end_inset
29197
29198
29199 \begin_inset LatexCommand index
29200 name "File Formats ! PostScript"
29201
29202 \end_inset
29203
29204
29205 \begin_inset LatexCommand index
29206 name "PostScript|see{File Formats}"
29207
29208 \end_inset
29209
29210
29211 \end_layout
29212
29213 \begin_layout Standard
29214 This file type has the extension 
29215 \begin_inset Quotes eld
29216 \end_inset
29217
29218
29219 \family typewriter
29220 .ps
29221 \family default
29222
29223 \begin_inset Quotes erd
29224 \end_inset
29225
29226 .
29227  PostScript was developed by the company 
29228 \family typewriter
29229 Adobe
29230 \family default
29231  as printer language.
29232  The file contains therefore commands that the printer uses to print the
29233  file.
29234  PostScript can be seen as 
29235 \begin_inset Quotes eld
29236 \end_inset
29237
29238 programming language
29239 \begin_inset Quotes erd
29240 \end_inset
29241
29242 ; you can calculate with it and draw diagrams and images
29243 \begin_inset Foot
29244 status collapsed
29245
29246 \begin_layout Standard
29247 If you are interested to learn more about this, have a look at the LaTeX-package
29248  
29249 \series bold
29250 PSTricks
29251 \series default
29252  
29253 \begin_inset LatexCommand cite
29254 key "pstricks"
29255
29256 \end_inset
29257
29258 .
29259 \end_layout
29260
29261 \end_inset
29262
29263 .
29264  Due to this ability, the files are often bigger than PDFs.
29265 \end_layout
29266
29267 \begin_layout Standard
29268 PostScript can only contain images in the format 
29269 \begin_inset Quotes eld
29270 \end_inset
29271
29272 Encapsulated PostScript
29273 \begin_inset Quotes erd
29274 \end_inset
29275
29276  (EPS, file extension 
29277 \begin_inset Quotes eld
29278 \end_inset
29279
29280
29281 \family typewriter
29282 .eps
29283 \family default
29284
29285 \begin_inset Quotes erd
29286 \end_inset
29287
29288 ).
29289  As LyX allows you to use any known image format in your document, it has
29290  to convert images in the background to EPS.
29291  If you have e.g 50 images in your document, LyX has to do 50 conversions
29292  whenever you view or export your document.
29293  This will slow down your work flow with LyX drastically.
29294  So if you plan to use PostScript, you can insert your images directly as
29295  EPS to avoid this problem.
29296 \end_layout
29297
29298 \begin_layout Standard
29299 You can export your document to PostScript using the menu 
29300 \family sans
29301 File\SpecialChar \menuseparator
29302 Export\SpecialChar \menuseparator
29303 Postscript
29304 \family default
29305 .
29306  You can view your document as PostScript via the 
29307 \family sans
29308 View
29309 \family default
29310  menu or by using the toolbar button 
29311 \begin_inset Graphics
29312         filename ../images/buffer-view_ps.xpm
29313         scale 85
29314         scaleBeforeRotation
29315
29316 \end_inset
29317
29318 .
29319 \end_layout
29320
29321 \begin_layout Section
29322 PDF
29323 \begin_inset LatexCommand label
29324 name "sec:PDF"
29325
29326 \end_inset
29327
29328
29329 \begin_inset LatexCommand index
29330 name "File Formats ! PDF"
29331
29332 \end_inset
29333
29334
29335 \begin_inset LatexCommand index
29336 name "PDF"
29337
29338 \end_inset
29339
29340
29341 \end_layout
29342
29343 \begin_layout Standard
29344 This file type has the extension 
29345 \begin_inset Quotes eld
29346 \end_inset
29347
29348
29349 \family typewriter
29350 .pdf
29351 \family default
29352
29353 \begin_inset Quotes erd
29354 \end_inset
29355
29356 .
29357  The 
29358 \begin_inset Quotes eld
29359 \end_inset
29360
29361 Portable Document Format
29362 \begin_inset Quotes erd
29363 \end_inset
29364
29365  (PDF) is developed by 
29366 \family typewriter
29367 Adobe
29368 \family default
29369  as derivative from PostScript.
29370  It is more compressed and it uses much less commands than PostScript.
29371  As the name 
29372 \begin_inset Quotes eld
29373 \end_inset
29374
29375 portable
29376 \begin_inset Quotes erd
29377 \end_inset
29378
29379  implies, it can be processed at any computer system and the printed output
29380  looks exactly the same.
29381 \end_layout
29382
29383 \begin_layout Standard
29384 PDF can contain images in its own PDF format, in the format 
29385 \begin_inset Quotes eld
29386 \end_inset
29387
29388 Joint Photographic Experts Group
29389 \begin_inset Quotes erd
29390 \end_inset
29391
29392  (JPG, file extension 
29393 \begin_inset Quotes eld
29394 \end_inset
29395
29396
29397 \family typewriter
29398 .jpg
29399 \family default
29400
29401 \begin_inset Quotes erd
29402 \end_inset
29403
29404  or 
29405 \begin_inset Quotes eld
29406 \end_inset
29407
29408
29409 \family typewriter
29410 .jpeg
29411 \family default
29412
29413 \begin_inset Quotes erd
29414 \end_inset
29415
29416 ), and in the format 
29417 \begin_inset Quotes eld
29418 \end_inset
29419
29420 Portable Network Graphics
29421 \begin_inset Quotes erd
29422 \end_inset
29423
29424  (PNG, file extension 
29425 \begin_inset Quotes eld
29426 \end_inset
29427
29428
29429 \family typewriter
29430 .png
29431 \family default
29432
29433 \begin_inset Quotes erd
29434 \end_inset
29435
29436 ).
29437  Nevertheless you can use any other image format, because LyX converts them
29438  in the background to one of these formats.
29439  But as described in the section about PostScript, the image conversion
29440  will slow down your work flow.
29441  So it is recommended to use images in one of the three mentioned formats.
29442 \end_layout
29443
29444 \begin_layout Standard
29445 You can export your document to PDF via the menu 
29446 \family sans
29447 File\SpecialChar \menuseparator
29448 Export
29449 \family default
29450  in three different ways:
29451 \end_layout
29452
29453 \begin_layout Description
29454 PDF\InsetSpace ~
29455 (ps2pdf) This uses the program 
29456 \family typewriter
29457 ps2pdf
29458 \family default
29459  that creates a PDF from a PostScript-version of your file.
29460  The PostScript-version is produced by the program 
29461 \family typewriter
29462 dvips
29463 \family default
29464  which uses a DVI-version as intermediate step.
29465  So this export variant consist of three conversions.
29466 \end_layout
29467
29468 \begin_layout Description
29469 PDF\InsetSpace ~
29470 (dvipdfm) This uses the program 
29471 \family typewriter
29472 dvipdfm
29473 \family default
29474  that converts your file in the background to DVI and in a second step to
29475  PDF.
29476 \end_layout
29477
29478 \begin_layout Description
29479 PDF\InsetSpace ~
29480 (pdflatex) This uses the program 
29481 \family typewriter
29482 pdftex
29483 \family default
29484  that converts your file directly to PDF.
29485 \end_layout
29486
29487 \begin_layout Standard
29488 It is recommended to use 
29489 \family sans
29490 PDF\InsetSpace ~
29491 (pdflatex)
29492 \family default
29493  because 
29494 \family typewriter
29495 pdftex
29496 \family default
29497  supports all features of actual PDF-versions, is quick and works stable
29498  without problems.
29499  The program 
29500 \family typewriter
29501 dvipdfm
29502 \family default
29503  is not under development and therefore a bit outdated.
29504 \end_layout
29505
29506 \begin_layout Standard
29507 You can view your document as PDF via the 
29508 \family sans
29509 View
29510 \family default
29511  menu or by using the toolbar button 
29512 \begin_inset Graphics
29513         filename ../images/buffer-view_pdf2.xpm
29514         scale 85
29515         scaleBeforeRotation
29516
29517 \end_inset
29518
29519  
29520 \family sans
29521 (
29522 \family default
29523 that uses 
29524 \family sans
29525 PDF\InsetSpace ~
29526 (pdflatex)
29527 \family default
29528 ).
29529 \end_layout
29530
29531 \begin_layout Chapter
29532 Explanation of Equation\InsetSpace ~
29533
29534 \begin_inset LatexCommand eqref
29535 reference "eq:Wgn"
29536
29537 \end_inset
29538
29539
29540 \begin_inset LatexCommand label
29541 name "cha:Explanation-of-Equation"
29542
29543 \end_inset
29544
29545
29546 \end_layout
29547
29548 \begin_layout Standard
29549 The total width of 
29550 \emph on
29551 n
29552 \emph default
29553  table cells 
29554 \begin_inset Formula $W_{\mathrm{tot\, n}}$
29555 \end_inset
29556
29557  can be calculated to
29558 \end_layout
29559
29560 \begin_layout Standard
29561 \begin_inset Formula \begin{equation}
29562 W_{\mathrm{tot}\, n}=n·(W_{g\, n}+2·\backslash\mbox{tabcolsep})+(n+1)·\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}\end{equation}
29563
29564 \end_inset
29565
29566
29567 \end_layout
29568
29569 \begin_layout Standard
29570 Where 
29571 \begin_inset Formula $W_{g\, n}$
29572 \end_inset
29573
29574  is the given width of all cells.
29575  
29576 \series bold
29577
29578 \backslash
29579 tabcolsep
29580 \series default
29581  is the LaTeX-length between the cell text and the cell border, its default
29582  value is 6\InsetSpace \thinspace{}
29583 pt.
29584  
29585 \series bold
29586
29587 \backslash
29588 arrayrulewidth
29589 \series default
29590  is the thickness of the cell border line, the default is 0.4\InsetSpace \thinspace{}
29591 pt.
29592 \end_layout
29593
29594 \begin_layout Standard
29595 Following equation\InsetSpace ~
29596
29597 \begin_inset LatexCommand eqref
29598 reference "eq:Wtot_n"
29599
29600 \end_inset
29601
29602 , the total width of a multicolumn 
29603 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
29604 \end_inset
29605
29606  is
29607 \end_layout
29608
29609 \begin_layout Standard
29610 \begin_inset Formula \begin{equation}
29611 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2·\backslash\mbox{tabcolsep}+2·\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}\end{equation}
29612
29613 \end_inset
29614
29615
29616 \end_layout
29617
29618 \begin_layout Standard
29619 By setting equation\InsetSpace ~
29620
29621 \begin_inset LatexCommand eqref
29622 reference "eq:Wtot_n"
29623
29624 \end_inset
29625
29626  and 
29627 \begin_inset LatexCommand eqref
29628 reference "eq:Wtot_mult"
29629
29630 \end_inset
29631
29632  equal we can calculate the needed given width 
29633 \begin_inset Formula $W_{g\, n}$
29634 \end_inset
29635
29636  when 
29637 \emph on
29638 n
29639 \emph default
29640  columns are spanned, so that each column has a total width of 
29641 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
29642 \end_inset
29643
29644 :
29645 \end_layout
29646
29647 \begin_layout Standard
29648 \begin_inset Formula \begin{equation}
29649 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)·(2·\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n\end{equation}
29650
29651 \end_inset
29652
29653
29654 \end_layout
29655
29656 \begin_layout Bibliography
29657 \begin_inset LatexCommand bibitem
29658 key "latexcompanion"
29659
29660 \end_inset
29661
29662 Frank Mittelbach and Michel Goossens: 
29663 \emph on
29664 The LaTeX Companion Second Edition.
29665
29666 \emph default
29667  Addison-Wesley, 2004
29668 \end_layout
29669
29670 \begin_layout Bibliography
29671 \begin_inset LatexCommand bibitem
29672 key "latexguide"
29673
29674 \end_inset
29675
29676 Helmut Kopka and Patrick W.
29677  Daly: 
29678 \emph on
29679 A Guide to LaTeX Fourth Edition.
29680
29681 \emph default
29682  Addison-Wesley, 2003
29683 \end_layout
29684
29685 \begin_layout Bibliography
29686 \begin_inset LatexCommand bibitem
29687 key "latexbook"
29688
29689 \end_inset
29690
29691 Leslie Lamport: 
29692 \emph on
29693 LaTeX: A Document Preparation System.
29694
29695 \emph default
29696  Addison-Wesley, second edition, 1994
29697 \end_layout
29698
29699 \begin_layout Bibliography
29700 \begin_inset LatexCommand bibitem
29701 key "booktabs"
29702
29703 \end_inset
29704
29705
29706 \begin_inset ERT
29707 status collapsed
29708
29709 \begin_layout Standard
29710
29711
29712 \backslash
29713 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf}
29714 {
29715 \end_layout
29716
29717 \end_inset
29718
29719 Documentation
29720 \begin_inset ERT
29721 status collapsed
29722
29723 \begin_layout Standard
29724
29725 }
29726 \end_layout
29727
29728 \end_inset
29729
29730  of the LaTeX-package 
29731 \series bold
29732 booktabs
29733 \series default
29734
29735 \begin_inset LatexCommand index
29736 name "LaTeX-packages ! booktabs"
29737
29738 \end_inset
29739
29740
29741 \end_layout
29742
29743 \begin_layout Bibliography
29744 \begin_inset LatexCommand bibitem
29745 key "caption"
29746
29747 \end_inset
29748
29749
29750 \begin_inset ERT
29751 status collapsed
29752
29753 \begin_layout Standard
29754
29755
29756 \backslash
29757 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf}{
29758 \end_layout
29759
29760 \end_inset
29761
29762 Documentation
29763 \begin_inset ERT
29764 status collapsed
29765
29766 \begin_layout Standard
29767
29768 }
29769 \end_layout
29770
29771 \end_inset
29772
29773  of the LaTeX-package 
29774 \series bold
29775 caption
29776 \series default
29777
29778 \begin_inset LatexCommand index
29779 name "LaTeX-packages ! caption"
29780
29781 \end_inset
29782
29783
29784 \end_layout
29785
29786 \begin_layout Bibliography
29787 \begin_inset LatexCommand bibitem
29788 key "caption-de"
29789
29790 \end_inset
29791
29792 German 
29793 \begin_inset ERT
29794 status collapsed
29795
29796 \begin_layout Standard
29797
29798
29799 \backslash
29800 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/anleitung.pdf}
29801 {
29802 \end_layout
29803
29804 \end_inset
29805
29806 documentation
29807 \begin_inset ERT
29808 status collapsed
29809
29810 \begin_layout Standard
29811
29812 }
29813 \end_layout
29814
29815 \end_inset
29816
29817  of the LaTeX-package 
29818 \series bold
29819 caption
29820 \end_layout
29821
29822 \begin_layout Bibliography
29823 \begin_inset LatexCommand bibitem
29824 key "endfloat"
29825
29826 \end_inset
29827
29828
29829 \begin_inset ERT
29830 status collapsed
29831
29832 \begin_layout Standard
29833
29834
29835 \backslash
29836 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf}
29837 {
29838 \end_layout
29839
29840 \end_inset
29841
29842 Documentation
29843 \begin_inset ERT
29844 status collapsed
29845
29846 \begin_layout Standard
29847
29848 }
29849 \end_layout
29850
29851 \end_inset
29852
29853  of the LaTeX-package 
29854 \series bold
29855 endf\SpecialChar \textcompwordmark{}
29856 loat
29857 \series default
29858
29859 \begin_inset LatexCommand index
29860 name "LaTeX-packages ! endfloat"
29861
29862 \end_inset
29863
29864
29865 \end_layout
29866
29867 \begin_layout Bibliography
29868 \begin_inset LatexCommand bibitem
29869 key "floatflt"
29870
29871 \end_inset
29872
29873
29874 \begin_inset ERT
29875 status collapsed
29876
29877 \begin_layout Standard
29878
29879
29880 \backslash
29881 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/floatflt/floatflt.pdf}
29882 {
29883 \end_layout
29884
29885 \end_inset
29886
29887 Documentation
29888 \begin_inset ERT
29889 status collapsed
29890
29891 \begin_layout Standard
29892
29893 }
29894 \end_layout
29895
29896 \end_inset
29897
29898  of the LaTeX-package 
29899 \series bold
29900 f\SpecialChar \textcompwordmark{}
29901 loatf\SpecialChar \textcompwordmark{}
29902 lt
29903 \series default
29904
29905 \begin_inset LatexCommand index
29906 name "LaTeX-packages ! floatflt"
29907
29908 \end_inset
29909
29910
29911 \end_layout
29912
29913 \begin_layout Bibliography
29914 \begin_inset LatexCommand bibitem
29915 key "footmisc"
29916
29917 \end_inset
29918
29919
29920 \begin_inset ERT
29921 status collapsed
29922
29923 \begin_layout Standard
29924
29925
29926 \backslash
29927 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf}
29928 {
29929 \end_layout
29930
29931 \end_inset
29932
29933 Documentation
29934 \begin_inset ERT
29935 status collapsed
29936
29937 \begin_layout Standard
29938
29939 }
29940 \end_layout
29941
29942 \end_inset
29943
29944  of the LaTeX-package 
29945 \series bold
29946 footmisc
29947 \series default
29948
29949 \begin_inset LatexCommand index
29950 name "LaTeX-packages ! footmisc"
29951
29952 \end_inset
29953
29954
29955 \end_layout
29956
29957 \begin_layout Bibliography
29958 \begin_inset LatexCommand bibitem
29959 key "hypcap"
29960
29961 \end_inset
29962
29963
29964 \begin_inset ERT
29965 status collapsed
29966
29967 \begin_layout Standard
29968
29969
29970 \backslash
29971 href{http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf}{
29972 \end_layout
29973
29974 \end_inset
29975
29976 Documentation
29977 \begin_inset ERT
29978 status collapsed
29979
29980 \begin_layout Standard
29981
29982 }
29983 \end_layout
29984
29985 \end_inset
29986
29987  of the LaTeX-package 
29988 \series bold
29989 hypcap
29990 \series default
29991
29992 \begin_inset LatexCommand index
29993 name "LaTeX-packages ! hyperref"
29994
29995 \end_inset
29996
29997
29998 \end_layout
29999
30000 \begin_layout Bibliography
30001 \begin_inset LatexCommand bibitem
30002 key "hyperref"
30003
30004 \end_inset
30005
30006
30007 \begin_inset ERT
30008 status collapsed
30009
30010 \begin_layout Standard
30011
30012
30013 \backslash
30014 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf}
30015 {
30016 \end_layout
30017
30018 \end_inset
30019
30020 Documentation
30021 \begin_inset ERT
30022 status collapsed
30023
30024 \begin_layout Standard
30025
30026 }
30027 \end_layout
30028
30029 \end_inset
30030
30031  of the LaTeX-package 
30032 \series bold
30033 hyperref
30034 \series default
30035
30036 \begin_inset LatexCommand index
30037 name "LaTeX-packages ! hyperref"
30038
30039 \end_inset
30040
30041
30042 \end_layout
30043
30044 \begin_layout Bibliography
30045 \begin_inset LatexCommand bibitem
30046 key "koma-script"
30047
30048 \end_inset
30049
30050
30051 \begin_inset ERT
30052 status collapsed
30053
30054 \begin_layout Standard
30055
30056
30057 \backslash
30058 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.p
30059 df}{
30060 \end_layout
30061
30062 \end_inset
30063
30064 Documentation
30065 \begin_inset ERT
30066 status collapsed
30067
30068 \begin_layout Standard
30069
30070 }
30071 \end_layout
30072
30073 \end_inset
30074
30075  of the LaTeX-package 
30076 \series bold
30077 koma-script
30078 \series default
30079
30080 \begin_inset LatexCommand index
30081 name "LaTeX-packages ! koma-script"
30082
30083 \end_inset
30084
30085
30086 \end_layout
30087
30088 \begin_layout Bibliography
30089 \begin_inset LatexCommand bibitem
30090 key "koma-script-de"
30091
30092 \end_inset
30093
30094 German 
30095 \begin_inset ERT
30096 status collapsed
30097
30098 \begin_layout Standard
30099
30100
30101 \backslash
30102 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguide.p
30103 df}{
30104 \end_layout
30105
30106 \end_inset
30107
30108 documentation
30109 \begin_inset ERT
30110 status collapsed
30111
30112 \begin_layout Standard
30113
30114 }
30115 \end_layout
30116
30117 \end_inset
30118
30119  of the LaTeX-package 
30120 \series bold
30121 koma-script
30122 \series default
30123
30124 \begin_inset LatexCommand index
30125 name "LaTeX-packages ! koma-script"
30126
30127 \end_inset
30128
30129
30130 \end_layout
30131
30132 \begin_layout Bibliography
30133 \begin_inset LatexCommand bibitem
30134 key "listings"
30135
30136 \end_inset
30137
30138
30139 \begin_inset ERT
30140 status collapsed
30141
30142 \begin_layout Standard
30143
30144
30145 \backslash
30146 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf}
30147 {
30148 \end_layout
30149
30150 \end_inset
30151
30152 Documentation
30153 \begin_inset ERT
30154 status collapsed
30155
30156 \begin_layout Standard
30157
30158 }
30159 \end_layout
30160
30161 \end_inset
30162
30163  of the LaTeX-package 
30164 \series bold
30165 listings
30166 \series default
30167
30168 \begin_inset LatexCommand index
30169 name "LaTeX-packages ! listings"
30170
30171 \end_inset
30172
30173
30174 \end_layout
30175
30176 \begin_layout Bibliography
30177 \begin_inset LatexCommand bibitem
30178 key "marginnote"
30179
30180 \end_inset
30181
30182
30183 \begin_inset ERT
30184 status collapsed
30185
30186 \begin_layout Standard
30187
30188
30189 \backslash
30190 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.
30191 pdf}{
30192 \end_layout
30193
30194 \end_inset
30195
30196 Documentation
30197 \begin_inset ERT
30198 status collapsed
30199
30200 \begin_layout Standard
30201
30202 }
30203 \end_layout
30204
30205 \end_inset
30206
30207  of the LaTeX-package 
30208 \series bold
30209 marginnote
30210 \series default
30211
30212 \begin_inset LatexCommand index
30213 name "LaTeX-packages ! marginnote"
30214
30215 \end_inset
30216
30217
30218 \end_layout
30219
30220 \begin_layout Bibliography
30221 \begin_inset LatexCommand bibitem
30222 key "pstricks"
30223
30224 \end_inset
30225
30226
30227 \begin_inset ERT
30228 status collapsed
30229
30230 \begin_layout Standard
30231
30232
30233 \backslash
30234 href{http://tug.org/PSTricks/main.cgi/}{
30235 \end_layout
30236
30237 \end_inset
30238
30239 Web page
30240 \begin_inset ERT
30241 status collapsed
30242
30243 \begin_layout Standard
30244
30245 }
30246 \end_layout
30247
30248 \end_inset
30249
30250  of the LaTeX-package 
30251 \series bold
30252 PSTricks
30253 \series default
30254
30255 \begin_inset LatexCommand index
30256 name "LaTeX-packages ! PSTricks"
30257
30258 \end_inset
30259
30260
30261 \end_layout
30262
30263 \begin_layout Bibliography
30264 \begin_inset LatexCommand bibitem
30265 key "sidecap"
30266
30267 \end_inset
30268
30269
30270 \begin_inset ERT
30271 status collapsed
30272
30273 \begin_layout Standard
30274
30275
30276 \backslash
30277 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf}{
30278 \end_layout
30279
30280 \end_inset
30281
30282 Documentation
30283 \begin_inset ERT
30284 status collapsed
30285
30286 \begin_layout Standard
30287
30288 }
30289 \end_layout
30290
30291 \end_inset
30292
30293  of the LaTeX-package 
30294 \series bold
30295 sidecap
30296 \series default
30297
30298 \begin_inset LatexCommand index
30299 name "LaTeX-packages ! sidecap"
30300
30301 \end_inset
30302
30303
30304 \end_layout
30305
30306 \begin_layout Bibliography
30307 \begin_inset LatexCommand bibitem
30308 key "NewInLyX15"
30309
30310 \end_inset
30311
30312
30313 \begin_inset ERT
30314 status collapsed
30315
30316 \begin_layout Standard
30317
30318
30319 \backslash
30320 href{http://wiki.lyx.org/LyX/NewInLyX15}{
30321 \end_layout
30322
30323 \end_inset
30324
30325 Wiki page
30326 \begin_inset ERT
30327 status collapsed
30328
30329 \begin_layout Standard
30330
30331 }
30332 \end_layout
30333
30334 \end_inset
30335
30336  about new LyX-features planned for the release 
30337 \family sans
30338 LyX 1.5
30339 \family default
30340 .0.
30341 \end_layout
30342
30343 \begin_layout Standard
30344 \begin_inset LatexCommand printindex
30345
30346 \end_inset
30347
30348
30349 \end_layout
30350
30351 \begin_layout Standard
30352 \begin_inset FloatList figure
30353
30354 \end_inset
30355
30356
30357 \end_layout
30358
30359 \begin_layout Standard
30360 \begin_inset FloatList table
30361
30362 \end_inset
30363
30364
30365 \end_layout
30366
30367 \end_body
30368 \end_document