]> git.lyx.org Git - lyx.git/blob - lib/doc/EmbeddedObjects.lyx
ddaa3e35a821e85a49746a52176bf78a38af1fbc
[lyx.git] / lib / doc / EmbeddedObjects.lyx
1 #LyX 1.5.0svn created this file. For more info see http://www.lyx.org/
2 \lyxformat 266
3 \begin_document
4 \begin_header
5 \textclass scrbook
6 \begin_preamble
7 % if pdflatex is used
8 \usepackage{ifpdf}
9 \ifpdf
10
11 % set fonts for nicer pdf view
12 \IfFileExists{lmodern.sty}
13  {\usepackage{lmodern}} % if it exists
14  {% if it exists not
15   \usepackage[scaled=0.92]{helvet}
16   \usepackage{mathptmx}
17   \usepackage{courier}
18  } % end if it exists not
19
20 % link all cross references and URLs
21 % in pdf output
22  \usepackage[colorlinks=true, bookmarks, bookmarksnumbered, bookmarksopen, bookmarksopenlevel=1,
23   linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,
24   pdfpagelayout=OneColumn, pdfnewwindow=true,
25   pdfstartview=XYZ, plainpages=false, pdfpagelabels,
26   pdfauthor={LyX Team}, pdftex,
27   pdftitle={LyX's Figure, Table, Floats, Notes, and Boxes manual},
28   pdfsubject={LyX-documentation about figures, tables, floats, notes, and boxes},
29   pdfkeywords={LyX, Tables, Figures, Floats, Boxes, Notes}]{hyperref}
30  
31 \else % if dvi or ps is produced
32
33  % link all cross references and URLs in DVI output
34  \usepackage[ps2pdf, colorlinks=true,
35   linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue]{hyperref}
36
37 \fi % end if pdflatex is used
38
39 % that links to image floats jumps
40 % to the beginning of the float and 
41 % not to its caption
42 \usepackage[figure]{hypcap}
43
44 % the pages of the TOC are numbered roman
45 % and a PDF-bookmark for the TOC is added
46 \pagenumbering{roman}
47 \let\myTOC\tableofcontents
48 \renewcommand{\tableofcontents}{%
49  \pdfbookmark[1]{Contents}{}
50  \myTOC
51  \cleardoublepage
52  \pagenumbering{arabic}}
53
54 % provides caption formatting
55 \usepackage[labelfont={bf,sf}, tableposition=top]{caption}[2004/07/16]
56
57 % provides commands to set caption
58 % beside tables/images
59 \usepackage{sidecap}
60
61 \newcommand{\TabBesBeg}{%
62  \let\MyTable\table
63  \let\MyEndtable\endtable
64  \renewenvironment{table}{\begin{SCtable}}{\end{SCtable}}}
65
66 \newcommand{\TabBesEnd}{%
67  \let\table\MyTable
68  \let\endtable\MyEndtable}
69
70 \newcommand{\FigBesBeg}{%
71  \let\MyFigure\figure
72  \let\MyEndfigure\endfigure
73  \renewenvironment{figure}{\begin{SCfigure}}{\end{SCfigure}}}
74
75 \newcommand{\FigBesEnd}{%
76  \let\figure\MyFigure
77  \let\endfigure\MyEndfigure}
78
79 % enables calculation of values,
80 \usepackage{calc}
81
82 % provides special table cell alignments
83 \usepackage{dcolumn}
84
85 % increase the bottom float placement fraction
86 \renewcommand{\bottomfraction}{0.5}
87
88 % avoids that floats are placed before their
89 % corresponding section starts
90 \let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}
91
92 % speed up the longtable calculation
93 \setcounter{LTchunksize}{100}
94
95 % used for colored tables
96 \@ifundefined{textcolor}
97  {\usepackage{color}}{}
98 \usepackage{colortbl}
99 \definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
100 \definecolor{lightgrey}{gray}{0.8}
101
102 % used for multirows
103 \usepackage{multirow}
104 %\renewcommand{\multirowsetup}{\centering}
105
106 % used for book-style tables
107 \usepackage{booktabs}
108
109 % used to have extra space in table cells,
110 \setlength{\extrarowheight}{2pt}
111
112 % used for customized tables
113 % ---
114 \newcolumntype{M}[1]
115  {>{\centering\hspace{0pt}}m{#1}}
116
117 \newcolumntype{S}[2]
118  {>{\centering\hspace{0pt}}m{(#1+(2\tabcolsep+\arrayrulewidth)*(1-#2))/#2}}
119
120 \newcolumntype{K}[1]
121  {>{\columncolor{#1}\hspace{0pt}}c}
122
123 \newcolumntype{V}{!{\vrule width 1.5pt}}
124
125 \newcolumntype{W}{!{\color{green}\vline}}
126 % ---
127
128 % To be able to enter the characters ° and · directly in LyX
129 \DeclareInputText{176}{\ifmmode^\circ\else\textdegree\fi}
130 \DeclareInputText{183}{\ifmmode\cdot\else\textperiodcentered\fi}
131
132 % insert additional vertical space of
133 % 1.5 mm between footnotes
134 \let\myFoot\footnote
135 \renewcommand{\footnote}[1]{\myFoot{#1\vspace{1.5mm}}}
136
137 % enable algorithm floats to be referenced
138 \newfloat{Xalgorithm}{tbp}{loa}
139 \floatname{Xalgorithm}{Algorithm}
140 \newcommand{\theHalgorithm}{\theHXalgorithm}
141 \renewenvironment{algorithm}[1][tbp]
142  {\begin{Xalgorithm}[#1]}{\end{Xalgorithm}}
143
144 % number algorithm floats within chapters
145 \numberwithin{Xalgorithm}{chapter}
146
147 % redefine the greyed out note
148 \renewenvironment{lyxgreyedout}
149  {\textcolor{blue}\bgroup}{\egroup}
150
151 % ------------------------------------
152 % used to check for needed LaTeX packages
153 \usepackage{ifthen}
154
155 % check for package arydshln
156 % used for tables with dashed lines
157 \newboolean{arydshln}
158 \IfFileExists{arydshln.sty}
159  {\usepackage{arydshln}
160   \setboolean{arydshln}{true}}
161  {\setboolean{arydshln}{false}}
162
163 % check for package marginnote
164 % used for margin notes
165 \newboolean{marginnote}
166 \IfFileExists{marginnote.sty}
167  {\usepackage{marginnote}
168   \let\marginpar\marginnote
169   \setboolean{marginnote}{true}}
170  {\setboolean{marginnote}{false}}
171 \end_preamble
172 \options fleqn,liststotoc,bibtotoc,idxtotoc,BCOR7.5mm,titlepage,tablecaptionabove
173 \language english
174 \inputencoding auto
175 \font_roman default
176 \font_sans default
177 \font_typewriter default
178 \font_default_family default
179 \font_sc false
180 \font_osf false
181 \font_sf_scale 100
182 \font_tt_scale 100
183 \graphics default
184 \paperfontsize 12
185 \spacing single
186 \papersize default
187 \use_geometry false
188 \use_amsmath 2
189 \use_esint 0
190 \cite_engine basic
191 \use_bibtopic false
192 \paperorientation portrait
193 \secnumdepth 3
194 \tocdepth 3
195 \paragraph_separation skip
196 \defskip medskip
197 \quotes_language english
198 \papercolumns 1
199 \papersides 2
200 \paperpagestyle default
201 \bullet 1 1 34 -1
202 \bullet 2 2 35 -1
203 \bullet 3 2 7 -1
204 \tracking_changes false
205 \output_changes false
206 \author "usti" 
207 \author "Uwe Stöhr" 
208 \end_header
209
210 \begin_body
211
212 \begin_layout Title
213 LyX's detailed Figure, Table, Floats, Notes, Boxes and External Material
214  manual
215 \end_layout
216
217 \begin_layout Author
218 by the LyX Team
219 \begin_inset Foot
220 status collapsed
221
222 \begin_layout Standard
223 \noindent
224 If you have comments or error corrections, please send them to the LyX Documenta
225 tion mailing list: 
226 \family typewriter
227
228 \begin_inset ERT
229 status open
230
231 \begin_layout Standard
232
233
234 \backslash
235 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's ExtendedInsets manual}{
236 \end_layout
237
238 \end_inset
239
240 lyx-docs@lists.lyx.org
241 \begin_inset ERT
242 status collapsed
243
244 \begin_layout Standard
245
246 }
247 \end_layout
248
249 \end_inset
250
251
252 \end_layout
253
254 \end_inset
255
256
257 \begin_inset Note Note
258 status collapsed
259
260 \begin_layout Standard
261 original author: Uwe Stöhr
262 \end_layout
263
264 \end_inset
265
266
267 \newline
268
269 \newline
270
271 \family sans
272 Version 1.5.0-
273 \family default
274 1
275 \end_layout
276
277 \begin_layout Standard
278 \begin_inset LatexCommand tableofcontents
279
280 \end_inset
281
282
283 \end_layout
284
285 \begin_layout Standard
286 \begin_inset Note Note
287 status open
288
289 \begin_layout Standard
290 To export all parts of this document to PDF, PS, or DVI the LaTeX-packages
291  
292 \series bold
293 arydshln
294 \series default
295  and 
296 \series bold
297 marginnote
298 \series default
299  must be installed.
300  If they are not installed you can export the document anyway but the sections
301  where the packages are required won't appear in the output.
302 \end_layout
303
304 \begin_layout Standard
305 The latest PDF-version of this document can be found here:
306 \newline
307
308 \series bold
309 http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
310 \end_layout
311
312 \end_inset
313
314
315 \end_layout
316
317 \begin_layout Chapter
318 Figures
319 \begin_inset LatexCommand label
320 name "cha:Figures"
321
322 \end_inset
323
324
325 \begin_inset LatexCommand index
326 name "Figures"
327
328 \end_inset
329
330
331 \begin_inset LatexCommand index
332 name "Graphics|see{Figures}"
333
334 \end_inset
335
336
337 \end_layout
338
339 \begin_layout Section
340 Graphics Dialog
341 \begin_inset LatexCommand index
342 name "Figures ! Graphics Dialog"
343
344 \end_inset
345
346
347 \begin_inset LatexCommand label
348 name "sec:Graphics-Dialog"
349
350 \end_inset
351
352
353 \end_layout
354
355 \begin_layout Standard
356 To insert an image into your document, place the cursor at the text position
357  you want and click on the toolbar icon 
358 \begin_inset Graphics
359         filename ../images/dialog-show-new-inset_graphics.xpm
360         scale 85
361
362 \end_inset
363
364  or use the menu 
365 \family sans
366 Insert\SpecialChar \menuseparator
367 Graphics
368 \family default
369 .
370  Then a dialog will appear to choose the file to load.
371  The image will appear in the output exactly at the position where it is
372  in the text.
373 \end_layout
374
375 \begin_layout Standard
376 The graphics dialog can be called at any time by right-clicking on an image.
377  This dialog has three tabs:
378 \end_layout
379
380 \begin_layout Description
381
382 \family sans
383 Graphics
384 \family default
385  Here you can choose an image file and adjust its appearance in the output.
386  The available units for the image size are explained in appendix\InsetSpace ~
387
388 \begin_inset LatexCommand ref
389 reference "cha:Units-available-in"
390
391 \end_inset
392
393 .
394 \newline
395 You can rotate images counter-clockwise by setting a rotation angle and
396  a rotation origin.
397  The image will also be rotated inside LyX.
398 \newline
399 Images can be scaled by using
400  a percentage value or by setting the width and height explicitly.
401  If you set only the width or only the height, the other size will be determined
402  automatically.
403  If you set both, then the image will be transformed to the given size,
404  possibly distorting it.
405  To prevent the image from distortion, use the option 
406 \family sans
407 Maintain aspect ratio
408 \family default
409 .
410  The image will then be scaled so that its width and height don't exceed
411  the specified dimensions.
412 \newline
413 Images can be opened in a program of your choice
414  when pressing the 
415 \family sans
416 Edit
417 \family default
418  button.
419  The program can be set for every image format in the file format settings
420  in LyX's preferences.
421 \end_layout
422
423 \begin_layout Description
424
425 \family sans
426 Clipping
427 \family default
428  Alternatively to the usage of scaling units it is possible to set image
429  coordinates to adjust the height and width of the image in the output.
430  The coordinates can also be calculated automatically by pressing the button
431  
432 \family sans
433 Get\InsetSpace ~
434 from\InsetSpace ~
435 File
436 \family default
437 .
438  The option 
439 \family sans
440 Clip\InsetSpace ~
441 to\InsetSpace ~
442 bounding\InsetSpace ~
443 box
444 \family default
445  will only print the image region within the given coordinates.
446  Normally you don't need to take care about image coordinates and can ignore
447  this tab.
448 \end_layout
449
450 \begin_layout Description
451
452 \family sans
453 Extra\InsetSpace ~
454 options
455 \family default
456  In this tab you can modify the appearance of the image within LyX and set
457  the image to be a subfigure of a figure float with an own caption.
458  Subfigures are explained in section\InsetSpace ~
459
460 \begin_inset LatexCommand ref
461 reference "sec:Figure-Floats"
462
463 \end_inset
464
465 .
466 \newline
467  LaTeX experts can also specify on this tab additional LaTeX options.
468 \newline
469  The
470  option 
471 \family sans
472 Draft\InsetSpace ~
473 mode
474 \family default
475  makes the image appear in the output only as a frame with the size of the
476  image.
477 \newline
478 The 
479 \family sans
480 Don't\InsetSpace ~
481 unzip\InsetSpace ~
482 on\InsetSpace ~
483 export
484 \family default
485  option only affects zipped EPS-graphics, e.\InsetSpace \thinspace{}
486 g.\InsetSpace ~
487
488 \emph on
489 x.eps.gz
490 \emph default
491 .
492  When the option is used the images will not be unzipped on export, since
493  LaTeX can handle them as they are.
494 \newline
495 Zipped EPS-graphics are useful to save
496  disk space when you choose PostScript as output format, see appendix\InsetSpace ~
497
498 \begin_inset LatexCommand ref
499 reference "sec:PostScript"
500
501 \end_inset
502
503 .
504  To zip EPS-graphics, use the following commands in a UNIX-shell or a Windows
505  console:
506 \newline
507
508 \series bold
509 gzip x.eps
510 \series default
511
512 \newline
513
514 \series bold
515 zgrep %%Bounding x.eps.gz > x.eps.bb
516 \series default
517
518 \newline
519 The second command creates the bounding box file 
520 \begin_inset Quotes eld
521 \end_inset
522
523 x.eps.bb
524 \begin_inset Quotes erd
525 \end_inset
526
527  that is needed by LaTeX for zipped graphics.
528 \end_layout
529
530 \begin_layout Standard
531 \begin_inset VSpace bigskip
532 \end_inset
533
534
535 \end_layout
536
537 \begin_layout Standard
538 This is an example image in EPS format
539 \begin_inset Foot
540 status collapsed
541
542 \begin_layout Standard
543 Image formats are explained in section\InsetSpace ~
544
545 \begin_inset LatexCommand ref
546 reference "sec:Image-Formats"
547
548 \end_inset
549
550 .
551 \end_layout
552
553 \end_inset
554
555  within a separate, horizontally centered paragraph:
556 \end_layout
557
558 \begin_layout Standard
559 \align center
560 \begin_inset Graphics
561         filename clipart/mobius.eps
562         display color
563         scale 70
564         rotateOrigin center
565
566 \end_inset
567
568
569 \end_layout
570
571 \begin_layout Standard
572 This is the same image like the one above but in draft mode:
573 \end_layout
574
575 \begin_layout Standard
576 \align center
577 \begin_inset Graphics
578         filename clipart/mobius.eps
579         display color
580         scale 70
581         draft
582         rotateOrigin center
583
584 \end_inset
585
586
587 \end_layout
588
589 \begin_layout Section
590 Figure Floats
591 \begin_inset LatexCommand label
592 name "sec:Figure-Floats"
593
594 \end_inset
595
596
597 \begin_inset LatexCommand index
598 name "Floats ! Figure Floats"
599
600 \end_inset
601
602
603 \begin_inset LatexCommand index
604 name "Figures ! Floats"
605
606 \end_inset
607
608
609 \end_layout
610
611 \begin_layout Standard
612 For general explanations about floats, have a look at section\InsetSpace ~
613
614 \begin_inset LatexCommand ref
615 reference "sec:FloatIntroduction"
616
617 \end_inset
618
619 .
620 \end_layout
621
622 \begin_layout Standard
623 The toolbar button 
624 \begin_inset Graphics
625         filename ../images/float-insert_figure.xpm
626         scale 85
627
628 \end_inset
629
630  and the menu 
631 \family sans
632 Insert\SpecialChar \menuseparator
633 Float\SpecialChar \menuseparator
634 Figure
635 \family default
636  inserts a float with a caption that has the label 
637 \begin_inset Quotes eld
638 \end_inset
639
640 Figure\InsetSpace ~
641 #:
642 \begin_inset Quotes erd
643 \end_inset
644
645  (# is the actual number).
646  You can insert the image above the caption, like in Figure\InsetSpace ~
647
648 \begin_inset LatexCommand ref
649 reference "fig:kill-plat"
650
651 \end_inset
652
653  or below the caption, like in Figure\InsetSpace ~
654
655 \begin_inset LatexCommand ref
656 reference "fig:escher"
657
658 \end_inset
659
660 .
661  More about the caption placement is described in section\InsetSpace ~
662
663 \begin_inset LatexCommand ref
664 reference "sec:Caption-Placement"
665
666 \end_inset
667
668 .
669 \end_layout
670
671 \begin_layout Standard
672 \begin_inset Float figure
673 wide false
674 sideways false
675 status open
676
677 \begin_layout Standard
678 \align center
679 \begin_inset Graphics
680         filename clipart/platypus.eps
681         display color
682         width 50col%
683         rotateOrigin center
684
685 \end_inset
686
687
688 \end_layout
689
690 \begin_layout Standard
691 \begin_inset Caption
692
693 \begin_layout Standard
694 \begin_inset LatexCommand label
695 name "fig:kill-plat"
696
697 \end_inset
698
699 A severely distorted platypus in a float.
700 \end_layout
701
702 \end_inset
703
704
705 \end_layout
706
707 \end_inset
708
709
710 \end_layout
711
712 \begin_layout Standard
713 \begin_inset Float figure
714 wide false
715 sideways false
716 status open
717
718 \begin_layout Standard
719 \begin_inset Caption
720
721 \begin_layout Standard
722 \begin_inset LatexCommand label
723 name "fig:escher"
724
725 \end_inset
726
727 M.C.
728  Escher on acid.
729 \end_layout
730
731 \end_inset
732
733
734 \end_layout
735
736 \begin_layout Standard
737 \align center
738 \begin_inset Graphics
739         filename clipart/escher-lsd.eps
740         display color
741         scale 80
742         rotateOrigin center
743
744 \end_inset
745
746
747 \end_layout
748
749 \end_inset
750
751
752 \end_layout
753
754 \begin_layout Standard
755 \begin_inset LatexCommand index
756 name "References ! to Figures"
757
758 \end_inset
759
760 Figure\InsetSpace ~
761
762 \begin_inset LatexCommand ref
763 reference "fig:kill-plat"
764
765 \end_inset
766
767  and 
768 \begin_inset LatexCommand ref
769 reference "fig:escher"
770
771 \end_inset
772
773  are examples of referenced figures.
774  Figures can be referenced in the text by referencing their label.
775  To do this insert a label in the caption using the menu 
776 \family sans
777 Insert\SpecialChar \menuseparator
778 Label
779 \family default
780  or the toolbar button 
781 \begin_inset Graphics
782         filename ../images/label-insert.xpm
783         scale 85
784
785 \end_inset
786
787 .
788  You can now refer to the label using the menu 
789 \family sans
790 Insert\SpecialChar \menuseparator
791 Cross\InsetSpace ~
792 reference
793 \family default
794  or the toolbar button 
795 \begin_inset Graphics
796         filename ../images/dialog-show-new-inset_ref.xpm
797         scale 85
798
799 \end_inset
800
801 .
802  It is important to use references to floats, rather than using vague references
803  like 
804 \begin_inset Quotes eld
805 \end_inset
806
807 the figure above
808 \begin_inset Quotes erd
809 \end_inset
810
811 , because as LaTeX will reposition the floats in the final document, it
812  might not be 
813 \begin_inset Quotes eld
814 \end_inset
815
816 above
817 \begin_inset Quotes erd
818 \end_inset
819
820  at all.
821 \newline
822 Referencing is explained in detail in section\InsetSpace ~
823
824 \begin_inset LatexCommand ref
825 reference "sec:Referencing-Floats"
826
827 \end_inset
828
829 .
830 \end_layout
831
832 \begin_layout Standard
833 Normally only one image is inserted to a figure float, but sometimes you
834  might want to use two images with separate subcaptions.
835  This can be set in the tab 
836 \family sans
837 Extra\InsetSpace ~
838 options
839 \family default
840  of the graphics dialog.
841  Choose there the option 
842 \family sans
843 Subfigure
844 \family default
845  and enter the subcaption for the image in the caption field.
846  Note that only the main caption of the float is added to the List of Figures.
847 \newline
848 Ref
849 erencing subfigures is explained in section\InsetSpace ~
850
851 \begin_inset LatexCommand ref
852 reference "sub:Referencing-Subfigures"
853
854 \end_inset
855
856 .
857 \end_layout
858
859 \begin_layout Standard
860 Figure\InsetSpace ~
861
862 \begin_inset LatexCommand ref
863 reference "fig:Two-distorted-images"
864
865 \end_inset
866
867  is an example of a figure float with two images set side by side.
868  You can also set the images one below the other.
869 \end_layout
870
871 \begin_layout Standard
872 \begin_inset Float figure
873 wide false
874 sideways false
875 status open
876
877 \begin_layout Standard
878
879 \hfill
880
881 \begin_inset Graphics
882         filename clipart/escher-lsd.eps
883         width 45col%
884         subcaption
885         subcaptionText "Undefinable structure"
886
887 \end_inset
888
889
890 \hfill
891
892 \begin_inset Graphics
893         filename clipart/platypus.eps
894         lyxscale 60
895         width 45col%
896         subcaption
897         subcaptionText "\label{fig:Platypus} Platypus"
898
899 \end_inset
900
901
902 \hfill
903
904 \end_layout
905
906 \begin_layout Standard
907 \begin_inset Caption
908
909 \begin_layout Standard
910 \begin_inset LatexCommand label
911 name "fig:Two-distorted-images"
912
913 \end_inset
914
915 Two distorted images.
916 \end_layout
917
918 \end_inset
919
920
921 \end_layout
922
923 \end_inset
924
925
926 \end_layout
927
928 \begin_layout Section
929 Image Formats
930 \begin_inset LatexCommand label
931 name "sec:Image-Formats"
932
933 \end_inset
934
935
936 \begin_inset LatexCommand index
937 name "Image Formats"
938
939 \end_inset
940
941
942 \begin_inset LatexCommand index
943 name "Figures ! Image Formats"
944
945 \end_inset
946
947
948 \end_layout
949
950 \begin_layout Standard
951 You can insert images in any known file format.
952  But as explained in appendix\InsetSpace ~
953
954 \begin_inset LatexCommand ref
955 reference "cha:Output-File-Formats"
956
957 \end_inset
958
959 , every output document format allows only a few image formats.
960  LyX uses therefore the program 
961 \family typewriter
962 Imagemagick
963 \family default
964  in the background to convert the images to the right format.
965  To increase your work flow by avoiding these conversions in the background,
966  you can use only the image formats that can directly be embedded in the
967  output file format.
968  The output file formats are explained in appendix\InsetSpace ~
969
970 \begin_inset LatexCommand ref
971 reference "cha:Output-File-Formats"
972
973 \end_inset
974
975 .
976 \end_layout
977
978 \begin_layout Standard
979 Similar to fonts there are two types of image formats:
980 \end_layout
981
982 \begin_layout Description
983 Bitmap\InsetSpace ~
984 images consist of pixel values, often in a compressed form.
985  They are therefore not fully scalable and look pixeled in large zooms.
986  Well-known bitmap image formats are 
987 \begin_inset Quotes eld
988 \end_inset
989
990 Graphics Interchange Format
991 \begin_inset Quotes erd
992 \end_inset
993
994  (GIF, file extension 
995 \begin_inset Quotes eld
996 \end_inset
997
998
999 \family typewriter
1000 .gif
1001 \family default
1002
1003 \begin_inset Quotes erd
1004 \end_inset
1005
1006 )
1007 \begin_inset LatexCommand index
1008 name "GIF|see{Image formats}"
1009
1010 \end_inset
1011
1012
1013 \begin_inset Quotes eld
1014 \end_inset
1015
1016 Portable Network Graphics
1017 \begin_inset Quotes erd
1018 \end_inset
1019
1020  (PNG, file extension 
1021 \begin_inset Quotes eld
1022 \end_inset
1023
1024
1025 \family typewriter
1026 .png
1027 \family default
1028
1029 \begin_inset Quotes erd
1030 \end_inset
1031
1032 )
1033 \begin_inset LatexCommand index
1034 name "PNG|see{Image formats}"
1035
1036 \end_inset
1037
1038 , and 
1039 \begin_inset Quotes eld
1040 \end_inset
1041
1042 Joint Photographic Experts Group
1043 \begin_inset Quotes erd
1044 \end_inset
1045
1046  (JPG, file extension 
1047 \begin_inset Quotes eld
1048 \end_inset
1049
1050
1051 \family typewriter
1052 .jpg
1053 \family default
1054
1055 \begin_inset Quotes erd
1056 \end_inset
1057
1058  or 
1059 \begin_inset Quotes eld
1060 \end_inset
1061
1062
1063 \family typewriter
1064 .jpeg
1065 \family default
1066
1067 \begin_inset Quotes erd
1068 \end_inset
1069
1070 )
1071 \begin_inset LatexCommand index
1072 name "JPG|see{Image formats}"
1073
1074 \end_inset
1075
1076 .
1077 \end_layout
1078
1079 \begin_layout Description
1080 Vector\InsetSpace ~
1081 images consist of vectors and can therefore be scaled to any size
1082  without data loss.
1083  The scaling ability is necessary if you want to create presentations, because
1084  presentations are always scaled by the video projector.
1085  Scaling is also useful for online documents to let the user zoom into diagrams.
1086 \newline
1087 W
1088 ell-known scalable image formats are 
1089 \begin_inset Quotes eld
1090 \end_inset
1091
1092 Scalable Vector Graphics
1093 \begin_inset Quotes erd
1094 \end_inset
1095
1096  (SVG, file extension 
1097 \begin_inset Quotes eld
1098 \end_inset
1099
1100
1101 \family typewriter
1102 .svg
1103 \family default
1104
1105 \begin_inset Quotes erd
1106 \end_inset
1107
1108 )
1109 \begin_inset LatexCommand index
1110 name "SVG|see{Image formats}"
1111
1112 \end_inset
1113
1114
1115 \begin_inset Quotes eld
1116 \end_inset
1117
1118 Encapsulated PostScript
1119 \begin_inset Quotes erd
1120 \end_inset
1121
1122  (EPS, file extension 
1123 \begin_inset Quotes eld
1124 \end_inset
1125
1126
1127 \family typewriter
1128 .eps
1129 \family default
1130
1131 \begin_inset Quotes erd
1132 \end_inset
1133
1134 )
1135 \begin_inset LatexCommand index
1136 name "EPS|see{Image formats}"
1137
1138 \end_inset
1139
1140
1141 \begin_inset Quotes eld
1142 \end_inset
1143
1144 Portable Document Format
1145 \begin_inset Quotes erd
1146 \end_inset
1147
1148  (PDF, file extension 
1149 \begin_inset Quotes eld
1150 \end_inset
1151
1152
1153 \family typewriter
1154 .pdf
1155 \family default
1156
1157 \begin_inset Quotes erd
1158 \end_inset
1159
1160 )
1161 \begin_inset LatexCommand index
1162 name "PDF"
1163
1164 \end_inset
1165
1166 , and 
1167 \begin_inset Quotes eld
1168 \end_inset
1169
1170 Windows Metafile
1171 \begin_inset Quotes erd
1172 \end_inset
1173
1174  (WMF, file extension 
1175 \begin_inset Quotes eld
1176 \end_inset
1177
1178
1179 \family typewriter
1180 .wmf
1181 \family default
1182
1183 \begin_inset Quotes erd
1184 \end_inset
1185
1186 )
1187 \begin_inset LatexCommand index
1188 name "SVG|see{Image formats}"
1189
1190 \end_inset
1191
1192 .
1193  We wrote 
1194 \begin_inset Quotes eld
1195 \end_inset
1196
1197 can be
1198 \begin_inset Quotes erd
1199 \end_inset
1200
1201 , because you can convert any bitmap image to a PDF or EPS-image and the
1202  result will still be a bitmap image.
1203  In this cases only a header with the image properties is added to the original
1204  image
1205 \begin_inset Foot
1206 status open
1207
1208 \begin_layout Standard
1209 In the case of PDF, the original image is additionally compressed.
1210 \end_layout
1211
1212 \end_inset
1213
1214 .
1215  The PDF-files generated by 
1216 \family typewriter
1217 Adobe Photoshop
1218 \family default
1219  are for example bitmap images.
1220 \end_layout
1221
1222 \begin_layout Standard
1223 Normally it is not possible to convert a bitmap image into a scalable one,
1224  only vice versa.
1225  Only the image formats PDF and EPS can directly be embedded to PDF and
1226  PostScript output files, respectively.
1227  SVG and WMF-images are currently recalculated to bitmaps when the output
1228  file is generated because there is currently no adequate WMF/SVG
1229 \begin_inset Formula $\to$
1230 \end_inset
1231
1232 PDF/EPS converter available.
1233 \end_layout
1234
1235 \begin_layout Chapter
1236 Tables
1237 \begin_inset LatexCommand label
1238 name "cha:Tables"
1239
1240 \end_inset
1241
1242
1243 \begin_inset LatexCommand index
1244 name "Table"
1245
1246 \end_inset
1247
1248
1249 \end_layout
1250
1251 \begin_layout Section
1252 Introduction
1253 \begin_inset LatexCommand index
1254 name "Table ! Introduction"
1255
1256 \end_inset
1257
1258
1259 \end_layout
1260
1261 \begin_layout Standard
1262 You can insert a table using either the toolbar button 
1263 \begin_inset Graphics
1264         filename ../images/tabular-insert.xpm
1265         scale 85
1266
1267 \end_inset
1268
1269  or the menu 
1270 \family sans
1271 Insert\SpecialChar \menuseparator
1272 Table
1273 \family default
1274 .
1275  The toolbar button offers you a graphical selection: Move the mouse to
1276  set the column/row number of the table that should be created and then
1277  press a mouse button.
1278  When you use the menu to create a table, a dialog will appear, asking you
1279  for the number of rows and columns.
1280 \newline
1281  The default table has lines around any
1282  cell and the first row appears separated from the rest of the table.
1283  This separation occurs due to a double line: The cells of the first row
1284  have a line below them and the cells of the second row have a line above
1285  them.
1286  Here is an example table:
1287 \end_layout
1288
1289 \begin_layout Standard
1290 \align center
1291 \begin_inset Tabular
1292 <lyxtabular version="3" rows="4" columns="4">
1293 <features>
1294 <column alignment="center" valignment="top" leftline="true" width="0">
1295 <column alignment="center" valignment="top" leftline="true" width="0">
1296 <column alignment="center" valignment="top" leftline="true" width="0">
1297 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
1298 <row topline="true" bottomline="true">
1299 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1300 \begin_inset Text
1301
1302 \begin_layout Standard
1303
1304 \end_layout
1305
1306 \end_inset
1307 </cell>
1308 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1309 \begin_inset Text
1310
1311 \begin_layout Standard
1312
1313 \family roman
1314 \series medium
1315 \shape up
1316 \size normal
1317 \emph off
1318 \bar no
1319 \noun off
1320 \color none
1321 1
1322 \end_layout
1323
1324 \end_inset
1325 </cell>
1326 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1327 \begin_inset Text
1328
1329 \begin_layout Standard
1330 2
1331 \end_layout
1332
1333 \end_inset
1334 </cell>
1335 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1336 \begin_inset Text
1337
1338 \begin_layout Standard
1339 3
1340 \end_layout
1341
1342 \end_inset
1343 </cell>
1344 </row>
1345 <row topline="true">
1346 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1347 \begin_inset Text
1348
1349 \begin_layout Standard
1350
1351 \family roman
1352 \series medium
1353 \shape up
1354 \size normal
1355 \emph off
1356 \bar no
1357 \noun off
1358 \color none
1359 A
1360 \end_layout
1361
1362 \end_inset
1363 </cell>
1364 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1365 \begin_inset Text
1366
1367 \begin_layout Standard
1368
1369 \end_layout
1370
1371 \end_inset
1372 </cell>
1373 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1374 \begin_inset Text
1375
1376 \begin_layout Standard
1377
1378 \end_layout
1379
1380 \end_inset
1381 </cell>
1382 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1383 \begin_inset Text
1384
1385 \begin_layout Standard
1386
1387 \end_layout
1388
1389 \end_inset
1390 </cell>
1391 </row>
1392 <row topline="true">
1393 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1394 \begin_inset Text
1395
1396 \begin_layout Standard
1397
1398 \family roman
1399 \series medium
1400 \shape up
1401 \size normal
1402 \emph off
1403 \bar no
1404 \noun off
1405 \color none
1406 B
1407 \end_layout
1408
1409 \end_inset
1410 </cell>
1411 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1412 \begin_inset Text
1413
1414 \begin_layout Standard
1415
1416 \end_layout
1417
1418 \end_inset
1419 </cell>
1420 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1421 \begin_inset Text
1422
1423 \begin_layout Standard
1424
1425 \end_layout
1426
1427 \end_inset
1428 </cell>
1429 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1430 \begin_inset Text
1431
1432 \begin_layout Standard
1433
1434 \end_layout
1435
1436 \end_inset
1437 </cell>
1438 </row>
1439 <row topline="true" bottomline="true">
1440 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1441 \begin_inset Text
1442
1443 \begin_layout Standard
1444
1445 \family roman
1446 \series medium
1447 \shape up
1448 \size normal
1449 \emph off
1450 \bar no
1451 \noun off
1452 \color none
1453 C
1454 \end_layout
1455
1456 \end_inset
1457 </cell>
1458 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1459 \begin_inset Text
1460
1461 \begin_layout Standard
1462
1463 \end_layout
1464
1465 \end_inset
1466 </cell>
1467 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1468 \begin_inset Text
1469
1470 \begin_layout Standard
1471
1472 \end_layout
1473
1474 \end_inset
1475 </cell>
1476 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1477 \begin_inset Text
1478
1479 \begin_layout Standard
1480
1481 \end_layout
1482
1483 \end_inset
1484 </cell>
1485 </row>
1486 </lyxtabular>
1487
1488 \end_inset
1489
1490
1491 \end_layout
1492
1493 \begin_layout Section
1494 Table Dialog
1495 \begin_inset LatexCommand index
1496 name "Table ! Dialog"
1497
1498 \end_inset
1499
1500
1501 \end_layout
1502
1503 \begin_layout Standard
1504 You can alter a table by clicking on it with the right mouse button, which
1505  brings up the table dialog.
1506  Here you can adjust the settings of that cell and row/column respectively
1507  where the cursor is currently placed.
1508  Most of the dialog options also work on selections.
1509  This means if you select more cells, columns or rows, the action is done
1510  for the whole selection.
1511  Note that there is a difference between selecting the 
1512 \emph on
1513 contents
1514 \emph default
1515  of the cell, and the cell itself.
1516  You can alter tables with the following tabs of the table dialog:
1517 \end_layout
1518
1519 \begin_layout Description
1520
1521 \family sans
1522 Table\InsetSpace ~
1523 Settings
1524 \family default
1525  Here you can set the horizontal alignment and the width of the current
1526  column.
1527  When you have set a width you can also adjust the vertical alignment of
1528  the current row.
1529  A given width will allow the cell to have line breaks and multiple paragraphs
1530  of text, see section\InsetSpace ~
1531
1532 \begin_inset LatexCommand ref
1533 reference "sub:Multiple-Lines-in"
1534
1535 \end_inset
1536
1537 .
1538  If you set no width, the column is as wide as their widest cell content
1539  is.
1540 \newline
1541 Furthermore, you can mark one or multiple cells of one row as a multicolumn
1542  cell, see section\InsetSpace ~
1543
1544 \begin_inset LatexCommand ref
1545 reference "sub:Multicolumns"
1546
1547 \end_inset
1548
1549 .
1550 \newline
1551 The rotate check boxes rotates the current cell, a selection, or the whole
1552  table counter-clockwise by 90°.
1553  The rotation is not shown within LyX, only in the output.
1554 \newline
1555
1556 \begin_inset Note Greyedout
1557 status open
1558
1559 \begin_layout Standard
1560
1561 \series bold
1562 Note:
1563 \series default
1564  Not all DVI-viewers are able to display rotations.
1565 \end_layout
1566
1567 \end_inset
1568
1569
1570 \newline
1571 It is also possible to enter a LaTeX-argument which is needed for special
1572  table formattings, see section\InsetSpace ~
1573
1574 \begin_inset LatexCommand ref
1575 reference "sub:Multicolumn-Calculations"
1576
1577 \end_inset
1578
1579  and 
1580 \begin_inset LatexCommand ref
1581 reference "sec:Colored-Tables"
1582
1583 \end_inset
1584
1585 .
1586 \end_layout
1587
1588 \begin_layout Description
1589
1590 \family sans
1591 Borders
1592 \family default
1593  In this tab you can add and delete border lines for the current row/column.
1594 \newline
1595 Using
1596  the style option 
1597 \family sans
1598 Formal
1599 \family default
1600  will convert the table to a formal table as described in section\InsetSpace ~
1601
1602 \begin_inset LatexCommand ref
1603 reference "sec:Formal-Tables"
1604
1605 \end_inset
1606
1607 .
1608 \newline
1609 You can also add here space to table rows as decribed in section\InsetSpace ~
1610
1611 \begin_inset LatexCommand ref
1612 reference "sub:Row-Spacing"
1613
1614 \end_inset
1615
1616 .
1617 \end_layout
1618
1619 \begin_layout Description
1620
1621 \family sans
1622 Longtable
1623 \family default
1624  This tab is to make a table a so called 
1625 \begin_inset Quotes eld
1626 \end_inset
1627
1628
1629 \emph on
1630 longtable
1631 \emph default
1632
1633 \begin_inset Quotes erd
1634 \end_inset
1635
1636  that can run over several pages.
1637  Section\InsetSpace ~
1638
1639 \begin_inset LatexCommand ref
1640 reference "sec:Longtables"
1641
1642 \end_inset
1643
1644  and 
1645 \begin_inset LatexCommand ref
1646 reference "sec:Special-Longtable-Issues"
1647
1648 \end_inset
1649
1650  describe the longtable features in detail.
1651 \end_layout
1652
1653 \begin_layout Standard
1654 When the table toolbar is opened, you can move the cursor with the arrow
1655  keys from cell to cell and the property of the current cell will immediately
1656  be displayed in the dialog.
1657 \end_layout
1658
1659 \begin_layout Section
1660 Table Toolbar
1661 \begin_inset LatexCommand index
1662 name "Table ! Toolbar"
1663
1664 \end_inset
1665
1666
1667 \end_layout
1668
1669 \begin_layout Standard
1670 The table toolbar is an alternative to the table dialog to be able to alter
1671  tables faster.
1672  It should normally appear at the bottom of LyX's main window when the cursor
1673  is inside a table.
1674  You can alternatively switch it on to appear always, by right-clicking
1675  in LyX's main menu bar.
1676 \end_layout
1677
1678 \begin_layout Standard
1679 The toolbar has the following icons:
1680 \end_layout
1681
1682 \begin_layout Labeling
1683 \labelwidthstring 00.00.0000
1684 \begin_inset Graphics
1685         filename ../images/tabular-feature_append-row.xpm
1686
1687 \end_inset
1688
1689  adds a row below the current cell or selection
1690 \end_layout
1691
1692 \begin_layout Labeling
1693 \labelwidthstring 00.00.0000
1694 \begin_inset Graphics
1695         filename ../images/tabular-feature_append-column.xpm
1696
1697 \end_inset
1698
1699  adds a column right beside the current cell or selection
1700 \end_layout
1701
1702 \begin_layout Labeling
1703 \labelwidthstring 00.00.0000
1704 \begin_inset Graphics
1705         filename ../images/tabular-feature_delete-row.xpm
1706
1707 \end_inset
1708
1709  deletes the current row or selection
1710 \end_layout
1711
1712 \begin_layout Labeling
1713 \labelwidthstring 00.00.0000
1714 \begin_inset Graphics
1715         filename ../images/tabular-feature_delete-column.xpm
1716
1717 \end_inset
1718
1719  deletes the current column or selection
1720 \end_layout
1721
1722 \begin_layout Labeling
1723 \labelwidthstring 00.00.0000
1724 \begin_inset Graphics
1725         filename ../images/tabular-feature_toggle-line-top.xpm
1726
1727 \end_inset
1728
1729  adds a line at the top of the current cell / row or of a selection
1730 \end_layout
1731
1732 \begin_layout Labeling
1733 \labelwidthstring 00.00.0000
1734 \begin_inset Graphics
1735         filename ../images/tabular-feature_toggle-line-bottom.xpm
1736
1737 \end_inset
1738
1739  adds a line at the bottom of the current cell / row or of a selection
1740 \end_layout
1741
1742 \begin_layout Labeling
1743 \labelwidthstring 00.00.0000
1744 \begin_inset Graphics
1745         filename ../images/tabular-feature_toggle-line-left.xpm
1746
1747 \end_inset
1748
1749  adds a line at the left side of the current cell / row or of a selection
1750 \end_layout
1751
1752 \begin_layout Labeling
1753 \labelwidthstring 00.00.0000
1754 \begin_inset Graphics
1755         filename ../images/tabular-feature_toggle-line-right.xpm
1756
1757 \end_inset
1758
1759  adds a line at the right side of the current cell / row or of a selection
1760 \end_layout
1761
1762 \begin_layout Labeling
1763 \labelwidthstring 00.00.0000
1764 \begin_inset Graphics
1765         filename ../images/tabular-feature_set-all-lines.xpm
1766
1767 \end_inset
1768
1769  adds lines around the current or selected cells - if the current cell no
1770  multicolumn this also affects the current row and column
1771 \end_layout
1772
1773 \begin_layout Labeling
1774 \labelwidthstring 00.00.0000
1775 \begin_inset Graphics
1776         filename ../images/tabular-feature_unset-all-lines.xpm
1777
1778 \end_inset
1779
1780  deletes all lines of the current or selected cells - if the current cell
1781  no multicolumn this also affects the current row and column
1782 \end_layout
1783
1784 \begin_layout Labeling
1785 \labelwidthstring 00.00.0000
1786 \begin_inset Graphics
1787         filename ../images/tabular-feature_align-left.xpm
1788
1789 \end_inset
1790
1791  left-aligns the content of the current cell / column
1792 \end_layout
1793
1794 \begin_layout Labeling
1795 \labelwidthstring 00.00.0000
1796 \begin_inset Graphics
1797         filename ../images/tabular-feature_align-center.xpm
1798
1799 \end_inset
1800
1801  centers the content of the current cell / column horizontally
1802 \end_layout
1803
1804 \begin_layout Labeling
1805 \labelwidthstring 00.00.0000
1806 \begin_inset Graphics
1807         filename ../images/tabular-feature_align-right.xpm
1808
1809 \end_inset
1810
1811  right-aligns the content of the current cell / column
1812 \end_layout
1813
1814 \begin_layout Labeling
1815 \labelwidthstring 00.00.0000
1816 \begin_inset Graphics
1817         filename ../images/tabular-feature_valign-top.xpm
1818
1819 \end_inset
1820
1821  aligns the content of the current cell vertically to the top
1822 \end_layout
1823
1824 \begin_layout Labeling
1825 \labelwidthstring 00.00.0000
1826 \begin_inset Graphics
1827         filename ../images/tabular-feature_valign-middle.xpm
1828
1829 \end_inset
1830
1831  centers the content of the current cell vertically
1832 \end_layout
1833
1834 \begin_layout Labeling
1835 \labelwidthstring 00.00.0000
1836 \begin_inset Graphics
1837         filename ../images/tabular-feature_valign-bottom.xpm
1838
1839 \end_inset
1840
1841  aligns the content of the current cell vertically to the bottom
1842 \end_layout
1843
1844 \begin_layout Labeling
1845 \labelwidthstring 00.00.0000
1846 \begin_inset Graphics
1847         filename ../images/tabular-feature_set-rotate-cell.xpm
1848
1849 \end_inset
1850
1851  rotates the current cell or selection counter-clockwise by 90°
1852 \end_layout
1853
1854 \begin_layout Labeling
1855 \labelwidthstring 00.00.0000
1856 \begin_inset Graphics
1857         filename ../images/tabular-feature_set-rotate-tabular.xpm
1858
1859 \end_inset
1860
1861  rotates the whole table counter-clockwise by 90°
1862 \end_layout
1863
1864 \begin_layout Labeling
1865 \labelwidthstring 00.00.0000
1866 \begin_inset Graphics
1867         filename ../images/tabular-feature_multicolumn.xpm
1868
1869 \end_inset
1870
1871  sets the current cell or selection as a multicolumn
1872 \end_layout
1873
1874 \begin_layout Section
1875 Edit Table Menu
1876 \begin_inset LatexCommand index
1877 name "Table ! Edit Menu"
1878
1879 \end_inset
1880
1881
1882 \end_layout
1883
1884 \begin_layout Standard
1885 Additionally to the table dialog and toolbar, the menu 
1886 \family sans
1887 Edit\SpecialChar \menuseparator
1888 Table
1889 \family default
1890  allows you to add and delete border lines for the current row/column and
1891  to set the current selection as multicolumn.
1892  The menu is only available when the cursor is inside a table.
1893 \end_layout
1894
1895 \begin_layout Section
1896 Table Floats
1897 \begin_inset LatexCommand label
1898 name "sec:Table-Floats"
1899
1900 \end_inset
1901
1902
1903 \begin_inset LatexCommand index
1904 name "Floats ! Tables"
1905
1906 \end_inset
1907
1908
1909 \begin_inset LatexCommand index
1910 name "Table ! Floats"
1911
1912 \end_inset
1913
1914
1915 \end_layout
1916
1917 \begin_layout Standard
1918 For general explanations about floats, have a look at section\InsetSpace ~
1919
1920 \begin_inset LatexCommand ref
1921 reference "sec:FloatIntroduction"
1922
1923 \end_inset
1924
1925 .
1926 \end_layout
1927
1928 \begin_layout Standard
1929 \begin_inset Float table
1930 placement h
1931 wide false
1932 sideways false
1933 status open
1934
1935 \begin_layout Standard
1936 \begin_inset Caption
1937
1938 \begin_layout Standard
1939 \begin_inset LatexCommand label
1940 name "tab:a table float"
1941
1942 \end_inset
1943
1944 A table float.
1945 \end_layout
1946
1947 \end_inset
1948
1949
1950 \end_layout
1951
1952 \begin_layout Standard
1953 \align center
1954 \begin_inset Tabular
1955 <lyxtabular version="3" rows="3" columns="3">
1956 <features>
1957 <column alignment="center" valignment="top" leftline="true" width="0pt">
1958 <column alignment="center" valignment="top" leftline="true" width="0pt">
1959 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
1960 <row topline="true" bottomline="true">
1961 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1962 \begin_inset Text
1963
1964 \begin_layout Standard
1965
1966 \family roman
1967 \series medium
1968 \shape up
1969 \size normal
1970 \emph off
1971 \bar no
1972 \noun off
1973 \color none
1974 1
1975 \end_layout
1976
1977 \end_inset
1978 </cell>
1979 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1980 \begin_inset Text
1981
1982 \begin_layout Standard
1983
1984 \family roman
1985 \series medium
1986 \shape up
1987 \size normal
1988 \emph off
1989 \bar no
1990 \noun off
1991 \color none
1992 2
1993 \end_layout
1994
1995 \end_inset
1996 </cell>
1997 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1998 \begin_inset Text
1999
2000 \begin_layout Standard
2001
2002 \family roman
2003 \series medium
2004 \shape up
2005 \size normal
2006 \emph off
2007 \bar no
2008 \noun off
2009 \color none
2010 3
2011 \end_layout
2012
2013 \end_inset
2014 </cell>
2015 </row>
2016 <row topline="true">
2017 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2018 \begin_inset Text
2019
2020 \begin_layout Standard
2021
2022 \family roman
2023 \series medium
2024 \shape up
2025 \size normal
2026 \emph off
2027 \bar no
2028 \noun off
2029 \color none
2030 Joe
2031 \end_layout
2032
2033 \end_inset
2034 </cell>
2035 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2036 \begin_inset Text
2037
2038 \begin_layout Standard
2039
2040 \family roman
2041 \series medium
2042 \shape up
2043 \size normal
2044 \emph off
2045 \bar no
2046 \noun off
2047 \color none
2048 Mary
2049 \end_layout
2050
2051 \end_inset
2052 </cell>
2053 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2054 \begin_inset Text
2055
2056 \begin_layout Standard
2057
2058 \family roman
2059 \series medium
2060 \shape up
2061 \size normal
2062 \emph off
2063 \bar no
2064 \noun off
2065 \color none
2066 Ted
2067 \end_layout
2068
2069 \end_inset
2070 </cell>
2071 </row>
2072 <row topline="true" bottomline="true">
2073 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2074 \begin_inset Text
2075
2076 \begin_layout Standard
2077
2078 \family roman
2079 \series medium
2080 \shape up
2081 \size normal
2082 \emph off
2083 \bar no
2084 \noun off
2085 \color none
2086 \begin_inset Formula $\int x^{2}dx$
2087 \end_inset
2088
2089
2090 \end_layout
2091
2092 \end_inset
2093 </cell>
2094 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2095 \begin_inset Text
2096
2097 \begin_layout Standard
2098
2099 \family roman
2100 \series medium
2101 \shape up
2102 \size normal
2103 \emph off
2104 \bar no
2105 \noun off
2106 \color none
2107 \begin_inset Formula $\left[\begin{array}{cc}
2108 a & b\\
2109 c & d\end{array}\right]$
2110 \end_inset
2111
2112
2113 \end_layout
2114
2115 \end_inset
2116 </cell>
2117 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2118 \begin_inset Text
2119
2120 \begin_layout Standard
2121
2122 \family roman
2123 \series medium
2124 \shape up
2125 \size normal
2126 \emph off
2127 \bar no
2128 \noun off
2129 \color none
2130 \begin_inset Formula $1+1=2$
2131 \end_inset
2132
2133
2134 \end_layout
2135
2136 \end_inset
2137 </cell>
2138 </row>
2139 </lyxtabular>
2140
2141 \end_inset
2142
2143
2144 \end_layout
2145
2146 \end_inset
2147
2148
2149 \end_layout
2150
2151 \begin_layout Standard
2152 Table floats can be inserted using the menu 
2153 \family sans
2154 Insert\SpecialChar \menuseparator
2155 Float\SpecialChar \menuseparator
2156 Table
2157 \family default
2158  or the toolbar button 
2159 \begin_inset Graphics
2160         filename ../images/float-insert_table.xpm
2161         scale 85
2162
2163 \end_inset
2164
2165 .
2166 \end_layout
2167
2168 \begin_layout Standard
2169 The float appears as a collapsible box with a caption that has the label
2170  
2171 \begin_inset Quotes eld
2172 \end_inset
2173
2174 Table\InsetSpace ~
2175 #:
2176 \begin_inset Quotes erd
2177 \end_inset
2178
2179  (# is the actual table number).
2180  You can insert tables to the float above or below the caption.
2181 \end_layout
2182
2183 \begin_layout Standard
2184 Table\InsetSpace ~
2185
2186 \begin_inset LatexCommand ref
2187 reference "tab:a table float"
2188
2189 \end_inset
2190
2191  is an example table within a table float.
2192 \end_layout
2193
2194 \begin_layout Standard
2195 Having the caption above the table is the common rule that is unfortunately
2196  not supported in LaTeX's standard classes.
2197  That means if you are using the document classes 
2198 \family sans
2199 article
2200 \family default
2201
2202 \family sans
2203 book
2204 \family default
2205
2206 \family sans
2207 letter
2208 \family default
2209 , or 
2210 \family sans
2211 report
2212 \family default
2213  there will be no space between the caption and the table.
2214  To insert the needed space, add the following option to the load command
2215  of the LaTeX-package 
2216 \series bold
2217 caption
2218 \series default
2219
2220 \begin_inset LatexCommand index
2221 name "LaTeX-packages ! caption"
2222
2223 \end_inset
2224
2225  in your document preamble
2226 \begin_inset Foot
2227 status collapsed
2228
2229 \begin_layout Standard
2230 For more information have a look at section\InsetSpace ~
2231
2232 \begin_inset LatexCommand ref
2233 reference "sec:Caption-Placement"
2234
2235 \end_inset
2236
2237 .
2238 \end_layout
2239
2240 \end_inset
2241
2242 :
2243 \end_layout
2244
2245 \begin_layout Standard
2246
2247 \series bold
2248 tableposition=top
2249 \end_layout
2250
2251 \begin_layout Standard
2252 The package 
2253 \series bold
2254 caption
2255 \series default
2256 , which is described in section\InsetSpace ~
2257
2258 \begin_inset LatexCommand ref
2259 reference "sec:Caption-Formatting"
2260
2261 \end_inset
2262
2263 , is used to adjust the caption format.
2264 \end_layout
2265
2266 \begin_layout Standard
2267 \begin_inset LatexCommand index
2268 name "References ! to Tables"
2269
2270 \end_inset
2271
2272 Tables can be cross-referenced in the text by referencing their label.
2273  To do this insert a label in the caption using the menu 
2274 \family sans
2275 Insert\SpecialChar \menuseparator
2276 Label
2277 \family default
2278  or the toolbar button 
2279 \begin_inset Graphics
2280         filename ../images/label-insert.xpm
2281         scale 85
2282
2283 \end_inset
2284
2285 .
2286  You can now refer to the label using the menu 
2287 \family sans
2288 Insert\SpecialChar \menuseparator
2289 Cross\InsetSpace ~
2290 reference
2291 \family default
2292  or the toolbar button 
2293 \begin_inset Graphics
2294         filename ../images/dialog-show-new-inset_ref.xpm
2295         scale 85
2296
2297 \end_inset
2298
2299 .
2300 \newline
2301 Referencing is explained in detail in section\InsetSpace ~
2302
2303 \begin_inset LatexCommand ref
2304 reference "sec:Referencing-Floats"
2305
2306 \end_inset
2307
2308 .
2309 \end_layout
2310
2311 \begin_layout Section
2312 Longtables
2313 \begin_inset LatexCommand label
2314 name "sec:Longtables"
2315
2316 \end_inset
2317
2318
2319 \begin_inset LatexCommand index
2320 name "Longtables"
2321
2322 \end_inset
2323
2324
2325 \begin_inset LatexCommand index
2326 name "Table ! Longtables"
2327
2328 \end_inset
2329
2330
2331 \end_layout
2332
2333 \begin_layout Standard
2334 If the table is too long to fit on one page, you can use the option 
2335 \family sans
2336 Use\InsetSpace ~
2337 long\InsetSpace ~
2338 table
2339 \family default
2340  in the tab 
2341 \family sans
2342 Longtable
2343 \family default
2344  of the table dialog to split the table automatically over more pages.
2345  Doing this enables some check boxes and you can now define:
2346 \end_layout
2347
2348 \begin_layout Description
2349
2350 \family sans
2351 Header
2352 \family default
2353 : The current row and all rows above, that don't have any special options
2354  defined, are defined to be the header rows of all pages of the longtable;
2355  except for the first page, if 
2356 \family sans
2357 First\InsetSpace ~
2358 header
2359 \family default
2360  is defined.
2361  This therefore called the main header.
2362 \end_layout
2363
2364 \begin_layout Description
2365
2366 \family sans
2367 First\InsetSpace ~
2368 header
2369 \family default
2370 : The current row and all rows above, that don't have any special options
2371  defined, are defined to be the header rows of the first page of the longtable.
2372 \end_layout
2373
2374 \begin_layout Description
2375
2376 \family sans
2377 Footer
2378 \family default
2379 : The current row and all rows below, that don't have any special options
2380  defined, are defined to be the footer rows of all pages of the longtable;
2381  except for the last page, if 
2382 \family sans
2383 Last\InsetSpace ~
2384 footer
2385 \family default
2386  is defined.
2387 \end_layout
2388
2389 \begin_layout Description
2390
2391 \family sans
2392 Last\InsetSpace ~
2393 footer
2394 \family default
2395 : The current row and all rows below, that don't have any special options
2396  defined, are defined to be the footer rows of the last page of the longtable.
2397 \end_layout
2398
2399 \begin_layout Standard
2400 You can also specify a row where the table is splitted.
2401  If you set more than one option in the same table row, you should be aware
2402  of the fact that only the first one is used in the given table row.
2403  The others will then be defined as 
2404 \emph on
2405 empty
2406 \emph default
2407 .
2408  In this context, first means first in this order: 
2409 \family sans
2410 Footer, Last\InsetSpace ~
2411 footer,
2412 \family default
2413  
2414 \family sans
2415 Header,
2416 \family default
2417  
2418 \family sans
2419 First\InsetSpace ~
2420 header.
2421
2422 \family default
2423  See the following longtable to see how it works:
2424 \end_layout
2425
2426 \begin_layout Standard
2427 \align center
2428 \begin_inset Tabular
2429 <lyxtabular version="3" rows="69" columns="3">
2430 <features islongtable="true">
2431 <column alignment="left" valignment="top" leftline="true" width="0cm">
2432 <column alignment="left" valignment="top" width="0pt">
2433 <column alignment="right" valignment="top" leftline="true" rightline="true" width="0pt">
2434 <row topline="true" bottomline="true" endfirsthead="true">
2435 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2436 \begin_inset Text
2437
2438 \begin_layout Standard
2439
2440 \series bold
2441 Example Phone List (ignore the names)
2442 \end_layout
2443
2444 \end_inset
2445 </cell>
2446 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2447 \begin_inset Text
2448
2449 \begin_layout Standard
2450
2451 \end_layout
2452
2453 \end_inset
2454 </cell>
2455 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2456 \begin_inset Text
2457
2458 \begin_layout Standard
2459
2460 \end_layout
2461
2462 \end_inset
2463 </cell>
2464 </row>
2465 <row topline="true" bottomline="true" endfirsthead="true">
2466 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2467 \begin_inset Text
2468
2469 \begin_layout Standard
2470
2471 \series bold
2472 NAME
2473 \end_layout
2474
2475 \end_inset
2476 </cell>
2477 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2478 \begin_inset Text
2479
2480 \begin_layout Standard
2481
2482 \end_layout
2483
2484 \end_inset
2485 </cell>
2486 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2487 \begin_inset Text
2488
2489 \begin_layout Standard
2490
2491 \series bold
2492 TEL.
2493 \end_layout
2494
2495 \end_inset
2496 </cell>
2497 </row>
2498 <row topline="true" bottomline="true" endhead="true">
2499 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2500 \begin_inset Text
2501
2502 \begin_layout Standard
2503
2504 \series bold
2505 Example Phone List
2506 \end_layout
2507
2508 \end_inset
2509 </cell>
2510 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2511 \begin_inset Text
2512
2513 \begin_layout Standard
2514
2515 \end_layout
2516
2517 \end_inset
2518 </cell>
2519 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2520 \begin_inset Text
2521
2522 \begin_layout Standard
2523
2524 \end_layout
2525
2526 \end_inset
2527 </cell>
2528 </row>
2529 <row topline="true" bottomline="true" endhead="true">
2530 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2531 \begin_inset Text
2532
2533 \begin_layout Standard
2534
2535 \series bold
2536 NAME
2537 \end_layout
2538
2539 \end_inset
2540 </cell>
2541 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2542 \begin_inset Text
2543
2544 \begin_layout Standard
2545
2546 \end_layout
2547
2548 \end_inset
2549 </cell>
2550 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2551 \begin_inset Text
2552
2553 \begin_layout Standard
2554
2555 \series bold
2556 TEL.
2557 \end_layout
2558
2559 \end_inset
2560 </cell>
2561 </row>
2562 <row topline="true" bottomline="true" endfoot="true">
2563 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
2564 \begin_inset Text
2565
2566 \begin_layout Standard
2567  continued on next page
2568 \end_layout
2569
2570 \end_inset
2571 </cell>
2572 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2573 \begin_inset Text
2574
2575 \begin_layout Standard
2576
2577 \end_layout
2578
2579 \end_inset
2580 </cell>
2581 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2582 \begin_inset Text
2583
2584 \begin_layout Standard
2585
2586 \end_layout
2587
2588 \end_inset
2589 </cell>
2590 </row>
2591 <row>
2592 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2593 \begin_inset Text
2594
2595 \begin_layout Standard
2596
2597 \series bold
2598 Annovi
2599 \end_layout
2600
2601 \end_inset
2602 </cell>
2603 <cell alignment="center" valignment="top" topline="true" usebox="none">
2604 \begin_inset Text
2605
2606 \begin_layout Standard
2607 Silvia
2608 \end_layout
2609
2610 \end_inset
2611 </cell>
2612 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2613 \begin_inset Text
2614
2615 \begin_layout Standard
2616 111
2617 \end_layout
2618
2619 \end_inset
2620 </cell>
2621 </row>
2622 <row>
2623 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2624 \begin_inset Text
2625
2626 \begin_layout Standard
2627
2628 \series bold
2629 Bertoli
2630 \end_layout
2631
2632 \end_inset
2633 </cell>
2634 <cell alignment="center" valignment="top" topline="true" usebox="none">
2635 \begin_inset Text
2636
2637 \begin_layout Standard
2638 Stefano
2639 \end_layout
2640
2641 \end_inset
2642 </cell>
2643 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2644 \begin_inset Text
2645
2646 \begin_layout Standard
2647 111
2648 \end_layout
2649
2650 \end_inset
2651 </cell>
2652 </row>
2653 <row>
2654 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2655 \begin_inset Text
2656
2657 \begin_layout Standard
2658
2659 \series bold
2660 Bozzi
2661 \end_layout
2662
2663 \end_inset
2664 </cell>
2665 <cell alignment="center" valignment="top" topline="true" usebox="none">
2666 \begin_inset Text
2667
2668 \begin_layout Standard
2669 Walter
2670 \end_layout
2671
2672 \end_inset
2673 </cell>
2674 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2675 \begin_inset Text
2676
2677 \begin_layout Standard
2678 111
2679 \end_layout
2680
2681 \end_inset
2682 </cell>
2683 </row>
2684 <row>
2685 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2686 \begin_inset Text
2687
2688 \begin_layout Standard
2689
2690 \series bold
2691 Cachia
2692 \end_layout
2693
2694 \end_inset
2695 </cell>
2696 <cell alignment="center" valignment="top" topline="true" usebox="none">
2697 \begin_inset Text
2698
2699 \begin_layout Standard
2700 Maria
2701 \end_layout
2702
2703 \end_inset
2704 </cell>
2705 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2706 \begin_inset Text
2707
2708 \begin_layout Standard
2709 111
2710 \end_layout
2711
2712 \end_inset
2713 </cell>
2714 </row>
2715 <row>
2716 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2717 \begin_inset Text
2718
2719 \begin_layout Standard
2720
2721 \series bold
2722 Cachia
2723 \end_layout
2724
2725 \end_inset
2726 </cell>
2727 <cell alignment="center" valignment="top" topline="true" usebox="none">
2728 \begin_inset Text
2729
2730 \begin_layout Standard
2731 Maurizio
2732 \end_layout
2733
2734 \end_inset
2735 </cell>
2736 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2737 \begin_inset Text
2738
2739 \begin_layout Standard
2740 111
2741 \end_layout
2742
2743 \end_inset
2744 </cell>
2745 </row>
2746 <row>
2747 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2748 \begin_inset Text
2749
2750 \begin_layout Standard
2751
2752 \series bold
2753 Cinquemani
2754 \end_layout
2755
2756 \end_inset
2757 </cell>
2758 <cell alignment="center" valignment="top" topline="true" usebox="none">
2759 \begin_inset Text
2760
2761 \begin_layout Standard
2762 Giusi
2763 \end_layout
2764
2765 \end_inset
2766 </cell>
2767 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2768 \begin_inset Text
2769
2770 \begin_layout Standard
2771 111
2772 \end_layout
2773
2774 \end_inset
2775 </cell>
2776 </row>
2777 <row>
2778 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2779 \begin_inset Text
2780
2781 \begin_layout Standard
2782
2783 \series bold
2784 Colin
2785 \end_layout
2786
2787 \end_inset
2788 </cell>
2789 <cell alignment="center" valignment="top" topline="true" usebox="none">
2790 \begin_inset Text
2791
2792 \begin_layout Standard
2793 Bernard
2794 \end_layout
2795
2796 \end_inset
2797 </cell>
2798 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2799 \begin_inset Text
2800
2801 \begin_layout Standard
2802 111
2803 \end_layout
2804
2805 \end_inset
2806 </cell>
2807 </row>
2808 <row>
2809 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2810 \begin_inset Text
2811
2812 \begin_layout Standard
2813
2814 \series bold
2815 Concli
2816 \end_layout
2817
2818 \end_inset
2819 </cell>
2820 <cell alignment="center" valignment="top" topline="true" usebox="none">
2821 \begin_inset Text
2822
2823 \begin_layout Standard
2824 Gianfranco
2825 \end_layout
2826
2827 \end_inset
2828 </cell>
2829 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2830 \begin_inset Text
2831
2832 \begin_layout Standard
2833 111
2834 \end_layout
2835
2836 \end_inset
2837 </cell>
2838 </row>
2839 <row>
2840 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2841 \begin_inset Text
2842
2843 \begin_layout Standard
2844
2845 \series bold
2846 Dal Bosco
2847 \end_layout
2848
2849 \end_inset
2850 </cell>
2851 <cell alignment="center" valignment="top" topline="true" usebox="none">
2852 \begin_inset Text
2853
2854 \begin_layout Standard
2855 Carolina
2856 \end_layout
2857
2858 \end_inset
2859 </cell>
2860 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2861 \begin_inset Text
2862
2863 \begin_layout Standard
2864 111
2865 \end_layout
2866
2867 \end_inset
2868 </cell>
2869 </row>
2870 <row>
2871 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2872 \begin_inset Text
2873
2874 \begin_layout Standard
2875
2876 \series bold
2877 Dalpiaz
2878 \end_layout
2879
2880 \end_inset
2881 </cell>
2882 <cell alignment="center" valignment="top" topline="true" usebox="none">
2883 \begin_inset Text
2884
2885 \begin_layout Standard
2886 Annamaria
2887 \end_layout
2888
2889 \end_inset
2890 </cell>
2891 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2892 \begin_inset Text
2893
2894 \begin_layout Standard
2895 111
2896 \end_layout
2897
2898 \end_inset
2899 </cell>
2900 </row>
2901 <row>
2902 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2903 \begin_inset Text
2904
2905 \begin_layout Standard
2906
2907 \series bold
2908 Feliciello
2909 \end_layout
2910
2911 \end_inset
2912 </cell>
2913 <cell alignment="center" valignment="top" topline="true" usebox="none">
2914 \begin_inset Text
2915
2916 \begin_layout Standard
2917 Domenico
2918 \end_layout
2919
2920 \end_inset
2921 </cell>
2922 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2923 \begin_inset Text
2924
2925 \begin_layout Standard
2926 111
2927 \end_layout
2928
2929 \end_inset
2930 </cell>
2931 </row>
2932 <row>
2933 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2934 \begin_inset Text
2935
2936 \begin_layout Standard
2937
2938 \series bold
2939 Focarelli
2940 \end_layout
2941
2942 \end_inset
2943 </cell>
2944 <cell alignment="center" valignment="top" topline="true" usebox="none">
2945 \begin_inset Text
2946
2947 \begin_layout Standard
2948 Paola
2949 \end_layout
2950
2951 \end_inset
2952 </cell>
2953 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2954 \begin_inset Text
2955
2956 \begin_layout Standard
2957 111
2958 \end_layout
2959
2960 \end_inset
2961 </cell>
2962 </row>
2963 <row>
2964 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2965 \begin_inset Text
2966
2967 \begin_layout Standard
2968
2969 \series bold
2970 Galletti
2971 \end_layout
2972
2973 \end_inset
2974 </cell>
2975 <cell alignment="center" valignment="top" topline="true" usebox="none">
2976 \begin_inset Text
2977
2978 \begin_layout Standard
2979 Oreste
2980 \end_layout
2981
2982 \end_inset
2983 </cell>
2984 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2985 \begin_inset Text
2986
2987 \begin_layout Standard
2988 111
2989 \end_layout
2990
2991 \end_inset
2992 </cell>
2993 </row>
2994 <row>
2995 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2996 \begin_inset Text
2997
2998 \begin_layout Standard
2999
3000 \series bold
3001 Gasparini
3002 \end_layout
3003
3004 \end_inset
3005 </cell>
3006 <cell alignment="center" valignment="top" topline="true" usebox="none">
3007 \begin_inset Text
3008
3009 \begin_layout Standard
3010 Franca
3011 \end_layout
3012
3013 \end_inset
3014 </cell>
3015 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3016 \begin_inset Text
3017
3018 \begin_layout Standard
3019 111
3020 \end_layout
3021
3022 \end_inset
3023 </cell>
3024 </row>
3025 <row>
3026 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3027 \begin_inset Text
3028
3029 \begin_layout Standard
3030
3031 \series bold
3032 Rizzardi
3033 \end_layout
3034
3035 \end_inset
3036 </cell>
3037 <cell alignment="center" valignment="top" topline="true" usebox="none">
3038 \begin_inset Text
3039
3040 \begin_layout Standard
3041 Paola
3042 \end_layout
3043
3044 \end_inset
3045 </cell>
3046 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3047 \begin_inset Text
3048
3049 \begin_layout Standard
3050 111
3051 \end_layout
3052
3053 \end_inset
3054 </cell>
3055 </row>
3056 <row>
3057 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3058 \begin_inset Text
3059
3060 \begin_layout Standard
3061
3062 \series bold
3063 Lassini
3064 \end_layout
3065
3066 \end_inset
3067 </cell>
3068 <cell alignment="center" valignment="top" topline="true" usebox="none">
3069 \begin_inset Text
3070
3071 \begin_layout Standard
3072 Giancarlo
3073 \end_layout
3074
3075 \end_inset
3076 </cell>
3077 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3078 \begin_inset Text
3079
3080 \begin_layout Standard
3081 111
3082 \end_layout
3083
3084 \end_inset
3085 </cell>
3086 </row>
3087 <row>
3088 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3089 \begin_inset Text
3090
3091 \begin_layout Standard
3092
3093 \series bold
3094 Malfatti
3095 \end_layout
3096
3097 \end_inset
3098 </cell>
3099 <cell alignment="center" valignment="top" topline="true" usebox="none">
3100 \begin_inset Text
3101
3102 \begin_layout Standard
3103 Luciano
3104 \end_layout
3105
3106 \end_inset
3107 </cell>
3108 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3109 \begin_inset Text
3110
3111 \begin_layout Standard
3112 111
3113 \end_layout
3114
3115 \end_inset
3116 </cell>
3117 </row>
3118 <row>
3119 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3120 \begin_inset Text
3121
3122 \begin_layout Standard
3123
3124 \series bold
3125 Malfatti
3126 \end_layout
3127
3128 \end_inset
3129 </cell>
3130 <cell alignment="center" valignment="top" topline="true" usebox="none">
3131 \begin_inset Text
3132
3133 \begin_layout Standard
3134 Valeriano
3135 \end_layout
3136
3137 \end_inset
3138 </cell>
3139 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3140 \begin_inset Text
3141
3142 \begin_layout Standard
3143 111
3144 \end_layout
3145
3146 \end_inset
3147 </cell>
3148 </row>
3149 <row>
3150 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3151 \begin_inset Text
3152
3153 \begin_layout Standard
3154
3155 \series bold
3156 Meneguzzo
3157 \end_layout
3158
3159 \end_inset
3160 </cell>
3161 <cell alignment="center" valignment="top" topline="true" usebox="none">
3162 \begin_inset Text
3163
3164 \begin_layout Standard
3165 Roberto
3166 \end_layout
3167
3168 \end_inset
3169 </cell>
3170 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3171 \begin_inset Text
3172
3173 \begin_layout Standard
3174 111
3175 \end_layout
3176
3177 \end_inset
3178 </cell>
3179 </row>
3180 <row>
3181 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3182 \begin_inset Text
3183
3184 \begin_layout Standard
3185
3186 \series bold
3187 Mezzadra
3188 \end_layout
3189
3190 \end_inset
3191 </cell>
3192 <cell alignment="center" valignment="top" topline="true" usebox="none">
3193 \begin_inset Text
3194
3195 \begin_layout Standard
3196 Roberto
3197 \end_layout
3198
3199 \end_inset
3200 </cell>
3201 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3202 \begin_inset Text
3203
3204 \begin_layout Standard
3205 111
3206 \end_layout
3207
3208 \end_inset
3209 </cell>
3210 </row>
3211 <row>
3212 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3213 \begin_inset Text
3214
3215 \begin_layout Standard
3216
3217 \series bold
3218 Pirpamer
3219 \end_layout
3220
3221 \end_inset
3222 </cell>
3223 <cell alignment="center" valignment="top" topline="true" usebox="none">
3224 \begin_inset Text
3225
3226 \begin_layout Standard
3227 Erich
3228 \end_layout
3229
3230 \end_inset
3231 </cell>
3232 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3233 \begin_inset Text
3234
3235 \begin_layout Standard
3236 111
3237 \end_layout
3238
3239 \end_inset
3240 </cell>
3241 </row>
3242 <row>
3243 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3244 \begin_inset Text
3245
3246 \begin_layout Standard
3247
3248 \series bold
3249 Pochiesa
3250 \end_layout
3251
3252 \end_inset
3253 </cell>
3254 <cell alignment="center" valignment="top" topline="true" usebox="none">
3255 \begin_inset Text
3256
3257 \begin_layout Standard
3258 Paolo
3259 \end_layout
3260
3261 \end_inset
3262 </cell>
3263 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3264 \begin_inset Text
3265
3266 \begin_layout Standard
3267 111, 222
3268 \end_layout
3269
3270 \end_inset
3271 </cell>
3272 </row>
3273 <row>
3274 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3275 \begin_inset Text
3276
3277 \begin_layout Standard
3278
3279 \series bold
3280 Radina
3281 \end_layout
3282
3283 \end_inset
3284 </cell>
3285 <cell alignment="center" valignment="top" topline="true" usebox="none">
3286 \begin_inset Text
3287
3288 \begin_layout Standard
3289 Claudio
3290 \end_layout
3291
3292 \end_inset
3293 </cell>
3294 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3295 \begin_inset Text
3296
3297 \begin_layout Standard
3298 111
3299 \end_layout
3300
3301 \end_inset
3302 </cell>
3303 </row>
3304 <row>
3305 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3306 \begin_inset Text
3307
3308 \begin_layout Standard
3309
3310 \series bold
3311 Stuffer
3312 \end_layout
3313
3314 \end_inset
3315 </cell>
3316 <cell alignment="center" valignment="top" topline="true" usebox="none">
3317 \begin_inset Text
3318
3319 \begin_layout Standard
3320 Oskar
3321 \end_layout
3322
3323 \end_inset
3324 </cell>
3325 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3326 \begin_inset Text
3327
3328 \begin_layout Standard
3329 111
3330 \end_layout
3331
3332 \end_inset
3333 </cell>
3334 </row>
3335 <row>
3336 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3337 \begin_inset Text
3338
3339 \begin_layout Standard
3340
3341 \series bold
3342 Tacchelli
3343 \end_layout
3344
3345 \end_inset
3346 </cell>
3347 <cell alignment="center" valignment="top" topline="true" usebox="none">
3348 \begin_inset Text
3349
3350 \begin_layout Standard
3351 Ugo
3352 \end_layout
3353
3354 \end_inset
3355 </cell>
3356 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3357 \begin_inset Text
3358
3359 \begin_layout Standard
3360 111
3361 \end_layout
3362
3363 \end_inset
3364 </cell>
3365 </row>
3366 <row>
3367 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3368 \begin_inset Text
3369
3370 \begin_layout Standard
3371
3372 \series bold
3373 Tezzele
3374 \end_layout
3375
3376 \end_inset
3377 </cell>
3378 <cell alignment="center" valignment="top" topline="true" usebox="none">
3379 \begin_inset Text
3380
3381 \begin_layout Standard
3382 Margit
3383 \end_layout
3384
3385 \end_inset
3386 </cell>
3387 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3388 \begin_inset Text
3389
3390 \begin_layout Standard
3391 111
3392 \end_layout
3393
3394 \end_inset
3395 </cell>
3396 </row>
3397 <row>
3398 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3399 \begin_inset Text
3400
3401 \begin_layout Standard
3402
3403 \series bold
3404 Unterkalmsteiner
3405 \end_layout
3406
3407 \end_inset
3408 </cell>
3409 <cell alignment="center" valignment="top" topline="true" usebox="none">
3410 \begin_inset Text
3411
3412 \begin_layout Standard
3413 Frieda
3414 \end_layout
3415
3416 \end_inset
3417 </cell>
3418 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3419 \begin_inset Text
3420
3421 \begin_layout Standard
3422 111
3423 \end_layout
3424
3425 \end_inset
3426 </cell>
3427 </row>
3428 <row>
3429 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3430 \begin_inset Text
3431
3432 \begin_layout Standard
3433
3434 \series bold
3435 Vieider
3436 \end_layout
3437
3438 \end_inset
3439 </cell>
3440 <cell alignment="center" valignment="top" topline="true" usebox="none">
3441 \begin_inset Text
3442
3443 \begin_layout Standard
3444 Hilde
3445 \end_layout
3446
3447 \end_inset
3448 </cell>
3449 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3450 \begin_inset Text
3451
3452 \begin_layout Standard
3453 111
3454 \end_layout
3455
3456 \end_inset
3457 </cell>
3458 </row>
3459 <row>
3460 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3461 \begin_inset Text
3462
3463 \begin_layout Standard
3464
3465 \series bold
3466 Vigna
3467 \end_layout
3468
3469 \end_inset
3470 </cell>
3471 <cell alignment="center" valignment="top" topline="true" usebox="none">
3472 \begin_inset Text
3473
3474 \begin_layout Standard
3475 Jürgen
3476 \end_layout
3477
3478 \end_inset
3479 </cell>
3480 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3481 \begin_inset Text
3482
3483 \begin_layout Standard
3484 111
3485 \end_layout
3486
3487 \end_inset
3488 </cell>
3489 </row>
3490 <row>
3491 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3492 \begin_inset Text
3493
3494 \begin_layout Standard
3495
3496 \series bold
3497 Weber
3498 \end_layout
3499
3500 \end_inset
3501 </cell>
3502 <cell alignment="center" valignment="top" topline="true" usebox="none">
3503 \begin_inset Text
3504
3505 \begin_layout Standard
3506 Maurizio
3507 \end_layout
3508
3509 \end_inset
3510 </cell>
3511 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3512 \begin_inset Text
3513
3514 \begin_layout Standard
3515 111
3516 \end_layout
3517
3518 \end_inset
3519 </cell>
3520 </row>
3521 <row bottomline="true">
3522 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3523 \begin_inset Text
3524
3525 \begin_layout Standard
3526
3527 \series bold
3528 Winkler
3529 \end_layout
3530
3531 \end_inset
3532 </cell>
3533 <cell alignment="center" valignment="top" topline="true" usebox="none">
3534 \begin_inset Text
3535
3536 \begin_layout Standard
3537 Franz
3538 \end_layout
3539
3540 \end_inset
3541 </cell>
3542 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3543 \begin_inset Text
3544
3545 \begin_layout Standard
3546 111
3547 \end_layout
3548
3549 \end_inset
3550 </cell>
3551 </row>
3552 <row bottomline="true">
3553 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3554 \begin_inset Text
3555
3556 \begin_layout Standard
3557  
3558 \end_layout
3559
3560 \end_inset
3561 </cell>
3562 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
3563 \begin_inset Text
3564
3565 \begin_layout Standard
3566
3567 \end_layout
3568
3569 \end_inset
3570 </cell>
3571 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3572 \begin_inset Text
3573
3574 \begin_layout Standard
3575
3576 \end_layout
3577
3578 \end_inset
3579 </cell>
3580 </row>
3581 <row>
3582 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3583 \begin_inset Text
3584
3585 \begin_layout Standard
3586
3587 \series bold
3588 Annovi
3589 \end_layout
3590
3591 \end_inset
3592 </cell>
3593 <cell alignment="center" valignment="top" topline="true" usebox="none">
3594 \begin_inset Text
3595
3596 \begin_layout Standard
3597 Silvia
3598 \end_layout
3599
3600 \end_inset
3601 </cell>
3602 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3603 \begin_inset Text
3604
3605 \begin_layout Standard
3606 555
3607 \end_layout
3608
3609 \end_inset
3610 </cell>
3611 </row>
3612 <row>
3613 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3614 \begin_inset Text
3615
3616 \begin_layout Standard
3617
3618 \series bold
3619 Bertoli
3620 \end_layout
3621
3622 \end_inset
3623 </cell>
3624 <cell alignment="center" valignment="top" topline="true" usebox="none">
3625 \begin_inset Text
3626
3627 \begin_layout Standard
3628 Stefano
3629 \end_layout
3630
3631 \end_inset
3632 </cell>
3633 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3634 \begin_inset Text
3635
3636 \begin_layout Standard
3637 555
3638 \end_layout
3639
3640 \end_inset
3641 </cell>
3642 </row>
3643 <row>
3644 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3645 \begin_inset Text
3646
3647 \begin_layout Standard
3648
3649 \series bold
3650 Bozzi
3651 \end_layout
3652
3653 \end_inset
3654 </cell>
3655 <cell alignment="center" valignment="top" topline="true" usebox="none">
3656 \begin_inset Text
3657
3658 \begin_layout Standard
3659 Walter
3660 \end_layout
3661
3662 \end_inset
3663 </cell>
3664 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3665 \begin_inset Text
3666
3667 \begin_layout Standard
3668 555
3669 \end_layout
3670
3671 \end_inset
3672 </cell>
3673 </row>
3674 <row>
3675 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3676 \begin_inset Text
3677
3678 \begin_layout Standard
3679
3680 \series bold
3681 Cachia
3682 \end_layout
3683
3684 \end_inset
3685 </cell>
3686 <cell alignment="center" valignment="top" topline="true" usebox="none">
3687 \begin_inset Text
3688
3689 \begin_layout Standard
3690 Maria
3691 \end_layout
3692
3693 \end_inset
3694 </cell>
3695 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3696 \begin_inset Text
3697
3698 \begin_layout Standard
3699 555
3700 \end_layout
3701
3702 \end_inset
3703 </cell>
3704 </row>
3705 <row>
3706 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3707 \begin_inset Text
3708
3709 \begin_layout Standard
3710
3711 \series bold
3712 Cachia
3713 \end_layout
3714
3715 \end_inset
3716 </cell>
3717 <cell alignment="center" valignment="top" topline="true" usebox="none">
3718 \begin_inset Text
3719
3720 \begin_layout Standard
3721 Maurizio
3722 \end_layout
3723
3724 \end_inset
3725 </cell>
3726 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3727 \begin_inset Text
3728
3729 \begin_layout Standard
3730 555
3731 \end_layout
3732
3733 \end_inset
3734 </cell>
3735 </row>
3736 <row>
3737 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3738 \begin_inset Text
3739
3740 \begin_layout Standard
3741
3742 \series bold
3743 Cinquemani
3744 \end_layout
3745
3746 \end_inset
3747 </cell>
3748 <cell alignment="center" valignment="top" topline="true" usebox="none">
3749 \begin_inset Text
3750
3751 \begin_layout Standard
3752 Giusi
3753 \end_layout
3754
3755 \end_inset
3756 </cell>
3757 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3758 \begin_inset Text
3759
3760 \begin_layout Standard
3761 555
3762 \end_layout
3763
3764 \end_inset
3765 </cell>
3766 </row>
3767 <row>
3768 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3769 \begin_inset Text
3770
3771 \begin_layout Standard
3772
3773 \series bold
3774 Colin
3775 \end_layout
3776
3777 \end_inset
3778 </cell>
3779 <cell alignment="center" valignment="top" topline="true" usebox="none">
3780 \begin_inset Text
3781
3782 \begin_layout Standard
3783 Bernard
3784 \end_layout
3785
3786 \end_inset
3787 </cell>
3788 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3789 \begin_inset Text
3790
3791 \begin_layout Standard
3792 555
3793 \end_layout
3794
3795 \end_inset
3796 </cell>
3797 </row>
3798 <row>
3799 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3800 \begin_inset Text
3801
3802 \begin_layout Standard
3803
3804 \series bold
3805 Concli
3806 \end_layout
3807
3808 \end_inset
3809 </cell>
3810 <cell alignment="center" valignment="top" topline="true" usebox="none">
3811 \begin_inset Text
3812
3813 \begin_layout Standard
3814 Gianfranco
3815 \end_layout
3816
3817 \end_inset
3818 </cell>
3819 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3820 \begin_inset Text
3821
3822 \begin_layout Standard
3823 555
3824 \end_layout
3825
3826 \end_inset
3827 </cell>
3828 </row>
3829 <row>
3830 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3831 \begin_inset Text
3832
3833 \begin_layout Standard
3834
3835 \series bold
3836 Dal Bosco
3837 \end_layout
3838
3839 \end_inset
3840 </cell>
3841 <cell alignment="center" valignment="top" topline="true" usebox="none">
3842 \begin_inset Text
3843
3844 \begin_layout Standard
3845 Carolina
3846 \end_layout
3847
3848 \end_inset
3849 </cell>
3850 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3851 \begin_inset Text
3852
3853 \begin_layout Standard
3854 555
3855 \end_layout
3856
3857 \end_inset
3858 </cell>
3859 </row>
3860 <row>
3861 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3862 \begin_inset Text
3863
3864 \begin_layout Standard
3865
3866 \series bold
3867 Dalpiaz
3868 \end_layout
3869
3870 \end_inset
3871 </cell>
3872 <cell alignment="center" valignment="top" topline="true" usebox="none">
3873 \begin_inset Text
3874
3875 \begin_layout Standard
3876 Annamaria
3877 \end_layout
3878
3879 \end_inset
3880 </cell>
3881 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3882 \begin_inset Text
3883
3884 \begin_layout Standard
3885 555
3886 \end_layout
3887
3888 \end_inset
3889 </cell>
3890 </row>
3891 <row>
3892 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3893 \begin_inset Text
3894
3895 \begin_layout Standard
3896
3897 \series bold
3898 Feliciello
3899 \end_layout
3900
3901 \end_inset
3902 </cell>
3903 <cell alignment="center" valignment="top" topline="true" usebox="none">
3904 \begin_inset Text
3905
3906 \begin_layout Standard
3907 Domenico
3908 \end_layout
3909
3910 \end_inset
3911 </cell>
3912 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3913 \begin_inset Text
3914
3915 \begin_layout Standard
3916 555
3917 \end_layout
3918
3919 \end_inset
3920 </cell>
3921 </row>
3922 <row>
3923 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3924 \begin_inset Text
3925
3926 \begin_layout Standard
3927
3928 \series bold
3929 Focarelli
3930 \end_layout
3931
3932 \end_inset
3933 </cell>
3934 <cell alignment="center" valignment="top" topline="true" usebox="none">
3935 \begin_inset Text
3936
3937 \begin_layout Standard
3938 Paola
3939 \end_layout
3940
3941 \end_inset
3942 </cell>
3943 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3944 \begin_inset Text
3945
3946 \begin_layout Standard
3947 555
3948 \end_layout
3949
3950 \end_inset
3951 </cell>
3952 </row>
3953 <row>
3954 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3955 \begin_inset Text
3956
3957 \begin_layout Standard
3958
3959 \series bold
3960 Galletti
3961 \end_layout
3962
3963 \end_inset
3964 </cell>
3965 <cell alignment="center" valignment="top" topline="true" usebox="none">
3966 \begin_inset Text
3967
3968 \begin_layout Standard
3969 Oreste
3970 \end_layout
3971
3972 \end_inset
3973 </cell>
3974 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3975 \begin_inset Text
3976
3977 \begin_layout Standard
3978 555
3979 \end_layout
3980
3981 \end_inset
3982 </cell>
3983 </row>
3984 <row>
3985 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3986 \begin_inset Text
3987
3988 \begin_layout Standard
3989
3990 \series bold
3991 Gasparini
3992 \end_layout
3993
3994 \end_inset
3995 </cell>
3996 <cell alignment="center" valignment="top" topline="true" usebox="none">
3997 \begin_inset Text
3998
3999 \begin_layout Standard
4000 Franca
4001 \end_layout
4002
4003 \end_inset
4004 </cell>
4005 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4006 \begin_inset Text
4007
4008 \begin_layout Standard
4009 555
4010 \end_layout
4011
4012 \end_inset
4013 </cell>
4014 </row>
4015 <row>
4016 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4017 \begin_inset Text
4018
4019 \begin_layout Standard
4020
4021 \series bold
4022 Rizzardi
4023 \end_layout
4024
4025 \end_inset
4026 </cell>
4027 <cell alignment="center" valignment="top" topline="true" usebox="none">
4028 \begin_inset Text
4029
4030 \begin_layout Standard
4031 Paola
4032 \end_layout
4033
4034 \end_inset
4035 </cell>
4036 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4037 \begin_inset Text
4038
4039 \begin_layout Standard
4040 555
4041 \end_layout
4042
4043 \end_inset
4044 </cell>
4045 </row>
4046 <row>
4047 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4048 \begin_inset Text
4049
4050 \begin_layout Standard
4051
4052 \series bold
4053 Lassini
4054 \end_layout
4055
4056 \end_inset
4057 </cell>
4058 <cell alignment="center" valignment="top" topline="true" usebox="none">
4059 \begin_inset Text
4060
4061 \begin_layout Standard
4062 Giancarlo
4063 \end_layout
4064
4065 \end_inset
4066 </cell>
4067 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4068 \begin_inset Text
4069
4070 \begin_layout Standard
4071 555
4072 \end_layout
4073
4074 \end_inset
4075 </cell>
4076 </row>
4077 <row>
4078 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4079 \begin_inset Text
4080
4081 \begin_layout Standard
4082
4083 \series bold
4084 Malfatti
4085 \end_layout
4086
4087 \end_inset
4088 </cell>
4089 <cell alignment="center" valignment="top" topline="true" usebox="none">
4090 \begin_inset Text
4091
4092 \begin_layout Standard
4093 Luciano
4094 \end_layout
4095
4096 \end_inset
4097 </cell>
4098 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4099 \begin_inset Text
4100
4101 \begin_layout Standard
4102 555
4103 \end_layout
4104
4105 \end_inset
4106 </cell>
4107 </row>
4108 <row>
4109 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4110 \begin_inset Text
4111
4112 \begin_layout Standard
4113
4114 \series bold
4115 Malfatti
4116 \end_layout
4117
4118 \end_inset
4119 </cell>
4120 <cell alignment="center" valignment="top" topline="true" usebox="none">
4121 \begin_inset Text
4122
4123 \begin_layout Standard
4124 Valeriano
4125 \end_layout
4126
4127 \end_inset
4128 </cell>
4129 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4130 \begin_inset Text
4131
4132 \begin_layout Standard
4133 555
4134 \end_layout
4135
4136 \end_inset
4137 </cell>
4138 </row>
4139 <row>
4140 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4141 \begin_inset Text
4142
4143 \begin_layout Standard
4144
4145 \series bold
4146 Meneguzzo
4147 \end_layout
4148
4149 \end_inset
4150 </cell>
4151 <cell alignment="center" valignment="top" topline="true" usebox="none">
4152 \begin_inset Text
4153
4154 \begin_layout Standard
4155 Roberto
4156 \end_layout
4157
4158 \end_inset
4159 </cell>
4160 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4161 \begin_inset Text
4162
4163 \begin_layout Standard
4164 555
4165 \end_layout
4166
4167 \end_inset
4168 </cell>
4169 </row>
4170 <row>
4171 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4172 \begin_inset Text
4173
4174 \begin_layout Standard
4175
4176 \series bold
4177 Mezzadra
4178 \end_layout
4179
4180 \end_inset
4181 </cell>
4182 <cell alignment="center" valignment="top" topline="true" usebox="none">
4183 \begin_inset Text
4184
4185 \begin_layout Standard
4186 Roberto
4187 \end_layout
4188
4189 \end_inset
4190 </cell>
4191 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4192 \begin_inset Text
4193
4194 \begin_layout Standard
4195 555
4196 \end_layout
4197
4198 \end_inset
4199 </cell>
4200 </row>
4201 <row>
4202 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4203 \begin_inset Text
4204
4205 \begin_layout Standard
4206
4207 \series bold
4208 Pirpamer
4209 \end_layout
4210
4211 \end_inset
4212 </cell>
4213 <cell alignment="center" valignment="top" topline="true" usebox="none">
4214 \begin_inset Text
4215
4216 \begin_layout Standard
4217 Erich
4218 \end_layout
4219
4220 \end_inset
4221 </cell>
4222 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4223 \begin_inset Text
4224
4225 \begin_layout Standard
4226 555
4227 \end_layout
4228
4229 \end_inset
4230 </cell>
4231 </row>
4232 <row>
4233 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4234 \begin_inset Text
4235
4236 \begin_layout Standard
4237
4238 \series bold
4239 Pochiesa
4240 \end_layout
4241
4242 \end_inset
4243 </cell>
4244 <cell alignment="center" valignment="top" topline="true" usebox="none">
4245 \begin_inset Text
4246
4247 \begin_layout Standard
4248 Paolo
4249 \end_layout
4250
4251 \end_inset
4252 </cell>
4253 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4254 \begin_inset Text
4255
4256 \begin_layout Standard
4257 555, 222
4258 \end_layout
4259
4260 \end_inset
4261 </cell>
4262 </row>
4263 <row>
4264 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4265 \begin_inset Text
4266
4267 \begin_layout Standard
4268
4269 \series bold
4270 Radina
4271 \end_layout
4272
4273 \end_inset
4274 </cell>
4275 <cell alignment="center" valignment="top" topline="true" usebox="none">
4276 \begin_inset Text
4277
4278 \begin_layout Standard
4279 Claudio
4280 \end_layout
4281
4282 \end_inset
4283 </cell>
4284 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4285 \begin_inset Text
4286
4287 \begin_layout Standard
4288 555
4289 \end_layout
4290
4291 \end_inset
4292 </cell>
4293 </row>
4294 <row>
4295 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4296 \begin_inset Text
4297
4298 \begin_layout Standard
4299
4300 \series bold
4301 Stuffer
4302 \end_layout
4303
4304 \end_inset
4305 </cell>
4306 <cell alignment="center" valignment="top" topline="true" usebox="none">
4307 \begin_inset Text
4308
4309 \begin_layout Standard
4310 Oskar
4311 \end_layout
4312
4313 \end_inset
4314 </cell>
4315 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4316 \begin_inset Text
4317
4318 \begin_layout Standard
4319 555
4320 \end_layout
4321
4322 \end_inset
4323 </cell>
4324 </row>
4325 <row>
4326 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4327 \begin_inset Text
4328
4329 \begin_layout Standard
4330
4331 \series bold
4332 Tacchelli
4333 \end_layout
4334
4335 \end_inset
4336 </cell>
4337 <cell alignment="center" valignment="top" topline="true" usebox="none">
4338 \begin_inset Text
4339
4340 \begin_layout Standard
4341 Ugo
4342 \end_layout
4343
4344 \end_inset
4345 </cell>
4346 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4347 \begin_inset Text
4348
4349 \begin_layout Standard
4350 555
4351 \end_layout
4352
4353 \end_inset
4354 </cell>
4355 </row>
4356 <row>
4357 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4358 \begin_inset Text
4359
4360 \begin_layout Standard
4361
4362 \series bold
4363 Tezzele
4364 \end_layout
4365
4366 \end_inset
4367 </cell>
4368 <cell alignment="center" valignment="top" topline="true" usebox="none">
4369 \begin_inset Text
4370
4371 \begin_layout Standard
4372 Margit
4373 \end_layout
4374
4375 \end_inset
4376 </cell>
4377 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4378 \begin_inset Text
4379
4380 \begin_layout Standard
4381 555
4382 \end_layout
4383
4384 \end_inset
4385 </cell>
4386 </row>
4387 <row>
4388 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4389 \begin_inset Text
4390
4391 \begin_layout Standard
4392
4393 \series bold
4394 Unterkalmsteiner
4395 \end_layout
4396
4397 \end_inset
4398 </cell>
4399 <cell alignment="center" valignment="top" topline="true" usebox="none">
4400 \begin_inset Text
4401
4402 \begin_layout Standard
4403 Frieda
4404 \end_layout
4405
4406 \end_inset
4407 </cell>
4408 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4409 \begin_inset Text
4410
4411 \begin_layout Standard
4412 555
4413 \end_layout
4414
4415 \end_inset
4416 </cell>
4417 </row>
4418 <row>
4419 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4420 \begin_inset Text
4421
4422 \begin_layout Standard
4423
4424 \series bold
4425 Vieider
4426 \end_layout
4427
4428 \end_inset
4429 </cell>
4430 <cell alignment="center" valignment="top" topline="true" usebox="none">
4431 \begin_inset Text
4432
4433 \begin_layout Standard
4434 Hilde
4435 \end_layout
4436
4437 \end_inset
4438 </cell>
4439 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4440 \begin_inset Text
4441
4442 \begin_layout Standard
4443 555
4444 \end_layout
4445
4446 \end_inset
4447 </cell>
4448 </row>
4449 <row>
4450 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4451 \begin_inset Text
4452
4453 \begin_layout Standard
4454
4455 \series bold
4456 Vigna
4457 \end_layout
4458
4459 \end_inset
4460 </cell>
4461 <cell alignment="center" valignment="top" topline="true" usebox="none">
4462 \begin_inset Text
4463
4464 \begin_layout Standard
4465 Jürgen
4466 \end_layout
4467
4468 \end_inset
4469 </cell>
4470 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4471 \begin_inset Text
4472
4473 \begin_layout Standard
4474 999
4475 \end_layout
4476
4477 \end_inset
4478 </cell>
4479 </row>
4480 <row>
4481 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4482 \begin_inset Text
4483
4484 \begin_layout Standard
4485
4486 \series bold
4487 Weber
4488 \end_layout
4489
4490 \end_inset
4491 </cell>
4492 <cell alignment="center" valignment="top" topline="true" usebox="none">
4493 \begin_inset Text
4494
4495 \begin_layout Standard
4496 Maurizio
4497 \end_layout
4498
4499 \end_inset
4500 </cell>
4501 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4502 \begin_inset Text
4503
4504 \begin_layout Standard
4505 555
4506 \end_layout
4507
4508 \end_inset
4509 </cell>
4510 </row>
4511 <row bottomline="true">
4512 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4513 \begin_inset Text
4514
4515 \begin_layout Standard
4516
4517 \series bold
4518 Winkler
4519 \end_layout
4520
4521 \end_inset
4522 </cell>
4523 <cell alignment="center" valignment="top" topline="true" usebox="none">
4524 \begin_inset Text
4525
4526 \begin_layout Standard
4527 Franz
4528 \end_layout
4529
4530 \end_inset
4531 </cell>
4532 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4533 \begin_inset Text
4534
4535 \begin_layout Standard
4536 555
4537 \end_layout
4538
4539 \end_inset
4540 </cell>
4541 </row>
4542 <row bottomline="true" endlastfoot="true">
4543 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
4544 \begin_inset Text
4545
4546 \begin_layout Standard
4547 end
4548 \end_layout
4549
4550 \end_inset
4551 </cell>
4552 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4553 \begin_inset Text
4554
4555 \begin_layout Standard
4556
4557 \end_layout
4558
4559 \end_inset
4560 </cell>
4561 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4562 \begin_inset Text
4563
4564 \begin_layout Standard
4565
4566 \end_layout
4567
4568 \end_inset
4569 </cell>
4570 </row>
4571 </lyxtabular>
4572
4573 \end_inset
4574
4575
4576 \begin_inset ERT
4577 status collapsed
4578
4579 \begin_layout Standard
4580
4581
4582 \backslash
4583 addtocounter{table}{-1}
4584 \end_layout
4585
4586 \end_inset
4587
4588
4589 \begin_inset Note Note
4590 status collapsed
4591
4592 \begin_layout Standard
4593 See greyed-out note in section 2.6.2 for an explanation of this command.
4594 \end_layout
4595
4596 \end_inset
4597
4598
4599 \end_layout
4600
4601 \begin_layout Subsection
4602 Footnotes in Longtables
4603 \begin_inset LatexCommand label
4604 name "sub:Footnotes-in-Longtables"
4605
4606 \end_inset
4607
4608
4609 \begin_inset LatexCommand index
4610 name "Longtables ! Footnotes"
4611
4612 \end_inset
4613
4614
4615 \end_layout
4616
4617 \begin_layout Standard
4618 Footnotes can be inserted to every longtable cell.
4619  They appear at the bottom of the page where the table cell with the footnote
4620  appears.
4621  Table\InsetSpace ~
4622
4623 \begin_inset LatexCommand ref
4624 reference "tab:DiffCaptions"
4625
4626 \end_inset
4627
4628  has for example a footnote.
4629 \end_layout
4630
4631 \begin_layout Subsection
4632 Longtable Captions
4633 \begin_inset LatexCommand index
4634 name "Longtables ! Captions"
4635
4636 \end_inset
4637
4638
4639 \end_layout
4640
4641 \begin_layout Standard
4642 A longtable cannot be put into a table float because floats can only be
4643  on one page but the caption environment of floats can also be used for
4644  longtables.
4645 \end_layout
4646
4647 \begin_layout Standard
4648 As LyX does not yet fully support captions in longtables, a hack is needed
4649  to create them:
4650 \end_layout
4651
4652 \begin_layout Enumerate
4653 Create a longtable
4654 \family sans
4655 .
4656 \end_layout
4657
4658 \begin_layout Enumerate
4659 Mark the first row and disable its upper line.
4660 \end_layout
4661
4662 \begin_layout Enumerate
4663 Insert a caption via the menu 
4664 \family sans
4665 Insert\SpecialChar \menuseparator
4666 Caption
4667 \family default
4668  into the first table cell.
4669 \newline
4670 You can also add a short title for the caption.
4671 \end_layout
4672
4673 \begin_layout Enumerate
4674 Insert a 
4675 \begin_inset Quotes eld
4676 \end_inset
4677
4678
4679 \series bold
4680
4681 \backslash
4682
4683 \backslash
4684 %
4685 \series default
4686
4687 \begin_inset Quotes erd
4688 \end_inset
4689
4690  as ERT behind the caption.
4691 \end_layout
4692
4693 \begin_layout Standard
4694 A short title that will appear in the LOT instead of the full title.
4695  The 
4696 \series bold
4697
4698 \backslash
4699
4700 \backslash
4701 %
4702 \series default
4703  behind the caption omits the vertical lines between the following cells
4704  in the row.
4705  The first table row is now only a dummy row for the caption, the actual
4706  table starts with the second row.
4707 \end_layout
4708
4709 \begin_layout Standard
4710 Here is a short longtable to see how it works:
4711 \end_layout
4712
4713 \begin_layout Standard
4714 \begin_inset Tabular
4715 <lyxtabular version="3" rows="6" columns="5">
4716 <features islongtable="true">
4717 <column alignment="center" valignment="top" leftline="true" width="0">
4718 <column alignment="center" valignment="top" leftline="true" width="0">
4719 <column alignment="center" valignment="top" leftline="true" width="0">
4720 <column alignment="center" valignment="top" leftline="true" width="0">
4721 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
4722 <row>
4723 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4724 \begin_inset Text
4725
4726 \begin_layout Standard
4727 \begin_inset Caption
4728
4729 \begin_layout Standard
4730 Longtable with caption
4731 \begin_inset OptArg
4732 status open
4733
4734 \begin_layout Standard
4735 Longtable
4736 \end_layout
4737
4738 \end_inset
4739
4740
4741 \end_layout
4742
4743 \end_inset
4744
4745
4746 \begin_inset ERT
4747 status collapsed
4748
4749 \begin_layout Standard
4750
4751
4752 \backslash
4753
4754 \backslash
4755 %
4756 \end_layout
4757
4758 \end_inset
4759
4760
4761 \end_layout
4762
4763 \end_inset
4764 </cell>
4765 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4766 \begin_inset Text
4767
4768 \begin_layout Standard
4769
4770 \end_layout
4771
4772 \end_inset
4773 </cell>
4774 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4775 \begin_inset Text
4776
4777 \begin_layout Standard
4778
4779 \end_layout
4780
4781 \end_inset
4782 </cell>
4783 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4784 \begin_inset Text
4785
4786 \begin_layout Standard
4787
4788 \end_layout
4789
4790 \end_inset
4791 </cell>
4792 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4793 \begin_inset Text
4794
4795 \begin_layout Standard
4796
4797 \end_layout
4798
4799 \end_inset
4800 </cell>
4801 </row>
4802 <row topline="true">
4803 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4804 \begin_inset Text
4805
4806 \begin_layout Standard
4807 1
4808 \end_layout
4809
4810 \end_inset
4811 </cell>
4812 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4813 \begin_inset Text
4814
4815 \begin_layout Standard
4816 2
4817 \end_layout
4818
4819 \end_inset
4820 </cell>
4821 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4822 \begin_inset Text
4823
4824 \begin_layout Standard
4825 3
4826 \end_layout
4827
4828 \end_inset
4829 </cell>
4830 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4831 \begin_inset Text
4832
4833 \begin_layout Standard
4834 4
4835 \end_layout
4836
4837 \end_inset
4838 </cell>
4839 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4840 \begin_inset Text
4841
4842 \begin_layout Standard
4843 5
4844 \end_layout
4845
4846 \end_inset
4847 </cell>
4848 </row>
4849 <row topline="true">
4850 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4851 \begin_inset Text
4852
4853 \begin_layout Standard
4854 asd
4855 \end_layout
4856
4857 \end_inset
4858 </cell>
4859 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4860 \begin_inset Text
4861
4862 \begin_layout Standard
4863 s
4864 \end_layout
4865
4866 \end_inset
4867 </cell>
4868 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4869 \begin_inset Text
4870
4871 \begin_layout Standard
4872 s
4873 \end_layout
4874
4875 \end_inset
4876 </cell>
4877 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4878 \begin_inset Text
4879
4880 \begin_layout Standard
4881 s
4882 \end_layout
4883
4884 \end_inset
4885 </cell>
4886 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4887 \begin_inset Text
4888
4889 \begin_layout Standard
4890 asd
4891 \end_layout
4892
4893 \end_inset
4894 </cell>
4895 </row>
4896 <row topline="true">
4897 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4898 \begin_inset Text
4899
4900 \begin_layout Standard
4901 asd
4902 \end_layout
4903
4904 \end_inset
4905 </cell>
4906 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4907 \begin_inset Text
4908
4909 \begin_layout Standard
4910 s
4911 \end_layout
4912
4913 \end_inset
4914 </cell>
4915 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4916 \begin_inset Text
4917
4918 \begin_layout Standard
4919 s
4920 \end_layout
4921
4922 \end_inset
4923 </cell>
4924 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4925 \begin_inset Text
4926
4927 \begin_layout Standard
4928 s
4929 \end_layout
4930
4931 \end_inset
4932 </cell>
4933 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4934 \begin_inset Text
4935
4936 \begin_layout Standard
4937 asd
4938 \end_layout
4939
4940 \end_inset
4941 </cell>
4942 </row>
4943 <row topline="true">
4944 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4945 \begin_inset Text
4946
4947 \begin_layout Standard
4948 asd
4949 \end_layout
4950
4951 \end_inset
4952 </cell>
4953 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4954 \begin_inset Text
4955
4956 \begin_layout Standard
4957 s
4958 \end_layout
4959
4960 \end_inset
4961 </cell>
4962 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4963 \begin_inset Text
4964
4965 \begin_layout Standard
4966 s
4967 \end_layout
4968
4969 \end_inset
4970 </cell>
4971 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4972 \begin_inset Text
4973
4974 \begin_layout Standard
4975 s
4976 \end_layout
4977
4978 \end_inset
4979 </cell>
4980 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4981 \begin_inset Text
4982
4983 \begin_layout Standard
4984 asd
4985 \end_layout
4986
4987 \end_inset
4988 </cell>
4989 </row>
4990 <row topline="true" bottomline="true">
4991 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4992 \begin_inset Text
4993
4994 \begin_layout Standard
4995 asd
4996 \end_layout
4997
4998 \end_inset
4999 </cell>
5000 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5001 \begin_inset Text
5002
5003 \begin_layout Standard
5004 asd
5005 \end_layout
5006
5007 \end_inset
5008 </cell>
5009 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5010 \begin_inset Text
5011
5012 \begin_layout Standard
5013 asd
5014 \end_layout
5015
5016 \end_inset
5017 </cell>
5018 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5019 \begin_inset Text
5020
5021 \begin_layout Standard
5022 asd
5023 \end_layout
5024
5025 \end_inset
5026 </cell>
5027 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5028 \begin_inset Text
5029
5030 \begin_layout Standard
5031 asd
5032 \end_layout
5033
5034 \end_inset
5035 </cell>
5036 </row>
5037 </lyxtabular>
5038
5039 \end_inset
5040
5041
5042 \end_layout
5043
5044 \begin_layout Standard
5045 \begin_inset VSpace medskip
5046 \end_inset
5047
5048
5049 \begin_inset Note Greyedout
5050 status open
5051
5052 \begin_layout Standard
5053
5054 \series bold
5055 Note:
5056 \series default
5057  The table number is increased for every longtable, also if you didn't set
5058  a caption for it.
5059  For this reason you could have the case that e.g.
5060  Table\InsetSpace ~
5061 2.4 follows on Table\InsetSpace ~
5062 2.1 in the list of tables if there are two longtables
5063  without captions.
5064  To avoid this you can add the following command in ERT behind every longtable
5065  without a caption:
5066 \end_layout
5067
5068 \begin_layout Standard
5069
5070 \series bold
5071
5072 \backslash
5073 addtocounter{table}{-1}
5074 \end_layout
5075
5076 \end_inset
5077
5078
5079 \end_layout
5080
5081 \begin_layout Standard
5082 \begin_inset Note Greyedout
5083 status open
5084
5085 \begin_layout Standard
5086
5087 \series bold
5088 Note:
5089 \series default
5090  If you are using the LaTeX-package 
5091 \series bold
5092 hyperref
5093 \series default
5094
5095 \begin_inset LatexCommand index
5096 name "LaTeX-packages ! hyperref"
5097
5098 \end_inset
5099
5100  to link cross-references, the link to a longtable caption will always point
5101  to the beginning of the document.
5102 \end_layout
5103
5104 \end_inset
5105
5106
5107 \end_layout
5108
5109 \begin_layout Subsubsection
5110 References to Longtables
5111 \begin_inset LatexCommand index
5112 name "Longtables ! References"
5113
5114 \end_inset
5115
5116
5117 \end_layout
5118
5119 \begin_layout Standard
5120 \begin_inset Tabular
5121 <lyxtabular version="3" rows="6" columns="5">
5122 <features islongtable="true">
5123 <column alignment="center" valignment="top" leftline="true" width="0">
5124 <column alignment="center" valignment="top" leftline="true" width="0">
5125 <column alignment="center" valignment="top" leftline="true" width="0">
5126 <column alignment="center" valignment="top" leftline="true" width="0">
5127 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5128 <row>
5129 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5130 \begin_inset Text
5131
5132 \begin_layout Standard
5133 \begin_inset Caption
5134
5135 \begin_layout Standard
5136 Referenced longtable
5137 \begin_inset LatexCommand label
5138 name "tab:RefExample"
5139
5140 \end_inset
5141
5142
5143 \end_layout
5144
5145 \end_inset
5146
5147
5148 \begin_inset ERT
5149 status collapsed
5150
5151 \begin_layout Standard
5152
5153
5154 \backslash
5155
5156 \backslash
5157 %
5158 \end_layout
5159
5160 \end_inset
5161
5162
5163 \end_layout
5164
5165 \end_inset
5166 </cell>
5167 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5168 \begin_inset Text
5169
5170 \begin_layout Standard
5171
5172 \end_layout
5173
5174 \end_inset
5175 </cell>
5176 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5177 \begin_inset Text
5178
5179 \begin_layout Standard
5180
5181 \end_layout
5182
5183 \end_inset
5184 </cell>
5185 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5186 \begin_inset Text
5187
5188 \begin_layout Standard
5189
5190 \end_layout
5191
5192 \end_inset
5193 </cell>
5194 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5195 \begin_inset Text
5196
5197 \begin_layout Standard
5198
5199 \end_layout
5200
5201 \end_inset
5202 </cell>
5203 </row>
5204 <row topline="true">
5205 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5206 \begin_inset Text
5207
5208 \begin_layout Standard
5209 1
5210 \end_layout
5211
5212 \end_inset
5213 </cell>
5214 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5215 \begin_inset Text
5216
5217 \begin_layout Standard
5218 2
5219 \end_layout
5220
5221 \end_inset
5222 </cell>
5223 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5224 \begin_inset Text
5225
5226 \begin_layout Standard
5227 3
5228 \end_layout
5229
5230 \end_inset
5231 </cell>
5232 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5233 \begin_inset Text
5234
5235 \begin_layout Standard
5236 4
5237 \end_layout
5238
5239 \end_inset
5240 </cell>
5241 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5242 \begin_inset Text
5243
5244 \begin_layout Standard
5245 5
5246 \end_layout
5247
5248 \end_inset
5249 </cell>
5250 </row>
5251 <row topline="true">
5252 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5253 \begin_inset Text
5254
5255 \begin_layout Standard
5256 asd
5257 \end_layout
5258
5259 \end_inset
5260 </cell>
5261 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5262 \begin_inset Text
5263
5264 \begin_layout Standard
5265 s
5266 \end_layout
5267
5268 \end_inset
5269 </cell>
5270 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5271 \begin_inset Text
5272
5273 \begin_layout Standard
5274 s
5275 \end_layout
5276
5277 \end_inset
5278 </cell>
5279 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5280 \begin_inset Text
5281
5282 \begin_layout Standard
5283 s
5284 \end_layout
5285
5286 \end_inset
5287 </cell>
5288 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5289 \begin_inset Text
5290
5291 \begin_layout Standard
5292 asd
5293 \end_layout
5294
5295 \end_inset
5296 </cell>
5297 </row>
5298 <row topline="true">
5299 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5300 \begin_inset Text
5301
5302 \begin_layout Standard
5303 asd
5304 \end_layout
5305
5306 \end_inset
5307 </cell>
5308 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5309 \begin_inset Text
5310
5311 \begin_layout Standard
5312 s
5313 \end_layout
5314
5315 \end_inset
5316 </cell>
5317 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5318 \begin_inset Text
5319
5320 \begin_layout Standard
5321 s
5322 \end_layout
5323
5324 \end_inset
5325 </cell>
5326 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5327 \begin_inset Text
5328
5329 \begin_layout Standard
5330 s
5331 \end_layout
5332
5333 \end_inset
5334 </cell>
5335 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5336 \begin_inset Text
5337
5338 \begin_layout Standard
5339 asd
5340 \end_layout
5341
5342 \end_inset
5343 </cell>
5344 </row>
5345 <row topline="true">
5346 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5347 \begin_inset Text
5348
5349 \begin_layout Standard
5350 asd
5351 \end_layout
5352
5353 \end_inset
5354 </cell>
5355 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5356 \begin_inset Text
5357
5358 \begin_layout Standard
5359 s
5360 \end_layout
5361
5362 \end_inset
5363 </cell>
5364 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5365 \begin_inset Text
5366
5367 \begin_layout Standard
5368 s
5369 \end_layout
5370
5371 \end_inset
5372 </cell>
5373 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5374 \begin_inset Text
5375
5376 \begin_layout Standard
5377 s
5378 \end_layout
5379
5380 \end_inset
5381 </cell>
5382 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5383 \begin_inset Text
5384
5385 \begin_layout Standard
5386 asd
5387 \end_layout
5388
5389 \end_inset
5390 </cell>
5391 </row>
5392 <row topline="true" bottomline="true">
5393 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5394 \begin_inset Text
5395
5396 \begin_layout Standard
5397 asd
5398 \end_layout
5399
5400 \end_inset
5401 </cell>
5402 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5403 \begin_inset Text
5404
5405 \begin_layout Standard
5406 sad
5407 \end_layout
5408
5409 \end_inset
5410 </cell>
5411 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5412 \begin_inset Text
5413
5414 \begin_layout Standard
5415 asd
5416 \end_layout
5417
5418 \end_inset
5419 </cell>
5420 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5421 \begin_inset Text
5422
5423 \begin_layout Standard
5424 asd
5425 \end_layout
5426
5427 \end_inset
5428 </cell>
5429 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5430 \begin_inset Text
5431
5432 \begin_layout Standard
5433 asd
5434 \end_layout
5435
5436 \end_inset
5437 </cell>
5438 </row>
5439 </lyxtabular>
5440
5441 \end_inset
5442
5443
5444 \end_layout
5445
5446 \begin_layout Standard
5447 To reference a longtable, insert a label into the caption.
5448  Note that you have to add the label prefix 
5449 \begin_inset Quotes eld
5450 \end_inset
5451
5452
5453 \emph on
5454 tab:
5455 \emph default
5456
5457 \begin_inset Quotes eld
5458 \end_inset
5459
5460  manually in the label field.
5461 \end_layout
5462
5463 \begin_layout Standard
5464 This is a reference to Table\InsetSpace ~
5465
5466 \begin_inset LatexCommand ref
5467 reference "tab:RefExample"
5468
5469 \end_inset
5470
5471 .
5472 \end_layout
5473
5474 \begin_layout Standard
5475 The caption layout can be set together with all other caption of your document
5476  using the LaTeX-package 
5477 \series bold
5478 caption
5479 \series default
5480
5481 \begin_inset LatexCommand index
5482 name "LaTeX-packages ! caption"
5483
5484 \end_inset
5485
5486 , see section\InsetSpace ~
5487
5488 \begin_inset LatexCommand ref
5489 reference "sec:Caption-Formatting"
5490
5491 \end_inset
5492
5493 .
5494 \end_layout
5495
5496 \begin_layout Subsubsection
5497 Caption Width
5498 \begin_inset LatexCommand index
5499 name "Longtables ! Caption Width"
5500
5501 \end_inset
5502
5503
5504 \end_layout
5505
5506 \begin_layout Standard
5507 The maximal width of of caption lines is defined by the length 
5508 \series bold
5509
5510 \backslash
5511 LTcapwidth
5512 \series default
5513 .
5514  Its default value is 4\InsetSpace \thinspace{}
5515 in.
5516  To change it add the following command to your document preamble or as
5517  ERT into your document before the longtable that should be affected
5518 \end_layout
5519
5520 \begin_layout Standard
5521
5522 \series bold
5523
5524 \backslash
5525 setlength{
5526 \backslash
5527 LTcapwidth}{width}
5528 \end_layout
5529
5530 \begin_layout Standard
5531 where the width could have one of the units listed in appendix\InsetSpace ~
5532
5533 \begin_inset LatexCommand ref
5534 reference "cha:Units-available-in"
5535
5536 \end_inset
5537
5538 .
5539 \end_layout
5540
5541 \begin_layout Standard
5542 The following tables show the difference:
5543 \end_layout
5544
5545 \begin_layout Standard
5546 \begin_inset Tabular
5547 <lyxtabular version="3" rows="6" columns="5">
5548 <features islongtable="true">
5549 <column alignment="center" valignment="top" leftline="true" width="0">
5550 <column alignment="center" valignment="top" leftline="true" width="0">
5551 <column alignment="center" valignment="top" leftline="true" width="0">
5552 <column alignment="center" valignment="top" leftline="true" width="0">
5553 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5554 <row>
5555 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5556 \begin_inset Text
5557
5558 \begin_layout Standard
5559 \begin_inset Caption
5560
5561 \begin_layout Standard
5562 long full title with default width long full title with default width long
5563  full title with default width
5564 \begin_inset OptArg
5565 status collapsed
5566
5567 \begin_layout Standard
5568 caption with default width
5569 \end_layout
5570
5571 \end_inset
5572
5573
5574 \end_layout
5575
5576 \end_inset
5577
5578
5579 \begin_inset ERT
5580 status collapsed
5581
5582 \begin_layout Standard
5583
5584
5585 \backslash
5586
5587 \backslash
5588 %
5589 \end_layout
5590
5591 \end_inset
5592
5593
5594 \end_layout
5595
5596 \end_inset
5597 </cell>
5598 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5599 \begin_inset Text
5600
5601 \begin_layout Standard
5602
5603 \end_layout
5604
5605 \end_inset
5606 </cell>
5607 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5608 \begin_inset Text
5609
5610 \begin_layout Standard
5611
5612 \end_layout
5613
5614 \end_inset
5615 </cell>
5616 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5617 \begin_inset Text
5618
5619 \begin_layout Standard
5620
5621 \end_layout
5622
5623 \end_inset
5624 </cell>
5625 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5626 \begin_inset Text
5627
5628 \begin_layout Standard
5629
5630 \end_layout
5631
5632 \end_inset
5633 </cell>
5634 </row>
5635 <row topline="true">
5636 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5637 \begin_inset Text
5638
5639 \begin_layout Standard
5640 1
5641 \end_layout
5642
5643 \end_inset
5644 </cell>
5645 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5646 \begin_inset Text
5647
5648 \begin_layout Standard
5649 2
5650 \end_layout
5651
5652 \end_inset
5653 </cell>
5654 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5655 \begin_inset Text
5656
5657 \begin_layout Standard
5658 3
5659 \end_layout
5660
5661 \end_inset
5662 </cell>
5663 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5664 \begin_inset Text
5665
5666 \begin_layout Standard
5667 4
5668 \end_layout
5669
5670 \end_inset
5671 </cell>
5672 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5673 \begin_inset Text
5674
5675 \begin_layout Standard
5676 5
5677 \end_layout
5678
5679 \end_inset
5680 </cell>
5681 </row>
5682 <row topline="true">
5683 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5684 \begin_inset Text
5685
5686 \begin_layout Standard
5687 asd
5688 \end_layout
5689
5690 \end_inset
5691 </cell>
5692 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5693 \begin_inset Text
5694
5695 \begin_layout Standard
5696 s
5697 \end_layout
5698
5699 \end_inset
5700 </cell>
5701 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5702 \begin_inset Text
5703
5704 \begin_layout Standard
5705 s
5706 \end_layout
5707
5708 \end_inset
5709 </cell>
5710 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5711 \begin_inset Text
5712
5713 \begin_layout Standard
5714 s
5715 \end_layout
5716
5717 \end_inset
5718 </cell>
5719 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5720 \begin_inset Text
5721
5722 \begin_layout Standard
5723 asd
5724 \end_layout
5725
5726 \end_inset
5727 </cell>
5728 </row>
5729 <row topline="true">
5730 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5731 \begin_inset Text
5732
5733 \begin_layout Standard
5734 asd
5735 \end_layout
5736
5737 \end_inset
5738 </cell>
5739 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5740 \begin_inset Text
5741
5742 \begin_layout Standard
5743 s
5744 \end_layout
5745
5746 \end_inset
5747 </cell>
5748 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5749 \begin_inset Text
5750
5751 \begin_layout Standard
5752 s
5753 \end_layout
5754
5755 \end_inset
5756 </cell>
5757 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5758 \begin_inset Text
5759
5760 \begin_layout Standard
5761 s
5762 \end_layout
5763
5764 \end_inset
5765 </cell>
5766 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5767 \begin_inset Text
5768
5769 \begin_layout Standard
5770 asd
5771 \end_layout
5772
5773 \end_inset
5774 </cell>
5775 </row>
5776 <row topline="true">
5777 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5778 \begin_inset Text
5779
5780 \begin_layout Standard
5781 asd
5782 \end_layout
5783
5784 \end_inset
5785 </cell>
5786 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5787 \begin_inset Text
5788
5789 \begin_layout Standard
5790 s
5791 \end_layout
5792
5793 \end_inset
5794 </cell>
5795 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5796 \begin_inset Text
5797
5798 \begin_layout Standard
5799 s
5800 \end_layout
5801
5802 \end_inset
5803 </cell>
5804 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5805 \begin_inset Text
5806
5807 \begin_layout Standard
5808 s
5809 \end_layout
5810
5811 \end_inset
5812 </cell>
5813 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5814 \begin_inset Text
5815
5816 \begin_layout Standard
5817 asd
5818 \end_layout
5819
5820 \end_inset
5821 </cell>
5822 </row>
5823 <row topline="true" bottomline="true">
5824 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5825 \begin_inset Text
5826
5827 \begin_layout Standard
5828 asd
5829 \end_layout
5830
5831 \end_inset
5832 </cell>
5833 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5834 \begin_inset Text
5835
5836 \begin_layout Standard
5837 sad
5838 \end_layout
5839
5840 \end_inset
5841 </cell>
5842 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5843 \begin_inset Text
5844
5845 \begin_layout Standard
5846 asd
5847 \end_layout
5848
5849 \end_inset
5850 </cell>
5851 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5852 \begin_inset Text
5853
5854 \begin_layout Standard
5855 asd
5856 \end_layout
5857
5858 \end_inset
5859 </cell>
5860 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5861 \begin_inset Text
5862
5863 \begin_layout Standard
5864 asd
5865 \end_layout
5866
5867 \end_inset
5868 </cell>
5869 </row>
5870 </lyxtabular>
5871
5872 \end_inset
5873
5874
5875 \end_layout
5876
5877 \begin_layout Standard
5878 \begin_inset ERT
5879 status collapsed
5880
5881 \begin_layout Standard
5882
5883
5884 \backslash
5885 setlength{
5886 \backslash
5887 LTcapwidth}{5cm}
5888 \end_layout
5889
5890 \end_inset
5891
5892
5893 \begin_inset Tabular
5894 <lyxtabular version="3" rows="6" columns="5">
5895 <features islongtable="true">
5896 <column alignment="center" valignment="top" leftline="true" width="0">
5897 <column alignment="center" valignment="top" leftline="true" width="0">
5898 <column alignment="center" valignment="top" leftline="true" width="0">
5899 <column alignment="center" valignment="top" leftline="true" width="0">
5900 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5901 <row>
5902 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5903 \begin_inset Text
5904
5905 \begin_layout Standard
5906 \begin_inset Caption
5907
5908 \begin_layout Standard
5909 long full title with width set to 5\InsetSpace \thinspace{}
5910 cm long full title with width set to
5911  5\InsetSpace \thinspace{}
5912 cm long full title with width set to 5\InsetSpace \thinspace{}
5913 cm
5914 \begin_inset OptArg
5915 status collapsed
5916
5917 \begin_layout Standard
5918 caption with width\InsetSpace \thinspace{}
5919 =\InsetSpace \thinspace{}
5920 5\InsetSpace \thinspace{}
5921 cm
5922 \end_layout
5923
5924 \end_inset
5925
5926
5927 \end_layout
5928
5929 \end_inset
5930
5931
5932 \begin_inset ERT
5933 status collapsed
5934
5935 \begin_layout Standard
5936
5937
5938 \backslash
5939
5940 \backslash
5941 %
5942 \end_layout
5943
5944 \end_inset
5945
5946
5947 \end_layout
5948
5949 \end_inset
5950 </cell>
5951 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5952 \begin_inset Text
5953
5954 \begin_layout Standard
5955
5956 \end_layout
5957
5958 \end_inset
5959 </cell>
5960 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5961 \begin_inset Text
5962
5963 \begin_layout Standard
5964
5965 \end_layout
5966
5967 \end_inset
5968 </cell>
5969 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5970 \begin_inset Text
5971
5972 \begin_layout Standard
5973
5974 \end_layout
5975
5976 \end_inset
5977 </cell>
5978 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5979 \begin_inset Text
5980
5981 \begin_layout Standard
5982
5983 \end_layout
5984
5985 \end_inset
5986 </cell>
5987 </row>
5988 <row topline="true">
5989 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5990 \begin_inset Text
5991
5992 \begin_layout Standard
5993 1
5994 \end_layout
5995
5996 \end_inset
5997 </cell>
5998 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5999 \begin_inset Text
6000
6001 \begin_layout Standard
6002 2
6003 \end_layout
6004
6005 \end_inset
6006 </cell>
6007 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6008 \begin_inset Text
6009
6010 \begin_layout Standard
6011 3
6012 \end_layout
6013
6014 \end_inset
6015 </cell>
6016 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6017 \begin_inset Text
6018
6019 \begin_layout Standard
6020 4
6021 \end_layout
6022
6023 \end_inset
6024 </cell>
6025 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6026 \begin_inset Text
6027
6028 \begin_layout Standard
6029 5
6030 \end_layout
6031
6032 \end_inset
6033 </cell>
6034 </row>
6035 <row topline="true">
6036 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6037 \begin_inset Text
6038
6039 \begin_layout Standard
6040 asd
6041 \end_layout
6042
6043 \end_inset
6044 </cell>
6045 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6046 \begin_inset Text
6047
6048 \begin_layout Standard
6049 s
6050 \end_layout
6051
6052 \end_inset
6053 </cell>
6054 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6055 \begin_inset Text
6056
6057 \begin_layout Standard
6058 s
6059 \end_layout
6060
6061 \end_inset
6062 </cell>
6063 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6064 \begin_inset Text
6065
6066 \begin_layout Standard
6067 s
6068 \end_layout
6069
6070 \end_inset
6071 </cell>
6072 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6073 \begin_inset Text
6074
6075 \begin_layout Standard
6076 asd
6077 \end_layout
6078
6079 \end_inset
6080 </cell>
6081 </row>
6082 <row topline="true">
6083 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6084 \begin_inset Text
6085
6086 \begin_layout Standard
6087 asd
6088 \end_layout
6089
6090 \end_inset
6091 </cell>
6092 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6093 \begin_inset Text
6094
6095 \begin_layout Standard
6096 s
6097 \end_layout
6098
6099 \end_inset
6100 </cell>
6101 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6102 \begin_inset Text
6103
6104 \begin_layout Standard
6105 s
6106 \end_layout
6107
6108 \end_inset
6109 </cell>
6110 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6111 \begin_inset Text
6112
6113 \begin_layout Standard
6114 s
6115 \end_layout
6116
6117 \end_inset
6118 </cell>
6119 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6120 \begin_inset Text
6121
6122 \begin_layout Standard
6123 asd
6124 \end_layout
6125
6126 \end_inset
6127 </cell>
6128 </row>
6129 <row topline="true">
6130 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6131 \begin_inset Text
6132
6133 \begin_layout Standard
6134 asd
6135 \end_layout
6136
6137 \end_inset
6138 </cell>
6139 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6140 \begin_inset Text
6141
6142 \begin_layout Standard
6143 s
6144 \end_layout
6145
6146 \end_inset
6147 </cell>
6148 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6149 \begin_inset Text
6150
6151 \begin_layout Standard
6152 s
6153 \end_layout
6154
6155 \end_inset
6156 </cell>
6157 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6158 \begin_inset Text
6159
6160 \begin_layout Standard
6161 s
6162 \end_layout
6163
6164 \end_inset
6165 </cell>
6166 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6167 \begin_inset Text
6168
6169 \begin_layout Standard
6170 asd
6171 \end_layout
6172
6173 \end_inset
6174 </cell>
6175 </row>
6176 <row topline="true" bottomline="true">
6177 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6178 \begin_inset Text
6179
6180 \begin_layout Standard
6181 asd
6182 \end_layout
6183
6184 \end_inset
6185 </cell>
6186 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6187 \begin_inset Text
6188
6189 \begin_layout Standard
6190 sad
6191 \end_layout
6192
6193 \end_inset
6194 </cell>
6195 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6196 \begin_inset Text
6197
6198 \begin_layout Standard
6199 asd
6200 \end_layout
6201
6202 \end_inset
6203 </cell>
6204 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6205 \begin_inset Text
6206
6207 \begin_layout Standard
6208 asd
6209 \end_layout
6210
6211 \end_inset
6212 </cell>
6213 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6214 \begin_inset Text
6215
6216 \begin_layout Standard
6217 asd
6218 \end_layout
6219
6220 \end_inset
6221 </cell>
6222 </row>
6223 </lyxtabular>
6224
6225 \end_inset
6226
6227
6228 \end_layout
6229
6230 \begin_layout Standard
6231 \begin_inset ERT
6232 status collapsed
6233
6234 \begin_layout Standard
6235
6236
6237 \backslash
6238 setlength{
6239 \backslash
6240 LTcapwidth}{4in}
6241 \end_layout
6242
6243 \end_inset
6244
6245
6246 \end_layout
6247
6248 \begin_layout Standard
6249 \begin_inset Note Greyedout
6250 status open
6251
6252 \begin_layout Standard
6253
6254 \series bold
6255 Note:
6256 \series default
6257  When the LaTeX-package 
6258 \series bold
6259 caption
6260 \series default
6261
6262 \begin_inset LatexCommand index
6263 name "LaTeX-packages ! caption"
6264
6265 \end_inset
6266
6267  is used, as in this document, the full page width is used for the caption
6268  when you use the default value of 4\InsetSpace \thinspace{}
6269 in for 
6270 \series bold
6271
6272 \backslash
6273 LTcapwidth
6274 \series default
6275 .
6276  To get in this case exactly a 4\InsetSpace \thinspace{}
6277 in wide caption, you can either use a value
6278  slightly different from 4.0\InsetSpace \thinspace{}
6279 in, e.g.
6280  3.99\InsetSpace \thinspace{}
6281 in, or the LaTeX-command 
6282 \series bold
6283
6284 \backslash
6285 captionsetup{width=value}
6286 \series default
6287  that is provided by the 
6288 \series bold
6289 caption
6290 \series default
6291 -package.
6292 \end_layout
6293
6294 \end_inset
6295
6296
6297 \end_layout
6298
6299 \begin_layout Subsubsection
6300 Different Captions for Table Pages
6301 \begin_inset LatexCommand index
6302 name "Longtables ! Different Captions for Pages"
6303
6304 \end_inset
6305
6306
6307 \end_layout
6308
6309 \begin_layout Standard
6310 When the other captions should differ from the one of the first table page,
6311  insert a caption with a non-empty short title in a dummy caption row marked
6312  as first header.
6313  The caption used for the other table pages is inserted as caption without
6314  a short title in a dummy caption row that is marked as main header.
6315  When this caption shouldn't include the table number, use the command
6316 \end_layout
6317
6318 \begin_layout Standard
6319
6320 \series bold
6321
6322 \backslash
6323 caption*{caption text}
6324 \end_layout
6325
6326 \begin_layout Standard
6327 instead of LyX's caption box.
6328  The label to reference the table is inserted into the caption of the first
6329  header.
6330  Table\InsetSpace ~
6331
6332 \begin_inset LatexCommand ref
6333 reference "tab:DiffCaptions"
6334
6335 \end_inset
6336
6337  is an example for a longtable with different heading where the second caption
6338  doesn't include the table number.
6339 \end_layout
6340
6341 \begin_layout Standard
6342 \align center
6343 \begin_inset Tabular
6344 <lyxtabular version="3" rows="60" columns="3">
6345 <features islongtable="true">
6346 <column alignment="left" valignment="top" leftline="true" width="0cm">
6347 <column alignment="left" valignment="top" rightline="true" width="0pt">
6348 <column alignment="right" valignment="top" rightline="true" width="0pt">
6349 <row endfirsthead="true">
6350 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6351 \begin_inset Text
6352
6353 \begin_layout Standard
6354 \begin_inset Caption
6355
6356 \begin_layout Standard
6357 Example Phone List
6358 \begin_inset LatexCommand label
6359 name "tab:DiffCaptions"
6360
6361 \end_inset
6362
6363
6364 \begin_inset OptArg
6365 status collapsed
6366
6367 \begin_layout Standard
6368 Example Phone List
6369 \end_layout
6370
6371 \end_inset
6372
6373
6374 \end_layout
6375
6376 \end_inset
6377
6378
6379 \begin_inset ERT
6380 status collapsed
6381
6382 \begin_layout Standard
6383
6384
6385 \backslash
6386
6387 \backslash
6388 %
6389 \end_layout
6390
6391 \end_inset
6392
6393
6394 \end_layout
6395
6396 \end_inset
6397 </cell>
6398 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6399 \begin_inset Text
6400
6401 \begin_layout Standard
6402
6403 \end_layout
6404
6405 \end_inset
6406 </cell>
6407 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6408 \begin_inset Text
6409
6410 \begin_layout Standard
6411
6412 \end_layout
6413
6414 \end_inset
6415 </cell>
6416 </row>
6417 <row topline="true" bottomline="true" endfirsthead="true">
6418 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6419 \begin_inset Text
6420
6421 \begin_layout Standard
6422
6423 \series bold
6424 Example Phone List (ignore the names)
6425 \end_layout
6426
6427 \end_inset
6428 </cell>
6429 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6430 \begin_inset Text
6431
6432 \begin_layout Standard
6433
6434 \end_layout
6435
6436 \end_inset
6437 </cell>
6438 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6439 \begin_inset Text
6440
6441 \begin_layout Standard
6442
6443 \end_layout
6444
6445 \end_inset
6446 </cell>
6447 </row>
6448 <row topline="true" bottomline="true" endfirsthead="true">
6449 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6450 \begin_inset Text
6451
6452 \begin_layout Standard
6453
6454 \series bold
6455 NAME
6456 \end_layout
6457
6458 \end_inset
6459 </cell>
6460 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6461 \begin_inset Text
6462
6463 \begin_layout Standard
6464
6465 \end_layout
6466
6467 \end_inset
6468 </cell>
6469 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6470 \begin_inset Text
6471
6472 \begin_layout Standard
6473
6474 \series bold
6475 TEL.
6476 \end_layout
6477
6478 \end_inset
6479 </cell>
6480 </row>
6481 <row bottomline="true" endhead="true">
6482 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6483 \begin_inset Text
6484
6485 \begin_layout Standard
6486 \begin_inset ERT
6487 status collapsed
6488
6489 \begin_layout Standard
6490
6491
6492 \backslash
6493 caption*{Continued Example Phone List}
6494 \backslash
6495
6496 \backslash
6497 %
6498 \end_layout
6499
6500 \end_inset
6501
6502
6503 \end_layout
6504
6505 \end_inset
6506 </cell>
6507 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6508 \begin_inset Text
6509
6510 \begin_layout Standard
6511
6512 \end_layout
6513
6514 \end_inset
6515 </cell>
6516 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6517 \begin_inset Text
6518
6519 \begin_layout Standard
6520
6521 \end_layout
6522
6523 \end_inset
6524 </cell>
6525 </row>
6526 <row topline="true" bottomline="true" endhead="true">
6527 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6528 \begin_inset Text
6529
6530 \begin_layout Standard
6531
6532 \series bold
6533 Example Phone List
6534 \end_layout
6535
6536 \end_inset
6537 </cell>
6538 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6539 \begin_inset Text
6540
6541 \begin_layout Standard
6542
6543 \end_layout
6544
6545 \end_inset
6546 </cell>
6547 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6548 \begin_inset Text
6549
6550 \begin_layout Standard
6551
6552 \end_layout
6553
6554 \end_inset
6555 </cell>
6556 </row>
6557 <row topline="true" bottomline="true" endhead="true">
6558 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6559 \begin_inset Text
6560
6561 \begin_layout Standard
6562
6563 \series bold
6564 NAME
6565 \end_layout
6566
6567 \end_inset
6568 </cell>
6569 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6570 \begin_inset Text
6571
6572 \begin_layout Standard
6573
6574 \end_layout
6575
6576 \end_inset
6577 </cell>
6578 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6579 \begin_inset Text
6580
6581 \begin_layout Standard
6582
6583 \series bold
6584 TEL.
6585 \end_layout
6586
6587 \end_inset
6588 </cell>
6589 </row>
6590 <row topline="true" bottomline="true" endfoot="true">
6591 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
6592 \begin_inset Text
6593
6594 \begin_layout Standard
6595 continued on next page
6596 \end_layout
6597
6598 \end_inset
6599 </cell>
6600 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6601 \begin_inset Text
6602
6603 \begin_layout Standard
6604
6605 \end_layout
6606
6607 \end_inset
6608 </cell>
6609 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6610 \begin_inset Text
6611
6612 \begin_layout Standard
6613
6614 \end_layout
6615
6616 \end_inset
6617 </cell>
6618 </row>
6619 <row>
6620 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6621 \begin_inset Text
6622
6623 \begin_layout Standard
6624
6625 \series bold
6626 Annovi
6627 \end_layout
6628
6629 \end_inset
6630 </cell>
6631 <cell alignment="center" valignment="top" topline="true" usebox="none">
6632 \begin_inset Text
6633
6634 \begin_layout Standard
6635 Silvia
6636 \end_layout
6637
6638 \end_inset
6639 </cell>
6640 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6641 \begin_inset Text
6642
6643 \begin_layout Standard
6644 111
6645 \end_layout
6646
6647 \end_inset
6648 </cell>
6649 </row>
6650 <row>
6651 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6652 \begin_inset Text
6653
6654 \begin_layout Standard
6655
6656 \series bold
6657 Bertoli
6658 \end_layout
6659
6660 \end_inset
6661 </cell>
6662 <cell alignment="center" valignment="top" topline="true" usebox="none">
6663 \begin_inset Text
6664
6665 \begin_layout Standard
6666 Stefano
6667 \end_layout
6668
6669 \end_inset
6670 </cell>
6671 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6672 \begin_inset Text
6673
6674 \begin_layout Standard
6675 111
6676 \end_layout
6677
6678 \end_inset
6679 </cell>
6680 </row>
6681 <row>
6682 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6683 \begin_inset Text
6684
6685 \begin_layout Standard
6686
6687 \series bold
6688 Bozzi
6689 \end_layout
6690
6691 \end_inset
6692 </cell>
6693 <cell alignment="center" valignment="top" topline="true" usebox="none">
6694 \begin_inset Text
6695
6696 \begin_layout Standard
6697 Walter
6698 \end_layout
6699
6700 \end_inset
6701 </cell>
6702 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6703 \begin_inset Text
6704
6705 \begin_layout Standard
6706 111
6707 \end_layout
6708
6709 \end_inset
6710 </cell>
6711 </row>
6712 <row>
6713 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6714 \begin_inset Text
6715
6716 \begin_layout Standard
6717
6718 \series bold
6719 Cachia
6720 \end_layout
6721
6722 \end_inset
6723 </cell>
6724 <cell alignment="center" valignment="top" topline="true" usebox="none">
6725 \begin_inset Text
6726
6727 \begin_layout Standard
6728 Maria
6729 \end_layout
6730
6731 \end_inset
6732 </cell>
6733 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6734 \begin_inset Text
6735
6736 \begin_layout Standard
6737 111
6738 \end_layout
6739
6740 \end_inset
6741 </cell>
6742 </row>
6743 <row>
6744 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6745 \begin_inset Text
6746
6747 \begin_layout Standard
6748
6749 \series bold
6750 Cachia
6751 \end_layout
6752
6753 \end_inset
6754 </cell>
6755 <cell alignment="center" valignment="top" topline="true" usebox="none">
6756 \begin_inset Text
6757
6758 \begin_layout Standard
6759 Maurizio
6760 \end_layout
6761
6762 \end_inset
6763 </cell>
6764 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6765 \begin_inset Text
6766
6767 \begin_layout Standard
6768 111
6769 \end_layout
6770
6771 \end_inset
6772 </cell>
6773 </row>
6774 <row>
6775 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6776 \begin_inset Text
6777
6778 \begin_layout Standard
6779
6780 \series bold
6781 Cinquemani
6782 \end_layout
6783
6784 \end_inset
6785 </cell>
6786 <cell alignment="center" valignment="top" topline="true" usebox="none">
6787 \begin_inset Text
6788
6789 \begin_layout Standard
6790 Giusi
6791 \end_layout
6792
6793 \end_inset
6794 </cell>
6795 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6796 \begin_inset Text
6797
6798 \begin_layout Standard
6799 111
6800 \end_layout
6801
6802 \end_inset
6803 </cell>
6804 </row>
6805 <row>
6806 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6807 \begin_inset Text
6808
6809 \begin_layout Standard
6810
6811 \series bold
6812 Colin
6813 \end_layout
6814
6815 \end_inset
6816 </cell>
6817 <cell alignment="center" valignment="top" topline="true" usebox="none">
6818 \begin_inset Text
6819
6820 \begin_layout Standard
6821 Bernard
6822 \end_layout
6823
6824 \end_inset
6825 </cell>
6826 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6827 \begin_inset Text
6828
6829 \begin_layout Standard
6830 111
6831 \end_layout
6832
6833 \end_inset
6834 </cell>
6835 </row>
6836 <row>
6837 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6838 \begin_inset Text
6839
6840 \begin_layout Standard
6841
6842 \series bold
6843 Concli
6844 \end_layout
6845
6846 \end_inset
6847 </cell>
6848 <cell alignment="center" valignment="top" topline="true" usebox="none">
6849 \begin_inset Text
6850
6851 \begin_layout Standard
6852 Gianfranco
6853 \end_layout
6854
6855 \end_inset
6856 </cell>
6857 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6858 \begin_inset Text
6859
6860 \begin_layout Standard
6861 111
6862 \end_layout
6863
6864 \end_inset
6865 </cell>
6866 </row>
6867 <row>
6868 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6869 \begin_inset Text
6870
6871 \begin_layout Standard
6872
6873 \series bold
6874 Dal Bosco
6875 \end_layout
6876
6877 \end_inset
6878 </cell>
6879 <cell alignment="center" valignment="top" topline="true" usebox="none">
6880 \begin_inset Text
6881
6882 \begin_layout Standard
6883 Carolina
6884 \end_layout
6885
6886 \end_inset
6887 </cell>
6888 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6889 \begin_inset Text
6890
6891 \begin_layout Standard
6892 111
6893 \end_layout
6894
6895 \end_inset
6896 </cell>
6897 </row>
6898 <row>
6899 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6900 \begin_inset Text
6901
6902 \begin_layout Standard
6903
6904 \series bold
6905 Dalpiaz
6906 \end_layout
6907
6908 \end_inset
6909 </cell>
6910 <cell alignment="center" valignment="top" topline="true" usebox="none">
6911 \begin_inset Text
6912
6913 \begin_layout Standard
6914 Annamaria
6915 \end_layout
6916
6917 \end_inset
6918 </cell>
6919 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6920 \begin_inset Text
6921
6922 \begin_layout Standard
6923 111
6924 \end_layout
6925
6926 \end_inset
6927 </cell>
6928 </row>
6929 <row>
6930 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6931 \begin_inset Text
6932
6933 \begin_layout Standard
6934
6935 \series bold
6936 Feliciello
6937 \end_layout
6938
6939 \end_inset
6940 </cell>
6941 <cell alignment="center" valignment="top" topline="true" usebox="none">
6942 \begin_inset Text
6943
6944 \begin_layout Standard
6945 Domenico
6946 \end_layout
6947
6948 \end_inset
6949 </cell>
6950 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6951 \begin_inset Text
6952
6953 \begin_layout Standard
6954 111
6955 \end_layout
6956
6957 \end_inset
6958 </cell>
6959 </row>
6960 <row>
6961 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6962 \begin_inset Text
6963
6964 \begin_layout Standard
6965
6966 \series bold
6967 Focarelli
6968 \end_layout
6969
6970 \end_inset
6971 </cell>
6972 <cell alignment="center" valignment="top" topline="true" usebox="none">
6973 \begin_inset Text
6974
6975 \begin_layout Standard
6976 Paola
6977 \end_layout
6978
6979 \end_inset
6980 </cell>
6981 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6982 \begin_inset Text
6983
6984 \begin_layout Standard
6985 111
6986 \end_layout
6987
6988 \end_inset
6989 </cell>
6990 </row>
6991 <row>
6992 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6993 \begin_inset Text
6994
6995 \begin_layout Standard
6996
6997 \series bold
6998 Galletti
6999 \end_layout
7000
7001 \end_inset
7002 </cell>
7003 <cell alignment="center" valignment="top" topline="true" usebox="none">
7004 \begin_inset Text
7005
7006 \begin_layout Standard
7007 Oreste
7008 \end_layout
7009
7010 \end_inset
7011 </cell>
7012 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7013 \begin_inset Text
7014
7015 \begin_layout Standard
7016 111
7017 \end_layout
7018
7019 \end_inset
7020 </cell>
7021 </row>
7022 <row>
7023 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7024 \begin_inset Text
7025
7026 \begin_layout Standard
7027
7028 \series bold
7029 Gasparini
7030 \end_layout
7031
7032 \end_inset
7033 </cell>
7034 <cell alignment="center" valignment="top" topline="true" usebox="none">
7035 \begin_inset Text
7036
7037 \begin_layout Standard
7038 Franca
7039 \end_layout
7040
7041 \end_inset
7042 </cell>
7043 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7044 \begin_inset Text
7045
7046 \begin_layout Standard
7047 111
7048 \end_layout
7049
7050 \end_inset
7051 </cell>
7052 </row>
7053 <row>
7054 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7055 \begin_inset Text
7056
7057 \begin_layout Standard
7058
7059 \series bold
7060 Rizzardi
7061 \series default
7062
7063 \begin_inset Foot
7064 status collapsed
7065
7066 \begin_layout Standard
7067 Example footnote
7068 \end_layout
7069
7070 \end_inset
7071
7072
7073 \end_layout
7074
7075 \end_inset
7076 </cell>
7077 <cell alignment="center" valignment="top" topline="true" usebox="none">
7078 \begin_inset Text
7079
7080 \begin_layout Standard
7081 Paola
7082 \end_layout
7083
7084 \end_inset
7085 </cell>
7086 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7087 \begin_inset Text
7088
7089 \begin_layout Standard
7090 111
7091 \end_layout
7092
7093 \end_inset
7094 </cell>
7095 </row>
7096 <row>
7097 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7098 \begin_inset Text
7099
7100 \begin_layout Standard
7101
7102 \series bold
7103 Lassini
7104 \end_layout
7105
7106 \end_inset
7107 </cell>
7108 <cell alignment="center" valignment="top" topline="true" usebox="none">
7109 \begin_inset Text
7110
7111 \begin_layout Standard
7112 Giancarlo
7113 \end_layout
7114
7115 \end_inset
7116 </cell>
7117 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7118 \begin_inset Text
7119
7120 \begin_layout Standard
7121 111
7122 \end_layout
7123
7124 \end_inset
7125 </cell>
7126 </row>
7127 <row>
7128 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7129 \begin_inset Text
7130
7131 \begin_layout Standard
7132
7133 \series bold
7134 Malfatti
7135 \end_layout
7136
7137 \end_inset
7138 </cell>
7139 <cell alignment="center" valignment="top" topline="true" usebox="none">
7140 \begin_inset Text
7141
7142 \begin_layout Standard
7143 Luciano
7144 \end_layout
7145
7146 \end_inset
7147 </cell>
7148 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7149 \begin_inset Text
7150
7151 \begin_layout Standard
7152 111
7153 \end_layout
7154
7155 \end_inset
7156 </cell>
7157 </row>
7158 <row>
7159 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7160 \begin_inset Text
7161
7162 \begin_layout Standard
7163
7164 \series bold
7165 Malfatti
7166 \end_layout
7167
7168 \end_inset
7169 </cell>
7170 <cell alignment="center" valignment="top" topline="true" usebox="none">
7171 \begin_inset Text
7172
7173 \begin_layout Standard
7174 Valeriano
7175 \end_layout
7176
7177 \end_inset
7178 </cell>
7179 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7180 \begin_inset Text
7181
7182 \begin_layout Standard
7183 111
7184 \end_layout
7185
7186 \end_inset
7187 </cell>
7188 </row>
7189 <row>
7190 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7191 \begin_inset Text
7192
7193 \begin_layout Standard
7194
7195 \series bold
7196 Meneguzzo
7197 \end_layout
7198
7199 \end_inset
7200 </cell>
7201 <cell alignment="center" valignment="top" topline="true" usebox="none">
7202 \begin_inset Text
7203
7204 \begin_layout Standard
7205 Roberto
7206 \end_layout
7207
7208 \end_inset
7209 </cell>
7210 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7211 \begin_inset Text
7212
7213 \begin_layout Standard
7214 111
7215 \end_layout
7216
7217 \end_inset
7218 </cell>
7219 </row>
7220 <row>
7221 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7222 \begin_inset Text
7223
7224 \begin_layout Standard
7225
7226 \series bold
7227 Mezzadra
7228 \end_layout
7229
7230 \end_inset
7231 </cell>
7232 <cell alignment="center" valignment="top" topline="true" usebox="none">
7233 \begin_inset Text
7234
7235 \begin_layout Standard
7236 Roberto
7237 \end_layout
7238
7239 \end_inset
7240 </cell>
7241 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7242 \begin_inset Text
7243
7244 \begin_layout Standard
7245 111
7246 \end_layout
7247
7248 \end_inset
7249 </cell>
7250 </row>
7251 <row>
7252 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7253 \begin_inset Text
7254
7255 \begin_layout Standard
7256
7257 \series bold
7258 Pirpamer
7259 \end_layout
7260
7261 \end_inset
7262 </cell>
7263 <cell alignment="center" valignment="top" topline="true" usebox="none">
7264 \begin_inset Text
7265
7266 \begin_layout Standard
7267 Erich
7268 \end_layout
7269
7270 \end_inset
7271 </cell>
7272 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7273 \begin_inset Text
7274
7275 \begin_layout Standard
7276 111
7277 \end_layout
7278
7279 \end_inset
7280 </cell>
7281 </row>
7282 <row>
7283 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7284 \begin_inset Text
7285
7286 \begin_layout Standard
7287
7288 \series bold
7289 Pochiesa
7290 \end_layout
7291
7292 \end_inset
7293 </cell>
7294 <cell alignment="center" valignment="top" topline="true" usebox="none">
7295 \begin_inset Text
7296
7297 \begin_layout Standard
7298 Paolo
7299 \end_layout
7300
7301 \end_inset
7302 </cell>
7303 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7304 \begin_inset Text
7305
7306 \begin_layout Standard
7307 111, 222
7308 \end_layout
7309
7310 \end_inset
7311 </cell>
7312 </row>
7313 <row>
7314 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7315 \begin_inset Text
7316
7317 \begin_layout Standard
7318
7319 \series bold
7320 Radina
7321 \end_layout
7322
7323 \end_inset
7324 </cell>
7325 <cell alignment="center" valignment="top" topline="true" usebox="none">
7326 \begin_inset Text
7327
7328 \begin_layout Standard
7329 Claudio
7330 \end_layout
7331
7332 \end_inset
7333 </cell>
7334 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7335 \begin_inset Text
7336
7337 \begin_layout Standard
7338 111
7339 \end_layout
7340
7341 \end_inset
7342 </cell>
7343 </row>
7344 <row>
7345 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7346 \begin_inset Text
7347
7348 \begin_layout Standard
7349
7350 \series bold
7351 Stuffer
7352 \end_layout
7353
7354 \end_inset
7355 </cell>
7356 <cell alignment="center" valignment="top" topline="true" usebox="none">
7357 \begin_inset Text
7358
7359 \begin_layout Standard
7360 Oskar
7361 \end_layout
7362
7363 \end_inset
7364 </cell>
7365 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7366 \begin_inset Text
7367
7368 \begin_layout Standard
7369 111
7370 \end_layout
7371
7372 \end_inset
7373 </cell>
7374 </row>
7375 <row>
7376 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7377 \begin_inset Text
7378
7379 \begin_layout Standard
7380
7381 \series bold
7382 Tacchelli
7383 \end_layout
7384
7385 \end_inset
7386 </cell>
7387 <cell alignment="center" valignment="top" topline="true" usebox="none">
7388 \begin_inset Text
7389
7390 \begin_layout Standard
7391 Ugo
7392 \end_layout
7393
7394 \end_inset
7395 </cell>
7396 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7397 \begin_inset Text
7398
7399 \begin_layout Standard
7400 111
7401 \end_layout
7402
7403 \end_inset
7404 </cell>
7405 </row>
7406 <row>
7407 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7408 \begin_inset Text
7409
7410 \begin_layout Standard
7411
7412 \series bold
7413 Tezzele
7414 \end_layout
7415
7416 \end_inset
7417 </cell>
7418 <cell alignment="center" valignment="top" topline="true" usebox="none">
7419 \begin_inset Text
7420
7421 \begin_layout Standard
7422 Margit
7423 \end_layout
7424
7425 \end_inset
7426 </cell>
7427 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7428 \begin_inset Text
7429
7430 \begin_layout Standard
7431 111
7432 \end_layout
7433
7434 \end_inset
7435 </cell>
7436 </row>
7437 <row>
7438 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7439 \begin_inset Text
7440
7441 \begin_layout Standard
7442
7443 \series bold
7444 Unterkalmsteiner
7445 \end_layout
7446
7447 \end_inset
7448 </cell>
7449 <cell alignment="center" valignment="top" topline="true" usebox="none">
7450 \begin_inset Text
7451
7452 \begin_layout Standard
7453 Frieda
7454 \end_layout
7455
7456 \end_inset
7457 </cell>
7458 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7459 \begin_inset Text
7460
7461 \begin_layout Standard
7462 111
7463 \end_layout
7464
7465 \end_inset
7466 </cell>
7467 </row>
7468 <row>
7469 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7470 \begin_inset Text
7471
7472 \begin_layout Standard
7473
7474 \series bold
7475 Vieider
7476 \end_layout
7477
7478 \end_inset
7479 </cell>
7480 <cell alignment="center" valignment="top" topline="true" usebox="none">
7481 \begin_inset Text
7482
7483 \begin_layout Standard
7484 Hilde
7485 \end_layout
7486
7487 \end_inset
7488 </cell>
7489 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7490 \begin_inset Text
7491
7492 \begin_layout Standard
7493 111
7494 \end_layout
7495
7496 \end_inset
7497 </cell>
7498 </row>
7499 <row>
7500 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7501 \begin_inset Text
7502
7503 \begin_layout Standard
7504
7505 \series bold
7506 Vigna
7507 \end_layout
7508
7509 \end_inset
7510 </cell>
7511 <cell alignment="center" valignment="top" topline="true" usebox="none">
7512 \begin_inset Text
7513
7514 \begin_layout Standard
7515 Jürgen
7516 \end_layout
7517
7518 \end_inset
7519 </cell>
7520 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7521 \begin_inset Text
7522
7523 \begin_layout Standard
7524 111
7525 \end_layout
7526
7527 \end_inset
7528 </cell>
7529 </row>
7530 <row>
7531 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7532 \begin_inset Text
7533
7534 \begin_layout Standard
7535
7536 \series bold
7537 Weber
7538 \end_layout
7539
7540 \end_inset
7541 </cell>
7542 <cell alignment="center" valignment="top" topline="true" usebox="none">
7543 \begin_inset Text
7544
7545 \begin_layout Standard
7546 Maurizio
7547 \end_layout
7548
7549 \end_inset
7550 </cell>
7551 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7552 \begin_inset Text
7553
7554 \begin_layout Standard
7555 111
7556 \end_layout
7557
7558 \end_inset
7559 </cell>
7560 </row>
7561 <row bottomline="true">
7562 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7563 \begin_inset Text
7564
7565 \begin_layout Standard
7566
7567 \series bold
7568 Winkler
7569 \end_layout
7570
7571 \end_inset
7572 </cell>
7573 <cell alignment="center" valignment="top" topline="true" usebox="none">
7574 \begin_inset Text
7575
7576 \begin_layout Standard
7577 Franz
7578 \end_layout
7579
7580 \end_inset
7581 </cell>
7582 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7583 \begin_inset Text
7584
7585 \begin_layout Standard
7586 111
7587 \end_layout
7588
7589 \end_inset
7590 </cell>
7591 </row>
7592 <row bottomline="true">
7593 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7594 \begin_inset Text
7595
7596 \begin_layout Standard
7597  
7598 \end_layout
7599
7600 \end_inset
7601 </cell>
7602 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
7603 \begin_inset Text
7604
7605 \begin_layout Standard
7606
7607 \end_layout
7608
7609 \end_inset
7610 </cell>
7611 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7612 \begin_inset Text
7613
7614 \begin_layout Standard
7615
7616 \end_layout
7617
7618 \end_inset
7619 </cell>
7620 </row>
7621 <row>
7622 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7623 \begin_inset Text
7624
7625 \begin_layout Standard
7626
7627 \series bold
7628 Annovi
7629 \end_layout
7630
7631 \end_inset
7632 </cell>
7633 <cell alignment="center" valignment="top" topline="true" usebox="none">
7634 \begin_inset Text
7635
7636 \begin_layout Standard
7637 Silvia
7638 \end_layout
7639
7640 \end_inset
7641 </cell>
7642 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7643 \begin_inset Text
7644
7645 \begin_layout Standard
7646 555
7647 \end_layout
7648
7649 \end_inset
7650 </cell>
7651 </row>
7652 <row>
7653 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7654 \begin_inset Text
7655
7656 \begin_layout Standard
7657
7658 \series bold
7659 Bertoli
7660 \end_layout
7661
7662 \end_inset
7663 </cell>
7664 <cell alignment="center" valignment="top" topline="true" usebox="none">
7665 \begin_inset Text
7666
7667 \begin_layout Standard
7668 Stefano
7669 \end_layout
7670
7671 \end_inset
7672 </cell>
7673 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7674 \begin_inset Text
7675
7676 \begin_layout Standard
7677 555
7678 \end_layout
7679
7680 \end_inset
7681 </cell>
7682 </row>
7683 <row>
7684 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7685 \begin_inset Text
7686
7687 \begin_layout Standard
7688
7689 \series bold
7690 Bozzi
7691 \end_layout
7692
7693 \end_inset
7694 </cell>
7695 <cell alignment="center" valignment="top" topline="true" usebox="none">
7696 \begin_inset Text
7697
7698 \begin_layout Standard
7699 Walter
7700 \end_layout
7701
7702 \end_inset
7703 </cell>
7704 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7705 \begin_inset Text
7706
7707 \begin_layout Standard
7708 555
7709 \end_layout
7710
7711 \end_inset
7712 </cell>
7713 </row>
7714 <row>
7715 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7716 \begin_inset Text
7717
7718 \begin_layout Standard
7719
7720 \series bold
7721 Cachia
7722 \end_layout
7723
7724 \end_inset
7725 </cell>
7726 <cell alignment="center" valignment="top" topline="true" usebox="none">
7727 \begin_inset Text
7728
7729 \begin_layout Standard
7730 Maria
7731 \end_layout
7732
7733 \end_inset
7734 </cell>
7735 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7736 \begin_inset Text
7737
7738 \begin_layout Standard
7739 555
7740 \end_layout
7741
7742 \end_inset
7743 </cell>
7744 </row>
7745 <row>
7746 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7747 \begin_inset Text
7748
7749 \begin_layout Standard
7750
7751 \series bold
7752 Cachia
7753 \end_layout
7754
7755 \end_inset
7756 </cell>
7757 <cell alignment="center" valignment="top" topline="true" usebox="none">
7758 \begin_inset Text
7759
7760 \begin_layout Standard
7761 Maurizio
7762 \end_layout
7763
7764 \end_inset
7765 </cell>
7766 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7767 \begin_inset Text
7768
7769 \begin_layout Standard
7770 555
7771 \end_layout
7772
7773 \end_inset
7774 </cell>
7775 </row>
7776 <row>
7777 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7778 \begin_inset Text
7779
7780 \begin_layout Standard
7781
7782 \series bold
7783 Cinquemani
7784 \end_layout
7785
7786 \end_inset
7787 </cell>
7788 <cell alignment="center" valignment="top" topline="true" usebox="none">
7789 \begin_inset Text
7790
7791 \begin_layout Standard
7792 Giusi
7793 \end_layout
7794
7795 \end_inset
7796 </cell>
7797 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7798 \begin_inset Text
7799
7800 \begin_layout Standard
7801 555
7802 \end_layout
7803
7804 \end_inset
7805 </cell>
7806 </row>
7807 <row>
7808 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7809 \begin_inset Text
7810
7811 \begin_layout Standard
7812
7813 \series bold
7814 Colin
7815 \end_layout
7816
7817 \end_inset
7818 </cell>
7819 <cell alignment="center" valignment="top" topline="true" usebox="none">
7820 \begin_inset Text
7821
7822 \begin_layout Standard
7823 Bernard
7824 \end_layout
7825
7826 \end_inset
7827 </cell>
7828 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7829 \begin_inset Text
7830
7831 \begin_layout Standard
7832 555
7833 \end_layout
7834
7835 \end_inset
7836 </cell>
7837 </row>
7838 <row>
7839 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7840 \begin_inset Text
7841
7842 \begin_layout Standard
7843
7844 \series bold
7845 Concli
7846 \end_layout
7847
7848 \end_inset
7849 </cell>
7850 <cell alignment="center" valignment="top" topline="true" usebox="none">
7851 \begin_inset Text
7852
7853 \begin_layout Standard
7854 Gianfranco
7855 \end_layout
7856
7857 \end_inset
7858 </cell>
7859 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7860 \begin_inset Text
7861
7862 \begin_layout Standard
7863 555
7864 \end_layout
7865
7866 \end_inset
7867 </cell>
7868 </row>
7869 <row>
7870 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7871 \begin_inset Text
7872
7873 \begin_layout Standard
7874
7875 \series bold
7876 Dal Bosco
7877 \end_layout
7878
7879 \end_inset
7880 </cell>
7881 <cell alignment="center" valignment="top" topline="true" usebox="none">
7882 \begin_inset Text
7883
7884 \begin_layout Standard
7885 Carolina
7886 \end_layout
7887
7888 \end_inset
7889 </cell>
7890 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7891 \begin_inset Text
7892
7893 \begin_layout Standard
7894 555
7895 \end_layout
7896
7897 \end_inset
7898 </cell>
7899 </row>
7900 <row>
7901 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7902 \begin_inset Text
7903
7904 \begin_layout Standard
7905
7906 \series bold
7907 Dalpiaz
7908 \end_layout
7909
7910 \end_inset
7911 </cell>
7912 <cell alignment="center" valignment="top" topline="true" usebox="none">
7913 \begin_inset Text
7914
7915 \begin_layout Standard
7916 Annamaria
7917 \end_layout
7918
7919 \end_inset
7920 </cell>
7921 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7922 \begin_inset Text
7923
7924 \begin_layout Standard
7925 555
7926 \end_layout
7927
7928 \end_inset
7929 </cell>
7930 </row>
7931 <row>
7932 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7933 \begin_inset Text
7934
7935 \begin_layout Standard
7936
7937 \series bold
7938 Feliciello
7939 \end_layout
7940
7941 \end_inset
7942 </cell>
7943 <cell alignment="center" valignment="top" topline="true" usebox="none">
7944 \begin_inset Text
7945
7946 \begin_layout Standard
7947 Domenico
7948 \end_layout
7949
7950 \end_inset
7951 </cell>
7952 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7953 \begin_inset Text
7954
7955 \begin_layout Standard
7956 555
7957 \end_layout
7958
7959 \end_inset
7960 </cell>
7961 </row>
7962 <row>
7963 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7964 \begin_inset Text
7965
7966 \begin_layout Standard
7967
7968 \series bold
7969 Focarelli
7970 \end_layout
7971
7972 \end_inset
7973 </cell>
7974 <cell alignment="center" valignment="top" topline="true" usebox="none">
7975 \begin_inset Text
7976
7977 \begin_layout Standard
7978 Paola
7979 \end_layout
7980
7981 \end_inset
7982 </cell>
7983 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7984 \begin_inset Text
7985
7986 \begin_layout Standard
7987 555
7988 \end_layout
7989
7990 \end_inset
7991 </cell>
7992 </row>
7993 <row>
7994 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7995 \begin_inset Text
7996
7997 \begin_layout Standard
7998
7999 \series bold
8000 Galletti
8001 \end_layout
8002
8003 \end_inset
8004 </cell>
8005 <cell alignment="center" valignment="top" topline="true" usebox="none">
8006 \begin_inset Text
8007
8008 \begin_layout Standard
8009 Oreste
8010 \end_layout
8011
8012 \end_inset
8013 </cell>
8014 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8015 \begin_inset Text
8016
8017 \begin_layout Standard
8018 555
8019 \end_layout
8020
8021 \end_inset
8022 </cell>
8023 </row>
8024 <row>
8025 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8026 \begin_inset Text
8027
8028 \begin_layout Standard
8029
8030 \series bold
8031 Gasparini
8032 \end_layout
8033
8034 \end_inset
8035 </cell>
8036 <cell alignment="center" valignment="top" topline="true" usebox="none">
8037 \begin_inset Text
8038
8039 \begin_layout Standard
8040 Franca
8041 \end_layout
8042
8043 \end_inset
8044 </cell>
8045 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8046 \begin_inset Text
8047
8048 \begin_layout Standard
8049 555
8050 \end_layout
8051
8052 \end_inset
8053 </cell>
8054 </row>
8055 <row>
8056 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8057 \begin_inset Text
8058
8059 \begin_layout Standard
8060
8061 \series bold
8062 Rizzardi
8063 \end_layout
8064
8065 \end_inset
8066 </cell>
8067 <cell alignment="center" valignment="top" topline="true" usebox="none">
8068 \begin_inset Text
8069
8070 \begin_layout Standard
8071 Paola
8072 \end_layout
8073
8074 \end_inset
8075 </cell>
8076 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8077 \begin_inset Text
8078
8079 \begin_layout Standard
8080 555
8081 \end_layout
8082
8083 \end_inset
8084 </cell>
8085 </row>
8086 <row>
8087 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8088 \begin_inset Text
8089
8090 \begin_layout Standard
8091
8092 \series bold
8093 Lassini
8094 \end_layout
8095
8096 \end_inset
8097 </cell>
8098 <cell alignment="center" valignment="top" topline="true" usebox="none">
8099 \begin_inset Text
8100
8101 \begin_layout Standard
8102 Giancarlo
8103 \end_layout
8104
8105 \end_inset
8106 </cell>
8107 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8108 \begin_inset Text
8109
8110 \begin_layout Standard
8111 555
8112 \end_layout
8113
8114 \end_inset
8115 </cell>
8116 </row>
8117 <row>
8118 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8119 \begin_inset Text
8120
8121 \begin_layout Standard
8122
8123 \series bold
8124 Malfatti
8125 \end_layout
8126
8127 \end_inset
8128 </cell>
8129 <cell alignment="center" valignment="top" topline="true" usebox="none">
8130 \begin_inset Text
8131
8132 \begin_layout Standard
8133 Luciano
8134 \end_layout
8135
8136 \end_inset
8137 </cell>
8138 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8139 \begin_inset Text
8140
8141 \begin_layout Standard
8142 555
8143 \end_layout
8144
8145 \end_inset
8146 </cell>
8147 </row>
8148 <row>
8149 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8150 \begin_inset Text
8151
8152 \begin_layout Standard
8153
8154 \series bold
8155 Malfatti
8156 \end_layout
8157
8158 \end_inset
8159 </cell>
8160 <cell alignment="center" valignment="top" topline="true" usebox="none">
8161 \begin_inset Text
8162
8163 \begin_layout Standard
8164 Valeriano
8165 \end_layout
8166
8167 \end_inset
8168 </cell>
8169 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8170 \begin_inset Text
8171
8172 \begin_layout Standard
8173 555
8174 \end_layout
8175
8176 \end_inset
8177 </cell>
8178 </row>
8179 <row>
8180 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8181 \begin_inset Text
8182
8183 \begin_layout Standard
8184
8185 \series bold
8186 Meneguzzo
8187 \end_layout
8188
8189 \end_inset
8190 </cell>
8191 <cell alignment="center" valignment="top" topline="true" usebox="none">
8192 \begin_inset Text
8193
8194 \begin_layout Standard
8195 Roberto
8196 \end_layout
8197
8198 \end_inset
8199 </cell>
8200 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8201 \begin_inset Text
8202
8203 \begin_layout Standard
8204 555
8205 \end_layout
8206
8207 \end_inset
8208 </cell>
8209 </row>
8210 <row bottomline="true">
8211 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8212 \begin_inset Text
8213
8214 \begin_layout Standard
8215
8216 \series bold
8217 Mezzadra
8218 \end_layout
8219
8220 \end_inset
8221 </cell>
8222 <cell alignment="center" valignment="top" topline="true" usebox="none">
8223 \begin_inset Text
8224
8225 \begin_layout Standard
8226 Roberto
8227 \end_layout
8228
8229 \end_inset
8230 </cell>
8231 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8232 \begin_inset Text
8233
8234 \begin_layout Standard
8235 555
8236 \end_layout
8237
8238 \end_inset
8239 </cell>
8240 </row>
8241 <row bottomline="true" endlastfoot="true">
8242 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
8243 \begin_inset Text
8244
8245 \begin_layout Standard
8246
8247 \end_layout
8248
8249 \end_inset
8250 </cell>
8251 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8252 \begin_inset Text
8253
8254 \begin_layout Standard
8255
8256 \end_layout
8257
8258 \end_inset
8259 </cell>
8260 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8261 \begin_inset Text
8262
8263 \begin_layout Standard
8264
8265 \end_layout
8266
8267 \end_inset
8268 </cell>
8269 </row>
8270 </lyxtabular>
8271
8272 \end_inset
8273
8274
8275 \end_layout
8276
8277 \begin_layout Section
8278 Special Longtable Issues
8279 \begin_inset LatexCommand label
8280 name "sec:Special-Longtable-Issues"
8281
8282 \end_inset
8283
8284
8285 \end_layout
8286
8287 \begin_layout Subsection
8288 Longtable Calculation
8289 \begin_inset LatexCommand index
8290 name "Longtables ! Calculation"
8291
8292 \end_inset
8293
8294
8295 \end_layout
8296
8297 \begin_layout Standard
8298 LaTeX calculates the height of table pages and their page breaks using so
8299  called chunks.
8300  Chunks are pieces of the tables that are at once in LaTeX's memory.
8301  The default value is historically set to only 20 table rows.
8302  If you are using longtables with many pages this may slow down the creation
8303  of your document.
8304  You can safely increase the chunk size to values of 100-1000 by adding
8305  this command line to your document preamble:
8306 \end_layout
8307
8308 \begin_layout Standard
8309
8310 \series bold
8311
8312 \backslash
8313 setcounter{LTchunksize}{100}
8314 \end_layout
8315
8316 \begin_layout Subsection
8317 Floats and Longtables
8318 \begin_inset LatexCommand index
8319 name "Longtables ! Floats"
8320
8321 \end_inset
8322
8323
8324 \end_layout
8325
8326 \begin_layout Standard
8327 There might be problems when a float appears on the same page where a longtable
8328  starts.
8329  To avoid such situation, add the command 
8330 \series bold
8331
8332 \backslash
8333 clearpage
8334 \series default
8335  as ERT before your longtable.
8336 \end_layout
8337
8338 \begin_layout Subsection
8339 Forced Page Breaks
8340 \begin_inset LatexCommand index
8341 name "Longtables ! Forced Page Breaks"
8342
8343 \end_inset
8344
8345
8346 \end_layout
8347
8348 \begin_layout Standard
8349 By default tables are only broken between rows.
8350  If you have a cell with multiples lines and want to have a page break within
8351  the cell, insert the new line command 
8352 \begin_inset Quotes eld
8353 \end_inset
8354
8355
8356 \series bold
8357
8358 \backslash
8359
8360 \backslash
8361
8362 \series default
8363
8364 \begin_inset Quotes erd
8365 \end_inset
8366
8367  as ERT at this point of the cell where it should be broken.
8368  Before the 
8369 \series bold
8370
8371 \backslash
8372
8373 \backslash
8374
8375 \series default
8376  command you have to insert in ERT so many 
8377 \begin_inset Quotes eld
8378 \end_inset
8379
8380
8381 \series bold
8382 &
8383 \series default
8384
8385 \begin_inset Quotes erd
8386 \end_inset
8387
8388  characters like the number of the following table columns.
8389  The 
8390 \series bold
8391 &
8392 \series default
8393  is the character to separate table cells.
8394  Write in ERT after each 
8395 \series bold
8396 &
8397 \series default
8398  the content of the corresponding following cell and delete the content
8399  of these cells.
8400 \newline
8401 Behind the the 
8402 \series bold
8403
8404 \backslash
8405
8406 \backslash
8407
8408 \series default
8409  command, insert so many 
8410 \series bold
8411 &
8412 \series default
8413  characters like the number of table columns before the current column.
8414  In Table\InsetSpace ~
8415
8416 \begin_inset LatexCommand ref
8417 reference "tab:ForcedPagebreak"
8418
8419 \end_inset
8420
8421  the cell that should be broken is in the second column followed by another
8422  column.
8423  Therefore the following command was inserted in the cell as ERT behind
8424  
8425 \begin_inset Quotes eld
8426 \end_inset
8427
8428
8429 \emph on
8430 Castelchiodato,
8431 \emph default
8432
8433 \begin_inset Quotes erd
8434 \end_inset
8435
8436 :
8437 \end_layout
8438
8439 \begin_layout Standard
8440
8441 \series bold
8442 & 111
8443 \backslash
8444
8445 \backslash
8446
8447 \newline
8448 &
8449 \end_layout
8450
8451 \begin_layout Standard
8452 The 
8453 \begin_inset Quotes eld
8454 \end_inset
8455
8456 111
8457 \begin_inset Quotes erd
8458 \end_inset
8459
8460  in the third columns of the row was deleted.
8461  If your footer row of the longtable has for a certain reason no upper line
8462  but you would have a horizontal line where the cell is broken, use this
8463  command instead:
8464 \end_layout
8465
8466 \begin_layout Standard
8467
8468 \series bold
8469 & 111
8470 \backslash
8471
8472 \backslash
8473
8474 \newline
8475
8476 \backslash
8477 hline &
8478 \end_layout
8479
8480 \begin_layout Standard
8481 When the cell to be broken is in the last column, the command
8482 \end_layout
8483
8484 \begin_layout Standard
8485
8486 \series bold
8487
8488 \backslash
8489 setlength{
8490 \backslash
8491 parf\SpecialChar \textcompwordmark{}
8492 illskip}{0pt}
8493 \end_layout
8494
8495 \begin_layout Standard
8496 must be inserted as ERT at the beginning of the cell.
8497  This assures that the part of the cell that will be displayed on the new
8498  page appears with the full width.
8499  
8500 \end_layout
8501
8502 \begin_layout Standard
8503 \align center
8504 \begin_inset Tabular
8505 <lyxtabular version="3" rows="39" columns="3">
8506 <features islongtable="true">
8507 <column alignment="left" valignment="top" leftline="true" width="0cm">
8508 <column alignment="left" valignment="top" rightline="true" width="3cm">
8509 <column alignment="right" valignment="top" rightline="true" width="0pt">
8510 <row endfirsthead="true">
8511 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8512 \begin_inset Text
8513
8514 \begin_layout Standard
8515 \begin_inset Caption
8516
8517 \begin_layout Standard
8518 Table with forced page break in table cell
8519 \begin_inset LatexCommand label
8520 name "tab:ForcedPagebreak"
8521
8522 \end_inset
8523
8524
8525 \begin_inset OptArg
8526 status collapsed
8527
8528 \begin_layout Standard
8529 Table with forced page break in table cell
8530 \end_layout
8531
8532 \end_inset
8533
8534
8535 \end_layout
8536
8537 \end_inset
8538
8539
8540 \begin_inset ERT
8541 status collapsed
8542
8543 \begin_layout Standard
8544
8545
8546 \backslash
8547
8548 \backslash
8549 %
8550 \end_layout
8551
8552 \end_inset
8553
8554
8555 \end_layout
8556
8557 \end_inset
8558 </cell>
8559 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8560 \begin_inset Text
8561
8562 \begin_layout Standard
8563
8564 \end_layout
8565
8566 \end_inset
8567 </cell>
8568 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8569 \begin_inset Text
8570
8571 \begin_layout Standard
8572
8573 \end_layout
8574
8575 \end_inset
8576 </cell>
8577 </row>
8578 <row topline="true" bottomline="true" endfirsthead="true">
8579 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8580 \begin_inset Text
8581
8582 \begin_layout Standard
8583
8584 \series bold
8585 Example Phone List (ignore the names)
8586 \end_layout
8587
8588 \end_inset
8589 </cell>
8590 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8591 \begin_inset Text
8592
8593 \begin_layout Standard
8594
8595 \end_layout
8596
8597 \end_inset
8598 </cell>
8599 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8600 \begin_inset Text
8601
8602 \begin_layout Standard
8603
8604 \end_layout
8605
8606 \end_inset
8607 </cell>
8608 </row>
8609 <row topline="true" bottomline="true" endfirsthead="true">
8610 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8611 \begin_inset Text
8612
8613 \begin_layout Standard
8614
8615 \series bold
8616 NAME
8617 \end_layout
8618
8619 \end_inset
8620 </cell>
8621 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8622 \begin_inset Text
8623
8624 \begin_layout Standard
8625
8626 \end_layout
8627
8628 \end_inset
8629 </cell>
8630 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8631 \begin_inset Text
8632
8633 \begin_layout Standard
8634
8635 \series bold
8636 TEL.
8637 \end_layout
8638
8639 \end_inset
8640 </cell>
8641 </row>
8642 <row bottomline="true" endhead="true">
8643 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8644 \begin_inset Text
8645
8646 \begin_layout Standard
8647 \begin_inset ERT
8648 status collapsed
8649
8650 \begin_layout Standard
8651
8652
8653 \backslash
8654 caption*{Continued table with forced page break in table cell}
8655 \backslash
8656
8657 \backslash
8658 %
8659 \end_layout
8660
8661 \end_inset
8662
8663
8664 \end_layout
8665
8666 \end_inset
8667 </cell>
8668 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8669 \begin_inset Text
8670
8671 \begin_layout Standard
8672
8673 \end_layout
8674
8675 \end_inset
8676 </cell>
8677 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8678 \begin_inset Text
8679
8680 \begin_layout Standard
8681
8682 \end_layout
8683
8684 \end_inset
8685 </cell>
8686 </row>
8687 <row topline="true" bottomline="true" endhead="true">
8688 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8689 \begin_inset Text
8690
8691 \begin_layout Standard
8692  
8693 \series bold
8694 Example Phone List
8695 \end_layout
8696
8697 \end_inset
8698 </cell>
8699 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8700 \begin_inset Text
8701
8702 \begin_layout Standard
8703
8704 \end_layout
8705
8706 \end_inset
8707 </cell>
8708 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8709 \begin_inset Text
8710
8711 \begin_layout Standard
8712
8713 \end_layout
8714
8715 \end_inset
8716 </cell>
8717 </row>
8718 <row topline="true" bottomline="true" endhead="true">
8719 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8720 \begin_inset Text
8721
8722 \begin_layout Standard
8723
8724 \series bold
8725 NAME
8726 \end_layout
8727
8728 \end_inset
8729 </cell>
8730 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8731 \begin_inset Text
8732
8733 \begin_layout Standard
8734
8735 \end_layout
8736
8737 \end_inset
8738 </cell>
8739 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8740 \begin_inset Text
8741
8742 \begin_layout Standard
8743
8744 \series bold
8745 TEL.
8746 \end_layout
8747
8748 \end_inset
8749 </cell>
8750 </row>
8751 <row topline="true" bottomline="true" endfoot="true">
8752 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
8753 \begin_inset Text
8754
8755 \begin_layout Standard
8756 continued on next page
8757 \end_layout
8758
8759 \end_inset
8760 </cell>
8761 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8762 \begin_inset Text
8763
8764 \begin_layout Standard
8765
8766 \end_layout
8767
8768 \end_inset
8769 </cell>
8770 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8771 \begin_inset Text
8772
8773 \begin_layout Standard
8774
8775 \end_layout
8776
8777 \end_inset
8778 </cell>
8779 </row>
8780 <row>
8781 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8782 \begin_inset Text
8783
8784 \begin_layout Standard
8785
8786 \series bold
8787 Annovi
8788 \end_layout
8789
8790 \end_inset
8791 </cell>
8792 <cell alignment="center" valignment="top" topline="true" usebox="none">
8793 \begin_inset Text
8794
8795 \begin_layout Standard
8796 Silvia
8797 \end_layout
8798
8799 \end_inset
8800 </cell>
8801 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8802 \begin_inset Text
8803
8804 \begin_layout Standard
8805 111
8806 \end_layout
8807
8808 \end_inset
8809 </cell>
8810 </row>
8811 <row>
8812 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8813 \begin_inset Text
8814
8815 \begin_layout Standard
8816
8817 \series bold
8818 Bertoli
8819 \end_layout
8820
8821 \end_inset
8822 </cell>
8823 <cell alignment="center" valignment="top" topline="true" usebox="none">
8824 \begin_inset Text
8825
8826 \begin_layout Standard
8827 Stefano
8828 \end_layout
8829
8830 \end_inset
8831 </cell>
8832 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8833 \begin_inset Text
8834
8835 \begin_layout Standard
8836 111
8837 \end_layout
8838
8839 \end_inset
8840 </cell>
8841 </row>
8842 <row>
8843 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8844 \begin_inset Text
8845
8846 \begin_layout Standard
8847
8848 \series bold
8849 Bozzi
8850 \end_layout
8851
8852 \end_inset
8853 </cell>
8854 <cell alignment="center" valignment="top" topline="true" usebox="none">
8855 \begin_inset Text
8856
8857 \begin_layout Standard
8858 Walter
8859 \end_layout
8860
8861 \end_inset
8862 </cell>
8863 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8864 \begin_inset Text
8865
8866 \begin_layout Standard
8867 111
8868 \end_layout
8869
8870 \end_inset
8871 </cell>
8872 </row>
8873 <row>
8874 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8875 \begin_inset Text
8876
8877 \begin_layout Standard
8878
8879 \series bold
8880 Cachia
8881 \end_layout
8882
8883 \end_inset
8884 </cell>
8885 <cell alignment="center" valignment="top" topline="true" usebox="none">
8886 \begin_inset Text
8887
8888 \begin_layout Standard
8889 Maria
8890 \end_layout
8891
8892 \end_inset
8893 </cell>
8894 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8895 \begin_inset Text
8896
8897 \begin_layout Standard
8898 111
8899 \end_layout
8900
8901 \end_inset
8902 </cell>
8903 </row>
8904 <row>
8905 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8906 \begin_inset Text
8907
8908 \begin_layout Standard
8909
8910 \series bold
8911 Cachia
8912 \end_layout
8913
8914 \end_inset
8915 </cell>
8916 <cell alignment="center" valignment="top" topline="true" usebox="none">
8917 \begin_inset Text
8918
8919 \begin_layout Standard
8920 Maurizio
8921 \end_layout
8922
8923 \end_inset
8924 </cell>
8925 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8926 \begin_inset Text
8927
8928 \begin_layout Standard
8929 111
8930 \end_layout
8931
8932 \end_inset
8933 </cell>
8934 </row>
8935 <row>
8936 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8937 \begin_inset Text
8938
8939 \begin_layout Standard
8940
8941 \series bold
8942 Cinquemani
8943 \end_layout
8944
8945 \end_inset
8946 </cell>
8947 <cell alignment="center" valignment="top" topline="true" usebox="none">
8948 \begin_inset Text
8949
8950 \begin_layout Standard
8951 Giusi
8952 \end_layout
8953
8954 \end_inset
8955 </cell>
8956 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8957 \begin_inset Text
8958
8959 \begin_layout Standard
8960 111
8961 \end_layout
8962
8963 \end_inset
8964 </cell>
8965 </row>
8966 <row>
8967 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8968 \begin_inset Text
8969
8970 \begin_layout Standard
8971
8972 \series bold
8973 Colin
8974 \end_layout
8975
8976 \end_inset
8977 </cell>
8978 <cell alignment="center" valignment="top" topline="true" usebox="none">
8979 \begin_inset Text
8980
8981 \begin_layout Standard
8982 Bernard
8983 \end_layout
8984
8985 \end_inset
8986 </cell>
8987 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8988 \begin_inset Text
8989
8990 \begin_layout Standard
8991 111
8992 \end_layout
8993
8994 \end_inset
8995 </cell>
8996 </row>
8997 <row>
8998 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8999 \begin_inset Text
9000
9001 \begin_layout Standard
9002
9003 \series bold
9004 Concli
9005 \end_layout
9006
9007 \end_inset
9008 </cell>
9009 <cell alignment="center" valignment="top" topline="true" usebox="none">
9010 \begin_inset Text
9011
9012 \begin_layout Standard
9013 Gianfranco
9014 \end_layout
9015
9016 \end_inset
9017 </cell>
9018 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9019 \begin_inset Text
9020
9021 \begin_layout Standard
9022 111
9023 \end_layout
9024
9025 \end_inset
9026 </cell>
9027 </row>
9028 <row>
9029 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9030 \begin_inset Text
9031
9032 \begin_layout Standard
9033
9034 \series bold
9035 Dal Bosco
9036 \end_layout
9037
9038 \end_inset
9039 </cell>
9040 <cell alignment="center" valignment="top" topline="true" usebox="none">
9041 \begin_inset Text
9042
9043 \begin_layout Standard
9044 Carolina
9045 \end_layout
9046
9047 \end_inset
9048 </cell>
9049 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9050 \begin_inset Text
9051
9052 \begin_layout Standard
9053 111
9054 \end_layout
9055
9056 \end_inset
9057 </cell>
9058 </row>
9059 <row>
9060 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9061 \begin_inset Text
9062
9063 \begin_layout Standard
9064
9065 \series bold
9066 Dalpiaz
9067 \end_layout
9068
9069 \end_inset
9070 </cell>
9071 <cell alignment="center" valignment="top" topline="true" usebox="none">
9072 \begin_inset Text
9073
9074 \begin_layout Standard
9075 Annamaria
9076 \end_layout
9077
9078 \end_inset
9079 </cell>
9080 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9081 \begin_inset Text
9082
9083 \begin_layout Standard
9084 111
9085 \end_layout
9086
9087 \end_inset
9088 </cell>
9089 </row>
9090 <row>
9091 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9092 \begin_inset Text
9093
9094 \begin_layout Standard
9095
9096 \series bold
9097 Feliciello
9098 \end_layout
9099
9100 \end_inset
9101 </cell>
9102 <cell alignment="center" valignment="top" topline="true" usebox="none">
9103 \begin_inset Text
9104
9105 \begin_layout Standard
9106 Domenico
9107 \end_layout
9108
9109 \end_inset
9110 </cell>
9111 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9112 \begin_inset Text
9113
9114 \begin_layout Standard
9115 111
9116 \end_layout
9117
9118 \end_inset
9119 </cell>
9120 </row>
9121 <row>
9122 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9123 \begin_inset Text
9124
9125 \begin_layout Standard
9126
9127 \series bold
9128 Focarelli
9129 \end_layout
9130
9131 \end_inset
9132 </cell>
9133 <cell alignment="center" valignment="top" topline="true" usebox="none">
9134 \begin_inset Text
9135
9136 \begin_layout Standard
9137 Paola
9138 \end_layout
9139
9140 \end_inset
9141 </cell>
9142 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9143 \begin_inset Text
9144
9145 \begin_layout Standard
9146 111
9147 \end_layout
9148
9149 \end_inset
9150 </cell>
9151 </row>
9152 <row>
9153 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9154 \begin_inset Text
9155
9156 \begin_layout Standard
9157
9158 \series bold
9159 Galletti
9160 \end_layout
9161
9162 \end_inset
9163 </cell>
9164 <cell alignment="center" valignment="top" topline="true" usebox="none">
9165 \begin_inset Text
9166
9167 \begin_layout Standard
9168 Oreste
9169 \end_layout
9170
9171 \end_inset
9172 </cell>
9173 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9174 \begin_inset Text
9175
9176 \begin_layout Standard
9177 111
9178 \end_layout
9179
9180 \end_inset
9181 </cell>
9182 </row>
9183 <row>
9184 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9185 \begin_inset Text
9186
9187 \begin_layout Standard
9188
9189 \series bold
9190 Gasparini
9191 \end_layout
9192
9193 \end_inset
9194 </cell>
9195 <cell alignment="center" valignment="top" topline="true" usebox="none">
9196 \begin_inset Text
9197
9198 \begin_layout Standard
9199 Franca
9200 \end_layout
9201
9202 \end_inset
9203 </cell>
9204 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9205 \begin_inset Text
9206
9207 \begin_layout Standard
9208 111
9209 \end_layout
9210
9211 \end_inset
9212 </cell>
9213 </row>
9214 <row>
9215 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9216 \begin_inset Text
9217
9218 \begin_layout Standard
9219
9220 \series bold
9221 Lassini
9222 \end_layout
9223
9224 \end_inset
9225 </cell>
9226 <cell alignment="center" valignment="top" topline="true" usebox="none">
9227 \begin_inset Text
9228
9229 \begin_layout Standard
9230 Giancarlo
9231 \end_layout
9232
9233 \end_inset
9234 </cell>
9235 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9236 \begin_inset Text
9237
9238 \begin_layout Standard
9239 111
9240 \end_layout
9241
9242 \end_inset
9243 </cell>
9244 </row>
9245 <row>
9246 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9247 \begin_inset Text
9248
9249 \begin_layout Standard
9250
9251 \series bold
9252 Malfatti
9253 \end_layout
9254
9255 \end_inset
9256 </cell>
9257 <cell alignment="center" valignment="top" topline="true" usebox="none">
9258 \begin_inset Text
9259
9260 \begin_layout Standard
9261 Luciano
9262 \end_layout
9263
9264 \end_inset
9265 </cell>
9266 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9267 \begin_inset Text
9268
9269 \begin_layout Standard
9270 111
9271 \end_layout
9272
9273 \end_inset
9274 </cell>
9275 </row>
9276 <row>
9277 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9278 \begin_inset Text
9279
9280 \begin_layout Standard
9281
9282 \series bold
9283 Malfatti
9284 \end_layout
9285
9286 \end_inset
9287 </cell>
9288 <cell alignment="center" valignment="top" topline="true" usebox="none">
9289 \begin_inset Text
9290
9291 \begin_layout Standard
9292 Valeriano
9293 \end_layout
9294
9295 \end_inset
9296 </cell>
9297 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9298 \begin_inset Text
9299
9300 \begin_layout Standard
9301 111
9302 \end_layout
9303
9304 \end_inset
9305 </cell>
9306 </row>
9307 <row>
9308 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9309 \begin_inset Text
9310
9311 \begin_layout Standard
9312
9313 \series bold
9314 Meneguzzo
9315 \end_layout
9316
9317 \end_inset
9318 </cell>
9319 <cell alignment="center" valignment="top" topline="true" usebox="none">
9320 \begin_inset Text
9321
9322 \begin_layout Standard
9323 Roberto
9324 \end_layout
9325
9326 \end_inset
9327 </cell>
9328 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9329 \begin_inset Text
9330
9331 \begin_layout Standard
9332 111
9333 \end_layout
9334
9335 \end_inset
9336 </cell>
9337 </row>
9338 <row>
9339 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9340 \begin_inset Text
9341
9342 \begin_layout Standard
9343
9344 \series bold
9345 Mezzadra
9346 \end_layout
9347
9348 \end_inset
9349 </cell>
9350 <cell alignment="center" valignment="top" topline="true" usebox="none">
9351 \begin_inset Text
9352
9353 \begin_layout Standard
9354 Roberto
9355 \end_layout
9356
9357 \end_inset
9358 </cell>
9359 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9360 \begin_inset Text
9361
9362 \begin_layout Standard
9363 111
9364 \end_layout
9365
9366 \end_inset
9367 </cell>
9368 </row>
9369 <row>
9370 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9371 \begin_inset Text
9372
9373 \begin_layout Standard
9374
9375 \series bold
9376 Pirpamer
9377 \end_layout
9378
9379 \end_inset
9380 </cell>
9381 <cell alignment="center" valignment="top" topline="true" usebox="none">
9382 \begin_inset Text
9383
9384 \begin_layout Standard
9385 Erich
9386 \end_layout
9387
9388 \end_inset
9389 </cell>
9390 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9391 \begin_inset Text
9392
9393 \begin_layout Standard
9394 111
9395 \end_layout
9396
9397 \end_inset
9398 </cell>
9399 </row>
9400 <row>
9401 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9402 \begin_inset Text
9403
9404 \begin_layout Standard
9405
9406 \series bold
9407 Pochiesa
9408 \end_layout
9409
9410 \end_inset
9411 </cell>
9412 <cell alignment="center" valignment="top" topline="true" usebox="none">
9413 \begin_inset Text
9414
9415 \begin_layout Standard
9416 Paolo
9417 \end_layout
9418
9419 \end_inset
9420 </cell>
9421 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9422 \begin_inset Text
9423
9424 \begin_layout Standard
9425 111, 222
9426 \end_layout
9427
9428 \end_inset
9429 </cell>
9430 </row>
9431 <row>
9432 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9433 \begin_inset Text
9434
9435 \begin_layout Standard
9436
9437 \series bold
9438 Radina
9439 \end_layout
9440
9441 \end_inset
9442 </cell>
9443 <cell alignment="center" valignment="top" topline="true" usebox="none">
9444 \begin_inset Text
9445
9446 \begin_layout Standard
9447 Claudio
9448 \end_layout
9449
9450 \end_inset
9451 </cell>
9452 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9453 \begin_inset Text
9454
9455 \begin_layout Standard
9456 111
9457 \end_layout
9458
9459 \end_inset
9460 </cell>
9461 </row>
9462 <row>
9463 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9464 \begin_inset Text
9465
9466 \begin_layout Standard
9467
9468 \series bold
9469 Rizzardi
9470 \end_layout
9471
9472 \end_inset
9473 </cell>
9474 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9475 \begin_inset Text
9476
9477 \begin_layout Standard
9478 Paolo, 11.
9479  Fürst von Montecompatri, 11.
9480  Fürst von Sulmona und Vivaro, 10.
9481  Fürst von Rossano, 5.
9482  Herzog von Canemorte, 11.
9483  Herzog von Palombara, 5.
9484  Herzog von Castelchiodato,
9485 \begin_inset ERT
9486 status collapsed
9487
9488 \begin_layout Standard
9489
9490 & 111
9491 \backslash
9492
9493 \backslash
9494
9495 \end_layout
9496
9497 \begin_layout Standard
9498
9499 &
9500 \end_layout
9501
9502 \end_inset
9503
9504  11.
9505  Herzog von Poggionativo, 11.
9506  Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
9507  Graf von Valinfreda, 11.
9508  Baron von Cropalati, 11.
9509  Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
9510 \end_layout
9511
9512 \end_inset
9513 </cell>
9514 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9515 \begin_inset Text
9516
9517 \begin_layout Standard
9518
9519 \end_layout
9520
9521 \end_inset
9522 </cell>
9523 </row>
9524 <row>
9525 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9526 \begin_inset Text
9527
9528 \begin_layout Standard
9529
9530 \series bold
9531 Stuffer
9532 \end_layout
9533
9534 \end_inset
9535 </cell>
9536 <cell alignment="center" valignment="top" topline="true" usebox="none">
9537 \begin_inset Text
9538
9539 \begin_layout Standard
9540 Oskar
9541 \end_layout
9542
9543 \end_inset
9544 </cell>
9545 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9546 \begin_inset Text
9547
9548 \begin_layout Standard
9549 111
9550 \end_layout
9551
9552 \end_inset
9553 </cell>
9554 </row>
9555 <row>
9556 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9557 \begin_inset Text
9558
9559 \begin_layout Standard
9560
9561 \series bold
9562 Tacchelli
9563 \end_layout
9564
9565 \end_inset
9566 </cell>
9567 <cell alignment="center" valignment="top" topline="true" usebox="none">
9568 \begin_inset Text
9569
9570 \begin_layout Standard
9571 Ugo
9572 \end_layout
9573
9574 \end_inset
9575 </cell>
9576 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9577 \begin_inset Text
9578
9579 \begin_layout Standard
9580 111
9581 \end_layout
9582
9583 \end_inset
9584 </cell>
9585 </row>
9586 <row>
9587 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9588 \begin_inset Text
9589
9590 \begin_layout Standard
9591
9592 \series bold
9593 Tezzele
9594 \end_layout
9595
9596 \end_inset
9597 </cell>
9598 <cell alignment="center" valignment="top" topline="true" usebox="none">
9599 \begin_inset Text
9600
9601 \begin_layout Standard
9602 Margit
9603 \end_layout
9604
9605 \end_inset
9606 </cell>
9607 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9608 \begin_inset Text
9609
9610 \begin_layout Standard
9611 111
9612 \end_layout
9613
9614 \end_inset
9615 </cell>
9616 </row>
9617 <row>
9618 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9619 \begin_inset Text
9620
9621 \begin_layout Standard
9622
9623 \series bold
9624 Unterkalmsteiner
9625 \end_layout
9626
9627 \end_inset
9628 </cell>
9629 <cell alignment="center" valignment="top" topline="true" usebox="none">
9630 \begin_inset Text
9631
9632 \begin_layout Standard
9633 Frieda
9634 \end_layout
9635
9636 \end_inset
9637 </cell>
9638 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9639 \begin_inset Text
9640
9641 \begin_layout Standard
9642 111
9643 \end_layout
9644
9645 \end_inset
9646 </cell>
9647 </row>
9648 <row>
9649 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9650 \begin_inset Text
9651
9652 \begin_layout Standard
9653
9654 \series bold
9655 Vieider
9656 \end_layout
9657
9658 \end_inset
9659 </cell>
9660 <cell alignment="center" valignment="top" topline="true" usebox="none">
9661 \begin_inset Text
9662
9663 \begin_layout Standard
9664 Hilde
9665 \end_layout
9666
9667 \end_inset
9668 </cell>
9669 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9670 \begin_inset Text
9671
9672 \begin_layout Standard
9673 111
9674 \end_layout
9675
9676 \end_inset
9677 </cell>
9678 </row>
9679 <row>
9680 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9681 \begin_inset Text
9682
9683 \begin_layout Standard
9684
9685 \series bold
9686 Vigna
9687 \end_layout
9688
9689 \end_inset
9690 </cell>
9691 <cell alignment="center" valignment="top" topline="true" usebox="none">
9692 \begin_inset Text
9693
9694 \begin_layout Standard
9695 Jürgen
9696 \end_layout
9697
9698 \end_inset
9699 </cell>
9700 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9701 \begin_inset Text
9702
9703 \begin_layout Standard
9704 111
9705 \end_layout
9706
9707 \end_inset
9708 </cell>
9709 </row>
9710 <row>
9711 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9712 \begin_inset Text
9713
9714 \begin_layout Standard
9715
9716 \series bold
9717 Weber
9718 \end_layout
9719
9720 \end_inset
9721 </cell>
9722 <cell alignment="center" valignment="top" topline="true" usebox="none">
9723 \begin_inset Text
9724
9725 \begin_layout Standard
9726 Maurizio
9727 \end_layout
9728
9729 \end_inset
9730 </cell>
9731 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9732 \begin_inset Text
9733
9734 \begin_layout Standard
9735 111
9736 \end_layout
9737
9738 \end_inset
9739 </cell>
9740 </row>
9741 <row bottomline="true">
9742 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9743 \begin_inset Text
9744
9745 \begin_layout Standard
9746
9747 \series bold
9748 Winkler
9749 \end_layout
9750
9751 \end_inset
9752 </cell>
9753 <cell alignment="center" valignment="top" topline="true" usebox="none">
9754 \begin_inset Text
9755
9756 \begin_layout Standard
9757 Franz
9758 \end_layout
9759
9760 \end_inset
9761 </cell>
9762 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9763 \begin_inset Text
9764
9765 \begin_layout Standard
9766 111
9767 \end_layout
9768
9769 \end_inset
9770 </cell>
9771 </row>
9772 <row endlastfoot="true">
9773 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
9774 \begin_inset Text
9775
9776 \begin_layout Standard
9777
9778 \end_layout
9779
9780 \end_inset
9781 </cell>
9782 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9783 \begin_inset Text
9784
9785 \begin_layout Standard
9786
9787 \end_layout
9788
9789 \end_inset
9790 </cell>
9791 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9792 \begin_inset Text
9793
9794 \begin_layout Standard
9795
9796 \end_layout
9797
9798 \end_inset
9799 </cell>
9800 </row>
9801 </lyxtabular>
9802
9803 \end_inset
9804
9805
9806 \end_layout
9807
9808 \begin_layout Section
9809 Multiple Lines Columns and Rows
9810 \end_layout
9811
9812 \begin_layout Subsection
9813 Multiple Lines in Table Cells
9814 \begin_inset LatexCommand label
9815 name "sub:Multiple-Lines-in"
9816
9817 \end_inset
9818
9819
9820 \begin_inset LatexCommand index
9821 name "Multiple Lines in Table Cells"
9822
9823 \end_inset
9824
9825
9826 \begin_inset LatexCommand index
9827 name "Table ! Linebreaks"
9828
9829 \end_inset
9830
9831
9832 \end_layout
9833
9834 \begin_layout Standard
9835 \align center
9836 \begin_inset Float table
9837 placement H
9838 wide false
9839 sideways false
9840 status open
9841
9842 \begin_layout Standard
9843 \begin_inset Caption
9844
9845 \begin_layout Standard
9846 \begin_inset LatexCommand label
9847 name "tab:Table-with-multiple"
9848
9849 \end_inset
9850
9851 Table with multiple lines in cells
9852 \end_layout
9853
9854 \end_inset
9855
9856
9857 \end_layout
9858
9859 \begin_layout Standard
9860 \align center
9861 \begin_inset Tabular
9862 <lyxtabular version="3" rows="3" columns="3">
9863 <features>
9864 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
9865 <column alignment="center" valignment="middle" leftline="true" width="0.5cm">
9866 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0.5cm">
9867 <row topline="true">
9868 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9869 \begin_inset Text
9870
9871 \begin_layout Standard
9872 multiple
9873 \begin_inset ERT
9874 status collapsed
9875
9876 \begin_layout Standard
9877
9878
9879 \backslash
9880 linebreak 
9881 \end_layout
9882
9883 \end_inset
9884
9885  lines
9886 \end_layout
9887
9888 \end_inset
9889 </cell>
9890 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9891 \begin_inset Text
9892
9893 \begin_layout Standard
9894 b
9895 \end_layout
9896
9897 \end_inset
9898 </cell>
9899 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9900 \begin_inset Text
9901
9902 \begin_layout Standard
9903 c
9904 \end_layout
9905
9906 \end_inset
9907 </cell>
9908 </row>
9909 <row topline="true">
9910 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9911 \begin_inset Text
9912
9913 \begin_layout Standard
9914 d
9915 \end_layout
9916
9917 \end_inset
9918 </cell>
9919 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9920 \begin_inset Text
9921
9922 \begin_layout Standard
9923 e
9924 \end_layout
9925
9926 \end_inset
9927 </cell>
9928 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9929 \begin_inset Text
9930
9931 \begin_layout Standard
9932 f
9933 \end_layout
9934
9935 \end_inset
9936 </cell>
9937 </row>
9938 <row topline="true" bottomline="true">
9939 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9940 \begin_inset Text
9941
9942 \begin_layout Standard
9943 g
9944 \end_layout
9945
9946 \end_inset
9947 </cell>
9948 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9949 \begin_inset Text
9950
9951 \begin_layout Standard
9952 h
9953 \end_layout
9954
9955 \end_inset
9956 </cell>
9957 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9958 \begin_inset Text
9959
9960 \begin_layout Standard
9961 i
9962 \end_layout
9963
9964 \end_inset
9965 </cell>
9966 </row>
9967 </lyxtabular>
9968
9969 \end_inset
9970
9971
9972 \end_layout
9973
9974 \end_inset
9975
9976
9977 \end_layout
9978
9979 \begin_layout Standard
9980 Adjusting a fixed width for a column, enables to enter text as a paragraph
9981  with multiple lines and hyphenations.
9982 \end_layout
9983
9984 \begin_layout Standard
9985 To produce Table\InsetSpace ~
9986
9987 \begin_inset LatexCommand ref
9988 reference "tab:Table-with-multiple"
9989
9990 \end_inset
9991
9992 , create a 3×3 table, mark the first cell and right-click on it.
9993  In the appearing table dialog we set a cell width of 2.5\InsetSpace \thinspace{}
9994 cm and choose centered
9995  for the vertical and horizontal alignment.
9996  As our text is smaller than than 2.5\InsetSpace \thinspace{}
9997 cm, only one line will appear.
9998  To get two lines, we add a line break with the command
9999 \end_layout
10000
10001 \begin_layout Standard
10002
10003 \series bold
10004
10005 \backslash
10006 linebreak
10007 \end_layout
10008
10009 \begin_layout Standard
10010 in ERT.
10011  If the text is wider than the set cell width it will automatically be broken
10012  to several lines.
10013 \end_layout
10014
10015 \begin_layout Standard
10016 To center the text inside the two other cells of the first row vertically,
10017  right-click in the second cell, adjust a fixed width of 0.5\InsetSpace \thinspace{}
10018 cm and choose
10019  centered alignments.
10020  Then do the same for the third cell of the row.
10021 \end_layout
10022
10023 \begin_layout Standard
10024 If you have a long word in a cell with a fixed width, it cannot be hyphenated
10025  by LaTeX if it is the first entry.
10026  Therefore you need to insert something, to make the word not being the
10027  first entry: Add the command
10028 \end_layout
10029
10030 \begin_layout Standard
10031
10032 \series bold
10033
10034 \backslash
10035 hspace{0pt}
10036 \end_layout
10037
10038 \begin_layout Standard
10039 in ERT before the word.
10040  As the space is zero, it doesn't change the output.
10041  Table\InsetSpace ~
10042
10043 \begin_inset LatexCommand ref
10044 reference "tab:Table-with-and"
10045
10046 \end_inset
10047
10048  shows the effect.
10049 \end_layout
10050
10051 \begin_layout Standard
10052 \begin_inset Float table
10053 placement h
10054 wide false
10055 sideways false
10056 status open
10057
10058 \begin_layout Standard
10059 \begin_inset Caption
10060
10061 \begin_layout Standard
10062 \begin_inset LatexCommand label
10063 name "tab:Table-with-and"
10064
10065 \end_inset
10066
10067 Table with and without hyphenation
10068 \end_layout
10069
10070 \end_inset
10071
10072
10073 \end_layout
10074
10075 \begin_layout Standard
10076
10077 \hfill
10078
10079 \begin_inset Tabular
10080 <lyxtabular version="3" rows="3" columns="3">
10081 <features>
10082 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10083 <column alignment="center" valignment="middle" leftline="true" width="0.5cm">
10084 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0.5cm">
10085 <row topline="true">
10086 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10087 \begin_inset Text
10088
10089 \begin_layout Standard
10090 verylongtablecellword
10091 \end_layout
10092
10093 \end_inset
10094 </cell>
10095 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10096 \begin_inset Text
10097
10098 \begin_layout Standard
10099 b
10100 \end_layout
10101
10102 \end_inset
10103 </cell>
10104 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10105 \begin_inset Text
10106
10107 \begin_layout Standard
10108 c
10109 \end_layout
10110
10111 \end_inset
10112 </cell>
10113 </row>
10114 <row topline="true">
10115 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10116 \begin_inset Text
10117
10118 \begin_layout Standard
10119 d
10120 \end_layout
10121
10122 \end_inset
10123 </cell>
10124 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10125 \begin_inset Text
10126
10127 \begin_layout Standard
10128 e
10129 \end_layout
10130
10131 \end_inset
10132 </cell>
10133 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10134 \begin_inset Text
10135
10136 \begin_layout Standard
10137 f
10138 \end_layout
10139
10140 \end_inset
10141 </cell>
10142 </row>
10143 <row topline="true" bottomline="true">
10144 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10145 \begin_inset Text
10146
10147 \begin_layout Standard
10148 g
10149 \end_layout
10150
10151 \end_inset
10152 </cell>
10153 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10154 \begin_inset Text
10155
10156 \begin_layout Standard
10157 h
10158 \end_layout
10159
10160 \end_inset
10161 </cell>
10162 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10163 \begin_inset Text
10164
10165 \begin_layout Standard
10166 i
10167 \end_layout
10168
10169 \end_inset
10170 </cell>
10171 </row>
10172 </lyxtabular>
10173
10174 \end_inset
10175
10176
10177 \hfill
10178
10179 \begin_inset Tabular
10180 <lyxtabular version="3" rows="3" columns="3">
10181 <features>
10182 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10183 <column alignment="center" valignment="middle" leftline="true" width="0.5cm">
10184 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0.5cm">
10185 <row topline="true">
10186 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10187 \begin_inset Text
10188
10189 \begin_layout Standard
10190 \begin_inset ERT
10191 status collapsed
10192
10193 \begin_layout Standard
10194
10195
10196 \backslash
10197 hspace{0pt}
10198 \end_layout
10199
10200 \end_inset
10201
10202 verylongtablecellword
10203 \end_layout
10204
10205 \end_inset
10206 </cell>
10207 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10208 \begin_inset Text
10209
10210 \begin_layout Standard
10211 b
10212 \end_layout
10213
10214 \end_inset
10215 </cell>
10216 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10217 \begin_inset Text
10218
10219 \begin_layout Standard
10220 c
10221 \end_layout
10222
10223 \end_inset
10224 </cell>
10225 </row>
10226 <row topline="true">
10227 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10228 \begin_inset Text
10229
10230 \begin_layout Standard
10231 d
10232 \end_layout
10233
10234 \end_inset
10235 </cell>
10236 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10237 \begin_inset Text
10238
10239 \begin_layout Standard
10240 e
10241 \end_layout
10242
10243 \end_inset
10244 </cell>
10245 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10246 \begin_inset Text
10247
10248 \begin_layout Standard
10249 f
10250 \end_layout
10251
10252 \end_inset
10253 </cell>
10254 </row>
10255 <row topline="true" bottomline="true">
10256 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10257 \begin_inset Text
10258
10259 \begin_layout Standard
10260 g
10261 \end_layout
10262
10263 \end_inset
10264 </cell>
10265 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10266 \begin_inset Text
10267
10268 \begin_layout Standard
10269 h
10270 \end_layout
10271
10272 \end_inset
10273 </cell>
10274 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10275 \begin_inset Text
10276
10277 \begin_layout Standard
10278 i
10279 \end_layout
10280
10281 \end_inset
10282 </cell>
10283 </row>
10284 </lyxtabular>
10285
10286 \end_inset
10287
10288
10289 \hfill
10290
10291 \end_layout
10292
10293 \end_inset
10294
10295
10296 \end_layout
10297
10298 \begin_layout Standard
10299
10300 \newpage
10301
10302 \end_layout
10303
10304 \begin_layout Subsection
10305 Multicolumns
10306 \begin_inset LatexCommand label
10307 name "sub:Multicolumns"
10308
10309 \end_inset
10310
10311
10312 \begin_inset LatexCommand index
10313 name "Multicolumns"
10314
10315 \end_inset
10316
10317
10318 \begin_inset LatexCommand index
10319 name "Table ! Multicolumns"
10320
10321 \end_inset
10322
10323
10324 \end_layout
10325
10326 \begin_layout Subsubsection
10327 Multicolumn Basics
10328 \end_layout
10329
10330 \begin_layout Standard
10331 To span a cell over multiple columns, mark as much cells within a line that
10332  should be one spanned cell and use either the table-toolbar button 
10333 \begin_inset Graphics
10334         filename ../images/tabular-feature_multicolumn.xpm
10335         scale 85
10336
10337 \end_inset
10338
10339 , or the menu 
10340 \family sans
10341 Edit\SpecialChar \menuseparator
10342 Table\SpecialChar \menuseparator
10343 Multicolumn
10344 \family default
10345 , or right click on the marked cells and choose multicolumn in the appearing
10346  table dialog under the tab 
10347 \family sans
10348 Table Settings
10349 \family default
10350 .
10351 \end_layout
10352
10353 \begin_layout Standard
10354 Multicolumns have there own cell settings.
10355  That means changing cell borders, cell alignment, and the width only affects
10356  the multicolumn.
10357  Here is an example table with a multicolumn cell in the first row and one
10358  in the last row without the upper border:
10359 \end_layout
10360
10361 \begin_layout Standard
10362 \align center
10363 \begin_inset Tabular
10364 <lyxtabular version="3" rows="3" columns="4">
10365 <features firstHeadTopDL="true" firstHeadBottomDL="true">
10366 <column alignment="center" valignment="top" leftline="true" width="0pt">
10367 <column alignment="center" valignment="middle" leftline="true" width="0">
10368 <column alignment="center" valignment="top" leftline="true" width="0in">
10369 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
10370 <row topline="true" bottomline="true">
10371 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10372 \begin_inset Text
10373
10374 \begin_layout Standard
10375 abc
10376 \end_layout
10377
10378 \end_inset
10379 </cell>
10380 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
10381 \begin_inset Text
10382
10383 \begin_layout Standard
10384 def
10385 \lang ngerman
10386  
10387 \lang english
10388 ghi
10389 \end_layout
10390
10391 \end_inset
10392 </cell>
10393 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10394 \begin_inset Text
10395
10396 \begin_layout Standard
10397
10398 \end_layout
10399
10400 \end_inset
10401 </cell>
10402 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10403 \begin_inset Text
10404
10405 \begin_layout Standard
10406 jkl
10407 \end_layout
10408
10409 \end_inset
10410 </cell>
10411 </row>
10412 <row topline="true">
10413 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10414 \begin_inset Text
10415
10416 \begin_layout Standard
10417
10418 \family roman
10419 \series medium
10420 \shape up
10421 \size normal
10422 \emph off
10423 \bar no
10424 \noun off
10425 \color none
10426 A
10427 \end_layout
10428
10429 \end_inset
10430 </cell>
10431 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10432 \begin_inset Text
10433
10434 \begin_layout Standard
10435 B
10436 \end_layout
10437
10438 \end_inset
10439 </cell>
10440 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10441 \begin_inset Text
10442
10443 \begin_layout Standard
10444 C
10445 \end_layout
10446
10447 \end_inset
10448 </cell>
10449 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10450 \begin_inset Text
10451
10452 \begin_layout Standard
10453 D
10454 \end_layout
10455
10456 \end_inset
10457 </cell>
10458 </row>
10459 <row topline="true" bottomline="true">
10460 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10461 \begin_inset Text
10462
10463 \begin_layout Standard
10464 1
10465 \end_layout
10466
10467 \end_inset
10468 </cell>
10469 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10470 \begin_inset Text
10471
10472 \begin_layout Standard
10473 2
10474 \end_layout
10475
10476 \end_inset
10477 </cell>
10478 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10479 \begin_inset Text
10480
10481 \begin_layout Standard
10482 3
10483 \end_layout
10484
10485 \end_inset
10486 </cell>
10487 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10488 \begin_inset Text
10489
10490 \begin_layout Standard
10491 4
10492 \end_layout
10493
10494 \end_inset
10495 </cell>
10496 </row>
10497 </lyxtabular>
10498
10499 \end_inset
10500
10501
10502 \end_layout
10503
10504 \begin_layout Subsubsection
10505 Multicolumn Calculations
10506 \begin_inset LatexCommand label
10507 name "sub:Multicolumn-Calculations"
10508
10509 \end_inset
10510
10511
10512 \begin_inset LatexCommand index
10513 name "Multicolumns ! Calculations"
10514
10515 \end_inset
10516
10517
10518 \end_layout
10519
10520 \begin_layout Standard
10521 LyX supports multicolumns directly, but we have to take notice of the cell
10522  width of the columns spanned by the multicolumn cell.
10523 \end_layout
10524
10525 \begin_layout Standard
10526 \begin_inset Float table
10527 wide false
10528 sideways false
10529 status open
10530
10531 \begin_layout Standard
10532 \begin_inset Caption
10533
10534 \begin_layout Standard
10535 \begin_inset LatexCommand label
10536 name "tab:Table-with-centered"
10537
10538 \end_inset
10539
10540 Table with centered multicolumn text above two columns that have exactly
10541  half the width of the multicolumn cell
10542 \begin_inset OptArg
10543 status collapsed
10544
10545 \begin_layout Standard
10546 Perfect multicolumn table
10547 \end_layout
10548
10549 \end_inset
10550
10551
10552 \end_layout
10553
10554 \end_inset
10555
10556
10557 \end_layout
10558
10559 \begin_layout Standard
10560 \align center
10561 \begin_inset Tabular
10562 <lyxtabular version="3" rows="3" columns="3">
10563 <features>
10564 <column alignment="center" valignment="middle" leftline="true" width="0" special=">{\centering}m{1.25cm-6.2pt}">
10565 <column alignment="center" valignment="middle" leftline="true" width="0">
10566 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
10567 <row topline="true">
10568 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special=">{\centering}m{2.5cm}">
10569 \begin_inset Text
10570
10571 \begin_layout Standard
10572 multiple lines multicolumn
10573 \end_layout
10574
10575 \end_inset
10576 </cell>
10577 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10578 \begin_inset Text
10579
10580 \begin_layout Standard
10581
10582 \end_layout
10583
10584 \end_inset
10585 </cell>
10586 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10587 \begin_inset Text
10588
10589 \begin_layout Standard
10590 c
10591 \end_layout
10592
10593 \end_inset
10594 </cell>
10595 </row>
10596 <row topline="true">
10597 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10598 \begin_inset Text
10599
10600 \begin_layout Standard
10601 d
10602 \end_layout
10603
10604 \end_inset
10605 </cell>
10606 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10607 \begin_inset Text
10608
10609 \begin_layout Standard
10610 e
10611 \end_layout
10612
10613 \end_inset
10614 </cell>
10615 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10616 \begin_inset Text
10617
10618 \begin_layout Standard
10619 f
10620 \end_layout
10621
10622 \end_inset
10623 </cell>
10624 </row>
10625 <row topline="true" bottomline="true">
10626 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10627 \begin_inset Text
10628
10629 \begin_layout Standard
10630 g
10631 \end_layout
10632
10633 \end_inset
10634 </cell>
10635 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10636 \begin_inset Text
10637
10638 \begin_layout Standard
10639 h
10640 \end_layout
10641
10642 \end_inset
10643 </cell>
10644 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10645 \begin_inset Text
10646
10647 \begin_layout Standard
10648 i
10649 \end_layout
10650
10651 \end_inset
10652 </cell>
10653 </row>
10654 </lyxtabular>
10655
10656 \end_inset
10657
10658
10659 \end_layout
10660
10661 \end_inset
10662
10663
10664 \end_layout
10665
10666 \begin_layout Standard
10667 To create for example Table\InsetSpace ~
10668
10669 \begin_inset LatexCommand ref
10670 reference "tab:Table-with-centered"
10671
10672 \end_inset
10673
10674 , mark the first two cells in the first row a 3×3 table and right-click
10675  on them.
10676  Now choose for this cell 
10677 \emph on
10678 multicolumn
10679 \emph default
10680
10681 \emph on
10682 centered alignment
10683 \emph default
10684  and a width of 2.5\InsetSpace \thinspace{}
10685 cm in the table dialog.
10686  The spanned columns should have exactly half the width of the multicolumn
10687  cell, so that you would adjust a width of 1.25\InsetSpace \thinspace{}
10688 cm for the first column.
10689  The second column has then automatically a width of 1.25\InsetSpace \thinspace{}
10690 cm (multicolumn
10691  width - width of first column).
10692  This was done for Table\InsetSpace ~
10693
10694 \begin_inset LatexCommand ref
10695 reference "tab:Table-without-half"
10696
10697 \end_inset
10698
10699 .
10700 \end_layout
10701
10702 \begin_layout Standard
10703 \begin_inset Float table
10704 wide false
10705 sideways false
10706 status open
10707
10708 \begin_layout Standard
10709 \begin_inset Caption
10710
10711 \begin_layout Standard
10712 \begin_inset LatexCommand label
10713 name "tab:Table-without-half"
10714
10715 \end_inset
10716
10717 Table where the spanned table columns have not exactly half the width of
10718  the multicolumn cell
10719 \begin_inset OptArg
10720 status collapsed
10721
10722 \begin_layout Standard
10723 Imperfect multicolumn table
10724 \end_layout
10725
10726 \end_inset
10727
10728
10729 \end_layout
10730
10731 \end_inset
10732
10733
10734 \end_layout
10735
10736 \begin_layout Standard
10737 \align center
10738 \begin_inset Tabular
10739 <lyxtabular version="3" rows="3" columns="3">
10740 <features>
10741 <column alignment="center" valignment="top" leftline="true" width="1.25cm">
10742 <column alignment="center" valignment="top" leftline="true" width="0">
10743 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
10744 <row topline="true" bottomline="true">
10745 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
10746 \begin_inset Text
10747
10748 \begin_layout Standard
10749 multiple lines multicolumn
10750 \end_layout
10751
10752 \end_inset
10753 </cell>
10754 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10755 \begin_inset Text
10756
10757 \begin_layout Standard
10758
10759 \end_layout
10760
10761 \end_inset
10762 </cell>
10763 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10764 \begin_inset Text
10765
10766 \begin_layout Standard
10767 c
10768 \end_layout
10769
10770 \end_inset
10771 </cell>
10772 </row>
10773 <row topline="true">
10774 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10775 \begin_inset Text
10776
10777 \begin_layout Standard
10778 d
10779 \end_layout
10780
10781 \end_inset
10782 </cell>
10783 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10784 \begin_inset Text
10785
10786 \begin_layout Standard
10787 e
10788 \end_layout
10789
10790 \end_inset
10791 </cell>
10792 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10793 \begin_inset Text
10794
10795 \begin_layout Standard
10796 f
10797 \end_layout
10798
10799 \end_inset
10800 </cell>
10801 </row>
10802 <row topline="true" bottomline="true">
10803 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10804 \begin_inset Text
10805
10806 \begin_layout Standard
10807 g
10808 \end_layout
10809
10810 \end_inset
10811 </cell>
10812 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10813 \begin_inset Text
10814
10815 \begin_layout Standard
10816 h
10817 \end_layout
10818
10819 \end_inset
10820 </cell>
10821 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10822 \begin_inset Text
10823
10824 \begin_layout Standard
10825 i
10826 \end_layout
10827
10828 \end_inset
10829 </cell>
10830 </row>
10831 </lyxtabular>
10832
10833 \end_inset
10834
10835
10836 \end_layout
10837
10838 \end_inset
10839
10840
10841 \end_layout
10842
10843 \begin_layout Standard
10844 You can see that the first column has not the half width of the multicolumn
10845  cell, it is a bit bigger.
10846  The reason is that the given width of a cell 
10847 \begin_inset Formula $W_{g}$
10848 \end_inset
10849
10850  is not its total width 
10851 \begin_inset Formula $W_{\mathrm{tot}}$
10852 \end_inset
10853
10854  because a cell is always a bit larger than its given width.
10855  Appendix\InsetSpace ~
10856
10857 \begin_inset LatexCommand eqref
10858 reference "cha:Explanation-of-Equation"
10859
10860 \end_inset
10861
10862  explains it in detail.
10863 \end_layout
10864
10865 \begin_layout Standard
10866 The needed given width 
10867 \begin_inset Formula $W_{g\, n}$
10868 \end_inset
10869
10870  when 
10871 \emph on
10872 n
10873 \emph default
10874  columns are spanned columns can be calculated, so that each column has
10875  a total width of 
10876 \begin_inset Formula $W_{\mathrm{tot\, multicolumn}}/n$
10877 \end_inset
10878
10879 :
10880 \begin_inset Formula \begin{equation}
10881 W_{g\, n}=(W_{g\,\mathrm{multicolumn}}+(1-n)·(12.4\,\mathrm{pt}))/n\label{eq:Wgn}\end{equation}
10882
10883 \end_inset
10884
10885
10886 \end_layout
10887
10888 \begin_layout Standard
10889 In our case we have 
10890 \begin_inset Formula $n=2$
10891 \end_inset
10892
10893
10894 \begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$
10895 \end_inset
10896
10897 cm and the default values for the lengths, so that equation 
10898 \begin_inset LatexCommand ref
10899 reference "eq:Wgn"
10900
10901 \end_inset
10902
10903  becomes
10904 \begin_inset Formula \begin{equation}
10905 W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}\end{equation}
10906
10907 \end_inset
10908
10909
10910 \end_layout
10911
10912 \begin_layout Standard
10913 To enable calculations in LaTeX, the LaTeX-package 
10914 \series bold
10915 calc
10916 \series default
10917  must be loaded with the document preamble line
10918 \begin_inset LatexCommand index
10919 name "LaTeX-packages ! calc"
10920
10921 \end_inset
10922
10923
10924 \end_layout
10925
10926 \begin_layout Standard
10927
10928 \series bold
10929
10930 \backslash
10931 usepackage{calc}
10932 \end_layout
10933
10934 \begin_layout Standard
10935 LyX does not allow to calculate lengths in the width-field of the table
10936  dialog.
10937  Therefore you have to format the column by inserting a LaTeX-argument in
10938  the dialog.
10939  Here is an overview about the arguments:
10940 \end_layout
10941
10942 \begin_layout Itemize
10943
10944 \series bold
10945 p{width}
10946 \series default
10947  creates cell with a fixed width, its text is vertically top-aligned
10948 \end_layout
10949
10950 \begin_layout Itemize
10951
10952 \series bold
10953 m{width}
10954 \series default
10955  creates cell with a fixed width, its text is vertically centered
10956 \end_layout
10957
10958 \begin_layout Itemize
10959
10960 \series bold
10961 b{width}
10962 \series default
10963  creates cell with a fixed width, its text is vertically bottom-aligned
10964 \end_layout
10965
10966 \begin_layout Standard
10967 By entering a LaTeX-argument, all cell properties set in the table dialog
10968  are overwritten.
10969  
10970 \begin_inset Note Greyedout
10971 status open
10972
10973 \begin_layout Standard
10974
10975 \series bold
10976 Note:
10977 \series default
10978  Due to a bug, LyX shows the overwritten properties anyway.
10979 \end_layout
10980
10981 \end_inset
10982
10983  As the text should be horizontally centered, the command 
10984 \series bold
10985
10986 \backslash
10987 centering
10988 \series default
10989  is added.
10990  You can now enter the following LaTeX-argument for the first spanned column:
10991 \end_layout
10992
10993 \begin_layout Standard
10994
10995 \series bold
10996 >{
10997 \backslash
10998 centering}m{1.25cm-6.2pt}
10999 \end_layout
11000
11001 \begin_layout Standard
11002 The command 
11003 \series bold
11004 >{ }
11005 \series default
11006  means, that the commands inside the braces are applied before the cell
11007  is created.
11008 \end_layout
11009
11010 \begin_layout Standard
11011 Although we have chosen centered alignment for the text of the multicolumn
11012  cell, it is still left aligned.
11013  This is because LyX only applies the alignment to single columns.
11014  So we have to use for the multicolumn the LaTeX-argument
11015 \end_layout
11016
11017 \begin_layout Standard
11018
11019 \series bold
11020 >{
11021 \backslash
11022 centering}m{2.5cm}
11023 \end_layout
11024
11025 \begin_layout Subsection
11026 Multirows
11027 \begin_inset LatexCommand index
11028 name "Multirows"
11029
11030 \end_inset
11031
11032
11033 \begin_inset LatexCommand index
11034 name "Table ! Multirows"
11035
11036 \end_inset
11037
11038
11039 \begin_inset LatexCommand index
11040 name "LaTeX-packages ! multirow"
11041
11042 \end_inset
11043
11044
11045 \end_layout
11046
11047 \begin_layout Standard
11048 In contrary to multicolumns multirows are not yet supported by LyX so a
11049  bit of ERT needs to be used.
11050  To use multirows load the LaTeX-package 
11051 \series bold
11052 multirow
11053 \series default
11054  in your document preamble with the command
11055 \end_layout
11056
11057 \begin_layout Standard
11058
11059 \series bold
11060
11061 \backslash
11062 usepackage{multirow}
11063 \end_layout
11064
11065 \begin_layout Standard
11066 Multirows are created with the command
11067 \end_layout
11068
11069 \begin_layout Standard
11070
11071 \series bold
11072
11073 \backslash
11074 multirow{number of rows}{cell width}{cell entry}
11075 \end_layout
11076
11077 \begin_layout Standard
11078 To create the following table:
11079 \end_layout
11080
11081 \begin_layout Standard
11082 \align center
11083 \begin_inset ERT
11084 status collapsed
11085
11086 \begin_layout Standard
11087
11088
11089 \backslash
11090 renewcommand{
11091 \backslash
11092 multirowsetup}{
11093 \backslash
11094 centering}
11095 \end_layout
11096
11097 \end_inset
11098
11099
11100 \begin_inset Tabular
11101 <lyxtabular version="3" rows="3" columns="3">
11102 <features>
11103 <column alignment="center" valignment="top" leftline="true" width="0">
11104 <column alignment="center" valignment="top" leftline="true" width="0">
11105 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
11106 <row topline="true">
11107 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11108 \begin_inset Text
11109
11110 \begin_layout Standard
11111 a
11112 \end_layout
11113
11114 \end_inset
11115 </cell>
11116 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11117 \begin_inset Text
11118
11119 \begin_layout Standard
11120 b
11121 \end_layout
11122
11123 \end_inset
11124 </cell>
11125 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11126 \begin_inset Text
11127
11128 \begin_layout Standard
11129 c
11130 \end_layout
11131
11132 \end_inset
11133 </cell>
11134 </row>
11135 <row topline="true">
11136 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11137 \begin_inset Text
11138
11139 \begin_layout Standard
11140 \begin_inset ERT
11141 status collapsed
11142
11143 \begin_layout Standard
11144
11145
11146 \backslash
11147 multirow{2}{2.5cm}{
11148 \end_layout
11149
11150 \end_inset
11151
11152 multirow entry
11153 \begin_inset ERT
11154 status collapsed
11155
11156 \begin_layout Standard
11157
11158 }
11159 \end_layout
11160
11161 \end_inset
11162
11163
11164 \end_layout
11165
11166 \end_inset
11167 </cell>
11168 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11169 \begin_inset Text
11170
11171 \begin_layout Standard
11172 e
11173 \end_layout
11174
11175 \end_inset
11176 </cell>
11177 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11178 \begin_inset Text
11179
11180 \begin_layout Standard
11181 f
11182 \end_layout
11183
11184 \end_inset
11185 </cell>
11186 </row>
11187 <row topline="true" bottomline="true">
11188 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11189 \begin_inset Text
11190
11191 \begin_layout Standard
11192
11193 \end_layout
11194
11195 \end_inset
11196 </cell>
11197 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11198 \begin_inset Text
11199
11200 \begin_layout Standard
11201 h
11202 \end_layout
11203
11204 \end_inset
11205 </cell>
11206 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11207 \begin_inset Text
11208
11209 \begin_layout Standard
11210 i
11211 \end_layout
11212
11213 \end_inset
11214 </cell>
11215 </row>
11216 </lyxtabular>
11217
11218 \end_inset
11219
11220
11221 \begin_inset ERT
11222 status collapsed
11223
11224 \begin_layout Standard
11225
11226
11227 \backslash
11228 renewcommand{
11229 \backslash
11230 multirowsetup}{
11231 \backslash
11232 raggedright}
11233 \end_layout
11234
11235 \end_inset
11236
11237
11238 \end_layout
11239
11240 \begin_layout Standard
11241 create a 3×3 table.
11242  To get rid of the line above the last cell in the first column, the cell
11243  is marked as multicolumn and the upper border is unset.
11244  The multirow is now created in the second row of the first column by inserting
11245  there the command
11246 \end_layout
11247
11248 \begin_layout Standard
11249
11250 \series bold
11251
11252 \backslash
11253 multirow{2}{2.5cm}{
11254 \end_layout
11255
11256 \begin_layout Standard
11257 as ERT.
11258  According to the command parameters the multirow spans now two rows and
11259  has a width of 2.5\InsetSpace \thinspace{}
11260 cm.
11261  The content of the multirow cell follows outside the ERT box and the command
11262  is finished with a right brace 
11263 \series bold
11264 }
11265 \series default
11266  in another ERT-box behind the text.
11267 \end_layout
11268
11269 \begin_layout Standard
11270
11271 \series bold
11272
11273 \backslash
11274 multirow
11275 \series default
11276  left-aligns its content by default.
11277  To override the default, renew the command 
11278 \series bold
11279
11280 \backslash
11281 multirowsetup
11282 \series default
11283  with the command
11284 \end_layout
11285
11286 \begin_layout Standard
11287
11288 \series bold
11289
11290 \backslash
11291 renewcommand{
11292 \backslash
11293 multirowsetup}{
11294 \backslash
11295 centering}
11296 \end_layout
11297
11298 \begin_layout Standard
11299 in ERT in the document preamble.
11300  Then all entries of multirow cells in the document are centered.
11301  If centering is only needed for several tables, you can renew the command
11302  in an ERT box just before the table instead of the preamble.
11303  If the text should be right-aligned, replace 
11304 \series bold
11305
11306 \backslash
11307 centering
11308 \series default
11309  by 
11310 \series bold
11311
11312 \backslash
11313 raggedleft
11314 \series default
11315 .
11316  To return to left-alignment 
11317 \series bold
11318
11319 \backslash
11320 raggedright
11321 \series default
11322  is used.
11323 \end_layout
11324
11325 \begin_layout Section
11326 Formal Tables
11327 \begin_inset LatexCommand label
11328 name "sec:Formal-Tables"
11329
11330 \end_inset
11331
11332
11333 \begin_inset LatexCommand index
11334 name "Table ! Formal"
11335
11336 \end_inset
11337
11338
11339 \end_layout
11340
11341 \begin_layout Standard
11342 Tables are often typeset in books similar to Table\InsetSpace ~
11343
11344 \begin_inset LatexCommand ref
11345 reference "tab:Example-booktabs-table"
11346
11347 \end_inset
11348
11349 .
11350  This kind of tables is called 
11351 \begin_inset Quotes eld
11352 \end_inset
11353
11354
11355 \emph on
11356 formal
11357 \emph default
11358
11359 \begin_inset Quotes erd
11360 \end_inset
11361
11362 .
11363  To make a table a formal table use the option 
11364 \family sans
11365 Formal
11366 \family default
11367  in the 
11368 \family sans
11369 Borders
11370 \family default
11371  tab of the table dialog.
11372 \end_layout
11373
11374 \begin_layout Standard
11375 \begin_inset Float table
11376 placement h
11377 wide false
11378 sideways false
11379 status open
11380
11381 \begin_layout Standard
11382 \begin_inset Caption
11383
11384 \begin_layout Standard
11385 \begin_inset LatexCommand label
11386 name "tab:Example-booktabs-table"
11387
11388 \end_inset
11389
11390 Example booktabs-table
11391 \end_layout
11392
11393 \end_inset
11394
11395
11396 \end_layout
11397
11398 \begin_layout Standard
11399 \align center
11400 \begin_inset Tabular
11401 <lyxtabular version="3" rows="8" columns="4">
11402 <features booktabs="true">
11403 <column alignment="center" valignment="top" rightline="true" width="0">
11404 <column alignment="center" valignment="top" width="0">
11405 <column alignment="center" valignment="top" width="0">
11406 <column alignment="center" valignment="top" width="0">
11407 <row topline="true">
11408 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11409 \begin_inset Text
11410
11411 \begin_layout Standard
11412 System
11413 \end_layout
11414
11415 \end_inset
11416 </cell>
11417 <cell alignment="center" valignment="top" topline="true" usebox="none">
11418 \begin_inset Text
11419
11420 \begin_layout Standard
11421 Medipix
11422 \begin_inset Formula $\,$
11423 \end_inset
11424
11425 1
11426 \end_layout
11427
11428 \end_inset
11429 </cell>
11430 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
11431 \begin_inset Text
11432
11433 \begin_layout Standard
11434 Medipix
11435 \begin_inset Formula $\,$
11436 \end_inset
11437
11438 2
11439 \end_layout
11440
11441 \end_inset
11442 </cell>
11443 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11444 \begin_inset Text
11445
11446 \begin_layout Standard
11447
11448 \end_layout
11449
11450 \end_inset
11451 </cell>
11452 </row>
11453 <row>
11454 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11455 \begin_inset Text
11456
11457 \begin_layout Standard
11458 \begin_inset ERT
11459 status collapsed
11460
11461 \begin_layout Standard
11462
11463
11464 \backslash
11465 cmidrule(r){2-2}
11466 \end_layout
11467
11468 \end_inset
11469
11470
11471 \begin_inset ERT
11472 status collapsed
11473
11474 \begin_layout Standard
11475
11476
11477 \backslash
11478 cmidrule(l){3-4}
11479 \end_layout
11480
11481 \end_inset
11482
11483 Detector thickness [µm]
11484 \end_layout
11485
11486 \end_inset
11487 </cell>
11488 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11489 \begin_inset Text
11490
11491 \begin_layout Standard
11492 300
11493 \end_layout
11494
11495 \end_inset
11496 </cell>
11497 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11498 \begin_inset Text
11499
11500 \begin_layout Standard
11501 300
11502 \end_layout
11503
11504 \end_inset
11505 </cell>
11506 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11507 \begin_inset Text
11508
11509 \begin_layout Standard
11510 700
11511 \end_layout
11512
11513 \end_inset
11514 </cell>
11515 </row>
11516 <row topline="true">
11517 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11518 \begin_inset Text
11519
11520 \begin_layout Standard
11521 Edge angle [°]
11522 \end_layout
11523
11524 \end_inset
11525 </cell>
11526 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11527 \begin_inset Text
11528
11529 \begin_layout Standard
11530 3.55
11531 \end_layout
11532
11533 \end_inset
11534 </cell>
11535 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11536 \begin_inset Text
11537
11538 \begin_layout Standard
11539 2.71
11540 \end_layout
11541
11542 \end_inset
11543 </cell>
11544 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11545 \begin_inset Text
11546
11547 \begin_layout Standard
11548 7.99
11549 \end_layout
11550
11551 \end_inset
11552 </cell>
11553 </row>
11554 <row topspace="default">
11555 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11556 \begin_inset Text
11557
11558 \begin_layout Standard
11559 Spatial resolution [µm]
11560 \end_layout
11561
11562 \end_inset
11563 </cell>
11564 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11565 \begin_inset Text
11566
11567 \begin_layout Standard
11568 4.26
11569 \end_layout
11570
11571 \end_inset
11572 </cell>
11573 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11574 \begin_inset Text
11575
11576 \begin_layout Standard
11577 10.17
11578 \end_layout
11579
11580 \end_inset
11581 </cell>
11582 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11583 \begin_inset Text
11584
11585 \begin_layout Standard
11586 10.56
11587 \end_layout
11588
11589 \end_inset
11590 </cell>
11591 </row>
11592 <row topspace="default">
11593 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11594 \begin_inset Text
11595
11596 \begin_layout Standard
11597 MTF at 
11598 \begin_inset Formula $f_{\mathrm{max}}$
11599 \end_inset
11600
11601
11602 \end_layout
11603
11604 \end_inset
11605 </cell>
11606 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11607 \begin_inset Text
11608
11609 \begin_layout Standard
11610 0.53
11611 \end_layout
11612
11613 \end_inset
11614 </cell>
11615 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11616 \begin_inset Text
11617
11618 \begin_layout Standard
11619 0.37
11620 \end_layout
11621
11622 \end_inset
11623 </cell>
11624 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11625 \begin_inset Text
11626
11627 \begin_layout Standard
11628 0.39
11629 \end_layout
11630
11631 \end_inset
11632 </cell>
11633 </row>
11634 <row topspace="default">
11635 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11636 \begin_inset Text
11637
11638 \begin_layout Standard
11639 \begin_inset ERT
11640 status collapsed
11641
11642 \begin_layout Standard
11643
11644
11645 \backslash
11646 cmidrule(l{10pt}){1-1}
11647 \end_layout
11648
11649 \end_inset
11650
11651 LSF-spatial resolution
11652 \end_layout
11653
11654 \end_inset
11655 </cell>
11656 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11657 \begin_inset Text
11658
11659 \begin_layout Standard
11660
11661 \end_layout
11662
11663 \end_inset
11664 </cell>
11665 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11666 \begin_inset Text
11667
11668 \begin_layout Standard
11669
11670 \end_layout
11671
11672 \end_inset
11673 </cell>
11674 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11675 \begin_inset Text
11676
11677 \begin_layout Standard
11678
11679 \end_layout
11680
11681 \end_inset
11682 </cell>
11683 </row>
11684 <row>
11685 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11686 \begin_inset Text
11687
11688 \begin_layout Standard
11689 in µm
11690 \end_layout
11691
11692 \end_inset
11693 </cell>
11694 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11695 \begin_inset Text
11696
11697 \begin_layout Standard
11698 129.7
11699 \end_layout
11700
11701 \end_inset
11702 </cell>
11703 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11704 \begin_inset Text
11705
11706 \begin_layout Standard
11707 52.75
11708 \end_layout
11709
11710 \end_inset
11711 </cell>
11712 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11713 \begin_inset Text
11714
11715 \begin_layout Standard
11716 50.78
11717 \end_layout
11718
11719 \end_inset
11720 </cell>
11721 </row>
11722 <row bottomline="true">
11723 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11724 \begin_inset Text
11725
11726 \begin_layout Standard
11727 in % of pixel size
11728 \end_layout
11729
11730 \end_inset
11731 </cell>
11732 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11733 \begin_inset Text
11734
11735 \begin_layout Standard
11736 76.3
11737 \end_layout
11738
11739 \end_inset
11740 </cell>
11741 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11742 \begin_inset Text
11743
11744 \begin_layout Standard
11745 95.9
11746 \end_layout
11747
11748 \end_inset
11749 </cell>
11750 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11751 \begin_inset Text
11752
11753 \begin_layout Standard
11754 92.3
11755 \end_layout
11756
11757 \end_inset
11758 </cell>
11759 </row>
11760 </lyxtabular>
11761
11762 \end_inset
11763
11764
11765 \end_layout
11766
11767 \end_inset
11768
11769
11770 \end_layout
11771
11772 \begin_layout Standard
11773 Spaces to table rows can be added using the 
11774 \family sans
11775 Borders
11776 \family default
11777  tab of the table dialog as described in section\InsetSpace ~
11778
11779 \begin_inset LatexCommand ref
11780 reference "sub:Row-Spacing"
11781
11782 \end_inset
11783
11784 .
11785 \end_layout
11786
11787 \begin_layout Standard
11788 In contrary to normal tables, formal tables have no vertical table lines.
11789  The horizontal table lines can be set like for normal tables but they appear
11790  with different width in the output:
11791 \newline
11792 The first and the last table line have
11793  a default width of 0.08\InsetSpace \thinspace{}
11794 em while the other lines have a default width of
11795  0.05\InsetSpace \thinspace{}
11796 em.
11797 \end_layout
11798
11799 \begin_layout Standard
11800 The default widths can be changed with the following preamble lines
11801 \end_layout
11802
11803 \begin_layout Standard
11804
11805 \series bold
11806
11807 \backslash
11808 let
11809 \backslash
11810 mytoprule
11811 \backslash
11812 toprule
11813 \newline
11814
11815 \backslash
11816 renewcommand{
11817 \backslash
11818 toprule}{
11819 \backslash
11820 mytoprule[width]}
11821 \end_layout
11822
11823 \begin_layout Standard
11824 This example is for the first line, the so called toprule.
11825  If you want to change the width for the last line, replace 
11826 \series bold
11827 toprule
11828 \series default
11829  by 
11830 \series bold
11831 bottomrule
11832 \series default
11833 .
11834  To change the width for the other lines replace 
11835 \series bold
11836 toprule
11837 \series default
11838  by 
11839 \series bold
11840 midrule
11841 \series default
11842 .
11843  You can use all units listed in appendix\InsetSpace ~
11844
11845 \begin_inset LatexCommand ref
11846 reference "cha:Units-available-in"
11847
11848 \end_inset
11849
11850  to set the width.
11851 \end_layout
11852
11853 \begin_layout Standard
11854 Lines that don't span over all table columns can be created by setting a
11855  table line for multicolumn cells.
11856  LyX will then internally use the command 
11857 \series bold
11858
11859 \backslash
11860 cmidrule
11861 \series default
11862  to create this line.
11863  Its full scheme is
11864 \end_layout
11865
11866 \begin_layout Standard
11867
11868 \series bold
11869
11870 \backslash
11871 cmidrule[width](trim){startcol-endcol}
11872 \end_layout
11873
11874 \begin_layout Standard
11875 The options of 
11876 \series bold
11877
11878 \backslash
11879 cmidrule
11880 \series default
11881  are are currently not supported by LyX so you have to use ERT to be able
11882  to use them.
11883  
11884 \series bold
11885
11886 \backslash
11887 cmidrule
11888 \series default
11889 s can manually be created by inserting the command as ERT as first cell
11890  entry of the first cell of a row.
11891  The line is then drawn in the output above the current row.
11892 \end_layout
11893
11894 \begin_layout Standard
11895 The default for the width is 0.03\InsetSpace \thinspace{}
11896 em.
11897  Startcol is the number of the column where the line starts and endcol the
11898  column number where the line ends.
11899  The endcol always needs to be specified, also when the line should span
11900  only one column.
11901  The optional parameter trim could be either 
11902 \emph on
11903 l{trimwidth}
11904 \emph default
11905 , or 
11906 \emph on
11907 r{trimwidth}
11908 \emph default
11909  where the trimwidth is also optional.
11910  Using for example the parameter 
11911 \emph on
11912 l{2pt}
11913 \emph default
11914  means that the line is trimmed from its left end by 2\InsetSpace \thinspace{}
11915 pt.
11916  If you don't specify the trimwidth the lines are trimmed by the default
11917  of 0.5\InsetSpace \thinspace{}
11918 em.
11919 \end_layout
11920
11921 \begin_layout Standard
11922 \begin_inset VSpace bigskip
11923 \end_inset
11924
11925 Table\InsetSpace ~
11926
11927 \begin_inset LatexCommand ref
11928 reference "tab:Example-booktabs-table"
11929
11930 \end_inset
11931
11932  was created using the commands
11933 \end_layout
11934
11935 \begin_layout Standard
11936
11937 \series bold
11938
11939 \backslash
11940 cmidrule(r){2-2}
11941 \backslash
11942 cmidrule(l){3-4}
11943 \end_layout
11944
11945 \begin_layout Standard
11946 at the beginning of the in the second row and
11947 \end_layout
11948
11949 \begin_layout Standard
11950
11951 \series bold
11952
11953 \backslash
11954 cmidrule(l{10pt}){1-1}
11955 \end_layout
11956
11957 \begin_layout Standard
11958 in the sixth row.
11959 \end_layout
11960
11961 \begin_layout Standard
11962
11963 \end_layout
11964
11965 \begin_layout Standard
11966 \begin_inset VSpace bigskip
11967 \end_inset
11968
11969
11970 \end_layout
11971
11972 \begin_layout Standard
11973 You might want to have overlapping 
11974 \series bold
11975
11976 \backslash
11977 cmidrule
11978 \series default
11979 s like in Table\InsetSpace ~
11980
11981 \begin_inset LatexCommand ref
11982 reference "tab:Special-booktabs-table"
11983
11984 \end_inset
11985
11986 .
11987  This can be achieved with the ERT command
11988 \end_layout
11989
11990 \begin_layout Standard
11991
11992 \series bold
11993
11994 \backslash
11995 morecmidrules
11996 \end_layout
11997
11998 \begin_layout Standard
11999 The command that was used for the second row of Table\InsetSpace ~
12000
12001 \begin_inset LatexCommand ref
12002 reference "tab:Special-booktabs-table"
12003
12004 \end_inset
12005
12006  is
12007 \end_layout
12008
12009 \begin_layout Standard
12010
12011 \series bold
12012
12013 \backslash
12014 cmidrule(r){2-2}
12015 \backslash
12016 cmidrule(l){3-4}
12017 \backslash
12018 morecmidrules
12019 \backslash
12020 cmidrule{2-4}
12021 \end_layout
12022
12023 \begin_layout Standard
12024 The command for the sixth row is
12025 \end_layout
12026
12027 \begin_layout Standard
12028
12029 \series bold
12030
12031 \backslash
12032 midrule
12033 \backslash
12034 morecmidrules
12035 \backslash
12036 cmidrule{3-4}
12037 \end_layout
12038
12039 \begin_layout Standard
12040 \begin_inset VSpace bigskip
12041 \end_inset
12042
12043
12044 \end_layout
12045
12046 \begin_layout Standard
12047 If you are anyway not satisfied with the border line spacing, you can use
12048  the following command to produce lines that span over all table columns
12049 \series bold
12050 :
12051 \end_layout
12052
12053 \begin_layout Standard
12054
12055 \series bold
12056
12057 \backslash
12058 specialrule{width}{space above}{space below}
12059 \end_layout
12060
12061 \begin_layout Standard
12062 For more informations about these specialties, we refer to the manual of
12063  the LaTeX-package 
12064 \series bold
12065 booktabs
12066 \series default
12067  
12068 \begin_inset LatexCommand cite
12069 key "booktabs"
12070
12071 \end_inset
12072
12073 .
12074 \begin_inset LatexCommand index
12075 name "LaTeX-packages ! booktabs"
12076
12077 \end_inset
12078
12079
12080 \end_layout
12081
12082 \begin_layout Standard
12083 \begin_inset Float table
12084 placement h
12085 wide false
12086 sideways false
12087 status open
12088
12089 \begin_layout Standard
12090 \begin_inset Caption
12091
12092 \begin_layout Standard
12093 \begin_inset LatexCommand label
12094 name "tab:Special-booktabs-table"
12095
12096 \end_inset
12097
12098 Special booktabs-table
12099 \end_layout
12100
12101 \end_inset
12102
12103
12104 \end_layout
12105
12106 \begin_layout Standard
12107 \align center
12108 \begin_inset Tabular
12109 <lyxtabular version="3" rows="8" columns="4">
12110 <features booktabs="true">
12111 <column alignment="center" valignment="top" width="0">
12112 <column alignment="center" valignment="top" width="0">
12113 <column alignment="center" valignment="top" width="0">
12114 <column alignment="center" valignment="top" width="0">
12115 <row topline="true">
12116 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12117 \begin_inset Text
12118
12119 \begin_layout Standard
12120 System
12121 \end_layout
12122
12123 \end_inset
12124 </cell>
12125 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12126 \begin_inset Text
12127
12128 \begin_layout Standard
12129 Medipix\InsetSpace \thinspace{}
12130 1
12131 \end_layout
12132
12133 \end_inset
12134 </cell>
12135 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
12136 \begin_inset Text
12137
12138 \begin_layout Standard
12139 Medipix\InsetSpace \thinspace{}
12140 2
12141 \end_layout
12142
12143 \end_inset
12144 </cell>
12145 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12146 \begin_inset Text
12147
12148 \begin_layout Standard
12149
12150 \end_layout
12151
12152 \end_inset
12153 </cell>
12154 </row>
12155 <row>
12156 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12157 \begin_inset Text
12158
12159 \begin_layout Standard
12160 \begin_inset ERT
12161 status collapsed
12162
12163 \begin_layout Standard
12164
12165
12166 \backslash
12167 cmidrule(r){2-2}
12168 \end_layout
12169
12170 \end_inset
12171
12172
12173 \begin_inset ERT
12174 status collapsed
12175
12176 \begin_layout Standard
12177
12178
12179 \backslash
12180 cmidrule(l){3-4}
12181 \end_layout
12182
12183 \end_inset
12184
12185
12186 \begin_inset ERT
12187 status collapsed
12188
12189 \begin_layout Standard
12190
12191
12192 \backslash
12193 morecmidrules 
12194 \end_layout
12195
12196 \end_inset
12197
12198
12199 \begin_inset ERT
12200 status collapsed
12201
12202 \begin_layout Standard
12203
12204
12205 \backslash
12206 cmidrule{2-4}
12207 \end_layout
12208
12209 \end_inset
12210
12211 Detector thickness [µm]
12212 \end_layout
12213
12214 \end_inset
12215 </cell>
12216 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12217 \begin_inset Text
12218
12219 \begin_layout Standard
12220 300
12221 \end_layout
12222
12223 \end_inset
12224 </cell>
12225 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12226 \begin_inset Text
12227
12228 \begin_layout Standard
12229 300
12230 \end_layout
12231
12232 \end_inset
12233 </cell>
12234 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12235 \begin_inset Text
12236
12237 \begin_layout Standard
12238 700
12239 \end_layout
12240
12241 \end_inset
12242 </cell>
12243 </row>
12244 <row topline="true">
12245 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12246 \begin_inset Text
12247
12248 \begin_layout Standard
12249 Edge angle [°]
12250 \end_layout
12251
12252 \end_inset
12253 </cell>
12254 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12255 \begin_inset Text
12256
12257 \begin_layout Standard
12258 3.55
12259 \end_layout
12260
12261 \end_inset
12262 </cell>
12263 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12264 \begin_inset Text
12265
12266 \begin_layout Standard
12267 2.71
12268 \end_layout
12269
12270 \end_inset
12271 </cell>
12272 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12273 \begin_inset Text
12274
12275 \begin_layout Standard
12276 7.99
12277 \end_layout
12278
12279 \end_inset
12280 </cell>
12281 </row>
12282 <row topspace="default">
12283 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12284 \begin_inset Text
12285
12286 \begin_layout Standard
12287 Spatial resolution [µm]
12288 \end_layout
12289
12290 \end_inset
12291 </cell>
12292 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12293 \begin_inset Text
12294
12295 \begin_layout Standard
12296 4.26
12297 \end_layout
12298
12299 \end_inset
12300 </cell>
12301 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12302 \begin_inset Text
12303
12304 \begin_layout Standard
12305 10.17
12306 \end_layout
12307
12308 \end_inset
12309 </cell>
12310 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12311 \begin_inset Text
12312
12313 \begin_layout Standard
12314 10.56
12315 \end_layout
12316
12317 \end_inset
12318 </cell>
12319 </row>
12320 <row topspace="default">
12321 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12322 \begin_inset Text
12323
12324 \begin_layout Standard
12325 MTF at 
12326 \begin_inset Formula $f_{\mathrm{max}}$
12327 \end_inset
12328
12329
12330 \end_layout
12331
12332 \end_inset
12333 </cell>
12334 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12335 \begin_inset Text
12336
12337 \begin_layout Standard
12338 0.53
12339 \end_layout
12340
12341 \end_inset
12342 </cell>
12343 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12344 \begin_inset Text
12345
12346 \begin_layout Standard
12347 0.37
12348 \end_layout
12349
12350 \end_inset
12351 </cell>
12352 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12353 \begin_inset Text
12354
12355 \begin_layout Standard
12356 0.39
12357 \end_layout
12358
12359 \end_inset
12360 </cell>
12361 </row>
12362 <row topline="true">
12363 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12364 \begin_inset Text
12365
12366 \begin_layout Standard
12367 \begin_inset ERT
12368 status collapsed
12369
12370 \begin_layout Standard
12371
12372
12373 \backslash
12374 morecmidrules 
12375 \end_layout
12376
12377 \end_inset
12378
12379
12380 \begin_inset ERT
12381 status collapsed
12382
12383 \begin_layout Standard
12384
12385
12386 \backslash
12387 cmidrule{3-4}
12388 \end_layout
12389
12390 \end_inset
12391
12392 LSF-spatial resolution
12393 \end_layout
12394
12395 \end_inset
12396 </cell>
12397 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12398 \begin_inset Text
12399
12400 \begin_layout Standard
12401
12402 \end_layout
12403
12404 \end_inset
12405 </cell>
12406 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12407 \begin_inset Text
12408
12409 \begin_layout Standard
12410
12411 \end_layout
12412
12413 \end_inset
12414 </cell>
12415 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12416 \begin_inset Text
12417
12418 \begin_layout Standard
12419
12420 \end_layout
12421
12422 \end_inset
12423 </cell>
12424 </row>
12425 <row>
12426 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12427 \begin_inset Text
12428
12429 \begin_layout Standard
12430 in µm
12431 \end_layout
12432
12433 \end_inset
12434 </cell>
12435 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12436 \begin_inset Text
12437
12438 \begin_layout Standard
12439 129.7
12440 \end_layout
12441
12442 \end_inset
12443 </cell>
12444 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12445 \begin_inset Text
12446
12447 \begin_layout Standard
12448 52.75
12449 \end_layout
12450
12451 \end_inset
12452 </cell>
12453 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12454 \begin_inset Text
12455
12456 \begin_layout Standard
12457 50.78
12458 \end_layout
12459
12460 \end_inset
12461 </cell>
12462 </row>
12463 <row bottomline="true">
12464 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12465 \begin_inset Text
12466
12467 \begin_layout Standard
12468 in % of pixel size
12469 \end_layout
12470
12471 \end_inset
12472 </cell>
12473 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12474 \begin_inset Text
12475
12476 \begin_layout Standard
12477 76.3
12478 \end_layout
12479
12480 \end_inset
12481 </cell>
12482 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12483 \begin_inset Text
12484
12485 \begin_layout Standard
12486 95.9
12487 \end_layout
12488
12489 \end_inset
12490 </cell>
12491 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12492 \begin_inset Text
12493
12494 \begin_layout Standard
12495 92.3
12496 \end_layout
12497
12498 \end_inset
12499 </cell>
12500 </row>
12501 </lyxtabular>
12502
12503 \end_inset
12504
12505
12506 \end_layout
12507
12508 \end_inset
12509
12510
12511 \end_layout
12512
12513 \begin_layout Section
12514 Vertical Table Alignment
12515 \begin_inset LatexCommand index
12516 name "Table ! Alignment"
12517
12518 \end_inset
12519
12520
12521 \end_layout
12522
12523 \begin_layout Standard
12524 To align tables vertically in a text line the table must be inside a box.
12525  The box can then be vertically aligned as described in section\InsetSpace ~
12526
12527 \begin_inset LatexCommand ref
12528 reference "sec:Box-Dialog"
12529
12530 \end_inset
12531
12532 .
12533 \end_layout
12534
12535 \begin_layout Standard
12536 In the following example the tables are inside a minipage
12537 \begin_inset Foot
12538 status collapsed
12539
12540 \begin_layout Standard
12541 Minipages are described in section\InsetSpace ~
12542
12543 \begin_inset LatexCommand ref
12544 reference "sec:Minipages"
12545
12546 \end_inset
12547
12548 .
12549 \end_layout
12550
12551 \end_inset
12552
12553  box that has a width of 15\InsetSpace \thinspace{}
12554 col%:
12555 \end_layout
12556
12557 \begin_layout Itemize
12558 test 
12559 \begin_inset Box Frameless
12560 position "t"
12561 hor_pos "c"
12562 has_inner_box 1
12563 inner_pos "c"
12564 use_parbox 0
12565 width "15col%"
12566 special "none"
12567 height "1in"
12568 height_special "totalheight"
12569 status collapsed
12570
12571 \begin_layout Standard
12572 \begin_inset Tabular
12573 <lyxtabular version="3" rows="3" columns="3">
12574 <features>
12575 <column alignment="center" valignment="top" leftline="true" width="0">
12576 <column alignment="center" valignment="top" leftline="true" width="0">
12577 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12578 <row topline="true">
12579 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12580 \begin_inset Text
12581
12582 \begin_layout Standard
12583 a
12584 \end_layout
12585
12586 \end_inset
12587 </cell>
12588 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12589 \begin_inset Text
12590
12591 \begin_layout Standard
12592 d
12593 \end_layout
12594
12595 \end_inset
12596 </cell>
12597 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12598 \begin_inset Text
12599
12600 \begin_layout Standard
12601 g
12602 \end_layout
12603
12604 \end_inset
12605 </cell>
12606 </row>
12607 <row topline="true">
12608 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12609 \begin_inset Text
12610
12611 \begin_layout Standard
12612 b
12613 \end_layout
12614
12615 \end_inset
12616 </cell>
12617 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12618 \begin_inset Text
12619
12620 \begin_layout Standard
12621 e
12622 \end_layout
12623
12624 \end_inset
12625 </cell>
12626 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12627 \begin_inset Text
12628
12629 \begin_layout Standard
12630 h
12631 \end_layout
12632
12633 \end_inset
12634 </cell>
12635 </row>
12636 <row topline="true" bottomline="true">
12637 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12638 \begin_inset Text
12639
12640 \begin_layout Standard
12641 c
12642 \end_layout
12643
12644 \end_inset
12645 </cell>
12646 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12647 \begin_inset Text
12648
12649 \begin_layout Standard
12650 f
12651 \end_layout
12652
12653 \end_inset
12654 </cell>
12655 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12656 \begin_inset Text
12657
12658 \begin_layout Standard
12659 i
12660 \end_layout
12661
12662 \end_inset
12663 </cell>
12664 </row>
12665 </lyxtabular>
12666
12667 \end_inset
12668
12669
12670 \end_layout
12671
12672 \end_inset
12673
12674  test 
12675 \begin_inset ERT
12676 status collapsed
12677
12678 \begin_layout Standard
12679
12680
12681 \backslash
12682 raisebox{0.85
12683 \backslash
12684 baselineskip}{
12685 \end_layout
12686
12687 \end_inset
12688
12689
12690 \begin_inset Box Frameless
12691 position "t"
12692 hor_pos "c"
12693 has_inner_box 1
12694 inner_pos "c"
12695 use_parbox 0
12696 width "15col%"
12697 special "none"
12698 height "1in"
12699 height_special "totalheight"
12700 status collapsed
12701
12702 \begin_layout Standard
12703 \begin_inset Tabular
12704 <lyxtabular version="3" rows="3" columns="3">
12705 <features>
12706 <column alignment="center" valignment="top" leftline="true" width="0">
12707 <column alignment="center" valignment="top" leftline="true" width="0">
12708 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12709 <row topline="true">
12710 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12711 \begin_inset Text
12712
12713 \begin_layout Standard
12714 a
12715 \end_layout
12716
12717 \end_inset
12718 </cell>
12719 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12720 \begin_inset Text
12721
12722 \begin_layout Standard
12723 d
12724 \end_layout
12725
12726 \end_inset
12727 </cell>
12728 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12729 \begin_inset Text
12730
12731 \begin_layout Standard
12732 g
12733 \end_layout
12734
12735 \end_inset
12736 </cell>
12737 </row>
12738 <row topline="true">
12739 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12740 \begin_inset Text
12741
12742 \begin_layout Standard
12743 b
12744 \end_layout
12745
12746 \end_inset
12747 </cell>
12748 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12749 \begin_inset Text
12750
12751 \begin_layout Standard
12752 e
12753 \end_layout
12754
12755 \end_inset
12756 </cell>
12757 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12758 \begin_inset Text
12759
12760 \begin_layout Standard
12761 h
12762 \end_layout
12763
12764 \end_inset
12765 </cell>
12766 </row>
12767 <row topline="true" bottomline="true">
12768 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12769 \begin_inset Text
12770
12771 \begin_layout Standard
12772 c
12773 \end_layout
12774
12775 \end_inset
12776 </cell>
12777 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12778 \begin_inset Text
12779
12780 \begin_layout Standard
12781 f
12782 \end_layout
12783
12784 \end_inset
12785 </cell>
12786 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12787 \begin_inset Text
12788
12789 \begin_layout Standard
12790 i
12791 \end_layout
12792
12793 \end_inset
12794 </cell>
12795 </row>
12796 </lyxtabular>
12797
12798 \end_inset
12799
12800
12801 \end_layout
12802
12803 \end_inset
12804
12805
12806 \begin_inset ERT
12807 status collapsed
12808
12809 \begin_layout Standard
12810
12811 }
12812 \end_layout
12813
12814 \end_inset
12815
12816
12817 \end_layout
12818
12819 \begin_layout Itemize
12820 test 
12821 \begin_inset Box Frameless
12822 position "c"
12823 hor_pos "c"
12824 has_inner_box 1
12825 inner_pos "c"
12826 use_parbox 0
12827 width "15col%"
12828 special "none"
12829 height "1in"
12830 height_special "totalheight"
12831 status collapsed
12832
12833 \begin_layout Standard
12834 \begin_inset Tabular
12835 <lyxtabular version="3" rows="3" columns="3">
12836 <features>
12837 <column alignment="center" valignment="top" leftline="true" width="0">
12838 <column alignment="center" valignment="top" leftline="true" width="0">
12839 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12840 <row topline="true">
12841 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12842 \begin_inset Text
12843
12844 \begin_layout Standard
12845 a
12846 \end_layout
12847
12848 \end_inset
12849 </cell>
12850 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12851 \begin_inset Text
12852
12853 \begin_layout Standard
12854 d
12855 \end_layout
12856
12857 \end_inset
12858 </cell>
12859 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12860 \begin_inset Text
12861
12862 \begin_layout Standard
12863 g
12864 \end_layout
12865
12866 \end_inset
12867 </cell>
12868 </row>
12869 <row topline="true">
12870 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12871 \begin_inset Text
12872
12873 \begin_layout Standard
12874 b
12875 \end_layout
12876
12877 \end_inset
12878 </cell>
12879 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12880 \begin_inset Text
12881
12882 \begin_layout Standard
12883 e
12884 \end_layout
12885
12886 \end_inset
12887 </cell>
12888 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12889 \begin_inset Text
12890
12891 \begin_layout Standard
12892 h
12893 \end_layout
12894
12895 \end_inset
12896 </cell>
12897 </row>
12898 <row topline="true" bottomline="true">
12899 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12900 \begin_inset Text
12901
12902 \begin_layout Standard
12903 c
12904 \end_layout
12905
12906 \end_inset
12907 </cell>
12908 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12909 \begin_inset Text
12910
12911 \begin_layout Standard
12912 f
12913 \end_layout
12914
12915 \end_inset
12916 </cell>
12917 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12918 \begin_inset Text
12919
12920 \begin_layout Standard
12921 i
12922 \end_layout
12923
12924 \end_inset
12925 </cell>
12926 </row>
12927 </lyxtabular>
12928
12929 \end_inset
12930
12931
12932 \end_layout
12933
12934 \end_inset
12935
12936
12937 \end_layout
12938
12939 \begin_layout Itemize
12940 test 
12941 \begin_inset Box Frameless
12942 position "b"
12943 hor_pos "c"
12944 has_inner_box 1
12945 inner_pos "c"
12946 use_parbox 0
12947 width "15col%"
12948 special "none"
12949 height "1in"
12950 height_special "totalheight"
12951 status collapsed
12952
12953 \begin_layout Standard
12954 \begin_inset Tabular
12955 <lyxtabular version="3" rows="3" columns="3">
12956 <features>
12957 <column alignment="center" valignment="top" leftline="true" width="0">
12958 <column alignment="center" valignment="top" leftline="true" width="0">
12959 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12960 <row topline="true">
12961 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12962 \begin_inset Text
12963
12964 \begin_layout Standard
12965 a
12966 \end_layout
12967
12968 \end_inset
12969 </cell>
12970 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12971 \begin_inset Text
12972
12973 \begin_layout Standard
12974 d
12975 \end_layout
12976
12977 \end_inset
12978 </cell>
12979 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12980 \begin_inset Text
12981
12982 \begin_layout Standard
12983 g
12984 \end_layout
12985
12986 \end_inset
12987 </cell>
12988 </row>
12989 <row topline="true">
12990 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12991 \begin_inset Text
12992
12993 \begin_layout Standard
12994 b
12995 \end_layout
12996
12997 \end_inset
12998 </cell>
12999 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13000 \begin_inset Text
13001
13002 \begin_layout Standard
13003 e
13004 \end_layout
13005
13006 \end_inset
13007 </cell>
13008 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13009 \begin_inset Text
13010
13011 \begin_layout Standard
13012 h
13013 \end_layout
13014
13015 \end_inset
13016 </cell>
13017 </row>
13018 <row topline="true" bottomline="true">
13019 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13020 \begin_inset Text
13021
13022 \begin_layout Standard
13023 c
13024 \end_layout
13025
13026 \end_inset
13027 </cell>
13028 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13029 \begin_inset Text
13030
13031 \begin_layout Standard
13032 f
13033 \end_layout
13034
13035 \end_inset
13036 </cell>
13037 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13038 \begin_inset Text
13039
13040 \begin_layout Standard
13041 i
13042 \end_layout
13043
13044 \end_inset
13045 </cell>
13046 </row>
13047 </lyxtabular>
13048
13049 \end_inset
13050
13051
13052 \end_layout
13053
13054 \end_inset
13055
13056  test 
13057 \begin_inset ERT
13058 status collapsed
13059
13060 \begin_layout Standard
13061
13062
13063 \backslash
13064 raisebox{-0.32
13065 \backslash
13066 baselineskip}{
13067 \end_layout
13068
13069 \end_inset
13070
13071
13072 \begin_inset Box Frameless
13073 position "b"
13074 hor_pos "c"
13075 has_inner_box 1
13076 inner_pos "c"
13077 use_parbox 0
13078 width "15col%"
13079 special "none"
13080 height "1in"
13081 height_special "totalheight"
13082 status collapsed
13083
13084 \begin_layout Standard
13085 \begin_inset Tabular
13086 <lyxtabular version="3" rows="3" columns="3">
13087 <features>
13088 <column alignment="center" valignment="top" leftline="true" width="0">
13089 <column alignment="center" valignment="top" leftline="true" width="0">
13090 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13091 <row topline="true">
13092 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13093 \begin_inset Text
13094
13095 \begin_layout Standard
13096 a
13097 \end_layout
13098
13099 \end_inset
13100 </cell>
13101 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13102 \begin_inset Text
13103
13104 \begin_layout Standard
13105 d
13106 \end_layout
13107
13108 \end_inset
13109 </cell>
13110 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13111 \begin_inset Text
13112
13113 \begin_layout Standard
13114 g
13115 \end_layout
13116
13117 \end_inset
13118 </cell>
13119 </row>
13120 <row topline="true">
13121 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13122 \begin_inset Text
13123
13124 \begin_layout Standard
13125 b
13126 \end_layout
13127
13128 \end_inset
13129 </cell>
13130 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13131 \begin_inset Text
13132
13133 \begin_layout Standard
13134 e
13135 \end_layout
13136
13137 \end_inset
13138 </cell>
13139 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13140 \begin_inset Text
13141
13142 \begin_layout Standard
13143 h
13144 \end_layout
13145
13146 \end_inset
13147 </cell>
13148 </row>
13149 <row topline="true" bottomline="true">
13150 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13151 \begin_inset Text
13152
13153 \begin_layout Standard
13154 c
13155 \end_layout
13156
13157 \end_inset
13158 </cell>
13159 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13160 \begin_inset Text
13161
13162 \begin_layout Standard
13163 f
13164 \end_layout
13165
13166 \end_inset
13167 </cell>
13168 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13169 \begin_inset Text
13170
13171 \begin_layout Standard
13172 i
13173 \end_layout
13174
13175 \end_inset
13176 </cell>
13177 </row>
13178 </lyxtabular>
13179
13180 \end_inset
13181
13182
13183 \end_layout
13184
13185 \end_inset
13186
13187
13188 \begin_inset ERT
13189 status collapsed
13190
13191 \begin_layout Standard
13192
13193 }
13194 \end_layout
13195
13196 \end_inset
13197
13198
13199 \end_layout
13200
13201 \begin_layout Standard
13202 As you can see, the content of the first and last table row is not correctly
13203  aligned with the text line where the table is in.
13204  To get this alignment, the minipage box must be set into a raisebox
13205 \begin_inset Foot
13206 status collapsed
13207
13208 \begin_layout Standard
13209 Raiseboxes are described in section\InsetSpace ~
13210
13211 \begin_inset LatexCommand ref
13212 reference "sub:Vertical-Alignment"
13213
13214 \end_inset
13215
13216 .
13217 \end_layout
13218
13219 \end_inset
13220
13221 .
13222  In the example above the second table in the first item is aligned using
13223  the ERT-command
13224 \end_layout
13225
13226 \begin_layout Standard
13227
13228 \series bold
13229
13230 \backslash
13231 raisebox{0.85
13232 \backslash
13233 baselineskip}{
13234 \end_layout
13235
13236 \begin_layout Standard
13237 before the box.
13238  Behind the box the closing brace 
13239 \series bold
13240 }
13241 \series default
13242  is inserted as ERT.
13243  For the second table in the last item the command
13244 \end_layout
13245
13246 \begin_layout Standard
13247
13248 \series bold
13249
13250 \backslash
13251 raisebox{-0.32
13252 \backslash
13253 baselineskip}{
13254 \end_layout
13255
13256 \begin_layout Standard
13257 is used.
13258 \end_layout
13259
13260 \begin_layout Standard
13261 \begin_inset Note Greyedout
13262 status open
13263
13264 \begin_layout Standard
13265
13266 \series bold
13267 Note:
13268 \series default
13269  The alignment of the table row content to the surrounding text line is
13270  not exact.
13271  The needed factor of the 
13272 \series bold
13273
13274 \backslash
13275 raisebox
13276 \series default
13277  command for this alignment depends on the document font, the font size,
13278  and the table line thickness.
13279 \end_layout
13280
13281 \end_inset
13282
13283
13284 \end_layout
13285
13286 \begin_layout Section
13287 Colored Tables
13288 \begin_inset LatexCommand label
13289 name "sec:Colored-Tables"
13290
13291 \end_inset
13292
13293
13294 \begin_inset LatexCommand index
13295 name "Table ! Color"
13296
13297 \end_inset
13298
13299
13300 \end_layout
13301
13302 \begin_layout Subsection
13303 Colored Cells
13304 \begin_inset LatexCommand index
13305 name "Table Color ! for Cells"
13306
13307 \end_inset
13308
13309
13310 \begin_inset LatexCommand index
13311 name "Color ! for Table Cells"
13312
13313 \end_inset
13314
13315
13316 \end_layout
13317
13318 \begin_layout Standard
13319 \begin_inset Float table
13320 placement h
13321 wide false
13322 sideways false
13323 status open
13324
13325 \begin_layout Standard
13326 \begin_inset Caption
13327
13328 \begin_layout Standard
13329 \begin_inset LatexCommand label
13330 name "tab:Table-colored-without"
13331
13332 \end_inset
13333
13334 Table colored without using the package 
13335 \series bold
13336 colortbl
13337 \series default
13338
13339 \begin_inset OptArg
13340 status collapsed
13341
13342 \begin_layout Standard
13343 Table without colortbl
13344 \end_layout
13345
13346 \end_inset
13347
13348
13349 \end_layout
13350
13351 \end_inset
13352
13353
13354 \end_layout
13355
13356 \begin_layout Standard
13357 \align center
13358 \begin_inset Tabular
13359 <lyxtabular version="3" rows="3" columns="3">
13360 <features>
13361 <column alignment="center" valignment="top" leftline="true" width="0">
13362 <column alignment="center" valignment="top" leftline="true" width="0">
13363 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13364 <row topline="true">
13365 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13366 \begin_inset Text
13367
13368 \begin_layout Standard
13369
13370 \color green
13371 a
13372 \end_layout
13373
13374 \end_inset
13375 </cell>
13376 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13377 \begin_inset Text
13378
13379 \begin_layout Standard
13380
13381 \color red
13382 b
13383 \end_layout
13384
13385 \end_inset
13386 </cell>
13387 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13388 \begin_inset Text
13389
13390 \begin_layout Standard
13391
13392 \color red
13393 c
13394 \end_layout
13395
13396 \end_inset
13397 </cell>
13398 </row>
13399 <row topline="true">
13400 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13401 \begin_inset Text
13402
13403 \begin_layout Standard
13404
13405 \color green
13406 d
13407 \end_layout
13408
13409 \end_inset
13410 </cell>
13411 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13412 \begin_inset Text
13413
13414 \begin_layout Standard
13415
13416 \color blue
13417 e
13418 \end_layout
13419
13420 \end_inset
13421 </cell>
13422 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13423 \begin_inset Text
13424
13425 \begin_layout Standard
13426
13427 \color blue
13428 f
13429 \end_layout
13430
13431 \end_inset
13432 </cell>
13433 </row>
13434 <row topline="true" bottomline="true">
13435 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13436 \begin_inset Text
13437
13438 \begin_layout Standard
13439
13440 \color green
13441 g
13442 \end_layout
13443
13444 \end_inset
13445 </cell>
13446 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13447 \begin_inset Text
13448
13449 \begin_layout Standard
13450
13451 \color blue
13452 h
13453 \end_layout
13454
13455 \end_inset
13456 </cell>
13457 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13458 \begin_inset Text
13459
13460 \begin_layout Standard
13461
13462 \color blue
13463 i
13464 \end_layout
13465
13466 \end_inset
13467 </cell>
13468 </row>
13469 </lyxtabular>
13470
13471 \end_inset
13472
13473
13474 \end_layout
13475
13476 \end_inset
13477
13478
13479 \end_layout
13480
13481 \begin_layout Standard
13482 If you only need colored text, mark the cells and choose a color in the
13483  menu 
13484 \family sans
13485 Edit\SpecialChar \menuseparator
13486 Text\InsetSpace ~
13487 Style
13488 \family default
13489 .
13490  This was used to create Table\InsetSpace ~
13491
13492 \begin_inset LatexCommand ref
13493 reference "tab:Table-colored-without"
13494
13495 \end_inset
13496
13497 .
13498  In any other case you have to use the LaTeX-package 
13499 \series bold
13500 colortbl
13501 \series default
13502 .
13503 \begin_inset LatexCommand index
13504 name "LaTeX-packages ! colortbl"
13505
13506 \end_inset
13507
13508
13509 \end_layout
13510
13511 \begin_layout Standard
13512 To create colored tables, 
13513 \series bold
13514 colortbl
13515 \series default
13516  must be loaded in the preamble with the line
13517 \end_layout
13518
13519 \begin_layout Standard
13520
13521 \series bold
13522
13523 \backslash
13524 usepackage{colortbl}
13525 \end_layout
13526
13527 \begin_layout Standard
13528 The color of a column is adjusted with the command
13529 \end_layout
13530
13531 \begin_layout Standard
13532
13533 \series bold
13534
13535 \backslash
13536 columncolor{name of color}
13537 \end_layout
13538
13539 \begin_layout Standard
13540 inside the command 
13541 \series bold
13542 >{ }
13543 \series default
13544 .
13545  More about the command 
13546 \series bold
13547 >{}
13548 \series default
13549  is described in section\InsetSpace ~
13550
13551 \begin_inset LatexCommand ref
13552 reference "sub:Multicolumn-Calculations"
13553
13554 \end_inset
13555
13556 .
13557 \end_layout
13558
13559 \begin_layout Standard
13560 The following color names are predefined:
13561 \end_layout
13562
13563 \begin_layout Standard
13564
13565 \family sans
13566 red
13567 \family default
13568
13569 \family sans
13570 green
13571 \family default
13572
13573 \family sans
13574 yellow
13575 \family default
13576
13577 \family sans
13578 blue
13579 \family default
13580
13581 \family sans
13582 cyan
13583 \family default
13584
13585 \family sans
13586 magenta
13587 \family default
13588
13589 \family sans
13590 black
13591 \family default
13592  and 
13593 \family sans
13594 white
13595 \end_layout
13596
13597 \begin_layout Standard
13598 \begin_inset VSpace medskip
13599 \end_inset
13600
13601
13602 \end_layout
13603
13604 \begin_layout Standard
13605 You can also define your own color with the command
13606 \end_layout
13607
13608 \begin_layout Standard
13609
13610 \series bold
13611
13612 \backslash
13613 def\SpecialChar \textcompwordmark{}
13614 inecolor{color name}{color model}{color values}
13615 \end_layout
13616
13617 \begin_layout Standard
13618 The color model can be
13619 \end_layout
13620
13621 \begin_layout Labeling
13622 \labelwidthstring 00.00.0000
13623 cmyk: cyan, magenta, yellow, black
13624 \end_layout
13625
13626 \begin_layout Labeling
13627 \labelwidthstring 00.00.0000
13628 rgb: red, green blue
13629 \end_layout
13630
13631 \begin_layout Labeling
13632 \labelwidthstring 00.00.0000
13633 gray gray
13634 \end_layout
13635
13636 \begin_layout Standard
13637 and the color values are comma separated numbers between 0 and 1 describing
13638  the factor for the corresponding color of the color model.
13639 \end_layout
13640
13641 \begin_layout Standard
13642 You can e.\InsetSpace \thinspace{}
13643 g.\InsetSpace ~
13644 define the color "
13645 \emph on
13646 darkgreen
13647 \emph default
13648 " in the preamble with
13649 \end_layout
13650
13651 \begin_layout Standard
13652
13653 \series bold
13654
13655 \backslash
13656 def\SpecialChar \textcompwordmark{}
13657 inecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
13658 \end_layout
13659
13660 \begin_layout Standard
13661 and the color "
13662 \emph on
13663 lightgray
13664 \emph default
13665 " with
13666 \end_layout
13667
13668 \begin_layout Standard
13669
13670 \series bold
13671
13672 \backslash
13673 def\SpecialChar \textcompwordmark{}
13674 inecolor{lightgray}{gray}{0.8}
13675 \end_layout
13676
13677 \begin_layout Standard
13678 \begin_inset VSpace medskip
13679 \end_inset
13680
13681
13682 \end_layout
13683
13684 \begin_layout Standard
13685 Lines are colored with the command
13686 \end_layout
13687
13688 \begin_layout Standard
13689
13690 \series bold
13691
13692 \backslash
13693 rowcolor{name of color}
13694 \end_layout
13695
13696 \begin_layout Standard
13697 and cells are colored with the command
13698 \end_layout
13699
13700 \begin_layout Standard
13701
13702 \series bold
13703
13704 \backslash
13705 cellcolor{name of color}
13706 \end_layout
13707
13708 \begin_layout Standard
13709 Both commands are inserted at the beginning of a cell as ERT.
13710 \end_layout
13711
13712 \begin_layout Standard
13713 To color characters in the table, mark the cells and use the LyX menu 
13714 \family sans
13715 Edit\SpecialChar \menuseparator
13716 Text\InsetSpace ~
13717 Style
13718 \family default
13719 .
13720  If a cell contains ERT mark only the characters, otherwise the colored
13721  ERT will cause LaTeX-errors.
13722 \end_layout
13723
13724 \begin_layout Standard
13725 \begin_inset VSpace bigskip
13726 \end_inset
13727
13728
13729 \end_layout
13730
13731 \begin_layout Standard
13732 To create Table\InsetSpace ~
13733
13734 \begin_inset LatexCommand ref
13735 reference "tab:Table-colored-using"
13736
13737 \end_inset
13738
13739  do the following: The color of the first column should be 
13740 \emph on
13741 darkgreen
13742 \emph default
13743 .
13744  So insert
13745 \end_layout
13746
13747 \begin_layout Standard
13748
13749 \series bold
13750 >{
13751 \backslash
13752 columncolor{darkgreen}
13753 \backslash
13754 centering}c
13755 \end_layout
13756
13757 \begin_layout Standard
13758 as LaTeX-argument for this column.
13759  The first row should be blue, therefore the ERT command
13760 \end_layout
13761
13762 \begin_layout Standard
13763
13764 \series bold
13765
13766 \backslash
13767 rowcolow{cyan}
13768 \end_layout
13769
13770 \begin_layout Standard
13771 is inserted to the first cell of this row.
13772  Note that this overwrites the column color for the first cell.
13773  The last cell of the last row is colored magenta by inserting the ERT command
13774 \end_layout
13775
13776 \begin_layout Standard
13777
13778 \series bold
13779
13780 \backslash
13781 cellcolor{magenta}
13782 \end_layout
13783
13784 \begin_layout Standard
13785 The characters could now be colored using the menu 
13786 \family sans
13787 Edit\SpecialChar \menuseparator
13788 Text\InsetSpace ~
13789 Style
13790 \family default
13791 .
13792 \end_layout
13793
13794 \begin_layout Standard
13795 \begin_inset Float table
13796 placement h
13797 wide false
13798 sideways false
13799 status open
13800
13801 \begin_layout Standard
13802 \begin_inset Caption
13803
13804 \begin_layout Standard
13805 \begin_inset LatexCommand label
13806 name "tab:Table-colored-using"
13807
13808 \end_inset
13809
13810 Table colored using the package 
13811 \series bold
13812 colortbl
13813 \series default
13814
13815 \begin_inset OptArg
13816 status collapsed
13817
13818 \begin_layout Standard
13819 Table with colortbl
13820 \end_layout
13821
13822 \end_inset
13823
13824
13825 \end_layout
13826
13827 \end_inset
13828
13829
13830 \end_layout
13831
13832 \begin_layout Standard
13833 \align center
13834 \begin_inset Tabular
13835 <lyxtabular version="3" rows="3" columns="3">
13836 <features>
13837 <column alignment="center" valignment="top" width="0" special=">{\columncolor{darkgreen}\centering}c">
13838 <column alignment="center" valignment="top" width="0">
13839 <column alignment="center" valignment="top" width="0">
13840 <row>
13841 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13842 \begin_inset Text
13843
13844 \begin_layout Standard
13845 \begin_inset ERT
13846 status collapsed
13847
13848 \begin_layout Standard
13849
13850
13851 \backslash
13852 rowcolor{cyan}
13853 \end_layout
13854
13855 \end_inset
13856
13857
13858 \color magenta
13859 a
13860 \end_layout
13861
13862 \end_inset
13863 </cell>
13864 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13865 \begin_inset Text
13866
13867 \begin_layout Standard
13868
13869 \color red
13870 b
13871 \end_layout
13872
13873 \end_inset
13874 </cell>
13875 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13876 \begin_inset Text
13877
13878 \begin_layout Standard
13879
13880 \color red
13881 c
13882 \end_layout
13883
13884 \end_inset
13885 </cell>
13886 </row>
13887 <row>
13888 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13889 \begin_inset Text
13890
13891 \begin_layout Standard
13892
13893 \color yellow
13894 d
13895 \end_layout
13896
13897 \end_inset
13898 </cell>
13899 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13900 \begin_inset Text
13901
13902 \begin_layout Standard
13903
13904 \color blue
13905 e
13906 \end_layout
13907
13908 \end_inset
13909 </cell>
13910 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13911 \begin_inset Text
13912
13913 \begin_layout Standard
13914
13915 \color blue
13916 f
13917 \end_layout
13918
13919 \end_inset
13920 </cell>
13921 </row>
13922 <row>
13923 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13924 \begin_inset Text
13925
13926 \begin_layout Standard
13927
13928 \color yellow
13929 g
13930 \end_layout
13931
13932 \end_inset
13933 </cell>
13934 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13935 \begin_inset Text
13936
13937 \begin_layout Standard
13938
13939 \color blue
13940 h
13941 \end_layout
13942
13943 \end_inset
13944 </cell>
13945 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13946 \begin_inset Text
13947
13948 \begin_layout Standard
13949 \begin_inset ERT
13950 status collapsed
13951
13952 \begin_layout Standard
13953
13954
13955 \backslash
13956 cellcolor{magenta}
13957 \end_layout
13958
13959 \end_inset
13960
13961
13962 \color green
13963 i
13964 \end_layout
13965
13966 \end_inset
13967 </cell>
13968 </row>
13969 </lyxtabular>
13970
13971 \end_inset
13972
13973
13974 \end_layout
13975
13976 \end_inset
13977
13978
13979 \end_layout
13980
13981 \begin_layout Subsection
13982 Colored Lines
13983 \begin_inset LatexCommand index
13984 name "Table Color ! for Lines"
13985
13986 \end_inset
13987
13988
13989 \begin_inset LatexCommand index
13990 name "Color ! for Table Lines"
13991
13992 \end_inset
13993
13994
13995 \end_layout
13996
13997 \begin_layout Standard
13998 As described in section\InsetSpace ~
13999
14000 \begin_inset LatexCommand ref
14001 reference "sub:Line-Thickness"
14002
14003 \end_inset
14004
14005 , the line thickness for all lines in a table can be adjusted with the length
14006  
14007 \series bold
14008
14009 \backslash
14010 arrayrulewidth
14011 \series default
14012 .
14013  It is set to 1.5\InsetSpace \thinspace{}
14014 pt for all tables of this section.
14015 \begin_inset ERT
14016 status collapsed
14017
14018 \begin_layout Standard
14019
14020
14021 \backslash
14022 setlength{
14023 \backslash
14024 arrayrulewidth}{1.5pt}
14025 \end_layout
14026
14027 \end_inset
14028
14029
14030 \end_layout
14031
14032 \begin_layout Standard
14033 To color vertical lines for example with green, create the following column
14034  format in the document preamble, according to the description in section\InsetSpace ~
14035
14036 \begin_inset LatexCommand ref
14037 reference "sub:Customized-Format"
14038
14039 \end_inset
14040
14041 :
14042 \end_layout
14043
14044 \begin_layout Standard
14045
14046 \series bold
14047
14048 \backslash
14049 newcolumntype{W}{!{
14050 \backslash
14051 color{green}
14052 \backslash
14053 vline}}
14054 \end_layout
14055
14056 \begin_layout Standard
14057 For Table\InsetSpace ~
14058
14059 \begin_inset LatexCommand ref
14060 reference "tab:Table-with-vertical-colored"
14061
14062 \end_inset
14063
14064  the LaTeX-argument
14065 \end_layout
14066
14067 \begin_layout Standard
14068
14069 \series bold
14070 WcW
14071 \end_layout
14072
14073 \begin_layout Standard
14074 was used for the last column and
14075 \end_layout
14076
14077 \begin_layout Standard
14078
14079 \series bold
14080 Wc
14081 \end_layout
14082
14083 \begin_layout Standard
14084 for the other columns.
14085 \end_layout
14086
14087 \begin_layout Standard
14088 If you want to have several colors, define more column formats.
14089 \end_layout
14090
14091 \begin_layout Standard
14092 \begin_inset Float table
14093 wide false
14094 sideways false
14095 status open
14096
14097 \begin_layout Standard
14098 \begin_inset Caption
14099
14100 \begin_layout Standard
14101 \begin_inset LatexCommand label
14102 name "tab:Table-with-vertical-colored"
14103
14104 \end_inset
14105
14106 Table with colored vertical lines
14107 \end_layout
14108
14109 \end_inset
14110
14111
14112 \end_layout
14113
14114 \begin_layout Standard
14115 \align center
14116 \begin_inset Tabular
14117 <lyxtabular version="3" rows="3" columns="3">
14118 <features>
14119 <column alignment="center" valignment="top" width="0" special="Wc">
14120 <column alignment="center" valignment="top" width="0" special="Wc">
14121 <column alignment="center" valignment="top" width="0" special="WcW">
14122 <row topline="true">
14123 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14124 \begin_inset Text
14125
14126 \begin_layout Standard
14127 sd
14128 \end_layout
14129
14130 \end_inset
14131 </cell>
14132 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14133 \begin_inset Text
14134
14135 \begin_layout Standard
14136
14137 \end_layout
14138
14139 \end_inset
14140 </cell>
14141 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14142 \begin_inset Text
14143
14144 \begin_layout Standard
14145
14146 \end_layout
14147
14148 \end_inset
14149 </cell>
14150 </row>
14151 <row topline="true">
14152 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14153 \begin_inset Text
14154
14155 \begin_layout Standard
14156
14157 \end_layout
14158
14159 \end_inset
14160 </cell>
14161 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14162 \begin_inset Text
14163
14164 \begin_layout Standard
14165 sd
14166 \end_layout
14167
14168 \end_inset
14169 </cell>
14170 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14171 \begin_inset Text
14172
14173 \begin_layout Standard
14174
14175 \end_layout
14176
14177 \end_inset
14178 </cell>
14179 </row>
14180 <row topline="true" bottomline="true">
14181 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14182 \begin_inset Text
14183
14184 \begin_layout Standard
14185
14186 \end_layout
14187
14188 \end_inset
14189 </cell>
14190 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14191 \begin_inset Text
14192
14193 \begin_layout Standard
14194
14195 \end_layout
14196
14197 \end_inset
14198 </cell>
14199 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14200 \begin_inset Text
14201
14202 \begin_layout Standard
14203 sd
14204 \end_layout
14205
14206 \end_inset
14207 </cell>
14208 </row>
14209 </lyxtabular>
14210
14211 \end_inset
14212
14213
14214 \end_layout
14215
14216 \end_inset
14217
14218
14219 \end_layout
14220
14221 \begin_layout Standard
14222 \begin_inset VSpace bigskip
14223 \end_inset
14224
14225 To color horizontal lines for example with red, like in Table\InsetSpace ~
14226
14227 \begin_inset LatexCommand ref
14228 reference "tab:Table-with-horizontal-colored"
14229
14230 \end_inset
14231
14232 , insert these commands in ERT before the table or table float:
14233 \end_layout
14234
14235 \begin_layout Standard
14236
14237 \series bold
14238
14239 \backslash
14240 let
14241 \backslash
14242 myHlineC
14243 \backslash
14244 hline
14245 \newline
14246
14247 \backslash
14248 renewcommand{
14249 \backslash
14250 hline}{
14251 \backslash
14252 arrayrulecolor{red}
14253 \backslash
14254 myHlineC
14255 \backslash
14256 arrayrulecolor{black}}
14257 \end_layout
14258
14259 \begin_layout Standard
14260 \begin_inset ERT
14261 status collapsed
14262
14263 \begin_layout Standard
14264
14265
14266 \backslash
14267 let
14268 \backslash
14269 myHlineC
14270 \backslash
14271 hline
14272 \end_layout
14273
14274 \begin_layout Standard
14275
14276
14277 \backslash
14278 renewcommand{
14279 \backslash
14280 hline}{
14281 \backslash
14282 arrayrulecolor{red}
14283 \backslash
14284 myHlineC
14285 \backslash
14286 arrayrulecolor{black}}
14287 \end_layout
14288
14289 \end_inset
14290
14291
14292 \begin_inset Float table
14293 wide false
14294 sideways false
14295 status open
14296
14297 \begin_layout Standard
14298 \begin_inset Caption
14299
14300 \begin_layout Standard
14301 \begin_inset LatexCommand label
14302 name "tab:Table-with-horizontal-colored"
14303
14304 \end_inset
14305
14306 Table with colored horizontal lines
14307 \end_layout
14308
14309 \end_inset
14310
14311
14312 \end_layout
14313
14314 \begin_layout Standard
14315 \align center
14316 \begin_inset Tabular
14317 <lyxtabular version="3" rows="3" columns="3">
14318 <features>
14319 <column alignment="center" valignment="top" leftline="true" width="0">
14320 <column alignment="center" valignment="top" leftline="true" width="0">
14321 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14322 <row topline="true">
14323 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14324 \begin_inset Text
14325
14326 \begin_layout Standard
14327 sd
14328 \end_layout
14329
14330 \end_inset
14331 </cell>
14332 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14333 \begin_inset Text
14334
14335 \begin_layout Standard
14336
14337 \end_layout
14338
14339 \end_inset
14340 </cell>
14341 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14342 \begin_inset Text
14343
14344 \begin_layout Standard
14345
14346 \end_layout
14347
14348 \end_inset
14349 </cell>
14350 </row>
14351 <row topline="true">
14352 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14353 \begin_inset Text
14354
14355 \begin_layout Standard
14356
14357 \end_layout
14358
14359 \end_inset
14360 </cell>
14361 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14362 \begin_inset Text
14363
14364 \begin_layout Standard
14365 sd
14366 \end_layout
14367
14368 \end_inset
14369 </cell>
14370 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14371 \begin_inset Text
14372
14373 \begin_layout Standard
14374
14375 \end_layout
14376
14377 \end_inset
14378 </cell>
14379 </row>
14380 <row topline="true" bottomline="true">
14381 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14382 \begin_inset Text
14383
14384 \begin_layout Standard
14385
14386 \end_layout
14387
14388 \end_inset
14389 </cell>
14390 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14391 \begin_inset Text
14392
14393 \begin_layout Standard
14394
14395 \end_layout
14396
14397 \end_inset
14398 </cell>
14399 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14400 \begin_inset Text
14401
14402 \begin_layout Standard
14403 sd
14404 \end_layout
14405
14406 \end_inset
14407 </cell>
14408 </row>
14409 </lyxtabular>
14410
14411 \end_inset
14412
14413
14414 \end_layout
14415
14416 \end_inset
14417
14418
14419 \end_layout
14420
14421 \begin_layout Standard
14422 \begin_inset ERT
14423 status collapsed
14424
14425 \begin_layout Standard
14426
14427
14428 \backslash
14429 pagebreak 
14430 \end_layout
14431
14432 \end_inset
14433
14434
14435 \end_layout
14436
14437 \begin_layout Standard
14438 To return to the default line color black, insert this command in ERT behind
14439  the table or table float:
14440 \end_layout
14441
14442 \begin_layout Standard
14443
14444 \series bold
14445
14446 \backslash
14447 renewcommand{
14448 \backslash
14449 hline}{
14450 \backslash
14451 myHlineC}
14452 \end_layout
14453
14454 \begin_layout Standard
14455 Table\InsetSpace ~
14456
14457 \begin_inset LatexCommand ref
14458 reference "tab:Table-with-colored"
14459
14460 \end_inset
14461
14462  is an example with colored vertical and horizontal lines.
14463 \end_layout
14464
14465 \begin_layout Standard
14466 \begin_inset Float table
14467 wide false
14468 sideways false
14469 status open
14470
14471 \begin_layout Standard
14472 \begin_inset Caption
14473
14474 \begin_layout Standard
14475 \begin_inset LatexCommand label
14476 name "tab:Table-with-colored"
14477
14478 \end_inset
14479
14480 Table with colored lines
14481 \end_layout
14482
14483 \end_inset
14484
14485
14486 \end_layout
14487
14488 \begin_layout Standard
14489 \align center
14490 \begin_inset Tabular
14491 <lyxtabular version="3" rows="3" columns="3">
14492 <features>
14493 <column alignment="center" valignment="top" width="0" special="Wc">
14494 <column alignment="center" valignment="top" width="0" special="Wc">
14495 <column alignment="center" valignment="top" width="0" special="WcW">
14496 <row topline="true">
14497 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14498 \begin_inset Text
14499
14500 \begin_layout Standard
14501 sd
14502 \end_layout
14503
14504 \end_inset
14505 </cell>
14506 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14507 \begin_inset Text
14508
14509 \begin_layout Standard
14510
14511 \end_layout
14512
14513 \end_inset
14514 </cell>
14515 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14516 \begin_inset Text
14517
14518 \begin_layout Standard
14519
14520 \end_layout
14521
14522 \end_inset
14523 </cell>
14524 </row>
14525 <row topline="true">
14526 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14527 \begin_inset Text
14528
14529 \begin_layout Standard
14530
14531 \end_layout
14532
14533 \end_inset
14534 </cell>
14535 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14536 \begin_inset Text
14537
14538 \begin_layout Standard
14539 sd
14540 \end_layout
14541
14542 \end_inset
14543 </cell>
14544 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14545 \begin_inset Text
14546
14547 \begin_layout Standard
14548
14549 \end_layout
14550
14551 \end_inset
14552 </cell>
14553 </row>
14554 <row topline="true" bottomline="true" topspace="default">
14555 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14556 \begin_inset Text
14557
14558 \begin_layout Standard
14559
14560 \end_layout
14561
14562 \end_inset
14563 </cell>
14564 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14565 \begin_inset Text
14566
14567 \begin_layout Standard
14568
14569 \end_layout
14570
14571 \end_inset
14572 </cell>
14573 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14574 \begin_inset Text
14575
14576 \begin_layout Standard
14577 sd
14578 \end_layout
14579
14580 \end_inset
14581 </cell>
14582 </row>
14583 </lyxtabular>
14584
14585 \end_inset
14586
14587
14588 \end_layout
14589
14590 \end_inset
14591
14592
14593 \end_layout
14594
14595 \begin_layout Standard
14596 \begin_inset ERT
14597 status collapsed
14598
14599 \begin_layout Standard
14600
14601
14602 \backslash
14603 renewcommand{
14604 \backslash
14605 hline}{
14606 \backslash
14607 myHlineC}
14608 \end_layout
14609
14610 \end_inset
14611
14612
14613 \end_layout
14614
14615 \begin_layout Standard
14616 \begin_inset ERT
14617 status collapsed
14618
14619 \begin_layout Standard
14620
14621
14622 \backslash
14623 setlength{
14624 \backslash
14625 arrayrulewidth}{0.4pt}
14626 \end_layout
14627
14628 \end_inset
14629
14630
14631 \end_layout
14632
14633 \begin_layout Section
14634 Table Customization
14635 \begin_inset LatexCommand index
14636 name "Table Customization"
14637
14638 \end_inset
14639
14640
14641 \begin_inset LatexCommand index
14642 name "Table ! Customization"
14643
14644 \end_inset
14645
14646
14647 \end_layout
14648
14649 \begin_layout Subsection
14650 Row Spacing
14651 \begin_inset LatexCommand label
14652 name "sub:Row-Spacing"
14653
14654 \end_inset
14655
14656
14657 \begin_inset LatexCommand index
14658 name "Table Customization ! Row Spacing"
14659
14660 \end_inset
14661
14662
14663 \end_layout
14664
14665 \begin_layout Standard
14666 You can add vertical space to table rows in the 
14667 \family sans
14668 Borders
14669 \family default
14670  tab of the table dialog.
14671  You find there three possibilities:
14672 \end_layout
14673
14674 \begin_layout Description
14675 Top\InsetSpace ~
14676 of\InsetSpace ~
14677 row will add space above the characters of the table row.
14678  If the table is a formal table
14679 \begin_inset Foot
14680 status collapsed
14681
14682 \begin_layout Standard
14683 Formal tables are explained in section\InsetSpace ~
14684
14685 \begin_inset LatexCommand ref
14686 reference "sec:Formal-Tables"
14687
14688 \end_inset
14689
14690 .
14691 \end_layout
14692
14693 \end_inset
14694
14695  LyX will insert as default 0.5\InsetSpace \thinspace{}
14696 em space.
14697  For normal tables the inserted space will unfortunately destroy the vertical
14698  table lines as in the following table:
14699 \begin_inset VSpace defskip
14700 \end_inset
14701
14702
14703 \newline
14704
14705 \begin_inset ERT
14706 status collapsed
14707
14708 \begin_layout Standard
14709
14710
14711 \backslash
14712 hspace*{0pt}
14713 \end_layout
14714
14715 \end_inset
14716
14717
14718 \hfill
14719
14720 \begin_inset Tabular
14721 <lyxtabular version="3" rows="3" columns="1">
14722 <features>
14723 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14724 <row topline="true">
14725 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14726 \begin_inset Text
14727
14728 \begin_layout Standard
14729 A
14730 \end_layout
14731
14732 \end_inset
14733 </cell>
14734 </row>
14735 <row topline="true" topspace="3mm">
14736 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14737 \begin_inset Text
14738
14739 \begin_layout Standard
14740 3\InsetSpace \thinspace{}
14741 mm space top of row
14742 \end_layout
14743
14744 \end_inset
14745 </cell>
14746 </row>
14747 <row topline="true" bottomline="true">
14748 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14749 \begin_inset Text
14750
14751 \begin_layout Standard
14752 C
14753 \end_layout
14754
14755 \end_inset
14756 </cell>
14757 </row>
14758 </lyxtabular>
14759
14760 \end_inset
14761
14762
14763 \hfill
14764
14765 \begin_inset ERT
14766 status collapsed
14767
14768 \begin_layout Standard
14769
14770
14771 \backslash
14772 hspace*{0pt}
14773 \end_layout
14774
14775 \end_inset
14776
14777
14778 \begin_inset VSpace defskip
14779 \end_inset
14780
14781
14782 \newline
14783 So inserting space to the top of row for normal tables is only useful when
14784  you don't have vertical lines.
14785 \end_layout
14786
14787 \begin_layout Description
14788 Bottom\InsetSpace ~
14789 of\InsetSpace ~
14790 row will add space below the characters of the table row.
14791  If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
14792 em space, for
14793  normal tables the default size is 2\InsetSpace \thinspace{}
14794 pt.
14795 \end_layout
14796
14797 \begin_layout Description
14798 Between\InsetSpace ~
14799 rows adds space between the current and the following row.
14800  If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
14801 em space.
14802  For normal tables the inserted space will unfortunately destroy the vertical
14803  table lines as in the following table:
14804 \begin_inset VSpace defskip
14805 \end_inset
14806
14807
14808 \newline
14809
14810 \begin_inset ERT
14811 status collapsed
14812
14813 \begin_layout Standard
14814
14815
14816 \backslash
14817 hspace*{0pt}
14818 \end_layout
14819
14820 \end_inset
14821
14822
14823 \hfill
14824
14825 \begin_inset Tabular
14826 <lyxtabular version="3" rows="3" columns="1">
14827 <features>
14828 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14829 <row topline="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 A
14835 \end_layout
14836
14837 \end_inset
14838 </cell>
14839 </row>
14840 <row topline="true" interlinespace="3mm">
14841 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14842 \begin_inset Text
14843
14844 \begin_layout Standard
14845 \begin_inset Formula $\downarrow$
14846 \end_inset
14847
14848  3\InsetSpace \thinspace{}
14849 mm space between row 
14850 \begin_inset Formula $\downarrow$
14851 \end_inset
14852
14853
14854 \end_layout
14855
14856 \end_inset
14857 </cell>
14858 </row>
14859 <row topline="true" bottomline="true">
14860 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14861 \begin_inset Text
14862
14863 \begin_layout Standard
14864 \begin_inset Formula $\uparrow$
14865 \end_inset
14866
14867  3\InsetSpace \thinspace{}
14868 mm space between row 
14869 \begin_inset Formula $\uparrow$
14870 \end_inset
14871
14872
14873 \end_layout
14874
14875 \end_inset
14876 </cell>
14877 </row>
14878 </lyxtabular>
14879
14880 \end_inset
14881
14882
14883 \hfill
14884
14885 \begin_inset ERT
14886 status collapsed
14887
14888 \begin_layout Standard
14889
14890
14891 \backslash
14892 hspace*{0pt}
14893 \end_layout
14894
14895 \end_inset
14896
14897
14898 \begin_inset VSpace defskip
14899 \end_inset
14900
14901
14902 \newline
14903 So inserting space between rows for normal tables is only useful when you
14904  don't have vertical lines.
14905 \end_layout
14906
14907 \begin_layout Standard
14908 When you want to add extra height to all cells of all tables, you can do
14909  this with the following preamble line:
14910 \end_layout
14911
14912 \begin_layout Standard
14913
14914 \series bold
14915
14916 \backslash
14917 setlength{
14918 \backslash
14919 extrarowheight}{height}
14920 \end_layout
14921
14922 \begin_layout Standard
14923 But this has the disadvantage that the cell texts are no longer exactly
14924  vertically centered.
14925 \end_layout
14926
14927 \begin_layout Subsection
14928 Special Cell Alignment
14929 \begin_inset LatexCommand index
14930 name "Table Customization ! Special Cell Alignment"
14931
14932 \end_inset
14933
14934
14935 \end_layout
14936
14937 \begin_layout Standard
14938 Sometimes it looks better when the cell entries of a column are aligned
14939  with a special character, e.\InsetSpace \thinspace{}
14940 g.\InsetSpace ~
14941 with the decimal separator as in Table\InsetSpace ~
14942
14943 \begin_inset LatexCommand ref
14944 reference "tab:Table-cells-of"
14945
14946 \end_inset
14947
14948 .
14949 \end_layout
14950
14951 \begin_layout Standard
14952 \begin_inset Float table
14953 placement h
14954 wide false
14955 sideways false
14956 status open
14957
14958 \begin_layout Standard
14959 \begin_inset Caption
14960
14961 \begin_layout Standard
14962 \begin_inset LatexCommand label
14963 name "tab:Table-cells-of"
14964
14965 \end_inset
14966
14967 Table cells of a column aligned with the decimal separator.
14968 \end_layout
14969
14970 \end_inset
14971
14972
14973 \end_layout
14974
14975 \begin_layout Standard
14976 \align center
14977 \begin_inset Tabular
14978 <lyxtabular version="3" rows="4" columns="2">
14979 <features>
14980 <column alignment="right" valignment="top" width="0">
14981 <column alignment="left" valignment="top" width="0" special="@{}l">
14982 <row bottomline="true">
14983 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
14984 \begin_inset Text
14985
14986 \begin_layout Standard
14987 heading
14988 \end_layout
14989
14990 \end_inset
14991 </cell>
14992 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14993 \begin_inset Text
14994
14995 \begin_layout Standard
14996
14997 \end_layout
14998
14999 \end_inset
15000 </cell>
15001 </row>
15002 <row>
15003 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15004 \begin_inset Text
15005
15006 \begin_layout Standard
15007 12.
15008 \end_layout
15009
15010 \end_inset
15011 </cell>
15012 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15013 \begin_inset Text
15014
15015 \begin_layout Standard
15016 6
15017 \end_layout
15018
15019 \end_inset
15020 </cell>
15021 </row>
15022 <row>
15023 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15024 \begin_inset Text
15025
15026 \begin_layout Standard
15027 0.
15028 \end_layout
15029
15030 \end_inset
15031 </cell>
15032 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15033 \begin_inset Text
15034
15035 \begin_layout Standard
15036 68
15037 \end_layout
15038
15039 \end_inset
15040 </cell>
15041 </row>
15042 <row>
15043 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15044 \begin_inset Text
15045
15046 \begin_layout Standard
15047 -123.
15048 \end_layout
15049
15050 \end_inset
15051 </cell>
15052 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15053 \begin_inset Text
15054
15055 \begin_layout Standard
15056 0
15057 \end_layout
15058
15059 \end_inset
15060 </cell>
15061 </row>
15062 </lyxtabular>
15063
15064 \end_inset
15065
15066
15067 \end_layout
15068
15069 \end_inset
15070
15071
15072 \end_layout
15073
15074 \begin_layout Standard
15075 This table was created with a 4×2 table.
15076  The heading is a centered multicolumn.
15077  The first column is right-aligned and contains the digits before the decimal
15078  point and the decimal point.
15079  The second column is left aligned and contains the digits after the decimal
15080  point.
15081  To omit the space that is normally between two table columns, use the following
15082  LaTeX-argument for the second column:
15083 \end_layout
15084
15085 \begin_layout Standard
15086
15087 \series bold
15088 @{}l
15089 \end_layout
15090
15091 \begin_layout Standard
15092 Table\InsetSpace ~
15093
15094 \begin_inset LatexCommand ref
15095 reference "tab:Several-table-cell"
15096
15097 \end_inset
15098
15099  shows some example alignments.
15100  For the alignment with the relation sign, you must add the second smallest
15101  math-space at the beginning of the last column to get the correct space
15102  surrounding the relation sign.
15103 \end_layout
15104
15105 \begin_layout Standard
15106 \begin_inset Float table
15107 wide false
15108 sideways false
15109 status open
15110
15111 \begin_layout Standard
15112 \begin_inset Caption
15113
15114 \begin_layout Standard
15115 \begin_inset LatexCommand label
15116 name "tab:Several-table-cell"
15117
15118 \end_inset
15119
15120 Several table cell alignments.
15121 \end_layout
15122
15123 \end_inset
15124
15125
15126 \end_layout
15127
15128 \begin_layout Standard
15129 \align center
15130 \begin_inset Tabular
15131 <lyxtabular version="3" rows="4" columns="6">
15132 <features>
15133 <column alignment="right" valignment="top" width="0">
15134 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l">
15135 <column alignment="right" valignment="top" width="0">
15136 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l">
15137 <column alignment="right" valignment="top" width="0">
15138 <column alignment="left" valignment="top" width="0" special="@{}l">
15139 <row bottomline="true">
15140 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15141 \begin_inset Text
15142
15143 \begin_layout Standard
15144 units
15145 \end_layout
15146
15147 \end_inset
15148 </cell>
15149 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15150 \begin_inset Text
15151
15152 \begin_layout Standard
15153
15154 \end_layout
15155
15156 \end_inset
15157 </cell>
15158 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15159 \begin_inset Text
15160
15161 \begin_layout Standard
15162 exponents
15163 \end_layout
15164
15165 \end_inset
15166 </cell>
15167 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15168 \begin_inset Text
15169
15170 \begin_layout Standard
15171
15172 \end_layout
15173
15174 \end_inset
15175 </cell>
15176 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15177 \begin_inset Text
15178
15179 \begin_layout Standard
15180 relations
15181 \end_layout
15182
15183 \end_inset
15184 </cell>
15185 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15186 \begin_inset Text
15187
15188 \begin_layout Standard
15189
15190 \end_layout
15191
15192 \end_inset
15193 </cell>
15194 </row>
15195 <row>
15196 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15197 \begin_inset Text
15198
15199 \begin_layout Standard
15200 12×
15201 \end_layout
15202
15203 \end_inset
15204 </cell>
15205 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15206 \begin_inset Text
15207
15208 \begin_layout Standard
15209 24\InsetSpace \thinspace{}
15210 bottles
15211 \end_layout
15212
15213 \end_inset
15214 </cell>
15215 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15216 \begin_inset Text
15217
15218 \begin_layout Standard
15219 \begin_inset Formula $10\cdot$
15220 \end_inset
15221
15222
15223 \end_layout
15224
15225 \end_inset
15226 </cell>
15227 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15228 \begin_inset Text
15229
15230 \begin_layout Standard
15231 \begin_inset Formula $10^{\mbox{-}17}$
15232 \end_inset
15233
15234
15235 \end_layout
15236
15237 \end_inset
15238 </cell>
15239 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15240 \begin_inset Text
15241
15242 \begin_layout Standard
15243 \begin_inset Formula $\Gamma(t)\propto$
15244 \end_inset
15245
15246
15247 \end_layout
15248
15249 \end_inset
15250 </cell>
15251 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15252 \begin_inset Text
15253
15254 \begin_layout Standard
15255 \begin_inset Formula $\:\Upsilon(t)$
15256 \end_inset
15257
15258
15259 \end_layout
15260
15261 \end_inset
15262 </cell>
15263 </row>
15264 <row>
15265 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15266 \begin_inset Text
15267
15268 \begin_layout Standard
15269 1024×
15270 \end_layout
15271
15272 \end_inset
15273 </cell>
15274 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15275 \begin_inset Text
15276
15277 \begin_layout Standard
15278 768\InsetSpace \thinspace{}
15279 Pixels
15280 \end_layout
15281
15282 \end_inset
15283 </cell>
15284 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15285 \begin_inset Text
15286
15287 \begin_layout Standard
15288 \begin_inset Formula $5.78\cdot$
15289 \end_inset
15290
15291
15292 \end_layout
15293
15294 \end_inset
15295 </cell>
15296 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15297 \begin_inset Text
15298
15299 \begin_layout Standard
15300 \begin_inset Formula $10^{7}$
15301 \end_inset
15302
15303
15304 \end_layout
15305
15306 \end_inset
15307 </cell>
15308 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15309 \begin_inset Text
15310
15311 \begin_layout Standard
15312 \begin_inset Formula $A\ne$
15313 \end_inset
15314
15315
15316 \end_layout
15317
15318 \end_inset
15319 </cell>
15320 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15321 \begin_inset Text
15322
15323 \begin_layout Standard
15324 \begin_inset Formula $\: B_{\mathrm{red}}$
15325 \end_inset
15326
15327
15328 \end_layout
15329
15330 \end_inset
15331 </cell>
15332 </row>
15333 <row>
15334 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15335 \begin_inset Text
15336
15337 \begin_layout Standard
15338 32×
15339 \end_layout
15340
15341 \end_inset
15342 </cell>
15343 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15344 \begin_inset Text
15345
15346 \begin_layout Standard
15347 6\InsetSpace \thinspace{}
15348 cm
15349 \end_layout
15350
15351 \end_inset
15352 </cell>
15353 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15354 \begin_inset Text
15355
15356 \begin_layout Standard
15357 -
15358 \begin_inset Formula $33.5\cdot$
15359 \end_inset
15360
15361
15362 \end_layout
15363
15364 \end_inset
15365 </cell>
15366 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15367 \begin_inset Text
15368
15369 \begin_layout Standard
15370 \begin_inset Formula $10^{4}$
15371 \end_inset
15372
15373
15374 \end_layout
15375
15376 \end_inset
15377 </cell>
15378 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15379 \begin_inset Text
15380
15381 \begin_layout Standard
15382 \begin_inset Formula $\sin(\alpha)\ge$
15383 \end_inset
15384
15385
15386 \end_layout
15387
15388 \end_inset
15389 </cell>
15390 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15391 \begin_inset Text
15392
15393 \begin_layout Standard
15394 \begin_inset Formula $\:\sin(\beta)$
15395 \end_inset
15396
15397
15398 \end_layout
15399
15400 \end_inset
15401 </cell>
15402 </row>
15403 </lyxtabular>
15404
15405 \end_inset
15406
15407
15408 \end_layout
15409
15410 \end_inset
15411
15412
15413 \end_layout
15414
15415 \begin_layout Standard
15416 \begin_inset VSpace bigskip
15417 \end_inset
15418
15419 There is also the LaTeX-package 
15420 \series bold
15421 dcolumn
15422 \series default
15423
15424 \begin_inset LatexCommand index
15425 name "LaTeX-packages ! dcolumn"
15426
15427 \end_inset
15428
15429  that provides table cell alignments.
15430  But this unfortunately treats the cell entries as math and doesn't allow
15431  formulas in table cells: The first column of Table\InsetSpace ~
15432
15433 \begin_inset LatexCommand ref
15434 reference "tab:Several-table-cell"
15435
15436 \end_inset
15437
15438  will look with 
15439 \series bold
15440 dcolumn
15441 \series default
15442  like the first column in Table\InsetSpace ~
15443
15444 \begin_inset LatexCommand ref
15445 reference "tab:Alignments-when"
15446
15447 \end_inset
15448
15449  and only with some tricks like the expected.
15450  The alignment of the second and third column of Table\InsetSpace ~
15451
15452 \begin_inset LatexCommand ref
15453 reference "tab:Several-table-cell"
15454
15455 \end_inset
15456
15457  is not possible with 
15458 \series bold
15459 dcolumn
15460 \series default
15461 .
15462 \end_layout
15463
15464 \begin_layout Standard
15465 \begin_inset Float table
15466 placement h
15467 wide false
15468 sideways false
15469 status open
15470
15471 \begin_layout Standard
15472 \begin_inset Caption
15473
15474 \begin_layout Standard
15475 \begin_inset LatexCommand label
15476 name "tab:Alignments-when"
15477
15478 \end_inset
15479
15480 Alignments when LaTeX-package dcolumn is used.
15481  For all column alignments tricks have to be used to get the output.
15482 \end_layout
15483
15484 \end_inset
15485
15486
15487 \end_layout
15488
15489 \begin_layout Standard
15490 \align center
15491 \begin_inset Tabular
15492 <lyxtabular version="3" rows="4" columns="3">
15493 <features>
15494 <column alignment="center" valignment="top" rightline="true" width="0" special="D{x}{\times}{-1}">
15495 <column alignment="center" valignment="top" rightline="true" width="0" special="D{x}{\times}{4.9}">
15496 <column alignment="center" valignment="top" width="0" special="D{~}{\,}{9.7}">
15497 <row bottomline="true">
15498 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15499 \begin_inset Text
15500
15501 \begin_layout Standard
15502 units
15503 \end_layout
15504
15505 \end_inset
15506 </cell>
15507 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15508 \begin_inset Text
15509
15510 \begin_layout Standard
15511 units
15512 \end_layout
15513
15514 \end_inset
15515 </cell>
15516 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15517 \begin_inset Text
15518
15519 \begin_layout Standard
15520 units
15521 \end_layout
15522
15523 \end_inset
15524 </cell>
15525 </row>
15526 <row>
15527 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15528 \begin_inset Text
15529
15530 \begin_layout Standard
15531 12x24\InsetSpace \thinspace{}
15532 bottles
15533 \end_layout
15534
15535 \end_inset
15536 </cell>
15537 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15538 \begin_inset Text
15539
15540 \begin_layout Standard
15541 12x24\InsetSpace \thinspace{}
15542
15543 \begin_inset Formula $\mbox{bottles}$
15544 \end_inset
15545
15546
15547 \end_layout
15548
15549 \end_inset
15550 </cell>
15551 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15552 \begin_inset Text
15553
15554 \begin_layout Standard
15555 12
15556 \begin_inset ERT
15557 status collapsed
15558
15559 \begin_layout Standard
15560
15561
15562 \backslash
15563 times 
15564 \end_layout
15565
15566 \end_inset
15567
15568 24~
15569 \begin_inset Formula $\mbox{bottles}$
15570 \end_inset
15571
15572
15573 \end_layout
15574
15575 \end_inset
15576 </cell>
15577 </row>
15578 <row>
15579 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15580 \begin_inset Text
15581
15582 \begin_layout Standard
15583 1024x768\InsetSpace \thinspace{}
15584 Pixels
15585 \end_layout
15586
15587 \end_inset
15588 </cell>
15589 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15590 \begin_inset Text
15591
15592 \begin_layout Standard
15593 1024x768\InsetSpace \thinspace{}
15594
15595 \begin_inset Formula $\mbox{Pixels}$
15596 \end_inset
15597
15598
15599 \end_layout
15600
15601 \end_inset
15602 </cell>
15603 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15604 \begin_inset Text
15605
15606 \begin_layout Standard
15607 1024
15608 \begin_inset ERT
15609 status collapsed
15610
15611 \begin_layout Standard
15612
15613
15614 \backslash
15615 times 
15616 \end_layout
15617
15618 \end_inset
15619
15620 768~
15621 \begin_inset Formula $\mbox{Pixels}$
15622 \end_inset
15623
15624
15625 \end_layout
15626
15627 \end_inset
15628 </cell>
15629 </row>
15630 <row>
15631 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15632 \begin_inset Text
15633
15634 \begin_layout Standard
15635 32x6\InsetSpace \thinspace{}
15636 cm
15637 \end_layout
15638
15639 \end_inset
15640 </cell>
15641 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15642 \begin_inset Text
15643
15644 \begin_layout Standard
15645 32x6\InsetSpace \thinspace{}
15646
15647 \begin_inset Formula $\mbox{cm}$
15648 \end_inset
15649
15650
15651 \end_layout
15652
15653 \end_inset
15654 </cell>
15655 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15656 \begin_inset Text
15657
15658 \begin_layout Standard
15659 32
15660 \begin_inset ERT
15661 status collapsed
15662
15663 \begin_layout Standard
15664
15665
15666 \backslash
15667 times 
15668 \end_layout
15669
15670 \end_inset
15671
15672 6~
15673 \begin_inset Formula $\mbox{cm}$
15674 \end_inset
15675
15676
15677 \end_layout
15678
15679 \end_inset
15680 </cell>
15681 </row>
15682 </lyxtabular>
15683
15684 \end_inset
15685
15686
15687 \end_layout
15688
15689 \end_inset
15690
15691
15692 \end_layout
15693
15694 \begin_layout Subsection
15695 Customized Cell/Column Format
15696 \begin_inset LatexCommand label
15697 name "sub:Customized-Format"
15698
15699 \end_inset
15700
15701
15702 \begin_inset LatexCommand index
15703 name "Table Customization ! Cell/Column Format"
15704
15705 \end_inset
15706
15707
15708 \end_layout
15709
15710 \begin_layout Standard
15711 Calculating the needed width for spanned columns like in section\InsetSpace ~
15712
15713 \begin_inset LatexCommand ref
15714 reference "sub:Multicolumn-Calculations"
15715
15716 \end_inset
15717
15718  is very annoying if you have several tables with multicolumn cells.
15719  To make life easier, you can define a cell/column format in the preamble,
15720  so that it can be used in all tables of the document.
15721  The format is defined with the command
15722 \end_layout
15723
15724 \begin_layout Standard
15725
15726 \series bold
15727
15728 \backslash
15729 newcolumntype{name of format}[number of arguments]{commands}
15730 \end_layout
15731
15732 \begin_layout Standard
15733 The format name may only consist of one letter.
15734  The letters 
15735 \emph on
15736 b
15737 \emph default
15738
15739 \emph on
15740 c
15741 \emph default
15742
15743 \emph on
15744 l
15745 \emph default
15746
15747 \emph on
15748 m
15749 \emph default
15750
15751 \emph on
15752 p
15753 \emph default
15754  and 
15755 \emph on
15756 r
15757 \emph default
15758  are predefined and cannot be used.
15759  But all letters are allowed as capitals.
15760 \end_layout
15761
15762 \begin_layout Standard
15763 \begin_inset VSpace medskip
15764 \end_inset
15765
15766
15767 \end_layout
15768
15769 \begin_layout Standard
15770 For vertically and horizontally centered multicolumn cells with a fixed
15771  width you can define the cell format
15772 \end_layout
15773
15774 \begin_layout Standard
15775
15776 \series bold
15777
15778 \backslash
15779 newcolumntype{M}[1]{>{
15780 \backslash
15781 centering
15782 \backslash
15783 hspace{0pt}}m{#1}}
15784 \end_layout
15785
15786 \begin_layout Standard
15787 where 
15788 \series bold
15789
15790 \backslash
15791 hspace{0pt}
15792 \series default
15793  avoids the problem of hyphenating the first word, as described in section\InsetSpace ~
15794
15795 \begin_inset LatexCommand ref
15796 reference "sub:Multiple-Lines-in"
15797
15798 \end_inset
15799
15800 .
15801  Now you can simply enter
15802 \end_layout
15803
15804 \begin_layout Standard
15805
15806 \series bold
15807 M{width}
15808 \end_layout
15809
15810 \begin_layout Standard
15811 as LaTeX-argument in the table dialog to create a multicolumn.
15812 \end_layout
15813
15814 \begin_layout Standard
15815 \begin_inset VSpace bigskip
15816 \end_inset
15817
15818
15819 \end_layout
15820
15821 \begin_layout Standard
15822 For cells spanned by a multicolumn cell, you can define the format
15823 \end_layout
15824
15825 \begin_layout Standard
15826
15827 \series bold
15828
15829 \backslash
15830 newcolumntype{S}[2]{>{
15831 \backslash
15832 centering
15833 \backslash
15834 hspace{0pt}}
15835 \newline
15836
15837 \begin_inset ERT
15838 status collapsed
15839
15840 \begin_layout Standard
15841
15842
15843 \backslash
15844 phantom{
15845 \end_layout
15846
15847 \end_inset
15848
15849
15850 \backslash
15851 newcolumntype{S}[2]
15852 \begin_inset ERT
15853 status collapsed
15854
15855 \begin_layout Standard
15856
15857 }
15858 \end_layout
15859
15860 \end_inset
15861
15862 m{(#1+(2
15863 \backslash
15864 tabcolsep+
15865 \backslash
15866 arrayrulewidth)*(1-#2))/#2}}
15867 \end_layout
15868
15869 \begin_layout Standard
15870 This format uses equation 
15871 \begin_inset LatexCommand eqref
15872 reference "eq:Wgn"
15873
15874 \end_inset
15875
15876  to calculate the needed width so that each spanned cell has the same width.
15877 \end_layout
15878
15879 \begin_layout Standard
15880 You can now enter
15881 \end_layout
15882
15883 \begin_layout Standard
15884
15885 \series bold
15886 S{width of multicolumn cell}{number of spanned columns}
15887 \end_layout
15888
15889 \begin_layout Standard
15890 as LaTeX-argument of the column.
15891 \end_layout
15892
15893 \begin_layout Standard
15894 \begin_inset VSpace bigskip
15895 \end_inset
15896
15897
15898 \end_layout
15899
15900 \begin_layout Standard
15901 For colored columns, you can define
15902 \end_layout
15903
15904 \begin_layout Standard
15905
15906 \series bold
15907
15908 \backslash
15909 newcolumntype{K}[1]{>{
15910 \backslash
15911 columncolor{#1}
15912 \backslash
15913 hspace{0pt}}c}
15914 \end_layout
15915
15916 \begin_layout Standard
15917 The 
15918 \begin_inset Quotes eld
15919 \end_inset
15920
15921 c
15922 \begin_inset Quotes erd
15923 \end_inset
15924
15925  at the end creates a column with a flexible width whose text is horizontally
15926  centered.
15927  You can now enter
15928 \end_layout
15929
15930 \begin_layout Standard
15931
15932 \series bold
15933 K{color name}
15934 \end_layout
15935
15936 \begin_layout Standard
15937 as LaTeX-argument.
15938 \end_layout
15939
15940 \begin_layout Standard
15941 \begin_inset VSpace bigskip
15942 \end_inset
15943
15944
15945 \end_layout
15946
15947 \begin_layout Standard
15948 To create Table\InsetSpace ~
15949
15950 \begin_inset LatexCommand ref
15951 reference "tab:Table-using-user-defined"
15952
15953 \end_inset
15954
15955  use the LaTeX-arguments
15956 \end_layout
15957
15958 \begin_layout Standard
15959
15960 \series bold
15961 M{2.5cm}
15962 \end_layout
15963
15964 \begin_layout Standard
15965 for the first column and the multicolumn,
15966 \end_layout
15967
15968 \begin_layout Standard
15969
15970 \series bold
15971 K{red}
15972 \end_layout
15973
15974 \begin_layout Standard
15975 for the the last column, and
15976 \end_layout
15977
15978 \begin_layout Standard
15979
15980 \series bold
15981 S{2.5cm}{2}
15982 \end_layout
15983
15984 \begin_layout Standard
15985 for the cells in the second column.
15986 \end_layout
15987
15988 \begin_layout Standard
15989 \begin_inset Float table
15990 placement h
15991 wide false
15992 sideways false
15993 status open
15994
15995 \begin_layout Standard
15996 \begin_inset Caption
15997
15998 \begin_layout Standard
15999 \begin_inset LatexCommand label
16000 name "tab:Table-using-user-defined"
16001
16002 \end_inset
16003
16004 Table using user-defined table formats
16005 \end_layout
16006
16007 \end_inset
16008
16009
16010 \end_layout
16011
16012 \begin_layout Standard
16013 \align center
16014 \begin_inset Tabular
16015 <lyxtabular version="3" rows="3" columns="4">
16016 <features>
16017 <column alignment="center" valignment="middle" leftline="true" width="2.5cm" special="M{2.5cm}">
16018 <column alignment="center" valignment="middle" leftline="true" width="0" special="S{2.5cm}{2}">
16019 <column alignment="center" valignment="middle" leftline="true" width="0">
16020 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0" special="K{red}">
16021 <row topline="true">
16022 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16023 \begin_inset Text
16024
16025 \begin_layout Standard
16026 verylongtablecellword
16027 \end_layout
16028
16029 \end_inset
16030 </cell>
16031 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none" special="M{2.5cm}">
16032 \begin_inset Text
16033
16034 \begin_layout Standard
16035 multiple lines multicolumn
16036 \end_layout
16037
16038 \end_inset
16039 </cell>
16040 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16041 \begin_inset Text
16042
16043 \begin_layout Standard
16044
16045 \end_layout
16046
16047 \end_inset
16048 </cell>
16049 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16050 \begin_inset Text
16051
16052 \begin_layout Standard
16053 c
16054 \end_layout
16055
16056 \end_inset
16057 </cell>
16058 </row>
16059 <row topline="true">
16060 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16061 \begin_inset Text
16062
16063 \begin_layout Standard
16064 d
16065 \end_layout
16066
16067 \end_inset
16068 </cell>
16069 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16070 \begin_inset Text
16071
16072 \begin_layout Standard
16073 e
16074 \end_layout
16075
16076 \end_inset
16077 </cell>
16078 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16079 \begin_inset Text
16080
16081 \begin_layout Standard
16082 f
16083 \end_layout
16084
16085 \end_inset
16086 </cell>
16087 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16088 \begin_inset Text
16089
16090 \begin_layout Standard
16091 g
16092 \end_layout
16093
16094 \end_inset
16095 </cell>
16096 </row>
16097 <row topline="true" bottomline="true">
16098 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16099 \begin_inset Text
16100
16101 \begin_layout Standard
16102 h
16103 \end_layout
16104
16105 \end_inset
16106 </cell>
16107 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16108 \begin_inset Text
16109
16110 \begin_layout Standard
16111 i
16112 \end_layout
16113
16114 \end_inset
16115 </cell>
16116 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16117 \begin_inset Text
16118
16119 \begin_layout Standard
16120 j
16121 \end_layout
16122
16123 \end_inset
16124 </cell>
16125 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16126 \begin_inset Text
16127
16128 \begin_layout Standard
16129 k
16130 \end_layout
16131
16132 \end_inset
16133 </cell>
16134 </row>
16135 </lyxtabular>
16136
16137 \end_inset
16138
16139
16140 \end_layout
16141
16142 \end_inset
16143
16144
16145 \end_layout
16146
16147 \begin_layout Subsection
16148 Line Thickness
16149 \begin_inset LatexCommand label
16150 name "sub:Line-Thickness"
16151
16152 \end_inset
16153
16154
16155 \begin_inset LatexCommand index
16156 name "Table Customization ! Line Thickness"
16157
16158 \end_inset
16159
16160
16161 \end_layout
16162
16163 \begin_layout Standard
16164 The line thickness for all lines in a table can be adjusted with the length
16165  
16166 \series bold
16167
16168 \backslash
16169 arrayrulewidth
16170 \series default
16171 .
16172  To set for example a line thickness of 1.5\InsetSpace \thinspace{}
16173 pt, like in Table\InsetSpace ~
16174
16175 \begin_inset LatexCommand ref
16176 reference "tab:Table-with-1.5"
16177
16178 \end_inset
16179
16180 , insert the command
16181 \end_layout
16182
16183 \begin_layout Standard
16184
16185 \series bold
16186
16187 \backslash
16188 setlength{
16189 \backslash
16190 arrayrulewidth}{1.5pt}
16191 \end_layout
16192
16193 \begin_layout Standard
16194 in ERT before the table or table float.
16195  The changed thickness is valid for all following tables.
16196  To use the default value again, set 
16197 \series bold
16198
16199 \backslash
16200 arrayrulewidth
16201 \series default
16202  to 0.4\InsetSpace \thinspace{}
16203 pt in ERT behind the table or table float.
16204 \end_layout
16205
16206 \begin_layout Standard
16207 \begin_inset ERT
16208 status collapsed
16209
16210 \begin_layout Standard
16211
16212
16213 \backslash
16214 setlength{
16215 \backslash
16216 arrayrulewidth}{1.5pt}
16217 \end_layout
16218
16219 \end_inset
16220
16221
16222 \begin_inset Float table
16223 wide false
16224 sideways false
16225 status open
16226
16227 \begin_layout Standard
16228 \begin_inset Caption
16229
16230 \begin_layout Standard
16231 \begin_inset LatexCommand label
16232 name "tab:Table-with-1.5"
16233
16234 \end_inset
16235
16236 Table with 1.5\InsetSpace \thinspace{}
16237 pt thick lines
16238 \end_layout
16239
16240 \end_inset
16241
16242
16243 \end_layout
16244
16245 \begin_layout Standard
16246 \align center
16247 \begin_inset Tabular
16248 <lyxtabular version="3" rows="3" columns="3">
16249 <features>
16250 <column alignment="center" valignment="top" leftline="true" width="0">
16251 <column alignment="center" valignment="top" leftline="true" width="0">
16252 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16253 <row topline="true">
16254 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16255 \begin_inset Text
16256
16257 \begin_layout Standard
16258 sd
16259 \end_layout
16260
16261 \end_inset
16262 </cell>
16263 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16264 \begin_inset Text
16265
16266 \begin_layout Standard
16267
16268 \end_layout
16269
16270 \end_inset
16271 </cell>
16272 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16273 \begin_inset Text
16274
16275 \begin_layout Standard
16276
16277 \end_layout
16278
16279 \end_inset
16280 </cell>
16281 </row>
16282 <row topline="true">
16283 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16284 \begin_inset Text
16285
16286 \begin_layout Standard
16287
16288 \end_layout
16289
16290 \end_inset
16291 </cell>
16292 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16293 \begin_inset Text
16294
16295 \begin_layout Standard
16296 sd
16297 \end_layout
16298
16299 \end_inset
16300 </cell>
16301 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16302 \begin_inset Text
16303
16304 \begin_layout Standard
16305
16306 \end_layout
16307
16308 \end_inset
16309 </cell>
16310 </row>
16311 <row topline="true" bottomline="true">
16312 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16313 \begin_inset Text
16314
16315 \begin_layout Standard
16316
16317 \end_layout
16318
16319 \end_inset
16320 </cell>
16321 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16322 \begin_inset Text
16323
16324 \begin_layout Standard
16325
16326 \end_layout
16327
16328 \end_inset
16329 </cell>
16330 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16331 \begin_inset Text
16332
16333 \begin_layout Standard
16334 sd
16335 \end_layout
16336
16337 \end_inset
16338 </cell>
16339 </row>
16340 </lyxtabular>
16341
16342 \end_inset
16343
16344
16345 \end_layout
16346
16347 \end_inset
16348
16349
16350 \begin_inset ERT
16351 status collapsed
16352
16353 \begin_layout Standard
16354
16355
16356 \backslash
16357 setlength{
16358 \backslash
16359 arrayrulewidth}{0.4pt}
16360 \end_layout
16361
16362 \end_inset
16363
16364
16365 \end_layout
16366
16367 \begin_layout Standard
16368 \begin_inset VSpace bigskip
16369 \end_inset
16370
16371 To set the line thickness to 1.5\InsetSpace \thinspace{}
16372 pt only for horizontal lines, like in Table\InsetSpace ~
16373
16374 \begin_inset LatexCommand ref
16375 reference "tab:Table-with-horizontal"
16376
16377 \end_inset
16378
16379 , insert these commands in ERT before the table or table float:
16380 \end_layout
16381
16382 \begin_layout Standard
16383
16384 \series bold
16385
16386 \backslash
16387 let
16388 \backslash
16389 myHline
16390 \backslash
16391 hline
16392 \newline
16393
16394 \backslash
16395 renewcommand{
16396 \backslash
16397 hline}
16398 \newline
16399  {
16400 \backslash
16401 noalign{
16402 \backslash
16403 global
16404 \backslash
16405 arrayrulewidth 1.5pt}
16406 \newline
16407   
16408 \backslash
16409 myHline
16410 \backslash
16411 noalign{
16412 \backslash
16413 global
16414 \backslash
16415 arrayrulewidth 0.4pt}}
16416 \end_layout
16417
16418 \begin_layout Standard
16419 To return to the default line thickness, insert this command in ERT behind
16420  the table or table float:
16421 \end_layout
16422
16423 \begin_layout Standard
16424
16425 \series bold
16426
16427 \backslash
16428 renewcommand{
16429 \backslash
16430 hline}{
16431 \backslash
16432 myHline}
16433 \end_layout
16434
16435 \begin_layout Standard
16436 \begin_inset ERT
16437 status collapsed
16438
16439 \begin_layout Standard
16440
16441
16442 \backslash
16443 let
16444 \backslash
16445 myHline
16446 \backslash
16447 hline
16448 \end_layout
16449
16450 \begin_layout Standard
16451
16452
16453 \backslash
16454 renewcommand{
16455 \backslash
16456 hline}
16457 \end_layout
16458
16459 \begin_layout Standard
16460
16461  {
16462 \backslash
16463 noalign{
16464 \backslash
16465 global
16466 \backslash
16467 arrayrulewidth 1.5pt}
16468 \end_layout
16469
16470 \begin_layout Standard
16471
16472   
16473 \backslash
16474 myHline
16475 \backslash
16476 noalign{
16477 \backslash
16478 global
16479 \backslash
16480 arrayrulewidth 0.4pt}}
16481 \end_layout
16482
16483 \end_inset
16484
16485
16486 \begin_inset Float table
16487 wide false
16488 sideways false
16489 status open
16490
16491 \begin_layout Standard
16492 \begin_inset Caption
16493
16494 \begin_layout Standard
16495 \begin_inset LatexCommand label
16496 name "tab:Table-with-horizontal"
16497
16498 \end_inset
16499
16500 Table with 1.5\InsetSpace \thinspace{}
16501 pt thick horizontal lines
16502 \end_layout
16503
16504 \end_inset
16505
16506
16507 \end_layout
16508
16509 \begin_layout Standard
16510 \align center
16511 \begin_inset Tabular
16512 <lyxtabular version="3" rows="3" columns="3">
16513 <features>
16514 <column alignment="center" valignment="top" leftline="true" width="0">
16515 <column alignment="center" valignment="top" leftline="true" width="0">
16516 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16517 <row topline="true">
16518 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16519 \begin_inset Text
16520
16521 \begin_layout Standard
16522 sd
16523 \end_layout
16524
16525 \end_inset
16526 </cell>
16527 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16528 \begin_inset Text
16529
16530 \begin_layout Standard
16531
16532 \end_layout
16533
16534 \end_inset
16535 </cell>
16536 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16537 \begin_inset Text
16538
16539 \begin_layout Standard
16540
16541 \end_layout
16542
16543 \end_inset
16544 </cell>
16545 </row>
16546 <row topline="true">
16547 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16548 \begin_inset Text
16549
16550 \begin_layout Standard
16551
16552 \end_layout
16553
16554 \end_inset
16555 </cell>
16556 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16557 \begin_inset Text
16558
16559 \begin_layout Standard
16560 sd
16561 \end_layout
16562
16563 \end_inset
16564 </cell>
16565 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16566 \begin_inset Text
16567
16568 \begin_layout Standard
16569
16570 \end_layout
16571
16572 \end_inset
16573 </cell>
16574 </row>
16575 <row topline="true" bottomline="true">
16576 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16577 \begin_inset Text
16578
16579 \begin_layout Standard
16580
16581 \end_layout
16582
16583 \end_inset
16584 </cell>
16585 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16586 \begin_inset Text
16587
16588 \begin_layout Standard
16589
16590 \end_layout
16591
16592 \end_inset
16593 </cell>
16594 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16595 \begin_inset Text
16596
16597 \begin_layout Standard
16598 sd
16599 \end_layout
16600
16601 \end_inset
16602 </cell>
16603 </row>
16604 </lyxtabular>
16605
16606 \end_inset
16607
16608
16609 \end_layout
16610
16611 \end_inset
16612
16613
16614 \begin_inset ERT
16615 status collapsed
16616
16617 \begin_layout Standard
16618
16619
16620 \backslash
16621 renewcommand{
16622 \backslash
16623 hline}{
16624 \backslash
16625 myHline}
16626 \end_layout
16627
16628 \end_inset
16629
16630
16631 \end_layout
16632
16633 \begin_layout Standard
16634 \begin_inset VSpace bigskip
16635 \end_inset
16636
16637 To set the line thickness to 1.5\InsetSpace \thinspace{}
16638 pt only for vertical lines, create the following
16639  column format in the document preamble, according to the description in
16640  section\InsetSpace ~
16641
16642 \begin_inset LatexCommand ref
16643 reference "sub:Customized-Format"
16644
16645 \end_inset
16646
16647 :
16648 \end_layout
16649
16650 \begin_layout Standard
16651
16652 \series bold
16653
16654 \backslash
16655 newcolumntype{V}{!{
16656 \backslash
16657 vrule width 1.5pt}}
16658 \end_layout
16659
16660 \begin_layout Standard
16661 For Table\InsetSpace ~
16662
16663 \begin_inset LatexCommand ref
16664 reference "tab:Table-with-vertical"
16665
16666 \end_inset
16667
16668  the LaTeX-argument
16669 \end_layout
16670
16671 \begin_layout Standard
16672
16673 \series bold
16674 VcV
16675 \end_layout
16676
16677 \begin_layout Standard
16678 was used for the last column and
16679 \end_layout
16680
16681 \begin_layout Standard
16682
16683 \series bold
16684 Vc
16685 \end_layout
16686
16687 \begin_layout Standard
16688 for the other columns.
16689 \end_layout
16690
16691 \begin_layout Standard
16692 \begin_inset Float table
16693 wide false
16694 sideways false
16695 status open
16696
16697 \begin_layout Standard
16698 \begin_inset Caption
16699
16700 \begin_layout Standard
16701 \begin_inset LatexCommand label
16702 name "tab:Table-with-vertical"
16703
16704 \end_inset
16705
16706 Table with 1.5\InsetSpace \thinspace{}
16707 pt thick vertical lines
16708 \end_layout
16709
16710 \end_inset
16711
16712
16713 \end_layout
16714
16715 \begin_layout Standard
16716 \align center
16717 \begin_inset Tabular
16718 <lyxtabular version="3" rows="3" columns="3">
16719 <features>
16720 <column alignment="center" valignment="top" width="0" special="Vc">
16721 <column alignment="center" valignment="top" width="0" special="Vc">
16722 <column alignment="center" valignment="top" width="0" special="VcV">
16723 <row topline="true">
16724 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16725 \begin_inset Text
16726
16727 \begin_layout Standard
16728 sd
16729 \end_layout
16730
16731 \end_inset
16732 </cell>
16733 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16734 \begin_inset Text
16735
16736 \begin_layout Standard
16737
16738 \end_layout
16739
16740 \end_inset
16741 </cell>
16742 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16743 \begin_inset Text
16744
16745 \begin_layout Standard
16746
16747 \end_layout
16748
16749 \end_inset
16750 </cell>
16751 </row>
16752 <row topline="true">
16753 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16754 \begin_inset Text
16755
16756 \begin_layout Standard
16757
16758 \end_layout
16759
16760 \end_inset
16761 </cell>
16762 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16763 \begin_inset Text
16764
16765 \begin_layout Standard
16766 sd
16767 \end_layout
16768
16769 \end_inset
16770 </cell>
16771 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16772 \begin_inset Text
16773
16774 \begin_layout Standard
16775
16776 \end_layout
16777
16778 \end_inset
16779 </cell>
16780 </row>
16781 <row topline="true" bottomline="true">
16782 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16783 \begin_inset Text
16784
16785 \begin_layout Standard
16786
16787 \end_layout
16788
16789 \end_inset
16790 </cell>
16791 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16792 \begin_inset Text
16793
16794 \begin_layout Standard
16795
16796 \end_layout
16797
16798 \end_inset
16799 </cell>
16800 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16801 \begin_inset Text
16802
16803 \begin_layout Standard
16804 sd
16805 \end_layout
16806
16807 \end_inset
16808 </cell>
16809 </row>
16810 </lyxtabular>
16811
16812 \end_inset
16813
16814
16815 \end_layout
16816
16817 \end_inset
16818
16819
16820 \end_layout
16821
16822 \begin_layout Subsection
16823 Dashed Lines
16824 \begin_inset LatexCommand index
16825 name "Table Customization ! Dashed Lines"
16826
16827 \end_inset
16828
16829
16830 \end_layout
16831
16832 \begin_layout Standard
16833 \begin_inset ERT
16834 status collapsed
16835
16836 \begin_layout Standard
16837
16838
16839 \backslash
16840 ifarydshln
16841 \end_layout
16842
16843 \end_inset
16844
16845
16846 \begin_inset Note Note
16847 status open
16848
16849 \begin_layout Standard
16850 The following section will only be displayed when you have the LaTeX-package
16851  
16852 \series bold
16853 arydshln
16854 \series default
16855  is installed.
16856 \end_layout
16857
16858 \end_inset
16859
16860
16861 \end_layout
16862
16863 \begin_layout Standard
16864 \begin_inset Float table
16865 placement H
16866 wide false
16867 sideways false
16868 status open
16869
16870 \begin_layout Standard
16871 \begin_inset Caption
16872
16873 \begin_layout Standard
16874 \begin_inset LatexCommand label
16875 name "tab:Table-with-dashed"
16876
16877 \end_inset
16878
16879 Table with dashed lines
16880 \end_layout
16881
16882 \end_inset
16883
16884
16885 \end_layout
16886
16887 \begin_layout Standard
16888 \align center
16889 \begin_inset Tabular
16890 <lyxtabular version="3" rows="5" columns="5">
16891 <features>
16892 <column alignment="center" valignment="top" leftline="true" width="0">
16893 <column alignment="center" valignment="top" leftline="true" width="0">
16894 <column alignment="center" valignment="top" width="0" special=":c">
16895 <column alignment="center" valignment="top" leftline="true" width="0">
16896 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16897 <row topline="true" bottomline="true">
16898 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16899 \begin_inset Text
16900
16901 \begin_layout Standard
16902 a
16903 \end_layout
16904
16905 \end_inset
16906 </cell>
16907 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16908 \begin_inset Text
16909
16910 \begin_layout Standard
16911 b
16912 \end_layout
16913
16914 \end_inset
16915 </cell>
16916 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16917 \begin_inset Text
16918
16919 \begin_layout Standard
16920 c
16921 \end_layout
16922
16923 \end_inset
16924 </cell>
16925 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16926 \begin_inset Text
16927
16928 \begin_layout Standard
16929 d
16930 \end_layout
16931
16932 \end_inset
16933 </cell>
16934 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16935 \begin_inset Text
16936
16937 \begin_layout Standard
16938 e
16939 \end_layout
16940
16941 \end_inset
16942 </cell>
16943 </row>
16944 <row topline="true">
16945 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16946 \begin_inset Text
16947
16948 \begin_layout Standard
16949 f
16950 \end_layout
16951
16952 \end_inset
16953 </cell>
16954 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16955 \begin_inset Text
16956
16957 \begin_layout Standard
16958 g
16959 \end_layout
16960
16961 \end_inset
16962 </cell>
16963 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16964 \begin_inset Text
16965
16966 \begin_layout Standard
16967 h
16968 \end_layout
16969
16970 \end_inset
16971 </cell>
16972 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16973 \begin_inset Text
16974
16975 \begin_layout Standard
16976 i
16977 \end_layout
16978
16979 \end_inset
16980 </cell>
16981 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16982 \begin_inset Text
16983
16984 \begin_layout Standard
16985 j
16986 \end_layout
16987
16988 \end_inset
16989 </cell>
16990 </row>
16991 <row>
16992 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16993 \begin_inset Text
16994
16995 \begin_layout Standard
16996 \begin_inset ERT
16997 status collapsed
16998
16999 \begin_layout Standard
17000
17001
17002 \backslash
17003 hdashline 
17004 \end_layout
17005
17006 \end_inset
17007
17008 k
17009 \end_layout
17010
17011 \end_inset
17012 </cell>
17013 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17014 \begin_inset Text
17015
17016 \begin_layout Standard
17017 l
17018 \end_layout
17019
17020 \end_inset
17021 </cell>
17022 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17023 \begin_inset Text
17024
17025 \begin_layout Standard
17026 m
17027 \end_layout
17028
17029 \end_inset
17030 </cell>
17031 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17032 \begin_inset Text
17033
17034 \begin_layout Standard
17035 n
17036 \end_layout
17037
17038 \end_inset
17039 </cell>
17040 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17041 \begin_inset Text
17042
17043 \begin_layout Standard
17044 o
17045 \end_layout
17046
17047 \end_inset
17048 </cell>
17049 </row>
17050 <row topline="true">
17051 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17052 \begin_inset Text
17053
17054 \begin_layout Standard
17055 \begin_inset ERT
17056 status collapsed
17057
17058 \begin_layout Standard
17059
17060
17061 \backslash
17062 cdashline{4-5}
17063 \end_layout
17064
17065 \end_inset
17066
17067 p
17068 \end_layout
17069
17070 \end_inset
17071 </cell>
17072 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17073 \begin_inset Text
17074
17075 \begin_layout Standard
17076 q
17077 \end_layout
17078
17079 \end_inset
17080 </cell>
17081 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="c:">
17082 \begin_inset Text
17083
17084 \begin_layout Standard
17085 r
17086 \end_layout
17087
17088 \end_inset
17089 </cell>
17090 <cell multicolumn="1" alignment="center" valignment="top" rightline="true" usebox="none" special="c:">
17091 \begin_inset Text
17092
17093 \begin_layout Standard
17094 s
17095 \end_layout
17096
17097 \end_inset
17098 </cell>
17099 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17100 \begin_inset Text
17101
17102 \begin_layout Standard
17103
17104 \end_layout
17105
17106 \end_inset
17107 </cell>
17108 </row>
17109 <row topline="true" bottomline="true">
17110 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17111 \begin_inset Text
17112
17113 \begin_layout Standard
17114 t
17115 \end_layout
17116
17117 \end_inset
17118 </cell>
17119 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17120 \begin_inset Text
17121
17122 \begin_layout Standard
17123 u
17124 \end_layout
17125
17126 \end_inset
17127 </cell>
17128 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17129 \begin_inset Text
17130
17131 \begin_layout Standard
17132 v
17133 \end_layout
17134
17135 \end_inset
17136 </cell>
17137 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17138 \begin_inset Text
17139
17140 \begin_layout Standard
17141 w
17142 \end_layout
17143
17144 \end_inset
17145 </cell>
17146 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17147 \begin_inset Text
17148
17149 \begin_layout Standard
17150 x
17151 \end_layout
17152
17153 \end_inset
17154 </cell>
17155 </row>
17156 </lyxtabular>
17157
17158 \end_inset
17159
17160
17161 \end_layout
17162
17163 \end_inset
17164
17165
17166 \end_layout
17167
17168 \begin_layout Standard
17169 LyX doesn't natively support dashed lines, so you have to use ERT.
17170  As prerequisite the LaTeX-package 
17171 \series bold
17172 arydshln
17173 \series default
17174
17175 \begin_inset LatexCommand index
17176 name "LaTeX-packages ! arydshln"
17177
17178 \end_inset
17179
17180  must be loaded in the document preamble with the command
17181 \end_layout
17182
17183 \begin_layout Standard
17184
17185 \series bold
17186
17187 \backslash
17188 usepackage{arydshln}
17189 \end_layout
17190
17191 \begin_layout Standard
17192 To make a vertical line dashed, enter the colon 
17193 \begin_inset Quotes eld
17194 \end_inset
17195
17196 :
17197 \begin_inset Quotes erd
17198 \end_inset
17199
17200  together with the character for the horizontal alignment as LaTeX-argument
17201  in the table cell dialog.
17202 \end_layout
17203
17204 \begin_layout Standard
17205 For a horizontal dashed line add the command
17206 \end_layout
17207
17208 \begin_layout Standard
17209
17210 \series bold
17211
17212 \backslash
17213 hdashline
17214 \end_layout
17215
17216 \begin_layout Standard
17217 in ERT as first element of the first cell in the table row.
17218 \end_layout
17219
17220 \begin_layout Standard
17221 For dashed multicolumn lines use the command
17222 \end_layout
17223
17224 \begin_layout Standard
17225
17226 \series bold
17227
17228 \backslash
17229 cdashline{line number
17230 \series default
17231 }
17232 \end_layout
17233
17234 \begin_layout Standard
17235 in ERT as first element of the first cell in the table row.
17236  If you have for example a multicolumn spanning over columns 2 to 4 and
17237  you want to have a dashed line above, add the command
17238 \end_layout
17239
17240 \begin_layout Standard
17241
17242 \series bold
17243
17244 \backslash
17245 cdashline{2-4}
17246 \end_layout
17247
17248 \begin_layout Standard
17249 as first element of the first cell in the row of the multicolumn.
17250 \end_layout
17251
17252 \begin_layout Standard
17253 \begin_inset VSpace bigskip
17254 \end_inset
17255
17256
17257 \end_layout
17258
17259 \begin_layout Standard
17260 Table\InsetSpace ~
17261
17262 \begin_inset LatexCommand ref
17263 reference "tab:Table-with-dashed"
17264
17265 \end_inset
17266
17267  was created using 
17268 \begin_inset Quotes eld
17269 \end_inset
17270
17271
17272 \series bold
17273 :c
17274 \series default
17275
17276 \begin_inset Quotes erd
17277 \end_inset
17278
17279  as LaTeX-argument of the third column.
17280  The ERT command 
17281 \series bold
17282
17283 \backslash
17284 hdashline
17285 \series default
17286  was inserted to the first cell of the third row and the the ERT command
17287 \newline
17288
17289  
17290 \series bold
17291
17292 \backslash
17293 cdashline{4-5}
17294 \series default
17295  was inserted to the first cell of the fourth row.
17296 \end_layout
17297
17298 \begin_layout Standard
17299 \begin_inset Note Greyedout
17300 status open
17301
17302 \begin_layout Standard
17303
17304 \series bold
17305 Note:
17306 \series default
17307  The used LaTeX-package 
17308 \series bold
17309 arydshln
17310 \series default
17311  is apparently not compatible with the LaTeX-package 
17312 \series bold
17313 colortbl
17314 \series default
17315
17316 \begin_inset LatexCommand index
17317 name "LaTeX-packages ! colortbl"
17318
17319 \end_inset
17320
17321  that is used for colored tables in section\InsetSpace ~
17322
17323 \begin_inset LatexCommand ref
17324 reference "sec:Colored-Tables"
17325
17326 \end_inset
17327
17328 .
17329  That means colored tables cannot have dashed lines.
17330 \end_layout
17331
17332 \end_inset
17333
17334
17335 \end_layout
17336
17337 \begin_layout Standard
17338 \begin_inset ERT
17339 status collapsed
17340
17341 \begin_layout Standard
17342
17343
17344 \backslash
17345 else
17346 \end_layout
17347
17348 \end_inset
17349
17350
17351 \begin_inset Note Note
17352 status open
17353
17354 \begin_layout Standard
17355 The following will be displayed when the LaTeX-package 
17356 \series bold
17357 arydshln
17358 \series default
17359  is not installed:
17360 \end_layout
17361
17362 \end_inset
17363
17364
17365 \end_layout
17366
17367 \begin_layout Standard
17368 You need to install the package 
17369 \series bold
17370 arydshln
17371 \series default
17372  to see the contents of this section in the output.
17373 \end_layout
17374
17375 \begin_layout Standard
17376 \begin_inset ERT
17377 status collapsed
17378
17379 \begin_layout Standard
17380
17381
17382 \backslash
17383 fi
17384 \end_layout
17385
17386 \end_inset
17387
17388
17389 \end_layout
17390
17391 \begin_layout Chapter
17392 Floats
17393 \begin_inset LatexCommand index
17394 name "Floats"
17395
17396 \end_inset
17397
17398
17399 \begin_inset LatexCommand label
17400 name "cha:Floats"
17401
17402 \end_inset
17403
17404
17405 \end_layout
17406
17407 \begin_layout Section
17408 Introduction
17409 \begin_inset LatexCommand label
17410 name "sec:FloatIntroduction"
17411
17412 \end_inset
17413
17414
17415 \begin_inset LatexCommand index
17416 name "Floats ! Introduction"
17417
17418 \end_inset
17419
17420
17421 \end_layout
17422
17423 \begin_layout Standard
17424 A float is a block of text associated with some sort of label, which doesn't
17425  have a fixed location.
17426  It can 
17427 \begin_inset Quotes eld
17428 \end_inset
17429
17430 float
17431 \begin_inset Quotes erd
17432 \end_inset
17433
17434  forward or backward a page or two, to wherever it fits best.
17435  
17436 \family sans
17437 Footnotes
17438 \family default
17439  and 
17440 \family sans
17441 Margin\InsetSpace ~
17442 Notes
17443 \family default
17444  are also floats, because they can float to the next page when there are
17445  too many notes at the page.
17446 \end_layout
17447
17448 \begin_layout Standard
17449 Floats allow a high quality layout.
17450  Images and tables can evenly be spread to the pages to avoid white space
17451  and pages without text.
17452  As the floating often destroys the context between the text and the image/table
17453 , every float can be referenced in the text.
17454  Floats are therefore numbered.
17455  Referencing is described in section\InsetSpace ~
17456
17457 \begin_inset LatexCommand ref
17458 reference "sec:Referencing-Floats"
17459
17460 \end_inset
17461
17462 .
17463 \end_layout
17464
17465 \begin_layout Standard
17466 To insert a float, use the menu 
17467 \family sans
17468 Insert\SpecialChar \menuseparator
17469 Floats
17470 \family default
17471 .
17472  This inserts a box with a label in the 
17473 \family sans
17474 Caption
17475 \family default
17476  environment
17477 \begin_inset Foot
17478 status collapsed
17479
17480 \begin_layout Standard
17481 The 
17482 \family sans
17483 Caption
17484 \family default
17485  environment is described in LyX's 
17486 \emph on
17487 Userguide
17488 \emph default
17489 .
17490 \end_layout
17491
17492 \end_inset
17493
17494  into your document.
17495  Every label ends with the character 
17496 \begin_inset Quotes eld
17497 \end_inset
17498
17499 #
17500 \begin_inset Quotes erd
17501 \end_inset
17502
17503  as placeholder for the float number in the output.
17504  The label will automatically be translated to the document language in
17505  the output.
17506  Behind the label you can insert the caption text.
17507  The image or table is inserted above or below the caption in a separate
17508  paragraph within the float.
17509  More about the caption placement is described in section\InsetSpace ~
17510
17511 \begin_inset LatexCommand ref
17512 reference "sec:Caption-Placement"
17513
17514 \end_inset
17515
17516 .
17517  To keep your LyX-document readable, you can open and close the float box
17518  by left-clicking on the box label.
17519  A closed float box looks like this: 
17520 \begin_inset Graphics
17521         filename clipart/floatQt4.png
17522         scale 70
17523
17524 \end_inset
17525
17526  -- a gray button with a red label.
17527 \end_layout
17528
17529 \begin_layout Standard
17530 It is recommended to insert floats as a separate paragraph to avoid possible
17531  LaTeX-errors that can occur when the surrounding text is specially formatted.
17532 \end_layout
17533
17534 \begin_layout Standard
17535 Existing figures or tables can be put into a float by marking them and then
17536  pressing the corresponding toolbar button for a new float.
17537 \end_layout
17538
17539 \begin_layout Section
17540 Float Types
17541 \end_layout
17542
17543 \begin_layout Standard
17544 Besides figure and table floats that are described in section\InsetSpace ~
17545
17546 \begin_inset LatexCommand ref
17547 reference "sec:Figure-Floats"
17548
17549 \end_inset
17550
17551  and 
17552 \begin_inset LatexCommand ref
17553 reference "sec:Table-Floats"
17554
17555 \end_inset
17556
17557 , respectively, LyX offers the float types 
17558 \series bold
17559 Algorithm
17560 \series default
17561  and 
17562 \series bold
17563 Text\InsetSpace ~
17564 Wrap\InsetSpace ~
17565 Float
17566 \series default
17567 .
17568 \end_layout
17569
17570 \begin_layout Subsection
17571 Algorithm Floats
17572 \begin_inset LatexCommand index
17573 name "Floats ! Algorithm Floats"
17574
17575 \end_inset
17576
17577
17578 \end_layout
17579
17580 \begin_layout Standard
17581 \begin_inset Float algorithm
17582 placement h
17583 wide false
17584 sideways false
17585 status open
17586
17587 \begin_layout Standard
17588 \begin_inset Caption
17589
17590 \begin_layout Standard
17591 \begin_inset LatexCommand label
17592 name "alg:Example-Algorithm-float"
17593
17594 \end_inset
17595
17596 Example Algorithm float
17597 \end_layout
17598
17599 \end_inset
17600
17601
17602 \end_layout
17603
17604 \begin_layout LyX-Code
17605 for I in 1..N loop
17606 \newline
17607  Sum:= Sum + A(I); /*senseless comment*/
17608 \newline
17609 end loop
17610 \begin_inset VSpace -4mm
17611 \end_inset
17612
17613
17614 \end_layout
17615
17616 \end_inset
17617
17618
17619 \end_layout
17620
17621 \begin_layout Standard
17622 This float type is inserted with the menu 
17623 \family sans
17624 Insert\SpecialChar \menuseparator
17625 Floats\SpecialChar \menuseparator
17626 Algorithm
17627 \family default
17628 .
17629  It is used for program codes and descriptions of algorithms.
17630  A possible environment for algorithms is the 
17631 \family sans
17632 LyX-Code
17633 \family default
17634 , described in LyX's 
17635 \emph on
17636 Userguide
17637 \emph default
17638 .
17639  Algorithm\InsetSpace ~
17640
17641 \begin_inset LatexCommand ref
17642 reference "alg:Example-Algorithm-float"
17643
17644 \end_inset
17645
17646  is an example of an algorithm float where -4\InsetSpace \thinspace{}
17647 mm vertical space was added
17648  at the end of the float to have the bottom rule exactly below the last
17649  text line.
17650 \end_layout
17651
17652 \begin_layout Standard
17653 The float label is not automatically translated into the document language.
17654  If your document is not in English, you have to do this manually by adding
17655  the following line to the document preamble
17656 \series bold
17657 :
17658 \end_layout
17659
17660 \begin_layout Standard
17661
17662 \series bold
17663
17664 \backslash
17665 floatname{algorithm}{your\InsetSpace ~
17666 name}
17667 \end_layout
17668
17669 \begin_layout Standard
17670
17671 \family sans
17672 your\InsetSpace ~
17673 name
17674 \family default
17675  is the word 
17676 \begin_inset Quotes eld
17677 \end_inset
17678
17679
17680 \emph on
17681 algorithm
17682 \emph default
17683
17684 \begin_inset Quotes erd
17685 \end_inset
17686
17687  in your language.
17688 \end_layout
17689
17690 \begin_layout Description
17691
17692 \series bold
17693 Note:
17694 \series default
17695  When the LaTeX-package 
17696 \series bold
17697 hyperref
17698 \series default
17699
17700 \begin_inset LatexCommand index
17701 name "LaTeX-packages ! hyperref"
17702
17703 \end_inset
17704
17705  is used to link cross-references to floats in the PDF-output, it must be
17706  loaded in the document preamble before the definition of floats to be able
17707  to reference floats.
17708  As LyX sets the float definition for algorithm floats automatically before
17709  the user editable part of the document preamble, you need to insert the
17710  following preamble lines 
17711 \emph on
17712 after
17713 \emph default
17714  the loading command of 
17715 \series bold
17716 hyperref
17717 \series default
17718 :
17719 \series bold
17720
17721 \begin_inset VSpace defskip
17722 \end_inset
17723
17724
17725 \newline
17726
17727 \backslash
17728 newfloat{Xalgorithm}{tbp}{loa}
17729 \newline
17730
17731 \backslash
17732 floatname{Xalgorithm}{your\InsetSpace ~
17733 name}
17734 \newline
17735
17736 \backslash
17737 newcommand{
17738 \backslash
17739 theHalgorithm}{
17740 \backslash
17741 theHXalgorithm}
17742 \newline
17743
17744 \backslash
17745 renewenvironment{algorithm}[1][tbp]
17746 \newline
17747
17748 \begin_inset ERT
17749 status collapsed
17750
17751 \begin_layout Standard
17752
17753
17754 \backslash
17755 hphantom{ }
17756 \end_layout
17757
17758 \end_inset
17759
17760 {
17761 \backslash
17762 begin{Xalgorithm}[#1]}{
17763 \backslash
17764 end{Xalgorithm}}
17765 \begin_inset VSpace defskip
17766 \end_inset
17767
17768
17769 \series default
17770
17771 \newline
17772 Where 
17773 \family sans
17774 your\InsetSpace ~
17775 name
17776 \family default
17777  is the word 
17778 \begin_inset Quotes eld
17779 \end_inset
17780
17781
17782 \emph on
17783 algorithm
17784 \emph default
17785
17786 \begin_inset Quotes erd
17787 \end_inset
17788
17789  in your language.
17790 \end_layout
17791
17792 \begin_layout Standard
17793 Algorithm floats are not by default numbered in the scheme 
17794 \begin_inset Quotes eld
17795 \end_inset
17796
17797 chapter.algorithm
17798 \begin_inset Quotes erd
17799 \end_inset
17800
17801  like it is the case for table and figure floats in many document-classes.
17802  To number algorithm floats in the same scheme, add this command to your
17803  document preamble:
17804 \end_layout
17805
17806 \begin_layout Standard
17807
17808 \series bold
17809
17810 \backslash
17811 numberwithin{algorithm}{chapter}
17812 \end_layout
17813
17814 \begin_layout Standard
17815 If you use the LaTeX-package 
17816 \series bold
17817 hyperref
17818 \series default
17819 , add this line instead 
17820 \emph on
17821 after
17822 \emph default
17823  the definition of 
17824 \family sans
17825 Xalgorithm
17826 \family default
17827  (the commands from above) to the preamble:
17828 \end_layout
17829
17830 \begin_layout Standard
17831
17832 \series bold
17833
17834 \backslash
17835 numberwithin{Xalgorithm}{chapter}
17836 \end_layout
17837
17838 \begin_layout Standard
17839 To be able to use the command 
17840 \series bold
17841
17842 \backslash
17843 numberwithin
17844 \series default
17845 , set in the tab 
17846 \family sans
17847 Math\InsetSpace ~
17848 Options
17849 \family default
17850  in the document settings the option 
17851 \family sans
17852 Use\InsetSpace ~
17853 AMS\InsetSpace ~
17854 math\InsetSpace ~
17855 package
17856 \family default
17857 .
17858 \end_layout
17859
17860 \begin_layout Subsection
17861 Text Wrap Floats
17862 \begin_inset LatexCommand index
17863 name "Floats ! Text Wrap Floats"
17864
17865 \end_inset
17866
17867
17868 \begin_inset LatexCommand label
17869 name "sub:floatflt-wrap-float"
17870
17871 \end_inset
17872
17873
17874 \end_layout
17875
17876 \begin_layout Standard
17877 This float type is used if you want to 
17878 \begin_inset Quotes eld
17879 \end_inset
17880
17881 wrap
17882 \begin_inset Quotes erd
17883 \end_inset
17884
17885  text around a figure so that it only occupies some fraction of the column
17886  width.
17887  It can be inserted using the menu 
17888 \begin_inset Wrap figure
17889 placement l
17890 width "40col%"
17891 status open
17892
17893 \begin_layout Standard
17894 \begin_inset Graphics
17895         filename clipart/mobius.eps
17896         display color
17897         width 40col%
17898         rotateOrigin center
17899
17900 \end_inset
17901
17902
17903 \end_layout
17904
17905 \begin_layout Standard
17906 \begin_inset Caption
17907
17908 \begin_layout Standard
17909 \begin_inset LatexCommand label
17910 name "fig:This-is-a"
17911
17912 \end_inset
17913
17914 This is a wrapped figure, and this is the brilliant caption that describes
17915  it.
17916 \begin_inset VSpace medskip
17917 \end_inset
17918
17919
17920 \end_layout
17921
17922 \end_inset
17923
17924
17925 \end_layout
17926
17927 \end_inset
17928
17929  
17930 \family sans
17931 Insert\SpecialChar \menuseparator
17932 Floats\SpecialChar \menuseparator
17933 Text\InsetSpace ~
17934 Wrap\InsetSpace ~
17935 Float
17936 \family default
17937  if the LaTeX-package 
17938 \series bold
17939 floatflt
17940 \series default
17941
17942 \begin_inset LatexCommand index
17943 name "LaTeX-packages ! floatflt"
17944
17945 \end_inset
17946
17947  is installed.
17948 \begin_inset Foot
17949 status collapsed
17950
17951 \begin_layout Standard
17952 Installing a LaTeX-package is explained it in the 
17953 \emph on
17954 LaTeX\InsetSpace ~
17955 Configuration
17956 \emph default
17957  manual.
17958 \end_layout
17959
17960 \end_inset
17961
17962  The width and placement of the float is adjusted by right-clicking on the
17963  float box.
17964  Figure\InsetSpace ~
17965
17966 \begin_inset LatexCommand ref
17967 reference "fig:This-is-a"
17968
17969 \end_inset
17970
17971  is an example text wrap float with a width of 40
17972 \begin_inset Formula $\,$
17973 \end_inset
17974
17975 col%.
17976 \begin_inset Foot
17977 status collapsed
17978
17979 \begin_layout Standard
17980 Available units are explained in 
17981 \begin_inset LatexCommand ref
17982 reference "cha:Units-available-in"
17983
17984 \end_inset
17985
17986 .
17987 \end_layout
17988
17989 \end_inset
17990
17991  Some space was added under the caption to separate it better from the surroundi
17992 ng text.
17993 \end_layout
17994
17995 \begin_layout Standard
17996 The LaTeX-package 
17997 \series bold
17998 floatflt
17999 \series default
18000  also supports table wrap floats, but they are not yet supported by LyX.
18001  If you need this, read the documentation of 
18002 \series bold
18003 floatflt
18004 \series default
18005  
18006 \begin_inset LatexCommand cite
18007 key "floatflt"
18008
18009 \end_inset
18010
18011 .
18012 \end_layout
18013
18014 \begin_layout Standard
18015 \begin_inset Note Greyedout
18016 status open
18017
18018 \begin_layout Standard
18019
18020 \series bold
18021 Note:
18022 \series default
18023  Text\InsetSpace ~
18024 wrap float floats are fragile! E.\InsetSpace \thinspace{}
18025 g.\InsetSpace ~
18026 having a figure too close to the bottom
18027  of the page can mess things up in the way that the float doesn't appear
18028  in the output or that it is placed over some other text.
18029 \begin_inset Foot
18030 status open
18031
18032 \begin_layout Standard
18033 The better solution is to use the LaTeX-package 
18034 \series bold
18035 wrapf\SpecialChar \textcompwordmark{}
18036 ig
18037 \series default
18038
18039 \begin_inset LatexCommand index
18040 name "LaTeX-packages ! wrapfig\\vspace{4mm}"
18041
18042 \end_inset
18043
18044  instead of 
18045 \series bold
18046 floatf\SpecialChar \textcompwordmark{}
18047 lt
18048 \series default
18049 , but it is currently not supported by LyX.
18050 \end_layout
18051
18052 \end_inset
18053
18054
18055 \end_layout
18056
18057 \end_inset
18058
18059
18060 \end_layout
18061
18062 \begin_layout Standard
18063 In general:
18064 \end_layout
18065
18066 \begin_layout Itemize
18067 Wrap floats should not be placed in paragraphs that run over a page break.
18068  That means that wrap floats should better be inserted to the exact place
18069  when the document is nearly ready and you are able to estimate where page
18070  breaks will appear.
18071 \end_layout
18072
18073 \begin_layout Itemize
18074 Wrap floats should either be placed in an own paragraph before the paragraph
18075  where they should wrap into or within a paragraph.
18076 \end_layout
18077
18078 \begin_layout Itemize
18079 Wrap floats in consecutive paragraphs may cause troubles, so assure that
18080  there is a text paragraph between them as separator.
18081 \end_layout
18082
18083 \begin_layout Itemize
18084 Wrap floats are not allowed in section headings or tables.
18085 \end_layout
18086
18087 \begin_layout Section
18088 Referencing Floats
18089 \begin_inset LatexCommand label
18090 name "sec:Referencing-Floats"
18091
18092 \end_inset
18093
18094
18095 \begin_inset LatexCommand index
18096 name "Floats ! References"
18097
18098 \end_inset
18099
18100
18101 \begin_inset LatexCommand index
18102 name "References"
18103
18104 \end_inset
18105
18106
18107 \end_layout
18108
18109 \begin_layout Standard
18110 To reference a float, insert a label into its caption using the menu 
18111 \family sans
18112 Insert\SpecialChar \menuseparator
18113 Label
18114 \family default
18115  or the toolbar button 
18116 \begin_inset Graphics
18117         filename ../images/label-insert.xpm
18118         scale 85
18119
18120 \end_inset
18121
18122 .
18123  A grey label box like this one: 
18124 \begin_inset Graphics
18125         filename clipart/labelQt4.png
18126         scale 85
18127
18128 \end_inset
18129
18130  will be inserted and the label window pops up asking for the label text.
18131  LyX offers as text the first words of the caption with a prefix.
18132  The prefix depends on the float type, e.\InsetSpace \thinspace{}
18133 g.\InsetSpace ~
18134 for figure floats the prefix will
18135  be "
18136 \family sans
18137 fig:
18138 \family default
18139 ".
18140 \end_layout
18141
18142 \begin_layout Standard
18143 The label is used as anchor and name for the reference.
18144  You can refer to the label using the menu 
18145 \family sans
18146 Insert\SpecialChar \menuseparator
18147 Cross-reference
18148 \family default
18149  or the toolbar button 
18150 \begin_inset Graphics
18151         filename ../images/dialog-show-new-inset_ref.xpm
18152         scale 85
18153
18154 \end_inset
18155
18156 .
18157  A grey cross-reference box like this one: 
18158 \begin_inset Graphics
18159         filename clipart/referenceQt4.png
18160         scale 85
18161
18162 \end_inset
18163
18164  will be inserted and the cross-reference window appear showing all labels
18165  of the document.
18166  If you have multiple LyX-documents opened, choose the one you are working
18167  on from the drop-list at the top of the dialog.
18168  You can now sort the labels alphabetically and then choose one.
18169  At the position of the cross-reference box the float number will appear
18170  in the output.
18171 \end_layout
18172
18173 \begin_layout Standard
18174 It is recommended to use a protected space between the cross-reference name
18175  and its number to avoid line breaks between them.
18176  If a cross-reference refers to a non-existing label, you will see two question
18177  marks in the output instead of the reference.
18178 \end_layout
18179
18180 \begin_layout Standard
18181 You can change labels at any time by clicking on the label box.
18182  References to the changed label will automatically change its link to the
18183  new label text, so that you don't need to take care about this.
18184 \end_layout
18185
18186 \begin_layout Standard
18187 The button 
18188 \family sans
18189 Go\InsetSpace ~
18190 to\InsetSpace ~
18191 Label
18192 \family default
18193  in the cross-reference window sets the cursor before the referred label.
18194  The button text changes then to Go\InsetSpace ~
18195 Back and you can use it to set the cursor
18196  back to the cross-reference.
18197  Right-clicking on a cross-reference box also sets the cursor before the
18198  referenced label but without a possibility to go back.
18199 \end_layout
18200
18201 \begin_layout Subsection
18202 Cross-Reference Formats
18203 \begin_inset LatexCommand label
18204 name "sub:Cross-Reference-Formats"
18205
18206 \end_inset
18207
18208
18209 \begin_inset LatexCommand index
18210 name "References ! Formats"
18211
18212 \end_inset
18213
18214
18215 \end_layout
18216
18217 \begin_layout Standard
18218 There are six varieties of cross-references:
18219 \end_layout
18220
18221 \begin_layout Description
18222 <reference>: prints the float number, this is the default: 
18223 \begin_inset LatexCommand ref
18224 reference "fig:Two-distorted-images"
18225
18226 \end_inset
18227
18228
18229 \end_layout
18230
18231 \begin_layout Description
18232 (<reference>): prints the float number within two parentheses, this is the
18233  style normally used to reference formulas, especially when the reference
18234  name 
18235 \begin_inset Quotes eld
18236 \end_inset
18237
18238 Equation
18239 \begin_inset Quotes erd
18240 \end_inset
18241
18242  is omitted: 
18243 \begin_inset LatexCommand eqref
18244 reference "eq:Wgn"
18245
18246 \end_inset
18247
18248
18249 \end_layout
18250
18251 \begin_layout Description
18252 <page>: prints the page number: Page\InsetSpace ~
18253
18254 \begin_inset LatexCommand pageref
18255 reference "fig:Two-distorted-images"
18256
18257 \end_inset
18258
18259
18260 \end_layout
18261
18262 \begin_layout Description
18263 on\InsetSpace ~
18264 page\InsetSpace ~
18265 <page>: prints the text "on page" and the page number: 
18266 \begin_inset LatexCommand vpageref
18267 reference "fig:Two-distorted-images"
18268
18269 \end_inset
18270
18271
18272 \end_layout
18273
18274 \begin_layout Description
18275 <reference>\InsetSpace ~
18276 on\InsetSpace ~
18277 page\InsetSpace ~
18278 <page>: prints the float number, the text "on page", and
18279  the page number: 
18280 \begin_inset LatexCommand vref
18281 reference "fig:Two-distorted-images"
18282
18283 \end_inset
18284
18285
18286 \end_layout
18287
18288 \begin_layout Description
18289 Formatted\InsetSpace ~
18290 reference: prints a self defined cross-reference format.
18291  
18292 \begin_inset Note Greyedout
18293 status open
18294
18295 \begin_layout Standard
18296
18297 \series bold
18298 Note:
18299 \series default
18300  This feature is only available when you have the LaTeX-package 
18301 \series bold
18302 prettyref
18303 \series default
18304  installed.
18305 \end_layout
18306
18307 \end_inset
18308
18309
18310 \end_layout
18311
18312 \begin_layout Standard
18313 Note that the style <page> won't print the page number if the label is on
18314  the previous, the same, or the next page.
18315  You will e.\InsetSpace \thinspace{}
18316 g.\InsetSpace ~
18317 see the text 
18318 \begin_inset Quotes eld
18319 \end_inset
18320
18321
18322 \family sans
18323 on this page
18324 \family default
18325
18326 \begin_inset Quotes erd
18327 \end_inset
18328
18329  instead.
18330 \end_layout
18331
18332 \begin_layout Standard
18333 The number and current page of the referred document part in the output,
18334  is automatically calculated by LaTeX.
18335  The varieties are adjusted in the field 
18336 \family sans
18337 Format
18338 \family default
18339  of the cross-reference window, that appear when you click on the cross-referenc
18340 e box.
18341 \end_layout
18342
18343 \begin_layout Subsection
18344 Referencing Subfigures
18345 \begin_inset LatexCommand label
18346 name "sub:Referencing-Subfigures"
18347
18348 \end_inset
18349
18350
18351 \begin_inset LatexCommand index
18352 name "References ! to Subfigures"
18353
18354 \end_inset
18355
18356
18357 \end_layout
18358
18359 \begin_layout Standard
18360 Currently referencing subfigures is not supported by LyX, so you have to
18361  use LaTeX-commands.
18362  The label is the created with the command
18363 \end_layout
18364
18365 \begin_layout Standard
18366
18367 \series bold
18368
18369 \backslash
18370 label{fig:YourLabelName}
18371 \end_layout
18372
18373 \begin_layout Standard
18374 that is directly inserted into the subfigure caption field.
18375  To reference the label add this command in ERT
18376 \end_layout
18377
18378 \begin_layout Standard
18379
18380 \series bold
18381
18382 \backslash
18383 ref{fig:YourLabelName}
18384 \end_layout
18385
18386 \begin_layout Standard
18387 to the position in your document where the reference should be placed.
18388  Here is a reference to a subfigure: Subfigure\InsetSpace ~
18389
18390 \begin_inset ERT
18391 status collapsed
18392
18393 \begin_layout Standard
18394
18395
18396 \backslash
18397 ref{fig:Platypus}
18398 \end_layout
18399
18400 \end_inset
18401
18402 .
18403 \end_layout
18404
18405 \begin_layout Subsection
18406 Automatic Reference Naming
18407 \begin_inset LatexCommand index
18408 name "References ! Automatic Reference Naming"
18409
18410 \end_inset
18411
18412
18413 \end_layout
18414
18415 \begin_layout Standard
18416 The LaTeX-package 
18417 \series bold
18418 hyperref
18419 \series default
18420  provides a very useful feature that cross-references automatically include
18421  the name of the referenced floats (or text parts like sections).
18422  You save to write e.\InsetSpace \thinspace{}
18423 g.\InsetSpace ~
18424 the name 
18425 \begin_inset Quotes eld
18426 \end_inset
18427
18428 Figure
18429 \begin_inset Quotes erd
18430 \end_inset
18431
18432  before every reference box.
18433  To get this automatic reference naming, you have to load the LaTeX-package
18434  
18435 \series bold
18436 hyperref
18437 \series default
18438
18439 \begin_inset LatexCommand index
18440 name "LaTeX-packages ! hyperref"
18441
18442 \end_inset
18443
18444  in the document preamble with
18445 \end_layout
18446
18447 \begin_layout Standard
18448
18449 \series bold
18450
18451 \backslash
18452 usepackage[pdfborder={0 0 0}]{hyperref}
18453 \newline
18454
18455 \backslash
18456 AtBeginDocument{
18457 \backslash
18458 renewcommand{
18459 \backslash
18460 ref}[1]{
18461 \backslash
18462 mbox{
18463 \backslash
18464 autoref{#1}}}}
18465 \end_layout
18466
18467 \begin_layout Standard
18468
18469 \series bold
18470 hyperref
18471 \series default
18472  is used to link cross-references in the DVI- and PDF-output, this means
18473  that the reader of your document will be able to click on a table of content
18474  (TOC) entry or on a reference and he will be shown the referenced document
18475  part.
18476  
18477 \series bold
18478 hyperref
18479 \series default
18480  also creates PDF-bookmarks for every section of your document to make it
18481  easier for readers to navigate through the document.
18482  This is also used in this document but when you have a look in the document
18483  preamble you will find various options in the load command of 
18484 \series bold
18485 hyperref
18486 \series default
18487 .
18488  To learn more about the 
18489 \series bold
18490 hyperref
18491 \series default
18492  package, we refer to its documentation 
18493 \begin_inset LatexCommand cite
18494 key "hyperref"
18495
18496 \end_inset
18497
18498 .
18499 \end_layout
18500
18501 \begin_layout Standard
18502 \begin_inset Note Greyedout
18503 status open
18504
18505 \begin_layout Standard
18506
18507 \series bold
18508 Note:
18509 \series default
18510  Automatic reference naming cannot be used when you use cross-references
18511  in the 
18512 \family sans
18513 Formatted\InsetSpace ~
18514 reference
18515 \family default
18516  style, described in section\InsetSpace ~
18517
18518 \begin_inset LatexCommand ref
18519 reference "sub:Cross-Reference-Formats"
18520
18521 \end_inset
18522
18523 .
18524 \end_layout
18525
18526 \end_inset
18527
18528
18529 \end_layout
18530
18531 \begin_layout Subsection
18532 Reference Position
18533 \begin_inset LatexCommand label
18534 name "sub:Reference-Position"
18535
18536 \end_inset
18537
18538
18539 \begin_inset LatexCommand index
18540 name "References ! Reference Position"
18541
18542 \end_inset
18543
18544
18545 \end_layout
18546
18547 \begin_layout Standard
18548 If you use 
18549 \series bold
18550 hyperref
18551 \series default
18552
18553 \begin_inset LatexCommand index
18554 name "LaTeX-packages ! hyperref"
18555
18556 \end_inset
18557
18558  to link cross-references in the output, you will see that clicking on an
18559  image float reference jumps to the image label.
18560  The caption will be the first text part on the screen, so that you cannot
18561  see the image without scrolling.
18562  This is because the reference link anchor is placed at the position of
18563  the label.
18564  With the use of the package 
18565 \series bold
18566 hypcap
18567 \series default
18568
18569 \begin_inset LatexCommand index
18570 name "LaTeX-packages ! hypcap"
18571
18572 \end_inset
18573
18574 , which is part of the LaTeX-package 
18575 \series bold
18576 oberdiek
18577 \series default
18578
18579 \begin_inset LatexCommand index
18580 name "LaTeX-packages ! oberdiek"
18581
18582 \end_inset
18583
18584 , the link anchor is placed at the beginning of a float.
18585  To use this feature for figure floats, load 
18586 \series bold
18587 hypcap
18588 \series default
18589  in the document preamble with the line
18590 \end_layout
18591
18592 \begin_layout Standard
18593
18594 \series bold
18595
18596 \backslash
18597 usepackage[f\SpecialChar \textcompwordmark{}
18598 igure]{hypcap}
18599 \end_layout
18600
18601 \begin_layout Standard
18602 You can also use 
18603 \series bold
18604 hypcap
18605 \series default
18606  for all floats but this isn't recommended for stability reasons.
18607  For more informations, have a look at 
18608 \series bold
18609 hypcap
18610 \series default
18611 's manual 
18612 \begin_inset LatexCommand cite
18613 key "hypcap"
18614
18615 \end_inset
18616
18617 .
18618 \end_layout
18619
18620 \begin_layout Standard
18621 \begin_inset Note Greyedout
18622 status open
18623
18624 \begin_layout Standard
18625
18626 \series bold
18627 Note:
18628 \series default
18629  
18630 \series bold
18631 hypcap
18632 \series default
18633  must be loaded after 
18634 \series bold
18635 hyperref
18636 \series default
18637  in the document preamble.
18638 \end_layout
18639
18640 \end_inset
18641
18642
18643 \end_layout
18644
18645 \begin_layout Standard
18646 \begin_inset Note Greyedout
18647 status open
18648
18649 \begin_layout Standard
18650
18651 \series bold
18652 Note:
18653 \series default
18654  The set reference position has no effect for references to subfigures.
18655 \end_layout
18656
18657 \end_inset
18658
18659
18660 \end_layout
18661
18662 \begin_layout Section
18663 Float Placement
18664 \begin_inset LatexCommand label
18665 name "sec:Float-Placement"
18666
18667 \end_inset
18668
18669
18670 \begin_inset LatexCommand index
18671 name "Floats ! Placement"
18672
18673 \end_inset
18674
18675
18676 \end_layout
18677
18678 \begin_layout Standard
18679 Right-clicking on a float-box opens a dialog where you can alter the placement
18680  options that LaTeX uses for positioning the float.
18681 \newline
18682 The option 
18683 \family sans
18684 Span\InsetSpace ~
18685 columns
18686 \family default
18687  is only useful for two-column documents: If you select it, the float will
18688  span across both columns on the page instead of being confined to just
18689  one.
18690 \newline
18691 The option 
18692 \family sans
18693 Rotate\InsetSpace ~
18694 sideways
18695 \family default
18696  is used to rotate floats, see section 
18697 \begin_inset LatexCommand ref
18698 reference "sec:Rotated-Floats"
18699
18700 \end_inset
18701
18702 .
18703 \end_layout
18704
18705 \begin_layout Standard
18706 You can use one ore more of the following options in the float dialog to
18707  set the placement for a particular float when you uncheck the option 
18708 \family sans
18709 Use\InsetSpace ~
18710 default\InsetSpace ~
18711 placement
18712 \family default
18713 :
18714 \end_layout
18715
18716 \begin_layout Description
18717 Here\InsetSpace ~
18718 if\InsetSpace ~
18719 possible: try to place the float on the position where it is inserted
18720 \end_layout
18721
18722 \begin_layout Description
18723 Top\InsetSpace ~
18724 of\InsetSpace ~
18725 page: try to place the float on the top of the current page
18726 \end_layout
18727
18728 \begin_layout Description
18729 Bottom\InsetSpace ~
18730 of\InsetSpace ~
18731 page: try to place the float on the bottom of the current page
18732 \end_layout
18733
18734 \begin_layout Description
18735 Page\InsetSpace ~
18736 of\InsetSpace ~
18737 floats: try to place the float on an own page 
18738 \end_layout
18739
18740 \begin_layout Standard
18741 The order of the above option is 
18742 \emph on
18743 always
18744 \emph default
18745  used by LaTeX.
18746  That means, if you use the default placement, LaTeX will first try out
18747  
18748 \family sans
18749 Here\InsetSpace ~
18750 if\InsetSpace ~
18751 possible
18752 \family default
18753 , then 
18754 \family sans
18755 Top\InsetSpace ~
18756 of\InsetSpace ~
18757 page
18758 \family default
18759 , and then the others.
18760  If you don't use the default, LaTeX will try only the checked options but
18761  in the same order.
18762  If none of the 4 placements are possible the procedure is internally repeated
18763  but it is tried to put the float on the following page.
18764 \end_layout
18765
18766 \begin_layout Standard
18767 By default, each options has its own rules:
18768 \end_layout
18769
18770 \begin_layout Labeling
18771 \labelwidthstring 00.00.0000
18772
18773 \family sans
18774 Top\InsetSpace ~
18775 of\InsetSpace ~
18776 page
18777 \family default
18778  only floats occupying less than 70\InsetSpace \thinspace{}
18779 % of the page can be placed at the top
18780  of a page (
18781 \series bold
18782
18783 \backslash
18784 topfraction
18785 \series default
18786 )
18787 \end_layout
18788
18789 \begin_layout Labeling
18790 \labelwidthstring 00.00.0000
18791
18792 \family sans
18793 Bottom\InsetSpace ~
18794 of\InsetSpace ~
18795 page
18796 \family default
18797 : only floats occupying less than 30\InsetSpace \thinspace{}
18798 % of the page can be placed at the bottom
18799  of a page.
18800  (
18801 \series bold
18802
18803 \backslash
18804 bottomfraction
18805 \series default
18806 )
18807 \end_layout
18808
18809 \begin_layout Labeling
18810 \labelwidthstring 00.00.0000
18811
18812 \family sans
18813 Page\InsetSpace ~
18814 of\InsetSpace ~
18815 floats
18816 \family default
18817 : only if more than 50\InsetSpace \thinspace{}
18818 % of the page are occupied by floats, several floats
18819  can be set together on a page.
18820  (
18821 \series bold
18822
18823 \backslash
18824 floatpagefraction
18825 \series default
18826 )
18827 \end_layout
18828
18829 \begin_layout Standard
18830 If you don't like these rules, you can ignore them by using the additional
18831  option 
18832 \family sans
18833 Ignore\InsetSpace ~
18834 LaTeX\InsetSpace ~
18835 rules
18836 \family default
18837 .
18838 \newline
18839 You can also redefine the rules with LaTeX-commands that are given in parenthese
18840 s behind the rules description above.
18841  To increase for example the often too small default of the bottom-rule
18842  to 50\InsetSpace \thinspace{}
18843 % of the page, add this line to your document preamble:
18844 \end_layout
18845
18846 \begin_layout Standard
18847
18848 \series bold
18849
18850 \backslash
18851 renewcommand{
18852 \backslash
18853 bottomfraction}{0.5}
18854 \end_layout
18855
18856 \begin_layout Standard
18857 Sometimes you might need, under all circumstances, a float to be placed
18858  exactly at the position where it is inserted.
18859  For this case you can use the option 
18860 \family sans
18861 Here\InsetSpace ~
18862 definitely
18863 \family default
18864 .
18865  Use this option very rarely and only if the document is nearly ready to
18866  be printed.
18867  Because the float is then no longer able to 
18868 \begin_inset Quotes eld
18869 \end_inset
18870
18871 float
18872 \begin_inset Quotes erd
18873 \end_inset
18874
18875  when you change your document and this will often destroy the page layout.
18876 \end_layout
18877
18878 \begin_layout Standard
18879 There are no placement options for text wrap floats, because they are always
18880  surrounded by the text of a certain paragraph.
18881 \begin_inset VSpace bigskip
18882 \end_inset
18883
18884
18885 \end_layout
18886
18887 \begin_layout Standard
18888 Sometimes you have the problem that a float is placed at the top of a page
18889  while its corresponding section starts at the middle of the page, so that
18890  the reader could think the float is part of the previous section.
18891  To avoid this the LaTeX-command 
18892 \series bold
18893
18894 \backslash
18895 suppressf\SpecialChar \textcompwordmark{}
18896 loats
18897 \series default
18898  can be used.
18899  It suppresses a given float placement for the page where it is inserted
18900  and can therefore be used to avoid that floats could be set before a section
18901  starts.
18902  To get this, add these commands to your document preamble:
18903 \end_layout
18904
18905 \begin_layout Standard
18906
18907 \series bold
18908
18909 \backslash
18910 let
18911 \backslash
18912 mySection
18913 \backslash
18914 section
18915 \newline
18916
18917 \backslash
18918 renewcommand{
18919 \backslash
18920 section}{
18921 \backslash
18922 suppressf\SpecialChar \textcompwordmark{}
18923 loats[t]
18924 \backslash
18925 mySection}
18926 \end_layout
18927
18928 \begin_layout Standard
18929 You can define the same for all section headings, like chapters and subsections.
18930  This definition is not recommended to be used for small text parts like
18931  subsubsections because LaTeX may then have problems to find a suitable
18932  placement.
18933 \end_layout
18934
18935 \begin_layout Standard
18936 \begin_inset VSpace bigskip
18937 \end_inset
18938
18939 In some cases it is required to have all figures/tables at the end of the
18940  document.
18941  For this purpose the LaTeX-package 
18942 \series bold
18943 endf\SpecialChar \textcompwordmark{}
18944 loat
18945 \series default
18946
18947 \begin_inset LatexCommand index
18948 name "LaTeX-packages ! endfloat"
18949
18950 \end_inset
18951
18952  was developed.
18953  It puts all figure and table floats at the end of the document into own
18954  sections.
18955  At the original float position a text hint like 
18956 \begin_inset Quotes eld
18957 \end_inset
18958
18959
18960 \family sans
18961 [Figure\InsetSpace ~
18962 3.2 about here.]
18963 \family default
18964
18965 \begin_inset Quotes erd
18966 \end_inset
18967
18968  is inserted.
18969  The endfloat-package is loaded in the preamble with the line
18970 \end_layout
18971
18972 \begin_layout Standard
18973
18974 \series bold
18975
18976 \backslash
18977 usepackage[options]{endf\SpecialChar \textcompwordmark{}
18978 loat}
18979 \end_layout
18980
18981 \begin_layout Standard
18982 There are various package options to format the created figure/table sections.
18983  For more information we refer to the 
18984 \series bold
18985 endf\SpecialChar \textcompwordmark{}
18986 loat
18987 \series default
18988  documentation 
18989 \begin_inset LatexCommand cite
18990 key "endfloat"
18991
18992 \end_inset
18993
18994 .
18995 \newline
18996
18997 \begin_inset Note Greyedout
18998 status open
18999
19000 \begin_layout Standard
19001
19002 \series bold
19003 Note: endf\SpecialChar \textcompwordmark{}
19004 loat
19005 \series default
19006  doesn't provide an automatic translation for the text hint, you have to
19007  do this manually, see section\InsetSpace ~
19008 4 in 
19009 \begin_inset LatexCommand cite
19010 key "endfloat"
19011
19012 \end_inset
19013
19014 .
19015 \end_layout
19016
19017 \end_inset
19018
19019
19020 \newline
19021
19022 \begin_inset Note Greyedout
19023 status open
19024
19025 \begin_layout Standard
19026
19027 \series bold
19028 Note:
19029 \series default
19030  There is currently a bug in 
19031 \series bold
19032 endf\SpecialChar \textcompwordmark{}
19033 loat
19034 \series default
19035  when the caption contains a German 
19036 \begin_inset Quotes eld
19037 \end_inset
19038
19039 ß
19040 \begin_inset Quotes erd
19041 \end_inset
19042
19043 .
19044  Use in this case the command 
19045 \begin_inset Quotes eld
19046 \end_inset
19047
19048
19049 \series bold
19050
19051 \backslash
19052 ss
19053 \series default
19054
19055 \begin_inset Quotes erd
19056 \end_inset
19057
19058  in ERT instead of 
19059 \begin_inset Quotes eld
19060 \end_inset
19061
19062 ß
19063 \begin_inset Quotes erd
19064 \end_inset
19065
19066 .
19067 \end_layout
19068
19069 \end_inset
19070
19071
19072 \end_layout
19073
19074 \begin_layout Standard
19075 \begin_inset VSpace bigskip
19076 \end_inset
19077
19078 For more details about float placements, have a look at LaTeX books, 
19079 \begin_inset LatexCommand cite
19080 key "latexcompanion,latexguide,latexbook"
19081
19082 \end_inset
19083
19084 .
19085 \end_layout
19086
19087 \begin_layout Section
19088 Rotated Floats
19089 \begin_inset LatexCommand label
19090 name "sec:Rotated-Floats"
19091
19092 \end_inset
19093
19094
19095 \begin_inset LatexCommand index
19096 name "Floats ! Rotating"
19097
19098 \end_inset
19099
19100
19101 \end_layout
19102
19103 \begin_layout Standard
19104 Especially for wide tables you might have floats rotated.
19105  To rotate a whole float including the caption, right-click on the float-box
19106  and use the option 
19107 \family sans
19108 Rotate\InsetSpace ~
19109 sideways
19110 \family default
19111 .
19112 \end_layout
19113
19114 \begin_layout Standard
19115 Rotated floats are always placed on its own page (or column, when you have
19116  a two-column document).
19117  They are normally rotated so that you can read them from the outside margin
19118  -- to the left on even pages, to the right on odd pages.
19119 \end_layout
19120
19121 \begin_layout Standard
19122 Referencing rotated floats is the same like for normal floats, the caption
19123  format is also the same: Table\InsetSpace ~
19124
19125 \begin_inset LatexCommand ref
19126 reference "tab:Rotated-table"
19127
19128 \end_inset
19129
19130  is an example of a rotated table float.
19131 \end_layout
19132
19133 \begin_layout Standard
19134 \begin_inset Note Greyedout
19135 status open
19136
19137 \begin_layout Standard
19138
19139 \series bold
19140 Note:
19141 \series default
19142  Not all DVI-viewers are able to display rotated floats.
19143 \end_layout
19144
19145 \end_inset
19146
19147
19148 \end_layout
19149
19150 \begin_layout Standard
19151 \begin_inset Float table
19152 wide false
19153 sideways true
19154 status open
19155
19156 \begin_layout Standard
19157 \begin_inset Caption
19158
19159 \begin_layout Standard
19160 \begin_inset LatexCommand label
19161 name "tab:Rotated-table"
19162
19163 \end_inset
19164
19165  Rotated table
19166 \end_layout
19167
19168 \end_inset
19169
19170
19171 \end_layout
19172
19173 \begin_layout Standard
19174 \align center
19175 \begin_inset Tabular
19176 <lyxtabular version="3" rows="1" columns="5">
19177 <features>
19178 <column alignment="center" valignment="top" leftline="true" width="0">
19179 <column alignment="center" valignment="top" leftline="true" width="0">
19180 <column alignment="center" valignment="top" leftline="true" width="0">
19181 <column alignment="center" valignment="top" leftline="true" width="0">
19182 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
19183 <row topline="true" bottomline="true">
19184 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19185 \begin_inset Text
19186
19187 \begin_layout Standard
19188 test
19189 \end_layout
19190
19191 \end_inset
19192 </cell>
19193 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19194 \begin_inset Text
19195
19196 \begin_layout Standard
19197 b
19198 \end_layout
19199
19200 \end_inset
19201 </cell>
19202 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19203 \begin_inset Text
19204
19205 \begin_layout Standard
19206 c
19207 \end_layout
19208
19209 \end_inset
19210 </cell>
19211 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19212 \begin_inset Text
19213
19214 \begin_layout Standard
19215 d
19216 \end_layout
19217
19218 \end_inset
19219 </cell>
19220 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19221 \begin_inset Text
19222
19223 \begin_layout Standard
19224 e
19225 \end_layout
19226
19227 \end_inset
19228 </cell>
19229 </row>
19230 </lyxtabular>
19231
19232 \end_inset
19233
19234
19235 \end_layout
19236
19237 \end_inset
19238
19239
19240 \end_layout
19241
19242 \begin_layout Section
19243 Caption Formatting
19244 \begin_inset LatexCommand index
19245 name "Caption ! Formatting"
19246
19247 \end_inset
19248
19249
19250 \begin_inset LatexCommand index
19251 name "Floats ! Caption Formatting"
19252
19253 \end_inset
19254
19255
19256 \begin_inset LatexCommand index
19257 name "LaTeX-packages ! caption"
19258
19259 \end_inset
19260
19261
19262 \begin_inset LatexCommand label
19263 name "sec:Caption-Formatting"
19264
19265 \end_inset
19266
19267
19268 \end_layout
19269
19270 \begin_layout Standard
19271 The 
19272 \family sans
19273 Caption
19274 \family default
19275  environment is the default paragraph environment for 
19276 \family sans
19277 Floats
19278 \family default
19279 .
19280  On the LyX screen captions appear as label, e.\InsetSpace \thinspace{}
19281 g.\InsetSpace ~
19282
19283 \begin_inset Quotes eld
19284 \end_inset
19285
19286
19287 \family sans
19288 Figure #:
19289 \family default
19290
19291 \begin_inset Quotes erd
19292 \end_inset
19293
19294  followed by the caption text.
19295  The number sign 
19296 \begin_inset Quotes eld
19297 \end_inset
19298
19299 #
19300 \begin_inset Quotes erd
19301 \end_inset
19302
19303  is substituted in the printed output by the actual reference number.
19304  By default the label and the number are in the same font as the caption
19305  text and a colon follows the number to divide then label from the text.
19306  This caption format is not suitable for all document formats.
19307  
19308 \end_layout
19309
19310 \begin_layout Standard
19311 To change the default caption format, load the LaTeX-package 
19312 \series bold
19313 caption
19314 \series default
19315
19316 \begin_inset LatexCommand index
19317 name "LaTeX-packages ! caption"
19318
19319 \end_inset
19320
19321  in the document preamble with this line:
19322 \end_layout
19323
19324 \begin_layout Standard
19325
19326 \series bold
19327
19328 \backslash
19329 usepackage[format definition]{caption}
19330 \end_layout
19331
19332 \begin_layout Standard
19333 To have for example the label and the number in sans-serif bold font and
19334  the table captions always above the table like in this document, use the
19335  following command:
19336 \end_layout
19337
19338 \begin_layout Standard
19339
19340 \series bold
19341
19342 \backslash
19343 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
19344 \end_layout
19345
19346 \begin_layout Standard
19347 You can also define different caption formats for the different float types.
19348  In this case load the 
19349 \series bold
19350 caption
19351 \series default
19352  package without format specific options and define the different formats
19353  with the help of the command
19354 \end_layout
19355
19356 \begin_layout Standard
19357
19358 \series bold
19359
19360 \backslash
19361 captionsetup[float type]{format definition}
19362 \end_layout
19363
19364 \begin_layout Standard
19365 in the document preamble.
19366  For example the caption formats of Figure\InsetSpace ~
19367
19368 \begin_inset LatexCommand ref
19369 reference "fig:This-is-an-fig"
19370
19371 \end_inset
19372
19373  and Table\InsetSpace ~
19374
19375 \begin_inset LatexCommand ref
19376 reference "tab:This-is-an-tab"
19377
19378 \end_inset
19379
19380  can be created using these commands in the document preamble:
19381 \end_layout
19382
19383 \begin_layout Standard
19384
19385 \series bold
19386
19387 \backslash
19388 usepackage[tableposition=top]{caption}
19389 \series default
19390
19391 \newline
19392
19393 \series bold
19394
19395 \backslash
19396 captionsetup[f\SpecialChar \textcompwordmark{}
19397 igure]{labelfont={tt}, textfont=it, indention=1cm,%
19398 \newline
19399
19400 \begin_inset ERT
19401 status collapsed
19402
19403 \begin_layout Standard
19404
19405
19406 \backslash
19407 hphantom{
19408 \backslash
19409
19410 \backslash
19411 captionsetup[figure]
19412 \backslash
19413 {}
19414 \end_layout
19415
19416 \end_inset
19417
19418  labelsep=period}
19419 \newline
19420
19421 \backslash
19422 captionsetup[table]{labelfont={bf,sf}}
19423 \end_layout
19424
19425 \begin_layout Standard
19426 \begin_inset Note Greyedout
19427 status open
19428
19429 \begin_layout Standard
19430
19431 \series bold
19432 Note:
19433 \series default
19434  The option 
19435 \series bold
19436 tableposition=top
19437 \series default
19438  has no effect when a 
19439 \series bold
19440 koma-script
19441 \series default
19442
19443 \begin_inset LatexCommand index
19444 name "LaTeX-packages ! koma-script"
19445
19446 \end_inset
19447
19448  document class is used.
19449  In this case the document class option 
19450 \series bold
19451 tablecaptionabove
19452 \series default
19453  must be used.
19454 \end_layout
19455
19456 \end_inset
19457
19458
19459 \end_layout
19460
19461 \begin_layout Standard
19462 For more information about the package 
19463 \series bold
19464 caption
19465 \series default
19466  we refer to its documentation 
19467 \begin_inset LatexCommand cite
19468 key "caption,caption-de"
19469
19470 \end_inset
19471
19472 .
19473 \end_layout
19474
19475 \begin_layout Standard
19476 To change the label name from e.g.
19477  
19478 \begin_inset Quotes eld
19479 \end_inset
19480
19481 Figure
19482 \begin_inset Quotes erd
19483 \end_inset
19484
19485  to 
19486 \begin_inset Quotes eld
19487 \end_inset
19488
19489 Image
19490 \begin_inset Quotes erd
19491 \end_inset
19492
19493  use this preamble command:
19494 \end_layout
19495
19496 \begin_layout Standard
19497
19498 \series bold
19499
19500 \backslash
19501 renewcommand{
19502 \backslash
19503 fnum@figure}{Image~
19504 \backslash
19505 thefigure}
19506 \end_layout
19507
19508 \begin_layout Standard
19509 where 
19510 \series bold
19511
19512 \backslash
19513 thefigure
19514 \series default
19515  inserts the figure number and
19516 \series bold
19517  
19518 \begin_inset Quotes eld
19519 \end_inset
19520
19521 ~
19522 \series default
19523
19524 \begin_inset Quotes erd
19525 \end_inset
19526
19527  creates a protected space.
19528 \end_layout
19529
19530 \begin_layout Standard
19531 \begin_inset VSpace bigskip
19532 \end_inset
19533
19534 If you are using a 
19535 \series bold
19536 koma-script
19537 \series default
19538
19539 \begin_inset LatexCommand index
19540 name "LaTeX-packages ! koma-script"
19541
19542 \end_inset
19543
19544  document class (
19545 \family sans
19546 article (koma-script)
19547 \family default
19548
19549 \family sans
19550 book (koma-script)
19551 \family default
19552
19553 \family sans
19554 letter (koma-script)
19555 \family default
19556 , or 
19557 \family sans
19558 report (koma-script)
19559 \family default
19560 \InsetSpace \thinspace{}
19561 ), you can alternatively to the 
19562 \series bold
19563 caption
19564 \series default
19565  package use 
19566 \series bold
19567 koma-script
19568 \series default
19569 's built-in command 
19570 \series bold
19571
19572 \backslash
19573 setkomafont
19574 \series default
19575 .
19576  For example, to have the caption label in bold, add this command to your
19577  document preamble:
19578 \end_layout
19579
19580 \begin_layout Standard
19581
19582 \series bold
19583
19584 \backslash
19585 setkomafont{captionlabel}{
19586 \backslash
19587 bfseries}
19588 \end_layout
19589
19590 \begin_layout Standard
19591 For more information about 
19592 \series bold
19593
19594 \backslash
19595 setkomafont
19596 \series default
19597  we refer to the 
19598 \series bold
19599 koma-script
19600 \series default
19601  documentation 
19602 \begin_inset LatexCommand cite
19603 key "koma-script,koma-script-de"
19604
19605 \end_inset
19606
19607 .
19608 \end_layout
19609
19610 \begin_layout Standard
19611 \begin_inset ERT
19612 status collapsed
19613
19614 \begin_layout Standard
19615
19616
19617 \backslash
19618 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
19619 }
19620 \end_layout
19621
19622 \end_inset
19623
19624
19625 \begin_inset Note Note
19626 status open
19627
19628 \begin_layout Standard
19629 The caption format is changed only for this example.
19630 \end_layout
19631
19632 \end_inset
19633
19634
19635 \end_layout
19636
19637 \begin_layout Standard
19638 \begin_inset Float figure
19639 placement !p
19640 wide false
19641 sideways false
19642 status open
19643
19644 \begin_layout Standard
19645 \align center
19646 \begin_inset Graphics
19647         filename clipart/mobius.eps
19648         lyxscale 50
19649         scale 50
19650
19651 \end_inset
19652
19653
19654 \end_layout
19655
19656 \begin_layout Standard
19657 \begin_inset Caption
19658
19659 \begin_layout Standard
19660 \begin_inset LatexCommand label
19661 name "fig:This-is-an-fig"
19662
19663 \end_inset
19664
19665 This is an example figure caption that is longer than one line to show the
19666  different caption format.
19667  Here a self-defined caption format is used.
19668 \end_layout
19669
19670 \end_inset
19671
19672
19673 \end_layout
19674
19675 \end_inset
19676
19677
19678 \end_layout
19679
19680 \begin_layout Standard
19681 \begin_inset ERT
19682 status collapsed
19683
19684 \begin_layout Standard
19685
19686
19687 \backslash
19688 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
19689 on}
19690 \end_layout
19691
19692 \end_inset
19693
19694
19695 \end_layout
19696
19697 \begin_layout Standard
19698 \begin_inset Float table
19699 placement !p
19700 wide false
19701 sideways false
19702 status open
19703
19704 \begin_layout Standard
19705 \begin_inset Caption
19706
19707 \begin_layout Standard
19708 \begin_inset LatexCommand label
19709 name "tab:This-is-an-tab"
19710
19711 \end_inset
19712
19713 This is an example table caption that is longer than one line to show the
19714  different caption format.
19715  Here the standard caption format for tables in this document is used.
19716 \end_layout
19717
19718 \end_inset
19719
19720
19721 \end_layout
19722
19723 \begin_layout Standard
19724 \align center
19725 \begin_inset Tabular
19726 <lyxtabular version="3" rows="1" columns="5">
19727 <features>
19728 <column alignment="center" valignment="top" leftline="true" width="0">
19729 <column alignment="center" valignment="top" leftline="true" width="0">
19730 <column alignment="center" valignment="top" leftline="true" width="0">
19731 <column alignment="center" valignment="top" leftline="true" width="0">
19732 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
19733 <row topline="true" bottomline="true">
19734 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19735 \begin_inset Text
19736
19737 \begin_layout Standard
19738 a
19739 \end_layout
19740
19741 \end_inset
19742 </cell>
19743 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19744 \begin_inset Text
19745
19746 \begin_layout Standard
19747 b
19748 \end_layout
19749
19750 \end_inset
19751 </cell>
19752 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19753 \begin_inset Text
19754
19755 \begin_layout Standard
19756 c
19757 \end_layout
19758
19759 \end_inset
19760 </cell>
19761 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19762 \begin_inset Text
19763
19764 \begin_layout Standard
19765 d
19766 \end_layout
19767
19768 \end_inset
19769 </cell>
19770 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19771 \begin_inset Text
19772
19773 \begin_layout Standard
19774 e
19775 \end_layout
19776
19777 \end_inset
19778 </cell>
19779 </row>
19780 </lyxtabular>
19781
19782 \end_inset
19783
19784
19785 \end_layout
19786
19787 \end_inset
19788
19789
19790 \end_layout
19791
19792 \begin_layout Section
19793 Caption Placement
19794 \begin_inset LatexCommand index
19795 name "Caption ! Placement"
19796
19797 \end_inset
19798
19799
19800 \begin_inset LatexCommand index
19801 name "Floats ! Caption Placement"
19802
19803 \end_inset
19804
19805
19806 \begin_inset LatexCommand label
19807 name "sec:Caption-Placement"
19808
19809 \end_inset
19810
19811
19812 \end_layout
19813
19814 \begin_layout Standard
19815 The common caption placement rule is:
19816 \end_layout
19817
19818 \begin_layout Description
19819 Figure: Caption is set below the figure
19820 \end_layout
19821
19822 \begin_layout Description
19823 Table: Caption is set above the table
19824 \end_layout
19825
19826 \begin_layout Standard
19827 Having the caption above the table is unfortunately not supported in LaTeX's
19828  standard classes.
19829  That means if you are using the document classes 
19830 \family sans
19831 article
19832 \family default
19833
19834 \family sans
19835 book
19836 \family default
19837
19838 \family sans
19839 letter
19840 \family default
19841 , or 
19842 \family sans
19843 report
19844 \family default
19845  there will be no space between the caption and the table.
19846  To insert the needed space, add the following option to the load command
19847  of the LaTeX-package 
19848 \series bold
19849 caption
19850 \series default
19851  in your document preamble
19852 \begin_inset Foot
19853 status collapsed
19854
19855 \begin_layout Standard
19856 See section\InsetSpace ~
19857
19858 \begin_inset LatexCommand ref
19859 reference "sec:Caption-Formatting"
19860
19861 \end_inset
19862
19863  for more information of the package 
19864 \series bold
19865 caption
19866 \series default
19867 .
19868 \end_layout
19869
19870 \end_inset
19871
19872 :
19873 \end_layout
19874
19875 \begin_layout Standard
19876
19877 \series bold
19878 tableposition=top
19879 \end_layout
19880
19881 \begin_layout Standard
19882 If you are using a 
19883 \series bold
19884 koma-script
19885 \series default
19886
19887 \begin_inset LatexCommand index
19888 name "LaTeX-packages ! koma-script"
19889
19890 \end_inset
19891
19892  document class (
19893 \family sans
19894 article (koma-script)
19895 \family default
19896
19897 \family sans
19898 book (koma-script)
19899 \family default
19900
19901 \family sans
19902 letter (koma-script)
19903 \family default
19904 , or 
19905 \family sans
19906 report (koma-script)
19907 \family default
19908 \InsetSpace \thinspace{}
19909 ), you can alternatively to the 
19910 \series bold
19911 caption
19912 \series default
19913  package set the document class option 
19914 \series bold
19915 tablecaptionabove
19916 \series default
19917 , or you can use the environment 
19918 \family sans
19919 caption\InsetSpace ~
19920 above
19921 \family default
19922  instead of the 
19923 \family sans
19924 caption
19925 \family default
19926  environment.
19927 \end_layout
19928
19929 \begin_layout Standard
19930 \begin_inset VSpace bigskip
19931 \end_inset
19932
19933 It is also possible to set the caption beside a figure or table.
19934  To get this the LaTeX-package 
19935 \series bold
19936 sidecap
19937 \series default
19938
19939 \begin_inset LatexCommand index
19940 name "LaTeX-packages ! sidecap"
19941
19942 \end_inset
19943
19944  has to be loaded in the document preamble with the line
19945 \end_layout
19946
19947 \begin_layout Standard
19948
19949 \series bold
19950
19951 \backslash
19952 usepackage[option]{sidecap}
19953 \end_layout
19954
19955 \begin_layout Standard
19956 If you set no option, the caption is placed on the side of the outer page
19957  margin -- to the right on odd pages, to the left on even pages.
19958  You can change the placement to inner margin with the option 
19959 \series bold
19960 innercaption
19961 \series default
19962 .
19963  To force the placement always to the right or left, use the option 
19964 \series bold
19965 rightcaption
19966 \series default
19967  or 
19968 \series bold
19969 leftcaption
19970 \series default
19971 , respectively.
19972 \end_layout
19973
19974 \begin_layout Standard
19975 To place in LyX the caption of a float on the side, it is necessary to add
19976  these commands to the document preamble:
19977 \end_layout
19978
19979 \begin_layout Standard
19980
19981 \lyxline
19982
19983 \end_layout
19984
19985 \begin_layout Standard
19986
19987 \series bold
19988
19989 \backslash
19990 newcommand{
19991 \backslash
19992 TabBesBeg}{%
19993 \newline
19994
19995 \begin_inset ERT
19996 status collapsed
19997
19998 \begin_layout Standard
19999
20000
20001 \backslash
20002 hphantom{ }
20003 \end_layout
20004
20005 \end_inset
20006
20007
20008 \backslash
20009 let
20010 \backslash
20011 MyTable
20012 \backslash
20013 table
20014 \newline
20015
20016 \begin_inset ERT
20017 status collapsed
20018
20019 \begin_layout Standard
20020
20021
20022 \backslash
20023 hphantom{ }
20024 \end_layout
20025
20026 \end_inset
20027
20028
20029 \backslash
20030 let
20031 \backslash
20032 MyEndtable
20033 \backslash
20034 endtable
20035 \newline
20036
20037 \begin_inset ERT
20038 status collapsed
20039
20040 \begin_layout Standard
20041
20042
20043 \backslash
20044 hphantom{ }
20045 \end_layout
20046
20047 \end_inset
20048
20049
20050 \backslash
20051 renewenvironment{table}{
20052 \backslash
20053 begin{SCtable}}{
20054 \backslash
20055 end{SCtable}}}
20056 \end_layout
20057
20058 \begin_layout Standard
20059
20060 \series bold
20061
20062 \backslash
20063 newcommand{
20064 \backslash
20065 TabBesEnd}{%
20066 \newline
20067
20068 \begin_inset ERT
20069 status collapsed
20070
20071 \begin_layout Standard
20072
20073
20074 \backslash
20075 hphantom{ }
20076 \end_layout
20077
20078 \end_inset
20079
20080
20081 \backslash
20082 let
20083 \backslash
20084 table
20085 \backslash
20086 MyTable
20087 \newline
20088
20089 \begin_inset ERT
20090 status collapsed
20091
20092 \begin_layout Standard
20093
20094
20095 \backslash
20096 hphantom{ }
20097 \end_layout
20098
20099 \end_inset
20100
20101
20102 \backslash
20103 let
20104 \backslash
20105 endtable
20106 \backslash
20107 MyEndtable
20108 \end_layout
20109
20110 \begin_layout Standard
20111
20112 \series bold
20113
20114 \backslash
20115 newcommand{
20116 \backslash
20117 FigBesBeg}{%
20118 \newline
20119
20120 \begin_inset ERT
20121 status collapsed
20122
20123 \begin_layout Standard
20124
20125
20126 \backslash
20127 hphantom{ }
20128 \end_layout
20129
20130 \end_inset
20131
20132
20133 \backslash
20134 let
20135 \backslash
20136 MyFigure
20137 \backslash
20138 f\SpecialChar \textcompwordmark{}
20139 igure
20140 \newline
20141
20142 \begin_inset ERT
20143 status collapsed
20144
20145 \begin_layout Standard
20146
20147
20148 \backslash
20149 hphantom{ }
20150 \end_layout
20151
20152 \end_inset
20153
20154
20155 \backslash
20156 let
20157 \backslash
20158 MyEndf\SpecialChar \textcompwordmark{}
20159 igure
20160 \backslash
20161 endf\SpecialChar \textcompwordmark{}
20162 igure
20163 \newline
20164
20165 \begin_inset ERT
20166 status collapsed
20167
20168 \begin_layout Standard
20169
20170
20171 \backslash
20172 hphantom{ }
20173 \end_layout
20174
20175 \end_inset
20176
20177
20178 \backslash
20179 renewenvironment{f\SpecialChar \textcompwordmark{}
20180 igure}{
20181 \backslash
20182 begin{SCf\SpecialChar \textcompwordmark{}
20183 igure}}{
20184 \backslash
20185 end{SCf\SpecialChar \textcompwordmark{}
20186 igure}}}
20187 \end_layout
20188
20189 \begin_layout Standard
20190
20191 \series bold
20192
20193 \backslash
20194 newcommand{
20195 \backslash
20196 FigBesEnd}{%
20197 \newline
20198
20199 \begin_inset ERT
20200 status collapsed
20201
20202 \begin_layout Standard
20203
20204
20205 \backslash
20206 hphantom{ }
20207 \end_layout
20208
20209 \end_inset
20210
20211
20212 \backslash
20213 let
20214 \backslash
20215 f\SpecialChar \textcompwordmark{}
20216 igure
20217 \backslash
20218 MyFigure
20219 \newline
20220
20221 \begin_inset ERT
20222 status collapsed
20223
20224 \begin_layout Standard
20225
20226
20227 \backslash
20228 hphantom{ }
20229 \end_layout
20230
20231 \end_inset
20232
20233
20234 \backslash
20235 let
20236 \backslash
20237 endf\SpecialChar \textcompwordmark{}
20238 igure
20239 \backslash
20240 MyEndf\SpecialChar \textcompwordmark{}
20241 igure}
20242 \end_layout
20243
20244 \begin_layout Standard
20245
20246 \lyxline
20247
20248 \end_layout
20249
20250 \begin_layout Standard
20251 The commands allow you to redefine the floats so that the caption is set
20252  on the side.
20253  For figure floats use the command
20254 \end_layout
20255
20256 \begin_layout Standard
20257
20258 \series bold
20259
20260 \backslash
20261 FigBesBeg
20262 \end_layout
20263
20264 \begin_layout Standard
20265 in ERT before the float.
20266  Behind the float insert the command
20267 \end_layout
20268
20269 \begin_layout Standard
20270
20271 \series bold
20272
20273 \backslash
20274 FigBesEnd
20275 \end_layout
20276
20277 \begin_layout Standard
20278 in ERT to get back to the original float definition.
20279 \end_layout
20280
20281 \begin_layout Standard
20282 For table floats use the corresponding commands
20283 \end_layout
20284
20285 \begin_layout Standard
20286
20287 \series bold
20288
20289 \backslash
20290 TabBesBeg
20291 \series default
20292  and 
20293 \series bold
20294
20295 \backslash
20296 TabBesEnd
20297 \end_layout
20298
20299 \begin_layout Standard
20300 Figure\InsetSpace ~
20301
20302 \begin_inset LatexCommand ref
20303 reference "fig:cap-beside-fig"
20304
20305 \end_inset
20306
20307  and Table\InsetSpace ~
20308
20309 \begin_inset LatexCommand ref
20310 reference "tab:cap-beside-tab"
20311
20312 \end_inset
20313
20314  are examples where the caption is set beside.
20315 \end_layout
20316
20317 \begin_layout Standard
20318 You can see in the examples that the caption text appears at the top of
20319  the floats for table floats and at the bottom for figure floats.
20320  To change this, you can use the command
20321 \end_layout
20322
20323 \begin_layout Standard
20324
20325 \series bold
20326
20327 \backslash
20328 sidecaptionvpos{float type}{placement}
20329 \end_layout
20330
20331 \begin_layout Standard
20332 in the document preamble or in ERT before the float.
20333  The float type is either 
20334 \family sans
20335 figure
20336 \family default
20337  or 
20338 \family sans
20339 table
20340 \family default
20341 , the placement can be 
20342 \begin_inset Quotes eld
20343 \end_inset
20344
20345
20346 \family sans
20347 t
20348 \family default
20349
20350 \begin_inset Quotes erd
20351 \end_inset
20352
20353  for top, 
20354 \begin_inset Quotes eld
20355 \end_inset
20356
20357
20358 \family sans
20359 c
20360 \family default
20361
20362 \begin_inset Quotes erd
20363 \end_inset
20364
20365  for center, or 
20366 \begin_inset Quotes eld
20367 \end_inset
20368
20369
20370 \family sans
20371 b
20372 \family default
20373
20374 \begin_inset Quotes erd
20375 \end_inset
20376
20377  for bottom.
20378  To have for example the caption of figure floats vertically centered, use
20379  the command
20380 \end_layout
20381
20382 \begin_layout Standard
20383
20384 \series bold
20385
20386 \backslash
20387 sidecaptionvpos{f\SpecialChar \textcompwordmark{}
20388 igure}{c}
20389 \end_layout
20390
20391 \begin_layout Standard
20392 This was used for Figure\InsetSpace ~
20393
20394 \begin_inset LatexCommand ref
20395 reference "fig:cap-beside-fig-2"
20396
20397 \end_inset
20398
20399 .
20400 \end_layout
20401
20402 \begin_layout Standard
20403 \begin_inset VSpace defskip
20404 \end_inset
20405
20406 For more information about the package 
20407 \series bold
20408 sidecap
20409 \series default
20410  we refer to its documentation 
20411 \begin_inset LatexCommand cite
20412 key "sidecap"
20413
20414 \end_inset
20415
20416 .
20417 \end_layout
20418
20419 \begin_layout Standard
20420 \begin_inset Note Greyedout
20421 status open
20422
20423 \begin_layout Standard
20424
20425 \series bold
20426 Note:
20427 \series default
20428  The LaTeX-package 
20429 \series bold
20430 hypcap
20431 \series default
20432
20433 \begin_inset LatexCommand index
20434 name "LaTeX-packages ! hypcap"
20435
20436 \end_inset
20437
20438 , described in section\InsetSpace ~
20439
20440 \begin_inset LatexCommand ref
20441 reference "sub:Reference-Position"
20442
20443 \end_inset
20444
20445 , has no effect on floats with the caption set beside.
20446 \end_layout
20447
20448 \end_inset
20449
20450
20451 \end_layout
20452
20453 \begin_layout Standard
20454 \begin_inset ERT
20455 status collapsed
20456
20457 \begin_layout Standard
20458
20459
20460 \backslash
20461 FigBesBeg 
20462 \end_layout
20463
20464 \end_inset
20465
20466
20467 \end_layout
20468
20469 \begin_layout Standard
20470 \begin_inset Float figure
20471 wide false
20472 sideways false
20473 status open
20474
20475 \begin_layout Standard
20476 \begin_inset Graphics
20477         filename clipart/escher-lsd.eps
20478         scale 75
20479
20480 \end_inset
20481
20482
20483 \end_layout
20484
20485 \begin_layout Standard
20486 \begin_inset Caption
20487
20488 \begin_layout Standard
20489 \begin_inset LatexCommand label
20490 name "fig:cap-beside-fig"
20491
20492 \end_inset
20493
20494 This is a caption beside a figure.
20495 \end_layout
20496
20497 \end_inset
20498
20499
20500 \end_layout
20501
20502 \end_inset
20503
20504
20505 \end_layout
20506
20507 \begin_layout Standard
20508 \begin_inset ERT
20509 status collapsed
20510
20511 \begin_layout Standard
20512
20513
20514 \backslash
20515 TabBesBeg 
20516 \end_layout
20517
20518 \end_inset
20519
20520
20521 \end_layout
20522
20523 \begin_layout Standard
20524 \begin_inset Float table
20525 wide false
20526 sideways false
20527 status open
20528
20529 \begin_layout Standard
20530 \begin_inset Caption
20531
20532 \begin_layout Standard
20533 \begin_inset LatexCommand label
20534 name "tab:cap-beside-tab"
20535
20536 \end_inset
20537
20538 This is a caption beside a table.
20539 \end_layout
20540
20541 \end_inset
20542
20543
20544 \end_layout
20545
20546 \begin_layout Standard
20547 \begin_inset Tabular
20548 <lyxtabular version="3" rows="4" columns="5">
20549 <features>
20550 <column alignment="center" valignment="top" leftline="true" width="0">
20551 <column alignment="center" valignment="top" leftline="true" width="0">
20552 <column alignment="center" valignment="top" leftline="true" width="0">
20553 <column alignment="center" valignment="top" leftline="true" width="0">
20554 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
20555 <row topline="true">
20556 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20557 \begin_inset Text
20558
20559 \begin_layout Standard
20560 a
20561 \end_layout
20562
20563 \end_inset
20564 </cell>
20565 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20566 \begin_inset Text
20567
20568 \begin_layout Standard
20569
20570 \end_layout
20571
20572 \end_inset
20573 </cell>
20574 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20575 \begin_inset Text
20576
20577 \begin_layout Standard
20578 b
20579 \end_layout
20580
20581 \end_inset
20582 </cell>
20583 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20584 \begin_inset Text
20585
20586 \begin_layout Standard
20587
20588 \end_layout
20589
20590 \end_inset
20591 </cell>
20592 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20593 \begin_inset Text
20594
20595 \begin_layout Standard
20596 c
20597 \end_layout
20598
20599 \end_inset
20600 </cell>
20601 </row>
20602 <row topline="true">
20603 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20604 \begin_inset Text
20605
20606 \begin_layout Standard
20607
20608 \end_layout
20609
20610 \end_inset
20611 </cell>
20612 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20613 \begin_inset Text
20614
20615 \begin_layout Standard
20616 d
20617 \end_layout
20618
20619 \end_inset
20620 </cell>
20621 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20622 \begin_inset Text
20623
20624 \begin_layout Standard
20625
20626 \end_layout
20627
20628 \end_inset
20629 </cell>
20630 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20631 \begin_inset Text
20632
20633 \begin_layout Standard
20634 e
20635 \end_layout
20636
20637 \end_inset
20638 </cell>
20639 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20640 \begin_inset Text
20641
20642 \begin_layout Standard
20643
20644 \end_layout
20645
20646 \end_inset
20647 </cell>
20648 </row>
20649 <row topline="true">
20650 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20651 \begin_inset Text
20652
20653 \begin_layout Standard
20654 f
20655 \end_layout
20656
20657 \end_inset
20658 </cell>
20659 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20660 \begin_inset Text
20661
20662 \begin_layout Standard
20663
20664 \end_layout
20665
20666 \end_inset
20667 </cell>
20668 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20669 \begin_inset Text
20670
20671 \begin_layout Standard
20672 g
20673 \end_layout
20674
20675 \end_inset
20676 </cell>
20677 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20678 \begin_inset Text
20679
20680 \begin_layout Standard
20681
20682 \end_layout
20683
20684 \end_inset
20685 </cell>
20686 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20687 \begin_inset Text
20688
20689 \begin_layout Standard
20690 h
20691 \end_layout
20692
20693 \end_inset
20694 </cell>
20695 </row>
20696 <row topline="true" bottomline="true">
20697 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20698 \begin_inset Text
20699
20700 \begin_layout Standard
20701
20702 \end_layout
20703
20704 \end_inset
20705 </cell>
20706 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20707 \begin_inset Text
20708
20709 \begin_layout Standard
20710 i
20711 \end_layout
20712
20713 \end_inset
20714 </cell>
20715 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20716 \begin_inset Text
20717
20718 \begin_layout Standard
20719
20720 \end_layout
20721
20722 \end_inset
20723 </cell>
20724 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20725 \begin_inset Text
20726
20727 \begin_layout Standard
20728 j
20729 \end_layout
20730
20731 \end_inset
20732 </cell>
20733 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20734 \begin_inset Text
20735
20736 \begin_layout Standard
20737
20738 \end_layout
20739
20740 \end_inset
20741 </cell>
20742 </row>
20743 </lyxtabular>
20744
20745 \end_inset
20746
20747
20748 \end_layout
20749
20750 \end_inset
20751
20752
20753 \end_layout
20754
20755 \begin_layout Standard
20756 \begin_inset ERT
20757 status collapsed
20758
20759 \begin_layout Standard
20760
20761
20762 \backslash
20763 TabBesEnd
20764 \end_layout
20765
20766 \end_inset
20767
20768
20769 \end_layout
20770
20771 \begin_layout Standard
20772 \begin_inset ERT
20773 status collapsed
20774
20775 \begin_layout Standard
20776
20777
20778 \backslash
20779 sidecaptionvpos{figure}{c}
20780 \end_layout
20781
20782 \end_inset
20783
20784
20785 \begin_inset Float figure
20786 wide false
20787 sideways false
20788 status open
20789
20790 \begin_layout Standard
20791 \begin_inset Graphics
20792         filename clipart/escher-lsd.eps
20793         scale 75
20794
20795 \end_inset
20796
20797
20798 \end_layout
20799
20800 \begin_layout Standard
20801 \begin_inset Caption
20802
20803 \begin_layout Standard
20804 \begin_inset LatexCommand label
20805 name "fig:cap-beside-fig-2"
20806
20807 \end_inset
20808
20809 This is a vertically centered caption beside a figure.
20810 \end_layout
20811
20812 \end_inset
20813
20814
20815 \end_layout
20816
20817 \end_inset
20818
20819
20820 \end_layout
20821
20822 \begin_layout Standard
20823 \begin_inset ERT
20824 status collapsed
20825
20826 \begin_layout Standard
20827
20828
20829 \backslash
20830 FigBesEnd
20831 \end_layout
20832
20833 \end_inset
20834
20835
20836 \end_layout
20837
20838 \begin_layout Section
20839 Listings of Floats
20840 \begin_inset LatexCommand label
20841 name "sec:Listings-of-Floats"
20842
20843 \end_inset
20844
20845
20846 \begin_inset LatexCommand index
20847 name "Floats ! Listings"
20848
20849 \end_inset
20850
20851
20852 \end_layout
20853
20854 \begin_layout Standard
20855 Similar to the the table of contents where the sections of the document
20856  are listed, there are listings for all float types, like the figures of
20857  the documents.
20858  You can insert them via the 
20859 \family sans
20860 Insert\SpecialChar \menuseparator
20861 List\InsetSpace ~
20862 /\InsetSpace ~
20863 TOC
20864 \family default
20865  sub menus.
20866 \end_layout
20867
20868 \begin_layout Standard
20869 The list entries are the float captions or its short title, the float number,
20870  and the page number where they appear in the document.
20871 \end_layout
20872
20873 \begin_layout Standard
20874 You can find the list of figures and tables at the end of this document.
20875 \end_layout
20876
20877 \begin_layout Chapter
20878 Notes
20879 \end_layout
20880
20881 \begin_layout Section
20882 \begin_inset ERT
20883 status collapsed
20884
20885 \begin_layout Standard
20886
20887
20888 \backslash
20889 texorpdfstring{
20890 \end_layout
20891
20892 \end_inset
20893
20894 LyX
20895 \begin_inset ERT
20896 status collapsed
20897
20898 \begin_layout Standard
20899
20900 }{LyX}
20901 \end_layout
20902
20903 \end_inset
20904
20905  Notes
20906 \begin_inset LatexCommand label
20907 name "sec:LyX-Notes"
20908
20909 \end_inset
20910
20911
20912 \begin_inset LatexCommand index
20913 name "Notes ! LyX Notes"
20914
20915 \end_inset
20916
20917
20918 \begin_inset Note Note
20919 status collapsed
20920
20921 \begin_layout Standard
20922 The command 
20923 \backslash
20924 texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures
20925  are displayed wrongly in PDF-bookmarks.
20926  For more information about this, have a look at 
20927 \begin_inset LatexCommand cite
20928 key "hyperref"
20929
20930 \end_inset
20931
20932 .
20933 \end_layout
20934
20935 \end_inset
20936
20937
20938 \end_layout
20939
20940 \begin_layout Standard
20941 Notes are inserted with the toolbar button 
20942 \begin_inset Graphics
20943         filename ../images/note-insert.xpm
20944         scale 85
20945
20946 \end_inset
20947
20948  or the menu 
20949 \family sans
20950 Insert\SpecialChar \menuseparator
20951 Note
20952 \family default
20953 .
20954  There are three types of notes:
20955 \end_layout
20956
20957 \begin_layout Description
20958 LyX\InsetSpace ~
20959 Note This note type is for internal notes that won't appear in the output.
20960  Its note-box looks like this:
20961 \newline
20962
20963 \newline
20964
20965 \begin_inset Graphics
20966         filename clipart/LyXNoteImageQt4.png
20967         display none
20968         scale 85
20969
20970 \end_inset
20971
20972  
20973 \begin_inset Note Note
20974 status open
20975
20976 \begin_layout Standard
20977 This is text in a note box that doesn't appear in the output.
20978 \end_layout
20979
20980 \end_inset
20981
20982
20983 \end_layout
20984
20985 \begin_layout Description
20986 Comment This note also doesn't appear in the output but it appears as LaTeX-comm
20987 ent, when you export the document to LaTeX via the menu 
20988 \family sans
20989 File\SpecialChar \menuseparator
20990 Export\SpecialChar \menuseparator
20991 LaTeX (pdflatex) / LaTeX (plain)
20992 \family default
20993 .
20994  Its note-box looks like this:
20995 \newline
20996
20997 \newline
20998
20999 \begin_inset Graphics
21000         filename clipart/CommentNoteImageQt4.png
21001         display none
21002         scale 85
21003
21004 \end_inset
21005
21006  
21007 \begin_inset Note Comment
21008 status open
21009
21010 \begin_layout Standard
21011 This is text in a note box that only appears as comment in LaTeX-files.
21012 \end_layout
21013
21014 \end_inset
21015
21016
21017 \end_layout
21018
21019 \begin_layout Description
21020 Greyed\InsetSpace ~
21021 Out This note will appear in the output as grey text.
21022  Its note-box looks like this:
21023 \newline
21024
21025 \newline
21026
21027 \begin_inset Graphics
21028         filename clipart/GreyedOutNoteImageQt4.png
21029         display none
21030         scale 85
21031
21032 \end_inset
21033
21034
21035 \newline
21036
21037 \begin_inset ERT
21038 status collapsed
21039
21040 \begin_layout Standard
21041
21042
21043 \backslash
21044 renewenvironment{lyxgreyedout}
21045 \end_layout
21046
21047 \begin_layout Standard
21048
21049 {
21050 \backslash
21051 textcolor[gray]{0.8}
21052 \backslash
21053 bgroup}{
21054 \backslash
21055 egroup}
21056 \end_layout
21057
21058 \end_inset
21059
21060
21061 \begin_inset Note Greyedout
21062 status open
21063
21064 \begin_layout Standard
21065 This is text
21066 \begin_inset Foot
21067 status open
21068
21069 \begin_layout Standard
21070 This is an example footnote within a greyed out note.
21071 \end_layout
21072
21073 \end_inset
21074
21075  of a comment that appears in the output as grey text.
21076 \end_layout
21077
21078 \end_inset
21079
21080
21081 \begin_inset ERT
21082 status collapsed
21083
21084 \begin_layout Standard
21085
21086
21087 \backslash
21088 renewenvironment{lyxgreyedout}
21089 \end_layout
21090
21091 \begin_layout Standard
21092
21093 {
21094 \backslash
21095 textcolor{blue}
21096 \backslash
21097 bgroup}{
21098 \backslash
21099 egroup}
21100 \end_layout
21101
21102 \end_inset
21103
21104
21105 \begin_inset Note Note
21106 status collapsed
21107
21108 \begin_layout Standard
21109 The greyed out note is here redefined to show it with the original LyX definitio
21110 n because greyed out notes are redefined in the preamble of this document,
21111  as described below, to have blue text.
21112 \end_layout
21113
21114 \end_inset
21115
21116
21117 \newline
21118
21119 \newline
21120 As you can see in the example, the first line of greyed out notes is a bit
21121  indented and greyed out notes can have footnotes.
21122 \end_layout
21123
21124 \begin_layout Description
21125 Framed This note will appear in the output as framed text.
21126  Its note-box looks like this:
21127 \newline
21128
21129 \newline
21130
21131 \begin_inset Graphics
21132         filename clipart/FramedNoteImageQt4.png
21133         display none
21134         scale 85
21135
21136 \end_inset
21137
21138  
21139 \begin_inset Note Framed
21140 status open
21141
21142 \begin_layout Standard
21143 This is text in a note box that appears framed in the output.
21144 \end_layout
21145
21146 \end_inset
21147
21148  In contrary to framed boxes
21149 \begin_inset Foot
21150 status collapsed
21151
21152 \begin_layout Standard
21153 Framed boxes are described in section\InsetSpace ~
21154
21155 \begin_inset LatexCommand ref
21156 reference "sec:Framed-Boxes"
21157
21158 \end_inset
21159
21160 .
21161 \end_layout
21162
21163 \end_inset
21164
21165  the frame uses always the whole text width and the note is set into its
21166  own paragraph.
21167 \end_layout
21168
21169 \begin_layout Description
21170 Shaded This note will appear in the output with red background color.
21171  Its note box looks like this:
21172 \newline
21173
21174 \newline
21175
21176 \begin_inset Graphics
21177         filename clipart/ShadedNoteImageQt4.png
21178         display none
21179         scale 85
21180
21181 \end_inset
21182
21183
21184 \begin_inset Note Shaded
21185 status open
21186
21187 \begin_layout Standard
21188 This text in a note box appears in the output with red background.
21189 \end_layout
21190
21191 \end_inset
21192
21193 In contrary to colored boxes
21194 \begin_inset Foot
21195 status collapsed
21196
21197 \begin_layout Standard
21198 Colored boxes are described in section\InsetSpace ~
21199
21200 \begin_inset LatexCommand ref
21201 reference "sec:Colored-Boxes"
21202
21203 \end_inset
21204
21205 .
21206 \end_layout
21207
21208 \end_inset
21209
21210  the note uses always the whole text width and the note is set into its
21211  own paragraph.
21212 \end_layout
21213
21214 \begin_layout Standard
21215 \begin_inset VSpace bigskip
21216 \end_inset
21217
21218 When you use the toolbar button to insert notes, a 
21219 \family sans
21220 LyX\InsetSpace ~
21221 Note
21222 \family default
21223  is inserted.
21224  You can switch between the three note types by right-clicking on the note-box.
21225  
21226 \family roman
21227 \series medium
21228 \bar no
21229 If you want to turn existing text into a note, mark it and click on the
21230  note
21231 \family default
21232 \series default
21233 \bar default
21234  toolbar 
21235 \family roman
21236 \series medium
21237 \bar no
21238 button
21239 \family default
21240 \series default
21241 \bar default
21242 .
21243 \end_layout
21244
21245 \begin_layout Standard
21246 \begin_inset VSpace bigskip
21247 \end_inset
21248
21249 You can change the text color of the greyed out notes in the preamble with
21250  the following command:
21251 \end_layout
21252
21253 \begin_layout Standard
21254
21255 \series bold
21256
21257 \backslash
21258 renewenvironment{lyxgreyedout}
21259 \newline
21260
21261 \begin_inset ERT
21262 status collapsed
21263
21264 \begin_layout Standard
21265
21266
21267 \backslash
21268 hphantom{ }
21269 \end_layout
21270
21271 \end_inset
21272
21273 {
21274 \backslash
21275 textcolor{color}
21276 \backslash
21277 bgroup}{
21278 \backslash
21279 egroup}
21280 \end_layout
21281
21282 \begin_layout Standard
21283 The available colors and the method to define own colors is explained in
21284  section\InsetSpace ~
21285
21286 \begin_inset LatexCommand ref
21287 reference "sec:Colored-Tables"
21288
21289 \end_inset
21290
21291 .
21292 \end_layout
21293
21294 \begin_layout Standard
21295 Notes that appear in blue in this document are set using greyed out notes
21296  with blue text.
21297 \end_layout
21298
21299 \begin_layout Standard
21300 \begin_inset VSpace bigskip
21301 \end_inset
21302
21303
21304 \end_layout
21305
21306 \begin_layout Standard
21307 The text style of 
21308 \family sans
21309 Framed
21310 \family default
21311  and 
21312 \family sans
21313 Shaded
21314 \family default
21315  notes can be set in the 
21316 \family sans
21317 Text Style
21318 \family default
21319  dialog.
21320 \end_layout
21321
21322 \begin_layout Standard
21323 The default frame width for 
21324 \family sans
21325 Framed
21326 \family default
21327  notes is 0.4\InsetSpace \thinspace{}
21328 pt; it can be changed by changing the size 
21329 \series bold
21330
21331 \backslash
21332 FrameRule
21333 \series default
21334 .
21335  The default space between the note content and the frame is 9\InsetSpace \thinspace{}
21336 pt; it can
21337  be changed by changing the size 
21338 \series bold
21339
21340 \backslash
21341 FrameSep
21342 \series default
21343 .
21344  For example the frame appearance of the following 
21345 \family sans
21346 Framed
21347 \family default
21348  note is set with the ERT commands
21349 \end_layout
21350
21351 \begin_layout Standard
21352
21353 \series bold
21354
21355 \backslash
21356 FrameRule 5pt 
21357 \backslash
21358 FrameSep 0.5cm
21359 \end_layout
21360
21361 \begin_layout Standard
21362 \begin_inset ERT
21363 status collapsed
21364
21365 \begin_layout Standard
21366
21367
21368 \backslash
21369 FrameRule 5pt 
21370 \backslash
21371 FrameSep 0.5cm
21372 \end_layout
21373
21374 \end_inset
21375
21376
21377 \begin_inset Note Framed
21378 status open
21379
21380 \begin_layout Standard
21381 This is text in a 
21382 \family sans
21383 Framed
21384 \family default
21385  note.
21386 \end_layout
21387
21388 \end_inset
21389
21390
21391 \begin_inset ERT
21392 status collapsed
21393
21394 \begin_layout Standard
21395
21396
21397 \backslash
21398 FrameRule 0.4pt 
21399 \backslash
21400 FrameSep 9pt
21401 \end_layout
21402
21403 \end_inset
21404
21405
21406 \end_layout
21407
21408 \begin_layout Standard
21409 \begin_inset VSpace bigskip
21410 \end_inset
21411
21412
21413 \end_layout
21414
21415 \begin_layout Standard
21416 For 
21417 \family sans
21418 Shaded
21419 \family default
21420  notes the default space between the note content and the note border is
21421  3\InsetSpace \thinspace{}
21422 pt; it can be changed by changing the size 
21423 \series bold
21424
21425 \backslash
21426 fboxsep
21427 \series default
21428 .
21429 \newline
21430 The default background color red can be changed with the command 
21431 \series bold
21432
21433 \backslash
21434 def\SpecialChar \textcompwordmark{}
21435 inecolor{shadebox}
21436 \series default
21437 .
21438  The scheme of the 
21439 \series bold
21440
21441 \backslash
21442 def\SpecialChar \textcompwordmark{}
21443 inecolor
21444 \series default
21445  command is explained in section\InsetSpace ~
21446
21447 \begin_inset LatexCommand ref
21448 reference "sec:Colored-Tables"
21449
21450 \end_inset
21451
21452
21453 \begin_inset Foot
21454 status collapsed
21455
21456 \begin_layout Standard
21457 Note that 
21458 \series bold
21459
21460 \backslash
21461 def
21462 \series default
21463 \SpecialChar \textcompwordmark{}
21464
21465 \series bold
21466 inecolor
21467 \series default
21468  requires the LaTeX-package 
21469 \series bold
21470 color
21471 \series default
21472  in the preamble, see section\InsetSpace ~
21473
21474 \begin_inset LatexCommand ref
21475 reference "sec:Colored-Boxes"
21476
21477 \end_inset
21478
21479 .
21480 \end_layout
21481
21482 \end_inset
21483
21484 .
21485 \end_layout
21486
21487 \begin_layout Standard
21488 For example the appearance of the following 
21489 \family sans
21490 Shaded
21491 \family default
21492  note is set with the ERT commands
21493 \end_layout
21494
21495 \begin_layout Standard
21496
21497 \series bold
21498
21499 \backslash
21500 fboxsep 0.5cm
21501 \series default
21502
21503 \newline
21504
21505 \series bold
21506
21507 \backslash
21508 def\SpecialChar \textcompwordmark{}
21509 inecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
21510 \end_layout
21511
21512 \begin_layout Standard
21513 \begin_inset ERT
21514 status collapsed
21515
21516 \begin_layout Standard
21517
21518
21519 \backslash
21520 fboxsep 0.5cm
21521 \end_layout
21522
21523 \end_inset
21524
21525
21526 \begin_inset ERT
21527 status collapsed
21528
21529 \begin_layout Standard
21530
21531
21532 \backslash
21533 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
21534 \end_layout
21535
21536 \end_inset
21537
21538
21539 \begin_inset Note Shaded
21540 status open
21541
21542 \begin_layout Standard
21543
21544 \color yellow
21545 This is yellow text in a
21546 \color none
21547  
21548 \family sans
21549 \color yellow
21550 Shaded
21551 \family default
21552 \color none
21553  
21554 \color yellow
21555 note with darkgreen background.
21556 \end_layout
21557
21558 \end_inset
21559
21560
21561 \begin_inset ERT
21562 status collapsed
21563
21564 \begin_layout Standard
21565
21566
21567 \backslash
21568 fboxsep 3pt
21569 \end_layout
21570
21571 \end_inset
21572
21573
21574 \begin_inset ERT
21575 status collapsed
21576
21577 \begin_layout Standard
21578
21579
21580 \backslash
21581 definecolor{shadecolor}{rgb}{1,0,0}
21582 \end_layout
21583
21584 \end_inset
21585
21586
21587 \end_layout
21588
21589 \begin_layout Section
21590 Footnotes
21591 \begin_inset LatexCommand label
21592 name "sec:Footnotes"
21593
21594 \end_inset
21595
21596
21597 \begin_inset LatexCommand index
21598 name "Notes ! Footnotes"
21599
21600 \end_inset
21601
21602
21603 \begin_inset LatexCommand index
21604 name "Footnotes"
21605
21606 \end_inset
21607
21608
21609 \end_layout
21610
21611 \begin_layout Standard
21612 Footnotes can be inserted using the toolbar button 
21613 \begin_inset Graphics
21614         filename ../images/footnote-insert.xpm
21615         scale 85
21616
21617 \end_inset
21618
21619  or the menu 
21620 \family sans
21621 Insert\SpecialChar \menuseparator
21622 Footnote
21623 \family default
21624 .
21625  
21626 \family roman
21627 \series medium
21628 \bar no
21629 You'll see
21630 \family default
21631 \series default
21632 \bar default
21633  then the following footnote-box: 
21634 \begin_inset Graphics
21635         filename clipart/footnoteQt4.png
21636         scale 80
21637
21638 \end_inset
21639
21640  
21641 \family roman
21642 \series medium
21643 \bar no
21644 where you can enter the footnote text.
21645  If you want to turn existing text into a footnote, mark it and click on
21646  the footnote
21647 \family default
21648 \series default
21649 \bar default
21650  toolbar 
21651 \family roman
21652 \series medium
21653 \bar no
21654 button
21655 \family default
21656 \series default
21657 \bar default
21658 .
21659 \end_layout
21660
21661 \begin_layout Standard
21662 Here is an example footnote:
21663 \family roman
21664 \series medium
21665 \bar no
21666
21667 \begin_inset Foot
21668 status open
21669
21670 \begin_layout Standard
21671 \begin_inset LatexCommand label
21672 name "foot:This-is-an"
21673
21674 \end_inset
21675
21676 This is an example footnote.
21677 \end_layout
21678
21679 \end_inset
21680
21681
21682 \family default
21683 \series default
21684 \bar default
21685
21686 \begin_inset ERT
21687 status collapsed
21688
21689 \begin_layout Standard
21690
21691
21692 \backslash
21693 newcounter{MyRepeatFoot}
21694 \end_layout
21695
21696 \begin_layout Standard
21697
21698
21699 \backslash
21700 setcounter{MyRepeatFoot}{
21701 \backslash
21702 thefootnote}
21703 \end_layout
21704
21705 \end_inset
21706
21707
21708 \end_layout
21709
21710 \begin_layout Standard
21711 The footnote will appear in the output as a superscript number at the text
21712  position where the footnote box is placed.
21713  The footnote text is placed at the bottom of the current page.
21714  The footnote number is calculated by LaTeX, the numbers are consecutive.
21715  It depends on your document-class, if the footnote number is reset for
21716  every chapter.
21717 \end_layout
21718
21719 \begin_layout Standard
21720 Footnotes can be referenced like floats: Insert a label into the footnote
21721  and cross-reference this label in the text as described in section\InsetSpace ~
21722
21723 \begin_inset LatexCommand ref
21724 reference "sec:Referencing-Floats"
21725
21726 \end_inset
21727
21728 .
21729 \newline
21730 This is a cross-reference of Footnote\InsetSpace ~
21731
21732 \begin_inset LatexCommand ref
21733 reference "foot:This-is-an"
21734
21735 \end_inset
21736
21737 .
21738 \newline
21739
21740 \begin_inset Note Greyedout
21741 status open
21742
21743 \begin_layout Standard
21744
21745 \series bold
21746 Note:
21747 \series default
21748  LyX doesn't provide a prefix for labels in footnotes, so you have to insert
21749  e.\InsetSpace \thinspace{}
21750 g.\InsetSpace ~
21751 the prefix 
21752 \family sans
21753
21754 \begin_inset Quotes eld
21755 \end_inset
21756
21757 foot:
21758 \family default
21759
21760 \begin_inset Quotes erd
21761 \end_inset
21762
21763  manually when you want to use the reference style 
21764 \family sans
21765 Formatted\InsetSpace ~
21766 reference
21767 \family default
21768 .
21769 \end_layout
21770
21771 \end_inset
21772
21773
21774 \end_layout
21775
21776 \begin_layout Standard
21777 \begin_inset VSpace defskip
21778 \end_inset
21779
21780 To use footnotes within tables, you have to use minipages, see section\InsetSpace ~
21781
21782 \begin_inset LatexCommand ref
21783 reference "sec:Minipages"
21784
21785 \end_inset
21786
21787 .
21788  Footnotes within longtables are described in section\InsetSpace ~
21789
21790 \begin_inset LatexCommand ref
21791 reference "sub:Footnotes-in-Longtables"
21792
21793 \end_inset
21794
21795 .
21796 \end_layout
21797
21798 \begin_layout Standard
21799 \begin_inset VSpace defskip
21800 \end_inset
21801
21802 To create only a mark for a footnote, use the command 
21803 \series bold
21804
21805 \backslash
21806 footnotemark[number]
21807 \series default
21808  in ERT.
21809  This is used when you have the same annotation several times in a text
21810  but doesn't want to print the footnote text every time.
21811 \newline
21812 As you don't know
21813  the number of the repeating footnote while you are writing the text, you
21814  have to store its number.
21815  For the following footnote mark example, these commands were inserted in
21816  ERT behind Footnote\InsetSpace ~
21817
21818 \begin_inset LatexCommand ref
21819 reference "foot:This-is-an"
21820
21821 \end_inset
21822
21823  to store the footnote number:
21824 \end_layout
21825
21826 \begin_layout Standard
21827
21828 \series bold
21829
21830 \backslash
21831 newcounter{MyRepeatFoot}
21832 \newline
21833
21834 \backslash
21835 setcounter{MyRepeatFoot}{
21836 \backslash
21837 thefootnote}
21838 \end_layout
21839
21840 \begin_layout Standard
21841 The footnote mark was then created with this command:
21842 \end_layout
21843
21844 \begin_layout Standard
21845
21846 \series bold
21847
21848 \backslash
21849 footnotemark[
21850 \backslash
21851 theMyRepeatFoot]
21852 \end_layout
21853
21854 \begin_layout Standard
21855 Here is an example footnote mark:
21856 \family roman
21857 \series medium
21858 \bar no
21859
21860 \begin_inset ERT
21861 status collapsed
21862
21863 \begin_layout Standard
21864
21865
21866 \backslash
21867 footnotemark[
21868 \backslash
21869 theMyRepeatFoot]
21870 \end_layout
21871
21872 \end_inset
21873
21874
21875 \end_layout
21876
21877 \begin_layout Subsection
21878 Footnote Numbering
21879 \begin_inset LatexCommand label
21880 name "sub:Footnote-Numbering"
21881
21882 \end_inset
21883
21884
21885 \begin_inset LatexCommand index
21886 name "Footnotes ! Numbering"
21887
21888 \end_inset
21889
21890
21891 \end_layout
21892
21893 \begin_layout Standard
21894 If you want to have footnotes numbered in the scheme 
21895 \begin_inset Quotes eld
21896 \end_inset
21897
21898 chapter.footnote
21899 \begin_inset Quotes erd
21900 \end_inset
21901
21902 , add the following command to your document preamble:
21903 \end_layout
21904
21905 \begin_layout Standard
21906
21907 \series bold
21908
21909 \backslash
21910 numberwithin{footnote}{chapter}
21911 \end_layout
21912
21913 \begin_layout Standard
21914 To be able to use the command 
21915 \series bold
21916
21917 \backslash
21918 numberwithin
21919 \series default
21920 , set in the tab 
21921 \family sans
21922 Math\InsetSpace ~
21923 Options
21924 \family default
21925  in the document settings the option 
21926 \family sans
21927 Use\InsetSpace ~
21928 AMS\InsetSpace ~
21929 math\InsetSpace ~
21930 package
21931 \family default
21932 .
21933 \end_layout
21934
21935 \begin_layout Standard
21936 \begin_inset ERT
21937 status collapsed
21938
21939 \begin_layout Standard
21940
21941
21942 \backslash
21943 numberwithin{footnote}{chapter}
21944 \end_layout
21945
21946 \end_inset
21947
21948 This is another example footnote:
21949 \series bold
21950
21951 \begin_inset Foot
21952 status open
21953
21954 \begin_layout Standard
21955 This is a footnote numbered in the scheme 
21956 \begin_inset Quotes eld
21957 \end_inset
21958
21959 chapter.footnote
21960 \begin_inset Quotes erd
21961 \end_inset
21962
21963 .
21964 \end_layout
21965
21966 \end_inset
21967
21968
21969 \series default
21970
21971 \begin_inset ERT
21972 status collapsed
21973
21974 \begin_layout Standard
21975
21976
21977 \backslash
21978 numberwithin{footnote}{part}
21979 \end_layout
21980
21981 \end_inset
21982
21983
21984 \end_layout
21985
21986 \begin_layout Standard
21987 \begin_inset VSpace bigskip
21988 \end_inset
21989
21990
21991 \end_layout
21992
21993 \begin_layout Standard
21994 To reset the footnote number back to 1 after each section
21995 \family roman
21996 , add this command to your document preamble:
21997 \end_layout
21998
21999 \begin_layout Standard
22000
22001 \series bold
22002
22003 \backslash
22004 @addtoreset{footnote}{section}
22005 \end_layout
22006
22007 \begin_layout Standard
22008 \begin_inset VSpace bigskip
22009 \end_inset
22010
22011 The following preamble command changes the footnote numbering style to small
22012  roman numerals:
22013 \end_layout
22014
22015 \begin_layout Standard
22016
22017 \series bold
22018
22019 \backslash
22020 renewcommand{
22021 \backslash
22022 thefootnote}{
22023 \backslash
22024 roman{footnote}}
22025 \end_layout
22026
22027 \begin_layout Standard
22028 \begin_inset ERT
22029 status collapsed
22030
22031 \begin_layout Standard
22032
22033
22034 \backslash
22035 renewcommand{
22036 \backslash
22037 thefootnote}{
22038 \backslash
22039 roman{footnote}}
22040 \end_layout
22041
22042 \end_inset
22043
22044  This is a footnote with roman numbering:
22045 \begin_inset Foot
22046 status open
22047
22048 \begin_layout Standard
22049 This is an example footnote with roman numbering.
22050 \end_layout
22051
22052 \end_inset
22053
22054
22055 \begin_inset ERT
22056 status collapsed
22057
22058 \begin_layout Standard
22059
22060
22061 \backslash
22062 renewcommand{
22063 \backslash
22064 thefootnote}{
22065 \backslash
22066 arabic{footnote}}
22067 \end_layout
22068
22069 \end_inset
22070
22071
22072 \end_layout
22073
22074 \begin_layout Standard
22075 To change the numbering style to capital roman numerals replace in the command
22076  above 
22077 \series bold
22078
22079 \backslash
22080 roman
22081 \series default
22082  by 
22083 \series bold
22084
22085 \backslash
22086 Roman
22087 \series default
22088 .
22089  To 
22090 \begin_inset Quotes eld
22091 \end_inset
22092
22093 number
22094 \begin_inset Quotes erd
22095 \end_inset
22096
22097  footnotes with capital or small Latin letters use 
22098 \series bold
22099
22100 \backslash
22101 Alph
22102 \series default
22103  or 
22104 \series bold
22105
22106 \backslash
22107 alph
22108 \series default
22109 , respectively.
22110  To 
22111 \begin_inset Quotes eld
22112 \end_inset
22113
22114 number
22115 \begin_inset Quotes erd
22116 \end_inset
22117
22118  footnotes with symbols use 
22119 \series bold
22120
22121 \backslash
22122 fnsymbol
22123 \series default
22124 .
22125 \end_layout
22126
22127 \begin_layout Standard
22128 \begin_inset Note Greyedout
22129 status open
22130
22131 \begin_layout Standard
22132
22133 \series bold
22134 Note:
22135 \series default
22136  You can only number 26 footnotes with Latin letters, because this numbering
22137  is limited to single letters.
22138 \end_layout
22139
22140 \end_inset
22141
22142
22143 \newline
22144
22145 \begin_inset Note Greyedout
22146 status open
22147
22148 \begin_layout Standard
22149
22150 \series bold
22151 Note:
22152 \series default
22153  You can only number 9 footnotes with symbols.
22154 \end_layout
22155
22156 \end_inset
22157
22158
22159 \end_layout
22160
22161 \begin_layout Standard
22162 To return to the default numbering style when you changed to another one,
22163  use 
22164 \series bold
22165
22166 \backslash
22167 arabic
22168 \series default
22169  instead of 
22170 \series bold
22171
22172 \backslash
22173 roman
22174 \series default
22175  in the command above.
22176 \end_layout
22177
22178 \begin_layout Subsection
22179 Footnote Placement
22180 \begin_inset LatexCommand index
22181 name "Footnotes ! Placement"
22182
22183 \end_inset
22184
22185
22186 \end_layout
22187
22188 \begin_layout Standard
22189 If you have several footnotes in one page, they appear without vertical
22190  space between them at the bottom of the page.
22191  To make them better readable you can e.\InsetSpace \thinspace{}
22192 g.\InsetSpace ~
22193 add 1.5\InsetSpace \thinspace{}
22194 mm space with the following
22195  preamble command:
22196 \end_layout
22197
22198 \begin_layout Standard
22199
22200 \series bold
22201
22202 \backslash
22203 let
22204 \backslash
22205 myFoot
22206 \backslash
22207 footnote
22208 \newline
22209
22210 \backslash
22211 renewcommand{
22212 \backslash
22213 footnote}[1]{
22214 \backslash
22215 myFoot{#1
22216 \backslash
22217 vspace{1.5mm}}}
22218 \end_layout
22219
22220 \begin_layout Standard
22221 \begin_inset VSpace bigskip
22222 \end_inset
22223
22224 In a two-column document the footnotes appear at the bottom of every column,
22225  see Figure\InsetSpace ~
22226
22227 \begin_inset LatexCommand ref
22228 reference "fig:Standard-footnote-placement"
22229
22230 \end_inset
22231
22232 .
22233  If the footnotes should only appear at the bottom of the right column,
22234  as in Figure\InsetSpace ~
22235
22236 \begin_inset LatexCommand ref
22237 reference "fig:Footnote-placement-in"
22238
22239 \end_inset
22240
22241 , use the LaTeX-package 
22242 \series bold
22243 ftnright
22244 \series default
22245
22246 \begin_inset LatexCommand index
22247 name "LaTeX-packages ! ftnright"
22248
22249 \end_inset
22250
22251  with this command in the document preamble:
22252 \end_layout
22253
22254 \begin_layout Standard
22255
22256 \series bold
22257
22258 \backslash
22259 usepackage{ftnright}
22260 \end_layout
22261
22262 \begin_layout Standard
22263 \begin_inset Float figure
22264 placement !h
22265 wide false
22266 sideways false
22267 status open
22268
22269 \begin_layout Standard
22270 \begin_inset ERT
22271 status collapsed
22272
22273 \begin_layout Standard
22274
22275
22276 \backslash
22277 framebox{
22278 \end_layout
22279
22280 \end_inset
22281
22282
22283 \begin_inset Graphics
22284         filename clipart/without_fntright.pdf
22285         width 100col%
22286
22287 \end_inset
22288
22289
22290 \begin_inset ERT
22291 status collapsed
22292
22293 \begin_layout Standard
22294
22295 }
22296 \end_layout
22297
22298 \end_inset
22299
22300
22301 \end_layout
22302
22303 \begin_layout Standard
22304 \begin_inset Caption
22305
22306 \begin_layout Standard
22307 \begin_inset LatexCommand label
22308 name "fig:Standard-footnote-placement"
22309
22310 \end_inset
22311
22312 Standard footnote placement in two-column documents.
22313 \end_layout
22314
22315 \end_inset
22316
22317
22318 \end_layout
22319
22320 \end_inset
22321
22322
22323 \end_layout
22324
22325 \begin_layout Standard
22326 \begin_inset Float figure
22327 placement !h
22328 wide false
22329 sideways false
22330 status open
22331
22332 \begin_layout Standard
22333 \begin_inset ERT
22334 status collapsed
22335
22336 \begin_layout Standard
22337
22338
22339 \backslash
22340 framebox{
22341 \end_layout
22342
22343 \end_inset
22344
22345
22346 \begin_inset Graphics
22347         filename clipart/with_fntright.pdf
22348         width 100col%
22349
22350 \end_inset
22351
22352
22353 \begin_inset ERT
22354 status collapsed
22355
22356 \begin_layout Standard
22357
22358 }
22359 \end_layout
22360
22361 \end_inset
22362
22363
22364 \end_layout
22365
22366 \begin_layout Standard
22367 \begin_inset Caption
22368
22369 \begin_layout Standard
22370 \begin_inset LatexCommand label
22371 name "fig:Footnote-placement-in"
22372
22373 \end_inset
22374
22375 Footnote placement in two-column documents when the LaTeX-package 
22376 \series bold
22377 ftnright
22378 \series default
22379  is used.
22380 \end_layout
22381
22382 \end_inset
22383
22384
22385 \end_layout
22386
22387 \end_inset
22388
22389
22390 \end_layout
22391
22392 \begin_layout Standard
22393 \begin_inset VSpace bigskip
22394 \end_inset
22395
22396 In some scientific literature it is usual to collect the footnotes and print
22397  them in a separate paragraph at the the end of a section, like in Figure\InsetSpace ~
22398
22399 \begin_inset LatexCommand ref
22400 reference "fig:Endnotes----footnotes"
22401
22402 \end_inset
22403
22404 .
22405  They are then so called 
22406 \begin_inset Quotes eld
22407 \end_inset
22408
22409 endnotes
22410 \begin_inset Quotes erd
22411 \end_inset
22412
22413 .
22414  To use endnotes instead of footnotes in your document, load the LaTeX-package
22415  
22416 \series bold
22417 endnotes
22418 \series default
22419
22420 \begin_inset LatexCommand index
22421 name "LaTeX-packages ! endnotes"
22422
22423 \end_inset
22424
22425  with the document preamble lines
22426 \end_layout
22427
22428 \begin_layout Standard
22429
22430 \series bold
22431
22432 \backslash
22433 usepackage{endnotes}
22434 \newline
22435
22436 \backslash
22437 let
22438 \backslash
22439 footnote
22440 \backslash
22441 endnote
22442 \end_layout
22443
22444 \begin_layout Standard
22445 To insert the collected footnotes, insert the command
22446 \end_layout
22447
22448 \begin_layout Standard
22449
22450 \series bold
22451
22452 \backslash
22453 theendnotes
22454 \end_layout
22455
22456 \begin_layout Standard
22457 in ERT at the the end of a section or chapter.
22458 \end_layout
22459
22460 \begin_layout Standard
22461 \begin_inset Float figure
22462 wide false
22463 sideways false
22464 status open
22465
22466 \begin_layout Standard
22467 \align center
22468 \begin_inset ERT
22469 status collapsed
22470
22471 \begin_layout Standard
22472
22473
22474 \backslash
22475 framebox{
22476 \end_layout
22477
22478 \end_inset
22479
22480
22481 \begin_inset Graphics
22482         filename clipart/endnotes.pdf
22483
22484 \end_inset
22485
22486
22487 \begin_inset ERT
22488 status collapsed
22489
22490 \begin_layout Standard
22491
22492 }
22493 \end_layout
22494
22495 \end_inset
22496
22497
22498 \end_layout
22499
22500 \begin_layout Standard
22501 \begin_inset Caption
22502
22503 \begin_layout Standard
22504 \begin_inset LatexCommand label
22505 name "fig:Endnotes----footnotes"
22506
22507 \end_inset
22508
22509 Endnotes -- footnotes are printed in a separate paragraph at the end of
22510  sections or chapters.
22511 \end_layout
22512
22513 \end_inset
22514
22515
22516 \end_layout
22517
22518 \end_inset
22519
22520
22521 \end_layout
22522
22523 \begin_layout Standard
22524 \begin_inset VSpace defskip
22525 \end_inset
22526
22527 The paragraph heading for the endnotes isn't automatically translated into
22528  the document language, this must be done manually.
22529  The following preamble command translate the default English name 
22530 \begin_inset Quotes eld
22531 \end_inset
22532
22533 Notes
22534 \begin_inset Quotes erd
22535 \end_inset
22536
22537  to the German translation 
22538 \begin_inset Quotes eld
22539 \end_inset
22540
22541 Anmerkungen
22542 \begin_inset Quotes erd
22543 \end_inset
22544
22545 :
22546 \end_layout
22547
22548 \begin_layout Standard
22549
22550 \series bold
22551
22552 \backslash
22553 renewcommand{
22554 \backslash
22555 notesname}{Anmerkungen}
22556 \end_layout
22557
22558 \begin_layout Standard
22559 \begin_inset VSpace defskip
22560 \end_inset
22561
22562 The numbering of endnotes can be changed like the footnote numbering as
22563  described in section\InsetSpace ~
22564
22565 \begin_inset LatexCommand ref
22566 reference "sub:Footnote-Numbering"
22567
22568 \end_inset
22569
22570 ; just replace the command 
22571 \series bold
22572
22573 \backslash
22574 thefootnote
22575 \series default
22576  by 
22577 \series bold
22578
22579 \backslash
22580 theendnote
22581 \series default
22582 .
22583  To reset the endnote number use the command 
22584 \series bold
22585
22586 \backslash
22587 @addtoreset
22588 \series default
22589  as described in section\InsetSpace ~
22590
22591 \begin_inset LatexCommand ref
22592 reference "sub:Footnote-Numbering"
22593
22594 \end_inset
22595
22596  and replace the command parameter 
22597 \series bold
22598 footnote
22599 \series default
22600  by 
22601 \series bold
22602 endnote
22603 \series default
22604 .
22605 \end_layout
22606
22607 \begin_layout Standard
22608 To create only a mark for an endnote, use the command 
22609 \series bold
22610
22611 \backslash
22612 endnotemark[number]
22613 \series default
22614  similar to the command 
22615 \series bold
22616
22617 \backslash
22618 footnotemark
22619 \series default
22620 , described in section\InsetSpace ~
22621
22622 \begin_inset LatexCommand ref
22623 reference "sec:Footnotes"
22624
22625 \end_inset
22626
22627 .
22628 \end_layout
22629
22630 \begin_layout Standard
22631 \begin_inset VSpace bigskip
22632 \end_inset
22633
22634 Footnotes can also be placed in the page margin and the footnote text alignment
22635  can be changed, see the LaTeX-package 
22636 \series bold
22637 footmisc
22638 \series default
22639
22640 \begin_inset LatexCommand index
22641 name "LaTeX-packages ! footmisc"
22642
22643 \end_inset
22644
22645
22646 \begin_inset LatexCommand cite
22647 key "footmisc"
22648
22649 \end_inset
22650
22651  for more information about this.
22652 \end_layout
22653
22654 \begin_layout Standard
22655 For various further footnote formatting issues have a look at LaTeX-books,
22656  
22657 \begin_inset LatexCommand cite
22658 key "latexcompanion,latexguide,latexbook"
22659
22660 \end_inset
22661
22662 .
22663 \end_layout
22664
22665 \begin_layout Section
22666 Margin Notes
22667 \begin_inset LatexCommand index
22668 name "Notes ! Margin Notes"
22669
22670 \end_inset
22671
22672
22673 \end_layout
22674
22675 \begin_layout Standard
22676 Margin notes look and behave in LyX like footnotes.
22677  They are inserted via the menu 
22678 \family sans
22679 Insert\SpecialChar \menuseparator
22680 Marginal\InsetSpace ~
22681 Note
22682 \family default
22683  or the toolbar button 
22684 \begin_inset Graphics
22685         filename ../images/marginalnote-insert.xpm
22686         scale 85
22687
22688 \end_inset
22689
22690 .
22691  A grey 
22692 \family roman
22693 \series medium
22694 box with the
22695 \family default
22696 \series default
22697  red 
22698 \family roman
22699 \series medium
22700 label 
22701 \begin_inset Quotes eld
22702 \end_inset
22703
22704 margin
22705 \begin_inset Quotes erd
22706 \end_inset
22707
22708  appears where you can enter the text of the margin note.
22709 \end_layout
22710
22711 \begin_layout Standard
22712 At the side is an example margin note.
22713 \family roman
22714 \series medium
22715
22716 \begin_inset Marginal
22717 status open
22718
22719 \begin_layout Standard
22720 This is a margin note.
22721 \end_layout
22722
22723 \end_inset
22724
22725
22726 \end_layout
22727
22728 \begin_layout Standard
22729 Margin notes appear at the right side in single-sided documents.
22730  In double-sided documents they appear in the outer margin -- left on even
22731  pages, right on odd pages.
22732  The text of margin notes is aligned opposite to the outer margin -- right-align
22733 ed when the note appears in the left margin.
22734  The first line of the margin note is placed at the position of the text
22735  line where it is inserted in the document.
22736 \end_layout
22737
22738 \begin_layout Standard
22739 \begin_inset VSpace bigskip
22740 \end_inset
22741
22742 To place the margin note in the inner margin, add the command
22743 \end_layout
22744
22745 \begin_layout Standard
22746
22747 \series bold
22748
22749 \backslash
22750 reversemarginpar
22751 \end_layout
22752
22753 \begin_layout Standard
22754 in ERT before a margin note.
22755  The new placement is valid for all following margin notes.
22756 \begin_inset ERT
22757 status collapsed
22758
22759 \begin_layout Standard
22760
22761
22762 \backslash
22763 reversemarginpar 
22764 \end_layout
22765
22766 \end_inset
22767
22768
22769 \begin_inset Marginal
22770 status open
22771
22772 \begin_layout Standard
22773 This is a margin note in the inner margin.
22774 \end_layout
22775
22776 \end_inset
22777
22778
22779 \series bold
22780
22781 \newline
22782
22783 \series default
22784
22785 \begin_inset Note Greyedout
22786 status open
22787
22788 \begin_layout Standard
22789
22790 \series bold
22791 Note:
22792 \series default
22793  There is often not enough space in the inner margin so that the notes are
22794  not correctly displayed in the output.
22795 \end_layout
22796
22797 \end_inset
22798
22799
22800 \end_layout
22801
22802 \begin_layout Standard
22803 \begin_inset ERT
22804 status collapsed
22805
22806 \begin_layout Standard
22807
22808
22809 \backslash
22810 normalmarginpar 
22811 \end_layout
22812
22813 \end_inset
22814
22815 To return to the default placement insert the command
22816 \end_layout
22817
22818 \begin_layout Standard
22819
22820 \series bold
22821
22822 \backslash
22823 normalmarginpar
22824 \end_layout
22825
22826 \begin_layout Standard
22827 in ERT.
22828  
22829 \begin_inset Note Greyedout
22830 status open
22831
22832 \begin_layout Standard
22833
22834 \series bold
22835 Note:
22836 \series default
22837  The command is ignored when it is within a paragraph where also the command
22838  
22839 \series bold
22840
22841 \backslash
22842 reversemarginpar
22843 \series default
22844  is inserted.
22845 \end_layout
22846
22847 \end_inset
22848
22849
22850 \end_layout
22851
22852 \begin_layout Standard
22853 \begin_inset VSpace bigskip
22854 \end_inset
22855
22856
22857 \family roman
22858 \series medium
22859
22860 \begin_inset Marginal
22861 status open
22862
22863 \begin_layout Standard
22864 AVeryLongMarginParWord that isn't hyphenated.
22865 \end_layout
22866
22867 \end_inset
22868
22869
22870 \family default
22871 \series default
22872 Similar to the case described in section\InsetSpace ~
22873
22874 \begin_inset LatexCommand ref
22875 reference "sub:Multiple-Lines-in"
22876
22877 \end_inset
22878
22879 , long words cannot be hyphenated when they are the first word in a margin
22880  note.
22881  To avoid this, insert the command
22882 \end_layout
22883
22884 \begin_layout Standard
22885
22886 \series bold
22887
22888 \backslash
22889 hspace{0pt}
22890 \end_layout
22891
22892 \begin_layout Standard
22893 in ERT before the word
22894 \family roman
22895 \series medium
22896 .
22897 \begin_inset Marginal
22898 status open
22899
22900 \begin_layout Standard
22901 \begin_inset ERT
22902 status collapsed
22903
22904 \begin_layout Standard
22905
22906
22907 \backslash
22908 hspace{0pt}
22909 \end_layout
22910
22911 \end_inset
22912
22913 AVeryLongMarginParWord that is hyphenated.
22914 \end_layout
22915
22916 \end_inset
22917
22918
22919 \end_layout
22920
22921 \begin_layout Standard
22922 \begin_inset VSpace bigskip
22923 \end_inset
22924
22925
22926 \end_layout
22927
22928 \begin_layout Standard
22929 \begin_inset Note Greyedout
22930 status open
22931
22932 \begin_layout Standard
22933
22934 \series bold
22935 Note:
22936 \series default
22937  Margin notes can normally not be used inside tables, floats, and footnotes.
22938 \end_layout
22939
22940 \end_inset
22941
22942
22943 \end_layout
22944
22945 \begin_layout Standard
22946 \begin_inset VSpace bigskip
22947 \end_inset
22948
22949
22950 \end_layout
22951
22952 \begin_layout Standard
22953 \begin_inset ERT
22954 status collapsed
22955
22956 \begin_layout Standard
22957
22958
22959 \backslash
22960 ifmarginnote
22961 \end_layout
22962
22963 \end_inset
22964
22965
22966 \begin_inset Note Note
22967 status open
22968
22969 \begin_layout Standard
22970 The following section will only be displayed when you have the LaTeX-package
22971  
22972 \series bold
22973 marginnote
22974 \series default
22975  is installed.
22976 \end_layout
22977
22978 \end_inset
22979
22980
22981 \end_layout
22982
22983 \begin_layout Standard
22984 This restriction can be evaded by using the LaTeX-package 
22985 \series bold
22986 marginnote
22987 \series default
22988
22989 \begin_inset LatexCommand index
22990 name "LaTeX-packages ! marginnote"
22991
22992 \end_inset
22993
22994 .
22995  By adding these two lines to your document preamble, the command used by
22996  LyX for margin notes is redefined to use the command provided by the 
22997 \series bold
22998 marginnote
22999 \series default
23000 -package:
23001 \end_layout
23002
23003 \begin_layout Standard
23004
23005 \series bold
23006
23007 \backslash
23008 usepackage{marginnote}
23009 \newline
23010
23011 \backslash
23012 let
23013 \backslash
23014 marginpar
23015 \backslash
23016 marginnote
23017 \end_layout
23018
23019 \begin_layout Standard
23020 This is also used in this document because 
23021 \series bold
23022 marginnote
23023 \series default
23024  has another useful feature: You can set a vertical offset for the note.
23025  This is often needed when too many margin notes are too close together
23026  or for a better page layout.
23027  The offset is set in LyX as ERT directly behind the margin note in the
23028  scheme
23029 \end_layout
23030
23031 \begin_layout Standard
23032
23033 \series bold
23034 [offset]
23035 \end_layout
23036
23037 \begin_layout Standard
23038 where the offset is a length with one of the units listed in Table\InsetSpace ~
23039
23040 \begin_inset LatexCommand ref
23041 reference "tab:Units"
23042
23043 \end_inset
23044
23045 .
23046  A negative value shifts the note up, a positive value shifts it down.
23047  
23048 \family roman
23049 \series medium
23050 For example the margin note beside this text line is shifted up 1.5\InsetSpace \thinspace{}
23051 cm with
23052  the ERT-command 
23053 \begin_inset Quotes eld
23054 \end_inset
23055
23056
23057 \family default
23058 \series bold
23059 [-1.5cm]
23060 \family roman
23061 \series medium
23062
23063 \begin_inset Quotes erd
23064 \end_inset
23065
23066
23067 \begin_inset Marginal
23068 status open
23069
23070 \begin_layout Standard
23071 This margin note is shifted up 1.5\InsetSpace \thinspace{}
23072 cm from its original position.
23073 \end_layout
23074
23075 \end_inset
23076
23077
23078 \family default
23079 \series default
23080
23081 \begin_inset ERT
23082 status collapsed
23083
23084 \begin_layout Standard
23085
23086 [-1.5cm]
23087 \end_layout
23088
23089 \end_inset
23090
23091
23092 \end_layout
23093
23094 \begin_layout Standard
23095 \begin_inset VSpace defskip
23096 \end_inset
23097
23098 With 
23099 \series bold
23100 marginnote
23101 \series default
23102  you can also change the alignment of the text in the margin note.
23103  For example the commands
23104 \end_layout
23105
23106 \begin_layout Standard
23107
23108 \series bold
23109
23110 \backslash
23111 renewcommand*{
23112 \backslash
23113 raggedleftmarginnote}{
23114 \backslash
23115 centering}
23116 \newline
23117
23118 \backslash
23119 renewcommand*{
23120 \backslash
23121 raggedrightmarginnote}{
23122 \backslash
23123 centering}
23124 \end_layout
23125
23126 \begin_layout Standard
23127 set the alignment to centered.
23128  
23129 \series bold
23130
23131 \backslash
23132 raggedleftmarginnote
23133 \series default
23134  denotes margin notes that appear at the left side.
23135 \family roman
23136 \series medium
23137
23138 \begin_inset ERT
23139 status collapsed
23140
23141 \begin_layout Standard
23142
23143
23144 \backslash
23145 renewcommand*{
23146 \backslash
23147 raggedleftmarginnote}{
23148 \backslash
23149 centering}
23150 \end_layout
23151
23152 \begin_layout Standard
23153
23154
23155 \backslash
23156 renewcommand*{
23157 \backslash
23158 raggedrightmarginnote}{
23159 \backslash
23160 centering}
23161 \end_layout
23162
23163 \end_inset
23164
23165
23166 \begin_inset Marginal
23167 status open
23168
23169 \begin_layout Standard
23170 The text of this margin note is centered.
23171 \end_layout
23172
23173 \end_inset
23174
23175
23176 \family default
23177 \series default
23178  The default is
23179 \end_layout
23180
23181 \begin_layout Standard
23182
23183 \series bold
23184
23185 \backslash
23186 renewcommand*{
23187 \backslash
23188 raggedleftmarginnote}{
23189 \backslash
23190 raggedleft}
23191 \newline
23192
23193 \backslash
23194 renewcommand*{
23195 \backslash
23196 raggedrightmarginnote}{
23197 \backslash
23198 raggedright}
23199 \family roman
23200 \series medium
23201
23202 \begin_inset ERT
23203 status collapsed
23204
23205 \begin_layout Standard
23206
23207
23208 \backslash
23209 renewcommand*{
23210 \backslash
23211 raggedleftmarginnote}{
23212 \backslash
23213 raggedleft}
23214 \end_layout
23215
23216 \begin_layout Standard
23217
23218
23219 \backslash
23220 renewcommand*{
23221 \backslash
23222 raggedrightmarginnote}{
23223 \backslash
23224 raggedright}
23225 \end_layout
23226
23227 \end_inset
23228
23229
23230 \end_layout
23231
23232 \begin_layout Standard
23233 \begin_inset VSpace defskip
23234 \end_inset
23235
23236 For the other features of 
23237 \series bold
23238 marginnote
23239 \series default
23240  we refer to its documentation 
23241 \begin_inset LatexCommand cite
23242 key "marginnote"
23243
23244 \end_inset
23245
23246 .
23247 \end_layout
23248
23249 \begin_layout Standard
23250 \begin_inset VSpace bigskip
23251 \end_inset
23252
23253 You can change the layout of margin notes by redefining its definition.
23254  To create for example a header for all margin notes with the underlined,
23255  sans-serif, and bold header text 
23256 \begin_inset Quotes eld
23257 \end_inset
23258
23259
23260 \family sans
23261 \series bold
23262 \bar under
23263 Attention!
23264 \family default
23265 \series default
23266 \bar default
23267
23268 \begin_inset Quotes erd
23269 \end_inset
23270
23271 , add this to your document preamble:
23272 \end_layout
23273
23274 \begin_layout Standard
23275
23276 \series bold
23277
23278 \backslash
23279 let
23280 \backslash
23281 myMarginpar
23282 \backslash
23283 marginpar
23284 \newline
23285
23286 \backslash
23287 renewcommand{
23288 \backslash
23289 marginpar}[1]{
23290 \backslash
23291 myMarginpar{%
23292 \newline
23293
23294 \begin_inset ERT
23295 status collapsed
23296
23297 \begin_layout Standard
23298
23299
23300 \backslash
23301 hphantom{ }
23302 \end_layout
23303
23304 \end_inset
23305
23306
23307 \backslash
23308 hspace{0pt}
23309 \backslash
23310 textsf{
23311 \backslash
23312 textbf{
23313 \backslash
23314 underbar{Attention!}}}%
23315 \newline
23316
23317 \begin_inset ERT
23318 status collapsed
23319
23320 \begin_layout Standard
23321
23322
23323 \backslash
23324 hphantom{ }
23325 \end_layout
23326
23327 \end_inset
23328
23329
23330 \backslash
23331 vspace{1.5mm}
23332 \backslash
23333
23334 \backslash
23335 #1}}
23336 \end_layout
23337
23338 \begin_layout Standard
23339
23340 \family roman
23341 \series medium
23342 \begin_inset ERT
23343 status collapsed
23344
23345 \begin_layout Standard
23346
23347
23348 \backslash
23349 let
23350 \backslash
23351 myMarginpar
23352 \backslash
23353 marginpar
23354 \end_layout
23355
23356 \begin_layout Standard
23357
23358
23359 \backslash
23360 renewcommand{
23361 \backslash
23362 marginpar}[1]{
23363 \backslash
23364 myMarginpar{%
23365 \end_layout
23366
23367 \begin_layout Standard
23368
23369    
23370 \backslash
23371 textsf{
23372 \backslash
23373 textbf{
23374 \backslash
23375 underbar{Attention!}}}%
23376 \end_layout
23377
23378 \begin_layout Standard
23379
23380    
23381 \backslash
23382 vspace{1.5mm}
23383 \backslash
23384
23385 \backslash
23386 #1}}
23387 \end_layout
23388
23389 \end_inset
23390
23391
23392 \begin_inset Marginal
23393 status open
23394
23395 \begin_layout Standard
23396 This is a margin note with a defined heading.
23397 \end_layout
23398
23399 \end_inset
23400
23401
23402 \family default
23403 \series default
23404
23405 \begin_inset ERT
23406 status collapsed
23407
23408 \begin_layout Standard
23409
23410 [-1.5cm]
23411 \end_layout
23412
23413 \end_inset
23414
23415
23416 \family roman
23417 \series medium
23418
23419 \begin_inset ERT
23420 status collapsed
23421
23422 \begin_layout Standard
23423
23424
23425 \backslash
23426 renewcommand{
23427 \backslash
23428 marginpar}[1]{
23429 \backslash
23430 myMarginpar{#1}}
23431 \end_layout
23432
23433 \end_inset
23434
23435
23436 \family default
23437 \series default
23438
23439 \begin_inset Note Note
23440 status collapsed
23441
23442 \begin_layout Standard
23443 The margin note format is changed only for this example.
23444 \end_layout
23445
23446 \end_inset
23447
23448
23449 \end_layout
23450
23451 \begin_layout Standard
23452 \begin_inset ERT
23453 status collapsed
23454
23455 \begin_layout Standard
23456
23457
23458 \backslash
23459 else
23460 \end_layout
23461
23462 \end_inset
23463
23464
23465 \begin_inset Note Note
23466 status open
23467
23468 \begin_layout Standard
23469 The following will be displayed when the LaTeX-package 
23470 \series bold
23471 marginnote
23472 \series default
23473  is not installed:
23474 \end_layout
23475
23476 \end_inset
23477
23478
23479 \end_layout
23480
23481 \begin_layout Standard
23482 You need to install the LaTeX-package 
23483 \series bold
23484 marginnote
23485 \series default
23486  to see the following part of this section in the output.
23487 \end_layout
23488
23489 \begin_layout Standard
23490 \begin_inset ERT
23491 status collapsed
23492
23493 \begin_layout Standard
23494
23495
23496 \backslash
23497 fi
23498 \end_layout
23499
23500 \end_inset
23501
23502
23503 \end_layout
23504
23505 \begin_layout Chapter
23506 Boxes
23507 \end_layout
23508
23509 \begin_layout Section
23510 Introduction
23511 \begin_inset LatexCommand index
23512 name "Boxes ! Introduction"
23513
23514 \end_inset
23515
23516
23517 \end_layout
23518
23519 \begin_layout Standard
23520 Boxes are used to format a block of text.
23521  Boxes can be used to write documents with multiple languages, see section\InsetSpace ~
23522
23523 \begin_inset LatexCommand ref
23524 reference "sec:Minipages"
23525
23526 \end_inset
23527
23528 , to frame texts, see section\InsetSpace ~
23529
23530 \begin_inset LatexCommand ref
23531 reference "sec:Framed-Boxes"
23532
23533 \end_inset
23534
23535 , to prevent words to be hyphenated, see section\InsetSpace ~
23536
23537 \begin_inset LatexCommand ref
23538 reference "sec:Prevent-Hyphenation"
23539
23540 \end_inset
23541
23542 , to align text, see section\InsetSpace ~
23543
23544 \begin_inset LatexCommand ref
23545 reference "sub:Vertical-Alignment"
23546
23547 \end_inset
23548
23549 , or to set the background color of texts, see section\InsetSpace ~
23550
23551 \begin_inset LatexCommand ref
23552 reference "sec:Colored-Boxes"
23553
23554 \end_inset
23555
23556 .
23557 \end_layout
23558
23559 \begin_layout Standard
23560 Boxes can be inserted with the menu 
23561 \family sans
23562 Insert\SpecialChar \menuseparator
23563 Box
23564 \family default
23565 .
23566  A grey box with the label 
23567 \family sans
23568 Box (Minipage)
23569 \family default
23570
23571 \begin_inset Graphics
23572         filename clipart/BoxInsetDefaultQt4.png
23573         scale 85
23574
23575 \end_inset
23576
23577 , will be inserted.
23578  The box type can be specified by right-clicking on the box.
23579  The appearing box dialog offers the 
23580 \family sans
23581 Inner\InsetSpace ~
23582 Box
23583 \family default
23584  types 
23585 \family sans
23586 Parbox
23587 \family default
23588  and 
23589 \family sans
23590 Minipage
23591 \family default
23592 .
23593  The type 
23594 \family sans
23595 Minipage
23596 \family default
23597  is the default for new boxes and is explained in section\InsetSpace ~
23598
23599 \begin_inset LatexCommand ref
23600 reference "sec:Minipages"
23601
23602 \end_inset
23603
23604 ; the type 
23605 \family sans
23606 Parbox
23607 \family default
23608  is described in section\InsetSpace ~
23609
23610 \begin_inset LatexCommand ref
23611 reference "sec:Parboxes"
23612
23613 \end_inset
23614
23615 .
23616 \end_layout
23617
23618 \begin_layout Standard
23619 Boxes aren't numbered and can therefore not be referenced like floats or
23620  footnotes.
23621 \end_layout
23622
23623 \begin_layout Standard
23624 \begin_inset Note Greyedout
23625 status open
23626
23627 \begin_layout Standard
23628
23629 \series bold
23630 Note:
23631 \series default
23632  Due to a bug in LyX you have to insert a protected space behind a box when
23633  you want to separate in a line the box from the following text with a space.
23634 \end_layout
23635
23636 \end_inset
23637
23638
23639 \end_layout
23640
23641 \begin_layout Standard
23642 \begin_inset Note Greyedout
23643 status open
23644
23645 \begin_layout Standard
23646
23647 \series bold
23648 Note:
23649 \series default
23650  Boxes must not be the item in an 
23651 \family sans
23652 Itemize
23653 \family default
23654  or 
23655 \family sans
23656 Description
23657 \family default
23658  environment.
23659 \end_layout
23660
23661 \end_inset
23662
23663
23664 \end_layout
23665
23666 \begin_layout Standard
23667 \begin_inset Note Greyedout
23668 status open
23669
23670 \begin_layout Standard
23671
23672 \series bold
23673 Note:
23674 \series default
23675  For an unknown reason you can only set the 
23676 \family sans
23677 Inner\InsetSpace ~
23678 Box
23679 \family default
23680  type to 
23681 \family sans
23682 None
23683 \family default
23684  when you use a framed box.
23685  Boxes without an 
23686 \family sans
23687 Inner\InsetSpace ~
23688 Box
23689 \family default
23690  type and without frames are explained in section\InsetSpace ~
23691
23692 \begin_inset LatexCommand ref
23693 reference "sec:Prevent-Hyphenation"
23694
23695 \end_inset
23696
23697 .
23698 \end_layout
23699
23700 \end_inset
23701
23702
23703 \end_layout
23704
23705 \begin_layout Section
23706 Box Dialog
23707 \begin_inset LatexCommand label
23708 name "sec:Box-Dialog"
23709
23710 \end_inset
23711
23712
23713 \begin_inset LatexCommand index
23714 name "Boxes ! Box Dialog"
23715
23716 \end_inset
23717
23718
23719 \begin_inset LatexCommand index
23720 name "Boxes ! Alignment"
23721
23722 \end_inset
23723
23724
23725 \end_layout
23726
23727 \begin_layout Standard
23728 In the box dialog you can adjust the box geometry in the fields 
23729 \family sans
23730 Width
23731 \family default
23732  and 
23733 \family sans
23734 Height
23735 \family default
23736 .
23737  The available units for the geometry are explained in Table\InsetSpace ~
23738
23739 \begin_inset LatexCommand ref
23740 reference "tab:Units"
23741
23742 \end_inset
23743
23744 .
23745  The field 
23746 \family sans
23747 Heigth
23748 \family default
23749  offers the following additional sizes:
23750 \end_layout
23751
23752 \begin_layout Description
23753 Depth This is the plain text 
23754 \begin_inset Quotes eld
23755 \end_inset
23756
23757 height
23758 \begin_inset Quotes erd
23759 \end_inset
23760
23761 .
23762  It ignores the total depth when there are multiple text lines in the box:
23763 \newline
23764
23765 \newline
23766
23767 \newline
23768
23769 \begin_inset Box Boxed
23770 position "c"
23771 hor_pos "c"
23772 has_inner_box 1
23773 inner_pos "c"
23774 use_parbox 0
23775 width "12col%"
23776 special "none"
23777 height "1in"
23778 height_special "depth"
23779 status collapsed
23780
23781 \begin_layout Standard
23782 \align center
23783 Box height set to 1\InsetSpace \thinspace{}
23784 Depth
23785 \end_layout
23786
23787 \end_inset
23788
23789
23790 \newline
23791
23792 \newline
23793
23794 \end_layout
23795
23796 \begin_layout Description
23797 Height This is the heigth of the text that is inside the box.
23798  A value of e.\InsetSpace \thinspace{}
23799 g.\InsetSpace ~
23800 2 for this size will set the box heigth to 2 times the text
23801  height: 
23802 \begin_inset Box Boxed
23803 position "c"
23804 hor_pos "c"
23805 has_inner_box 1
23806 inner_pos "c"
23807 use_parbox 0
23808 width "20col%"
23809 special "none"
23810 height "2in"
23811 height_special "height"
23812 status collapsed
23813
23814 \begin_layout Standard
23815 \align center
23816 Box height set to 2\InsetSpace \thinspace{}
23817 Height
23818 \end_layout
23819
23820 \end_inset
23821
23822
23823 \end_layout
23824
23825 \begin_layout Description
23826 Total\InsetSpace ~
23827 Height This is the Height\InsetSpace \thinspace{}
23828 +\InsetSpace \thinspace{}
23829 Depth: 
23830 \begin_inset Box Boxed
23831 position "c"
23832 hor_pos "c"
23833 has_inner_box 1
23834 inner_pos "c"
23835 use_parbox 0
23836 width "20col%"
23837 special "none"
23838 height "1in"
23839 height_special "totalheight"
23840 status collapsed
23841
23842 \begin_layout Standard
23843 \align center
23844 Box height set to 1\InsetSpace \thinspace{}
23845 Total\InsetSpace ~
23846 Height
23847 \end_layout
23848
23849 \end_inset
23850
23851
23852 \end_layout
23853
23854 \begin_layout Description
23855 Width This set the width of the box as heigth: 
23856 \begin_inset Box Boxed
23857 position "c"
23858 hor_pos "c"
23859 has_inner_box 1
23860 inner_pos "c"
23861 use_parbox 0
23862 width "12col%"
23863 special "none"
23864 height "1in"
23865 height_special "width"
23866 status collapsed
23867
23868 \begin_layout Standard
23869 \align center
23870 Box height set to 1\InsetSpace \thinspace{}
23871 Width
23872 \end_layout
23873
23874 \end_inset
23875
23876
23877 \end_layout
23878
23879 \begin_layout Standard
23880 \begin_inset VSpace bigskip
23881 \end_inset
23882
23883 When you have chosen an 
23884 \family sans
23885 Inner\InsetSpace ~
23886 Box
23887 \family default
23888 , the vertical box alignment can be:
23889 \end_layout
23890
23891 \begin_layout Description
23892 Top This is an example text line.
23893  
23894 \begin_inset Box Boxed
23895 position "t"
23896 hor_pos "c"
23897 has_inner_box 1
23898 inner_pos "c"
23899 use_parbox 0
23900 width "12col%"
23901 special "none"
23902 height "1in"
23903 height_special "totalheight"
23904 status collapsed
23905
23906 \begin_layout Standard
23907 \align center
23908 This box is top-aligned.
23909 \end_layout
23910
23911 \end_inset
23912
23913 \InsetSpace ~
23914 This is an example text line.
23915 \end_layout
23916
23917 \begin_layout Description
23918 Middle This is an example text line.
23919  
23920 \begin_inset Box Boxed
23921 position "c"
23922 hor_pos "c"
23923 has_inner_box 1
23924 inner_pos "c"
23925 use_parbox 0
23926 width "12col%"
23927 special "none"
23928 height "1in"
23929 height_special "totalheight"
23930 status collapsed
23931
23932 \begin_layout Standard
23933 \align center
23934 This box is middle-aligned.
23935 \end_layout
23936
23937 \end_inset
23938
23939 \InsetSpace ~
23940 This is an example text line.
23941 \end_layout
23942
23943 \begin_layout Description
23944 Bottom This is an example text line.
23945  
23946 \begin_inset Box Boxed
23947 position "b"
23948 hor_pos "c"
23949 has_inner_box 1
23950 inner_pos "c"
23951 use_parbox 0
23952 width "12col%"
23953 special "none"
23954 height "1in"
23955 height_special "totalheight"
23956 status collapsed
23957
23958 \begin_layout Standard
23959 \align center
23960 This box is bottom-aligned.
23961 \end_layout
23962
23963 \end_inset
23964
23965 \InsetSpace ~
23966 This is an example text line.
23967 \end_layout
23968
23969 \begin_layout Standard
23970 The horizontal box alignment can be set via LyX's paragraph dialog when
23971  you set the box into its own paragraph.
23972 \end_layout
23973
23974 \begin_layout Standard
23975 \begin_inset VSpace bigskip
23976 \end_inset
23977
23978 When you have chosen an 
23979 \family sans
23980 Inner\InsetSpace ~
23981 Box
23982 \family default
23983 , the box content can be vertical aligned to:
23984 \end_layout
23985
23986 \begin_layout Description
23987 top This is an example text line.
23988  
23989 \begin_inset Box Boxed
23990 position "c"
23991 hor_pos "c"
23992 has_inner_box 1
23993 inner_pos "t"
23994 use_parbox 0
23995 width "12col%"
23996 special "none"
23997 height "1.5in"
23998 height_special "totalheight"
23999 status collapsed
24000
24001 \begin_layout Standard
24002 \align center
24003 This box text is top-aligned.
24004 \end_layout
24005
24006 \end_inset
24007
24008 \InsetSpace ~
24009 This is an example text line.
24010 \end_layout
24011
24012 \begin_layout Description
24013 middle This is an example text line.
24014  
24015 \begin_inset Box Boxed
24016 position "c"
24017 hor_pos "c"
24018 has_inner_box 1
24019 inner_pos "c"
24020 use_parbox 0
24021 width "12col%"
24022 special "none"
24023 height "1.5in"
24024 height_special "totalheight"
24025 status collapsed
24026
24027 \begin_layout Standard
24028 \align center
24029 This box text is middle-aligned.
24030 \end_layout
24031
24032 \end_inset
24033
24034 \InsetSpace ~
24035 This is an example text line.
24036 \end_layout
24037
24038 \begin_layout Description
24039 bottom This is an example text line.
24040  
24041 \begin_inset Box Boxed
24042 position "c"
24043 hor_pos "c"
24044 has_inner_box 1
24045 inner_pos "b"
24046 use_parbox 0
24047 width "12col%"
24048 special "none"
24049 height "1.5in"
24050 height_special "totalheight"
24051 status collapsed
24052
24053 \begin_layout Standard
24054 \align center
24055 This box text is bottom-aligned.
24056 \end_layout
24057
24058 \end_inset
24059
24060 \InsetSpace ~
24061 This is an example text line.
24062 \end_layout
24063
24064 \begin_layout Description
24065 stretch This is an example text line.
24066  
24067 \begin_inset Box Boxed
24068 position "c"
24069 hor_pos "c"
24070 has_inner_box 1
24071 inner_pos "s"
24072 use_parbox 0
24073 width "12col%"
24074 special "none"
24075 height "1.5in"
24076 height_special "totalheight"
24077 status collapsed
24078
24079 \begin_layout Standard
24080 \align center
24081 This box
24082 \end_layout
24083
24084 \begin_layout Standard
24085 \align center
24086 text is
24087 \end_layout
24088
24089 \begin_layout Standard
24090 \align center
24091 stretched.
24092 \end_layout
24093
24094 \end_inset
24095
24096 \InsetSpace ~
24097 This is an example text line.
24098 \end_layout
24099
24100 \begin_layout Standard
24101 To stretch the box content, it must consist of more than one paragraph.
24102  In the example above every text line is in an own paragraph.
24103 \end_layout
24104
24105 \begin_layout Standard
24106 \begin_inset VSpace bigskip
24107 \end_inset
24108
24109 To align the box content horizontally you can use LyX's paragraph dialog
24110  when you have chosen an 
24111 \family sans
24112 Inner\InsetSpace ~
24113 Box
24114 \family default
24115 .
24116 \end_layout
24117
24118 \begin_layout Standard
24119 \align center
24120 \begin_inset Box Boxed
24121 position "c"
24122 hor_pos "c"
24123 has_inner_box 1
24124 inner_pos "s"
24125 use_parbox 0
24126 width "15col%"
24127 special "none"
24128 height "1.25in"
24129 height_special "totalheight"
24130 status collapsed
24131
24132 \begin_layout Standard
24133 \align left
24134 This box
24135 \end_layout
24136
24137 \begin_layout Standard
24138 \align center
24139 text is
24140 \end_layout
24141
24142 \begin_layout Standard
24143 \align right
24144 stretched.
24145 \end_layout
24146
24147 \end_inset
24148
24149
24150 \end_layout
24151
24152 \begin_layout Standard
24153 If you haven't set an 
24154 \family sans
24155 Inner\InsetSpace ~
24156 Box
24157 \family default
24158 , you can align the box content horizontally in the box dialog.
24159 \end_layout
24160
24161 \begin_layout Standard
24162 \align center
24163 \begin_inset Box Boxed
24164 position "c"
24165 hor_pos "s"
24166 has_inner_box 0
24167 inner_pos "s"
24168 use_parbox 0
24169 width "90col%"
24170 special "none"
24171 height "1.25in"
24172 height_special "totalheight"
24173 status collapsed
24174
24175 \begin_layout Standard
24176 \align left
24177 This box text is horizontally stretched.
24178 \end_layout
24179
24180 \end_inset
24181
24182
24183 \end_layout
24184
24185 \begin_layout Section
24186 Framed Boxes
24187 \begin_inset LatexCommand label
24188 name "sec:Framed-Boxes"
24189
24190 \end_inset
24191
24192
24193 \begin_inset LatexCommand index
24194 name "Boxes ! Frames"
24195
24196 \end_inset
24197
24198
24199 \end_layout
24200
24201 \begin_layout Standard
24202 The frame style of the box can be specified in the box-dialog in the drop-down
24203  list 
24204 \family sans
24205 Type
24206 \family default
24207 .
24208  The following frame types are possible:
24209 \end_layout
24210
24211 \begin_layout Description
24212 Rectangular\InsetSpace ~
24213 box This draws a rectangle frame around the box.
24214  The frame line thickness has the size of 
24215 \series bold
24216
24217 \backslash
24218 fboxrule
24219 \series default
24220 .
24221  
24222 \begin_inset Box Boxed
24223 position "c"
24224 hor_pos "c"
24225 has_inner_box 1
24226 inner_pos "c"
24227 use_parbox 0
24228 width "20col%"
24229 special "none"
24230 height "1in"
24231 height_special "totalheight"
24232 status collapsed
24233
24234 \begin_layout Standard
24235 \align center
24236 Rectangular box
24237 \end_layout
24238
24239 \end_inset
24240
24241
24242 \end_layout
24243
24244 \begin_layout Description
24245 Oval\InsetSpace ~
24246 box,\InsetSpace ~
24247 thin This draws an oval frame around the box.
24248  The frame line thickness has the size 0.4\InsetSpace \thinspace{}
24249 pt.
24250  
24251 \begin_inset Box ovalbox
24252 position "c"
24253 hor_pos "c"
24254 has_inner_box 1
24255 inner_pos "c"
24256 use_parbox 0
24257 width "20col%"
24258 special "none"
24259 height "1in"
24260 height_special "totalheight"
24261 status collapsed
24262
24263 \begin_layout Standard
24264 \align center
24265 Oval box, thin
24266 \end_layout
24267
24268 \end_inset
24269
24270
24271 \end_layout
24272
24273 \begin_layout Description
24274 Oval\InsetSpace ~
24275 box,\InsetSpace ~
24276 thick This draws an oval frame around the box.
24277  The frame line thickness has the size 0.8\InsetSpace \thinspace{}
24278 pt.
24279  
24280 \begin_inset Box Ovalbox
24281 position "c"
24282 hor_pos "c"
24283 has_inner_box 1
24284 inner_pos "c"
24285 use_parbox 0
24286 width "20col%"
24287 special "none"
24288 height "1in"
24289 height_special "totalheight"
24290 status collapsed
24291
24292 \begin_layout Standard
24293 \align center
24294 Oval box, thick
24295 \end_layout
24296
24297 \end_inset
24298
24299
24300 \end_layout
24301
24302 \begin_layout Description
24303 Shadow\InsetSpace ~
24304 box This draws a rectangle frame with a shadow around the box.
24305  The frame line thickness has the size of 
24306 \series bold
24307
24308 \backslash
24309 fboxrule
24310 \series default
24311 , the shadow has a width of 4\InsetSpace \thinspace{}
24312 pt.
24313  
24314 \begin_inset Box Shadowbox
24315 position "c"
24316 hor_pos "c"
24317 has_inner_box 1
24318 inner_pos "c"
24319 use_parbox 0
24320 width "20col%"
24321 special "none"
24322 height "1in"
24323 height_special "totalheight"
24324 status collapsed
24325
24326 \begin_layout Standard
24327 \align center
24328 Shadow box
24329 \end_layout
24330
24331 \end_inset
24332
24333
24334 \end_layout
24335
24336 \begin_layout Description
24337 Double\InsetSpace ~
24338 box This draws a double-line rectangle frame around the box.
24339  The line thickness of the inner frame is 0.75\InsetSpace \thinspace{}
24340
24341 \series bold
24342
24343 \backslash
24344 fboxrule
24345 \series default
24346 , the thickness of the outer frame is 1.5\InsetSpace \thinspace{}
24347
24348 \series bold
24349
24350 \backslash
24351 fboxrule
24352 \series default
24353 .
24354  The distance between the lines is 1.5\InsetSpace \thinspace{}
24355
24356 \series bold
24357
24358 \backslash
24359 fboxrule
24360 \series default
24361 \InsetSpace \thinspace{}
24362 +\InsetSpace \thinspace{}
24363 0.5\InsetSpace \thinspace{}
24364 pt.
24365  
24366 \begin_inset Box Doublebox
24367 position "c"
24368 hor_pos "c"
24369 has_inner_box 1
24370 inner_pos "c"
24371 use_parbox 0
24372 width "20col%"
24373 special "none"
24374 height "1in"
24375 height_special "totalheight"
24376 status collapsed
24377
24378 \begin_layout Standard
24379 \align center
24380 Double box
24381 \end_layout
24382
24383 \end_inset
24384
24385
24386 \end_layout
24387
24388 \begin_layout Standard
24389 \begin_inset VSpace bigskip
24390 \end_inset
24391
24392 LyX's box label will change to the used frame style when you set a frame.
24393  To be able to use the different frame styles, the LaTeX-package 
24394 \series bold
24395 fancybox
24396 \series default
24397
24398 \begin_inset LatexCommand index
24399 name "LaTeX-packages ! fancybox"
24400
24401 \end_inset
24402
24403  must be installed.
24404 \end_layout
24405
24406 \begin_layout Standard
24407 \begin_inset VSpace bigskip
24408 \end_inset
24409
24410 The default value for the size 
24411 \series bold
24412
24413 \backslash
24414 fboxrule
24415 \series default
24416  is 0.4\InsetSpace \thinspace{}
24417 pt.
24418  It can be changed with the following command in ERT to e.\InsetSpace \thinspace{}
24419 g.\InsetSpace ~
24420 2\InsetSpace \thinspace{}
24421 pt:
24422 \end_layout
24423
24424 \begin_layout Standard
24425
24426 \series bold
24427
24428 \backslash
24429 setlength{
24430 \backslash
24431 fboxrule}{2pt}
24432 \end_layout
24433
24434 \begin_layout Standard
24435 \begin_inset ERT
24436 status collapsed
24437
24438 \begin_layout Standard
24439
24440
24441 \backslash
24442 setlength{
24443 \backslash
24444 fboxrule}{2pt}
24445 \end_layout
24446
24447 \end_inset
24448
24449
24450 \begin_inset Box Boxed
24451 position "c"
24452 hor_pos "c"
24453 has_inner_box 1
24454 inner_pos "c"
24455 use_parbox 0
24456 width "25col%"
24457 special "none"
24458 height "1in"
24459 height_special "totalheight"
24460 status collapsed
24461
24462 \begin_layout Standard
24463 \align center
24464 Rectangular box with 
24465 \series bold
24466
24467 \backslash
24468 fboxrule
24469 \series default
24470 \InsetSpace \thinspace{}
24471 =\InsetSpace \thinspace{}
24472 2\InsetSpace \thinspace{}
24473 pt
24474 \end_layout
24475
24476 \end_inset
24477
24478
24479 \begin_inset ERT
24480 status collapsed
24481
24482 \begin_layout Standard
24483
24484
24485 \backslash
24486 setlength{
24487 \backslash
24488 fboxrule}{0.4pt}
24489 \end_layout
24490
24491 \end_inset
24492
24493
24494 \end_layout
24495
24496 \begin_layout Standard
24497 \begin_inset VSpace bigskip
24498 \end_inset
24499
24500 The space between the frame and the box content is for all frame styles
24501  by default 3\InsetSpace \thinspace{}
24502 pt.
24503  You can change it by setting the length 
24504 \series bold
24505
24506 \backslash
24507 fboxsep
24508 \series default
24509  to another value.
24510  For example the command
24511 \end_layout
24512
24513 \begin_layout Standard
24514
24515 \series bold
24516
24517 \backslash
24518 setlength{
24519 \backslash
24520 fboxsep}{10pt}
24521 \end_layout
24522
24523 \begin_layout Standard
24524 sets the value to 10\InsetSpace \thinspace{}
24525 pt, like for the following box:
24526 \end_layout
24527
24528 \begin_layout Standard
24529 \begin_inset ERT
24530 status collapsed
24531
24532 \begin_layout Standard
24533
24534
24535 \backslash
24536 setlength{
24537 \backslash
24538 fboxsep}{10pt}
24539 \end_layout
24540
24541 \end_inset
24542
24543
24544 \begin_inset Box Boxed
24545 position "c"
24546 hor_pos "c"
24547 has_inner_box 1
24548 inner_pos "c"
24549 use_parbox 0
24550 width "25col%"
24551 special "none"
24552 height "1in"
24553 height_special "totalheight"
24554 status collapsed
24555
24556 \begin_layout Standard
24557 \align center
24558 Rectangular box with 
24559 \series bold
24560
24561 \backslash
24562 fboxsep
24563 \series default
24564 \InsetSpace \thinspace{}
24565 =\InsetSpace \thinspace{}
24566 10\InsetSpace \thinspace{}
24567 pt
24568 \end_layout
24569
24570 \end_inset
24571
24572
24573 \begin_inset ERT
24574 status collapsed
24575
24576 \begin_layout Standard
24577
24578
24579 \backslash
24580 setlength{
24581 \backslash
24582 fboxsep}{3pt}
24583 \end_layout
24584
24585 \end_inset
24586
24587
24588 \end_layout
24589
24590 \begin_layout Standard
24591 \begin_inset VSpace bigskip
24592 \end_inset
24593
24594 The diameter of the round corners of the oval boxes can be set with the
24595  command 
24596 \series bold
24597
24598 \backslash
24599 cornersize
24600 \series default
24601 .
24602  The command
24603 \end_layout
24604
24605 \begin_layout Standard
24606
24607 \series bold
24608
24609 \backslash
24610 cornersize*{1cm}
24611 \end_layout
24612
24613 \begin_layout Standard
24614 sets the diameter to 1\InsetSpace \thinspace{}
24615 cm.
24616  The command
24617 \end_layout
24618
24619 \begin_layout Standard
24620
24621 \series bold
24622
24623 \backslash
24624 cornersize{num}
24625 \end_layout
24626
24627 \begin_layout Standard
24628 sets the diameter to 
24629 \family sans
24630 num\InsetSpace \thinspace{}
24631 ×\InsetSpace \thinspace{}
24632 minimum(width and heigth of box)
24633 \family default
24634 .
24635  The default is 
24636 \series bold
24637
24638 \backslash
24639 cornersize{0.5}
24640 \series default
24641 .
24642 \end_layout
24643
24644 \begin_layout Standard
24645 \begin_inset ERT
24646 status collapsed
24647
24648 \begin_layout Standard
24649
24650
24651 \backslash
24652 cornersize*{1.5cm}
24653 \end_layout
24654
24655 \end_inset
24656
24657
24658 \begin_inset Box Ovalbox
24659 position "c"
24660 hor_pos "c"
24661 has_inner_box 1
24662 inner_pos "c"
24663 use_parbox 0
24664 width "25col%"
24665 special "none"
24666 height "1in"
24667 height_special "totalheight"
24668 status collapsed
24669
24670 \begin_layout Standard
24671 \align center
24672 Oval box with 
24673 \series bold
24674
24675 \backslash
24676 cornersize
24677 \series default
24678 \InsetSpace \thinspace{}
24679 =\InsetSpace \thinspace{}
24680 1.5\InsetSpace \thinspace{}
24681 cm
24682 \end_layout
24683
24684 \end_inset
24685
24686
24687 \begin_inset ERT
24688 status collapsed
24689
24690 \begin_layout Standard
24691
24692
24693 \backslash
24694 cornersize{0.5}
24695 \end_layout
24696
24697 \end_inset
24698
24699
24700 \end_layout
24701
24702 \begin_layout Standard
24703 \begin_inset VSpace bigskip
24704 \end_inset
24705
24706 The size of the shadow can be adjusted by changing the length 
24707 \series bold
24708
24709 \backslash
24710 shadowsize
24711 \series default
24712 .
24713  It it set to 2\InsetSpace \thinspace{}
24714 pt for the following box by this command:
24715 \end_layout
24716
24717 \begin_layout Standard
24718
24719 \series bold
24720
24721 \backslash
24722 setlength{
24723 \backslash
24724 shadowsize}{2pt}
24725 \end_layout
24726
24727 \begin_layout Standard
24728 \begin_inset ERT
24729 status collapsed
24730
24731 \begin_layout Standard
24732
24733
24734 \backslash
24735 setlength{
24736 \backslash
24737 shadowsize}{2pt}
24738 \end_layout
24739
24740 \end_inset
24741
24742
24743 \begin_inset Box Shadowbox
24744 position "c"
24745 hor_pos "c"
24746 has_inner_box 1
24747 inner_pos "c"
24748 use_parbox 0
24749 width "25col%"
24750 special "none"
24751 height "1in"
24752 height_special "totalheight"
24753 status collapsed
24754
24755 \begin_layout Standard
24756 \align center
24757 Shadow box with 
24758 \series bold
24759
24760 \backslash
24761 shadowsize
24762 \series default
24763 \InsetSpace \thinspace{}
24764 =\InsetSpace \thinspace{}
24765 2\InsetSpace \thinspace{}
24766 pt
24767 \end_layout
24768
24769 \end_inset
24770
24771
24772 \begin_inset ERT
24773 status collapsed
24774
24775 \begin_layout Standard
24776
24777
24778 \backslash
24779 setlength{
24780 \backslash
24781 shadowsize}{4pt}
24782 \end_layout
24783
24784 \end_inset
24785
24786
24787 \end_layout
24788
24789 \begin_layout Standard
24790 \begin_inset VSpace bigskip
24791 \end_inset
24792
24793 Changed lengths and widths are valid for all boxes following the commands
24794  that change them.
24795 \end_layout
24796
24797 \begin_layout Section
24798 Minipages
24799 \begin_inset LatexCommand label
24800 name "sec:Minipages"
24801
24802 \end_inset
24803
24804
24805 \begin_inset LatexCommand index
24806 name "Boxes ! Minipages"
24807
24808 \end_inset
24809
24810
24811 \end_layout
24812
24813 \begin_layout Standard
24814 Minipages are treated by LaTeX as pages within pages and can therefore for
24815  example have their own footnotes.
24816 \end_layout
24817
24818 \begin_layout Standard
24819 Minipages are useful when you write documents with different languages.
24820 \end_layout
24821
24822 \begin_layout Standard
24823 Below are two example minipages side by side.
24824  Their width is set to 45\InsetSpace \thinspace{}
24825 col% and they are separated by a horizontal fill,
24826  that was inserted via the menu 
24827 \family sans
24828 Insert\SpecialChar \menuseparator
24829 Special\InsetSpace ~
24830 Formatting\SpecialChar \menuseparator
24831 Horizontal\InsetSpace ~
24832 Fill
24833 \family default
24834 .
24835 \end_layout
24836
24837 \begin_layout Standard
24838 \begin_inset Box Frameless
24839 position "t"
24840 hor_pos "c"
24841 has_inner_box 1
24842 inner_pos "c"
24843 use_parbox 0
24844 width "45col%"
24845 special "none"
24846 height "1in"
24847 height_special "totalheight"
24848 status open
24849
24850 \begin_layout Standard
24851
24852 \lang german
24853 Dies ist ein deutscher Text.
24854  Dies ist ein deutscher Text.
24855  Dies ist ein deutscher Text.
24856  Dies ist ein deutscher Text.
24857  Dies ist ein deutscher Text.
24858  Dies ist ein deutscher Text.
24859  Dies ist ein deutscher Text.
24860  Dies ist ein deutscher Text.
24861  Dies ist ein deutscher Text.
24862  Dies ist ein deutscher Text.
24863  Dies ist ein deutscher Text.
24864  Dies ist ein deutscher Text.
24865  Dies ist ein deutscher Text
24866 \begin_inset Foot
24867 status collapsed
24868
24869 \begin_layout Standard
24870
24871 \lang german
24872 Dies ist eine deutsche Fußnote.
24873 \end_layout
24874
24875 \end_inset
24876
24877 .
24878  Dies ist ein deutscher Text.
24879  Dies ist ein deutscher Text.
24880 \end_layout
24881
24882 \end_inset
24883
24884
24885 \hfill
24886
24887 \begin_inset Box Frameless
24888 position "t"
24889 hor_pos "c"
24890 has_inner_box 1
24891 inner_pos "c"
24892 use_parbox 0
24893 width "45col%"
24894 special "none"
24895 height "1in"
24896 height_special "totalheight"
24897 status open
24898
24899 \begin_layout Standard
24900 This is an English Text.
24901  This is an English Text.
24902  This is an English Text.
24903  This is an English Text.
24904  This is an English Text.
24905  This is an English Text.
24906  This is an English Text.
24907  This is an English Text.
24908  This is an English Text.
24909  This is an English Text.
24910  This is an English Text.
24911  This is an English Text.
24912  This is an English Text.
24913  This is an English Text.
24914  This is an English Text.
24915  This is an English Text.
24916 \begin_inset Foot
24917 status collapsed
24918
24919 \begin_layout Standard
24920 This is an English footnote.
24921 \end_layout
24922
24923 \end_inset
24924
24925  This is an English Text.
24926  
24927 \end_layout
24928
24929 \end_inset
24930
24931
24932 \end_layout
24933
24934 \begin_layout Standard
24935 \begin_inset VSpace bigskip
24936 \end_inset
24937
24938 Another application for minipages are footnotes within tables.
24939  Due to a LaTeX restriction footnotes within tables doesn't appear at the
24940  bottom of the current page.
24941  But when you put the table with the footnote to a minipage, the footnote
24942  will appear at its bottom, numbered with Latin letters.
24943  The footnote number is reset to 1 in every minipage but not outside the
24944  minipages.
24945 \end_layout
24946
24947 \begin_layout Standard
24948 The footnote of this table doesn't appear: 
24949 \begin_inset Tabular
24950 <lyxtabular version="3" rows="3" columns="4">
24951 <features>
24952 <column alignment="center" valignment="top" leftline="true" width="0pt">
24953 <column alignment="center" valignment="top" leftline="true" width="0pt">
24954 <column alignment="center" valignment="top" leftline="true" width="0pt">
24955 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
24956 <row topline="true">
24957 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24958 \begin_inset Text
24959
24960 \begin_layout Standard
24961 1
24962 \end_layout
24963
24964 \end_inset
24965 </cell>
24966 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24967 \begin_inset Text
24968
24969 \begin_layout Standard
24970 2
24971 \end_layout
24972
24973 \end_inset
24974 </cell>
24975 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24976 \begin_inset Text
24977
24978 \begin_layout Standard
24979 3
24980 \begin_inset Foot
24981 status collapsed
24982
24983 \begin_layout Standard
24984 This is a footnote within a table.
24985 \end_layout
24986
24987 \end_inset
24988
24989
24990 \end_layout
24991
24992 \end_inset
24993 </cell>
24994 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24995 \begin_inset Text
24996
24997 \begin_layout Standard
24998 4
24999 \end_layout
25000
25001 \end_inset
25002 </cell>
25003 </row>
25004 <row topline="true">
25005 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25006 \begin_inset Text
25007
25008 \begin_layout Standard
25009 a
25010 \end_layout
25011
25012 \end_inset
25013 </cell>
25014 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25015 \begin_inset Text
25016
25017 \begin_layout Standard
25018 b
25019 \end_layout
25020
25021 \end_inset
25022 </cell>
25023 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25024 \begin_inset Text
25025
25026 \begin_layout Standard
25027 c
25028 \end_layout
25029
25030 \end_inset
25031 </cell>
25032 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25033 \begin_inset Text
25034
25035 \begin_layout Standard
25036 d
25037 \end_layout
25038
25039 \end_inset
25040 </cell>
25041 </row>
25042 <row topline="true" bottomline="true">
25043 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25044 \begin_inset Text
25045
25046 \begin_layout Standard
25047 e
25048 \end_layout
25049
25050 \end_inset
25051 </cell>
25052 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25053 \begin_inset Text
25054
25055 \begin_layout Standard
25056 f
25057 \end_layout
25058
25059 \end_inset
25060 </cell>
25061 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25062 \begin_inset Text
25063
25064 \begin_layout Standard
25065 g
25066 \end_layout
25067
25068 \end_inset
25069 </cell>
25070 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25071 \begin_inset Text
25072
25073 \begin_layout Standard
25074 h
25075 \end_layout
25076
25077 \end_inset
25078 </cell>
25079 </row>
25080 </lyxtabular>
25081
25082 \end_inset
25083
25084
25085 \end_layout
25086
25087 \begin_layout Standard
25088 \align center
25089 \begin_inset Box Frameless
25090 position "t"
25091 hor_pos "c"
25092 has_inner_box 1
25093 inner_pos "c"
25094 use_parbox 0
25095 width "30col%"
25096 special "none"
25097 height "1in"
25098 height_special "totalheight"
25099 status open
25100
25101 \begin_layout Standard
25102 \align center
25103 \begin_inset Tabular
25104 <lyxtabular version="3" rows="3" columns="4">
25105 <features>
25106 <column alignment="center" valignment="top" leftline="true" width="0pt">
25107 <column alignment="center" valignment="top" leftline="true" width="0pt">
25108 <column alignment="center" valignment="top" leftline="true" width="0pt">
25109 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
25110 <row topline="true">
25111 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25112 \begin_inset Text
25113
25114 \begin_layout Standard
25115 1
25116 \end_layout
25117
25118 \end_inset
25119 </cell>
25120 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25121 \begin_inset Text
25122
25123 \begin_layout Standard
25124 2
25125 \end_layout
25126
25127 \end_inset
25128 </cell>
25129 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25130 \begin_inset Text
25131
25132 \begin_layout Standard
25133 3
25134 \begin_inset Foot
25135 status collapsed
25136
25137 \begin_layout Standard
25138 This is a footnote within a table.
25139 \end_layout
25140
25141 \end_inset
25142
25143
25144 \end_layout
25145
25146 \end_inset
25147 </cell>
25148 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25149 \begin_inset Text
25150
25151 \begin_layout Standard
25152 4
25153 \end_layout
25154
25155 \end_inset
25156 </cell>
25157 </row>
25158 <row topline="true">
25159 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25160 \begin_inset Text
25161
25162 \begin_layout Standard
25163 a
25164 \end_layout
25165
25166 \end_inset
25167 </cell>
25168 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25169 \begin_inset Text
25170
25171 \begin_layout Standard
25172 b
25173 \end_layout
25174
25175 \end_inset
25176 </cell>
25177 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25178 \begin_inset Text
25179
25180 \begin_layout Standard
25181 c
25182 \end_layout
25183
25184 \end_inset
25185 </cell>
25186 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25187 \begin_inset Text
25188
25189 \begin_layout Standard
25190 d
25191 \end_layout
25192
25193 \end_inset
25194 </cell>
25195 </row>
25196 <row topline="true" bottomline="true">
25197 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25198 \begin_inset Text
25199
25200 \begin_layout Standard
25201 e
25202 \end_layout
25203
25204 \end_inset
25205 </cell>
25206 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25207 \begin_inset Text
25208
25209 \begin_layout Standard
25210 f
25211 \end_layout
25212
25213 \end_inset
25214 </cell>
25215 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25216 \begin_inset Text
25217
25218 \begin_layout Standard
25219 g
25220 \end_layout
25221
25222 \end_inset
25223 </cell>
25224 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25225 \begin_inset Text
25226
25227 \begin_layout Standard
25228 h
25229 \end_layout
25230
25231 \end_inset
25232 </cell>
25233 </row>
25234 </lyxtabular>
25235
25236 \end_inset
25237
25238
25239 \end_layout
25240
25241 \end_inset
25242
25243
25244 \end_layout
25245
25246 \begin_layout Standard
25247 \begin_inset VSpace bigskip
25248 \end_inset
25249
25250 The document-wide paragraph settings are ignored within minipages.
25251  That means that there will be no space between paragraphs in minipages
25252  although you set it to e.\InsetSpace \thinspace{}
25253 g.\InsetSpace ~
25254
25255 \family sans
25256 MedSkip
25257 \family default
25258  in the document settings.
25259 \end_layout
25260
25261 \begin_layout Standard
25262 Minipages can also be used to set a background color for text parts, see
25263  section\InsetSpace ~
25264
25265 \begin_inset LatexCommand ref
25266 reference "sub:Color-for-Paragraphs"
25267
25268 \end_inset
25269
25270 .
25271 \end_layout
25272
25273 \begin_layout Standard
25274 \begin_inset Note Greyedout
25275 status open
25276
25277 \begin_layout Standard
25278
25279 \series bold
25280 Note:
25281 \series default
25282  You cannot have floats or margin notes inside minipages but minipages can
25283  be used inside tables, floats, and other boxes.
25284 \end_layout
25285
25286 \end_inset
25287
25288
25289 \end_layout
25290
25291 \begin_layout Section
25292 Parboxes
25293 \begin_inset LatexCommand label
25294 name "sec:Parboxes"
25295
25296 \end_inset
25297
25298
25299 \begin_inset LatexCommand index
25300 name "Boxes ! Parboxes"
25301
25302 \end_inset
25303
25304
25305 \end_layout
25306
25307 \begin_layout Standard
25308 Parboxes are very similar to minipages with the difference that they cannot
25309  have footnotes.
25310  The main difference to minipages is that minipages are in contrary to parboxes
25311  no real boxes but LaTeX-environments.
25312 \end_layout
25313
25314 \begin_layout Standard
25315 \align center
25316 \begin_inset Box Frameless
25317 position "t"
25318 hor_pos "c"
25319 has_inner_box 1
25320 inner_pos "t"
25321 use_parbox 1
25322 width "33col%"
25323 special "none"
25324 height "1in"
25325 height_special "totalheight"
25326 status collapsed
25327
25328 \begin_layout Standard
25329 This a text within a parbox.
25330  This a text within a parbox.
25331 \end_layout
25332
25333 \begin_layout Standard
25334 This footnote won't appear:
25335 \begin_inset Foot
25336 status collapsed
25337
25338 \begin_layout Standard
25339 This footnote is inside a parbox and will therefore not appear.
25340 \end_layout
25341
25342 \end_inset
25343
25344
25345 \end_layout
25346
25347 \end_inset
25348
25349
25350 \end_layout
25351
25352 \begin_layout Section
25353 Boxes for Words and Characters
25354 \begin_inset LatexCommand index
25355 name "Boxes ! for Characters"
25356
25357 \end_inset
25358
25359
25360 \end_layout
25361
25362 \begin_layout Subsection
25363 Prevent Hyphenation
25364 \begin_inset LatexCommand label
25365 name "sec:Prevent-Hyphenation"
25366
25367 \end_inset
25368
25369
25370 \begin_inset LatexCommand index
25371 name "Boxes ! to Prevent Hyphenation"
25372
25373 \end_inset
25374
25375
25376 \end_layout
25377
25378 \begin_layout Standard
25379 You can use a special kind of boxes to prevent words or text to be hyphenated.
25380 \newline
25381 Her
25382 e is an example text:
25383 \end_layout
25384
25385 \begin_layout Standard
25386 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25387 g.\InsetSpace ~
25388 veryver
25389 ylongwords.
25390 \end_layout
25391
25392 \begin_layout Standard
25393 To prevent the hyphenation of the word 
25394 \begin_inset Quotes eld
25395 \end_inset
25396
25397 veryverylongwords
25398 \begin_inset Quotes erd
25399 \end_inset
25400
25401 , add the command
25402 \end_layout
25403
25404 \begin_layout Standard
25405
25406 \series bold
25407
25408 \backslash
25409 mbox{
25410 \end_layout
25411
25412 \begin_layout Standard
25413 in ERT before the word.
25414  Behind the word insert a closing brace 
25415 \begin_inset Quotes eld
25416 \end_inset
25417
25418
25419 \series bold
25420 }
25421 \series default
25422
25423 \begin_inset Quotes erd
25424 \end_inset
25425
25426  in ERT.
25427 \begin_inset ERT
25428 status collapsed
25429
25430 \begin_layout Standard
25431
25432
25433 \backslash
25434 pagebreak 
25435 \end_layout
25436
25437 \end_inset
25438
25439
25440 \end_layout
25441
25442 \begin_layout Standard
25443 This is the result:
25444 \end_layout
25445
25446 \begin_layout Standard
25447 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25448 g.\InsetSpace ~
25449
25450 \begin_inset ERT
25451 status collapsed
25452
25453 \begin_layout Standard
25454
25455
25456 \backslash
25457 mbox{
25458 \end_layout
25459
25460 \end_inset
25461
25462 veryverylongwords.
25463 \begin_inset ERT
25464 status collapsed
25465
25466 \begin_layout Standard
25467
25468 }
25469 \end_layout
25470
25471 \end_inset
25472
25473
25474 \end_layout
25475
25476 \begin_layout Standard
25477 Of course the word now protrudes over the side margin.
25478  To avoid this, add via the menu 
25479 \family sans
25480 Insert\SpecialChar \menuseparator
25481 Special\InsetSpace ~
25482 Formatting\SpecialChar \menuseparator
25483 Line\InsetSpace ~
25484 Break
25485 \family default
25486  (shortcut 
25487 \series bold
25488 Ctrl-Return
25489 \series default
25490 ) a line break before the word:
25491 \end_layout
25492
25493 \begin_layout Standard
25494 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25495 g.\InsetSpace ~
25496
25497 \newline
25498
25499 \begin_inset ERT
25500 status collapsed
25501
25502 \begin_layout Standard
25503
25504
25505 \backslash
25506 mbox{
25507 \end_layout
25508
25509 \end_inset
25510
25511 veryverylongwords.
25512 \begin_inset ERT
25513 status collapsed
25514
25515 \begin_layout Standard
25516
25517 }
25518 \end_layout
25519
25520 \end_inset
25521
25522
25523 \end_layout
25524
25525 \begin_layout Subsection
25526 Vertical Alignment
25527 \begin_inset LatexCommand label
25528 name "sub:Vertical-Alignment"
25529
25530 \end_inset
25531
25532
25533 \begin_inset LatexCommand index
25534 name "Boxes ! for Vertical Alignment"
25535
25536 \end_inset
25537
25538
25539 \begin_inset LatexCommand index
25540 name "Boxes ! Raiseboxes"
25541
25542 \end_inset
25543
25544
25545 \end_layout
25546
25547 \begin_layout Standard
25548 With the help of the command 
25549 \series bold
25550
25551 \backslash
25552 raisebox
25553 \series default
25554  you can align words, characters or other boxes vertically to the surrounding
25555  text.
25556  
25557 \series bold
25558
25559 \backslash
25560 raisebox
25561 \series default
25562  is used with the following scheme:
25563 \end_layout
25564
25565 \begin_layout Standard
25566
25567 \series bold
25568
25569 \backslash
25570 raisebox{lift}[height][depth]{box content}
25571 \end_layout
25572
25573 \begin_layout Standard
25574 The lift can be a positive value to raise the box or a negative value to
25575  lower the box.
25576 \end_layout
25577
25578 \begin_layout Standard
25579 To align for example the word 
25580 \begin_inset Quotes eld
25581 \end_inset
25582
25583 preventing
25584 \begin_inset Quotes erd
25585 \end_inset
25586
25587  so that the bottom of the 
25588 \begin_inset Quotes eld
25589 \end_inset
25590
25591 deepest
25592 \begin_inset Quotes erd
25593 \end_inset
25594
25595  character 
25596 \begin_inset Quotes eld
25597 \end_inset
25598
25599 p
25600 \begin_inset Quotes erd
25601 \end_inset
25602
25603  is at the baseline, insert the command
25604 \end_layout
25605
25606 \begin_layout Standard
25607
25608 \series bold
25609
25610 \backslash
25611 raisebox{
25612 \backslash
25613 depth}{
25614 \end_layout
25615
25616 \begin_layout Standard
25617 in ERT before the word.
25618  Behind the word insert a closing brace 
25619 \begin_inset Quotes eld
25620 \end_inset
25621
25622
25623 \series bold
25624 }
25625 \series default
25626
25627 \begin_inset Quotes erd
25628 \end_inset
25629
25630  in ERT.
25631 \newline
25632 This is the result:
25633 \end_layout
25634
25635 \begin_layout Standard
25636 This is a text line with the word 
25637 \begin_inset ERT
25638 status collapsed
25639
25640 \begin_layout Standard
25641
25642
25643 \backslash
25644 raisebox{
25645 \backslash
25646 depth}{
25647 \end_layout
25648
25649 \end_inset
25650
25651
25652 \begin_inset Quotes eld
25653 \end_inset
25654
25655 preventing
25656 \begin_inset Quotes erd
25657 \end_inset
25658
25659
25660 \begin_inset ERT
25661 status collapsed
25662
25663 \begin_layout Standard
25664
25665 }
25666 \end_layout
25667
25668 \end_inset
25669
25670  as raised word.
25671 \end_layout
25672
25673 \begin_layout Standard
25674 \begin_inset VSpace bigskip
25675 \end_inset
25676
25677 When you raise or lower characters in a line, the line distance will be
25678  spread:
25679 \end_layout
25680
25681 \begin_layout Standard
25682 This is a text line with the word 
25683 \begin_inset ERT
25684 status collapsed
25685
25686 \begin_layout Standard
25687
25688
25689 \backslash
25690 raisebox{-
25691 \backslash
25692 depth}{
25693 \end_layout
25694
25695 \end_inset
25696
25697
25698 \begin_inset Quotes eld
25699 \end_inset
25700
25701 preventing
25702 \begin_inset Quotes erd
25703 \end_inset
25704
25705
25706 \begin_inset ERT
25707 status collapsed
25708
25709 \begin_layout Standard
25710
25711 }
25712 \end_layout
25713
25714 \end_inset
25715
25716  as lowered word.
25717 \newline
25718 This is a text line with the word 
25719 \begin_inset ERT
25720 status collapsed
25721
25722 \begin_layout Standard
25723
25724
25725 \backslash
25726 raisebox{0.5cm}{
25727 \end_layout
25728
25729 \end_inset
25730
25731
25732 \begin_inset Quotes eld
25733 \end_inset
25734
25735 testing
25736 \begin_inset Quotes erd
25737 \end_inset
25738
25739
25740 \begin_inset ERT
25741 status collapsed
25742
25743 \begin_layout Standard
25744
25745 }
25746 \end_layout
25747
25748 \end_inset
25749
25750  as raised word.
25751 \end_layout
25752
25753 \begin_layout Standard
25754 If you want to prevent this for a certain reason, set the box height to
25755  a zero value.
25756  For example use
25757 \end_layout
25758
25759 \begin_layout Standard
25760
25761 \series bold
25762
25763 \backslash
25764 raisebox{-
25765 \backslash
25766 depth}[0pt]{
25767 \end_layout
25768
25769 \begin_layout Standard
25770 This is a text line with the word 
25771 \begin_inset ERT
25772 status collapsed
25773
25774 \begin_layout Standard
25775
25776
25777 \backslash
25778 raisebox{-
25779 \backslash
25780 depth}[0pt]{
25781 \end_layout
25782
25783 \end_inset
25784
25785
25786 \begin_inset Quotes eld
25787 \end_inset
25788
25789 preventing
25790 \begin_inset Quotes erd
25791 \end_inset
25792
25793
25794 \begin_inset ERT
25795 status collapsed
25796
25797 \begin_layout Standard
25798
25799 }
25800 \end_layout
25801
25802 \end_inset
25803
25804  as lowered word.
25805 \newline
25806 This is a text line with the word 
25807 \begin_inset ERT
25808 status collapsed
25809
25810 \begin_layout Standard
25811
25812
25813 \backslash
25814 raisebox{0.5cm}[0pt]{
25815 \end_layout
25816
25817 \end_inset
25818
25819
25820 \begin_inset Quotes eld
25821 \end_inset
25822
25823 testing
25824 \begin_inset Quotes erd
25825 \end_inset
25826
25827
25828 \begin_inset ERT
25829 status collapsed
25830
25831 \begin_layout Standard
25832
25833 }
25834 \end_layout
25835
25836 \end_inset
25837
25838  as raised word.
25839 \end_layout
25840
25841 \begin_layout Section
25842 Colored Boxes
25843 \begin_inset LatexCommand label
25844 name "sec:Colored-Boxes"
25845
25846 \end_inset
25847
25848
25849 \begin_inset LatexCommand index
25850 name "Boxes ! Color"
25851
25852 \end_inset
25853
25854
25855 \end_layout
25856
25857 \begin_layout Subsection
25858 Color for Text
25859 \begin_inset LatexCommand index
25860 name "Color ! for Text"
25861
25862 \end_inset
25863
25864
25865 \end_layout
25866
25867 \begin_layout Standard
25868 To color the background of text the text must be put into a so called colorbox.
25869  This requires that the LaTeX-package 
25870 \series bold
25871 color
25872 \series default
25873
25874 \begin_inset LatexCommand index
25875 name "LaTeX-packages ! color"
25876
25877 \end_inset
25878
25879  is loaded in the document preamble with the command
25880 \end_layout
25881
25882 \begin_layout Standard
25883
25884 \series bold
25885
25886 \backslash
25887 @ifundef\SpecialChar \textcompwordmark{}
25888 ined{textcolor}
25889 \newline
25890
25891 \begin_inset ERT
25892 status collapsed
25893
25894 \begin_layout Standard
25895
25896
25897 \backslash
25898 hphantom{ }
25899 \end_layout
25900
25901 \end_inset
25902
25903 {
25904 \backslash
25905 usepackage{color}}{}
25906 \end_layout
25907
25908 \begin_layout Standard
25909 The package 
25910 \series bold
25911 color
25912 \series default
25913  will be loaded automatically by LyX when you color text
25914 \begin_inset Foot
25915 status collapsed
25916
25917 \begin_layout Standard
25918 To avoid that it is loaded twice the command 
25919 \series bold
25920
25921 \backslash
25922 @ifundef\SpecialChar \textcompwordmark{}
25923 ined
25924 \series default
25925  is used.
25926 \end_layout
25927
25928 \end_inset
25929
25930 .
25931 \end_layout
25932
25933 \begin_layout Standard
25934 \begin_inset VSpace medskip
25935 \end_inset
25936
25937 Colorboxes are created with the command 
25938 \series bold
25939
25940 \backslash
25941 colorbox
25942 \series default
25943 .
25944  This will be used with the following scheme:
25945 \end_layout
25946
25947 \begin_layout Standard
25948
25949 \series bold
25950
25951 \backslash
25952 colorbox{color}{box content}
25953 \end_layout
25954
25955 \begin_layout Standard
25956 The box content can also be a box and colorboxes can also be within other
25957  boxes.
25958 \end_layout
25959
25960 \begin_layout Standard
25961 The following colors are predefined:
25962 \newline
25963
25964 \family sans
25965 black
25966 \family default
25967
25968 \family sans
25969 blue
25970 \family default
25971
25972 \family sans
25973 cyan
25974 \family default
25975 \series bold
25976 ,
25977 \series default
25978  
25979 \family sans
25980 green
25981 \family default
25982
25983 \family sans
25984 magenta
25985 \family default
25986
25987 \family sans
25988 red
25989 \family default
25990
25991 \family sans
25992 white
25993 \family default
25994 , and 
25995 \family sans
25996 yellow
25997 \family default
25998 .
25999 \newline
26000 You can also define your own color as described in section\InsetSpace ~
26001
26002 \begin_inset LatexCommand ref
26003 reference "sec:Colored-Tables"
26004
26005 \end_inset
26006
26007 .
26008 \end_layout
26009
26010 \begin_layout Standard
26011 To have e.\InsetSpace \thinspace{}
26012 g.\InsetSpace ~
26013 a red background for a word, insert the command
26014 \end_layout
26015
26016 \begin_layout Standard
26017
26018 \series bold
26019
26020 \backslash
26021 colorbox{red}{
26022 \end_layout
26023
26024 \begin_layout Standard
26025 before the word in ERT.
26026  Behind the word insert a closing brace 
26027 \begin_inset Quotes eld
26028 \end_inset
26029
26030
26031 \series bold
26032 }
26033 \series default
26034
26035 \begin_inset Quotes erd
26036 \end_inset
26037
26038  in ERT.
26039 \newline
26040 This is the result:
26041 \end_layout
26042
26043 \begin_layout Standard
26044 This is a line where the word 
26045 \begin_inset ERT
26046 status collapsed
26047
26048 \begin_layout Standard
26049
26050
26051 \backslash
26052 colorbox{red}{
26053 \end_layout
26054
26055 \end_inset
26056
26057
26058 \begin_inset Quotes eld
26059 \end_inset
26060
26061 Attention!
26062 \begin_inset Quotes erd
26063 \end_inset
26064
26065
26066 \begin_inset ERT
26067 status collapsed
26068
26069 \begin_layout Standard
26070
26071 }
26072 \end_layout
26073
26074 \end_inset
26075
26076  has a red background.
26077 \end_layout
26078
26079 \begin_layout Standard
26080 \begin_inset VSpace bigskip
26081 \end_inset
26082
26083 If you would have the box frame in a different color, you can use the command
26084  
26085 \series bold
26086
26087 \backslash
26088 fcolorbox
26089 \series default
26090  with the following scheme:
26091 \end_layout
26092
26093 \begin_layout Standard
26094
26095 \series bold
26096
26097 \backslash
26098 fcolorbox{frame color}{box color}{box content}
26099 \end_layout
26100
26101 \begin_layout Standard
26102
26103 \series bold
26104
26105 \backslash
26106 fcolorbox
26107 \series default
26108  is an extension to 
26109 \series bold
26110
26111 \backslash
26112 colorbox
26113 \series default
26114 .
26115  The frame thickness and the space between the frame and the box content
26116  can be adjusted with the lengths 
26117 \series bold
26118
26119 \backslash
26120 fboxrule
26121 \series default
26122  and 
26123 \series bold
26124
26125 \backslash
26126 fboxsep
26127 \series default
26128 , respectively, as described in section\InsetSpace ~
26129
26130 \begin_inset LatexCommand ref
26131 reference "sec:Framed-Boxes"
26132
26133 \end_inset
26134
26135 .
26136 \end_layout
26137
26138 \begin_layout Standard
26139 For the following example the command
26140 \end_layout
26141
26142 \begin_layout Standard
26143
26144 \series bold
26145
26146 \backslash
26147 fcolorbox{cyan}{magenta}{
26148 \end_layout
26149
26150 \begin_layout Standard
26151 was used.
26152 \end_layout
26153
26154 \begin_layout Standard
26155 Here is an example where the frame line thickness was set to 1\InsetSpace \thinspace{}
26156 mm:
26157 \newline
26158
26159 \begin_inset ERT
26160 status collapsed
26161
26162 \begin_layout Standard
26163
26164
26165 \backslash
26166 fboxrule 1mm 
26167 \backslash
26168 fboxsep 1mm
26169 \end_layout
26170
26171 \end_inset
26172
26173
26174 \begin_inset ERT
26175 status collapsed
26176
26177 \begin_layout Standard
26178
26179
26180 \backslash
26181 fcolorbox{cyan}{magenta}{
26182 \end_layout
26183
26184 \end_inset
26185
26186 This is text within a colored, framed box.
26187 \begin_inset ERT
26188 status collapsed
26189
26190 \begin_layout Standard
26191
26192 }
26193 \end_layout
26194
26195 \end_inset
26196
26197
26198 \end_layout
26199
26200 \begin_layout Standard
26201 \begin_inset VSpace bigskip
26202 \end_inset
26203
26204 Of course you can also have colored text inside a colorbox:
26205 \newline
26206
26207 \begin_inset ERT
26208 status collapsed
26209
26210 \begin_layout Standard
26211
26212
26213 \backslash
26214 fcolorbox{cyan}{magenta}{
26215 \end_layout
26216
26217 \end_inset
26218
26219
26220 \color yellow
26221 This is colored text within a colored, framed box.
26222 \color none
26223
26224 \begin_inset ERT
26225 status collapsed
26226
26227 \begin_layout Standard
26228
26229 }
26230 \end_layout
26231
26232 \end_inset
26233
26234
26235 \begin_inset ERT
26236 status collapsed
26237
26238 \begin_layout Standard
26239
26240
26241 \backslash
26242 fboxrule 0.4pt 
26243 \backslash
26244 fboxsep 3pt
26245 \end_layout
26246
26247 \end_inset
26248
26249
26250 \end_layout
26251
26252 \begin_layout Standard
26253
26254 \series bold
26255 \begin_inset VSpace medskip
26256 \end_inset
26257
26258
26259 \end_layout
26260
26261 \begin_layout Standard
26262 \begin_inset Note Greyedout
26263 status open
26264
26265 \begin_layout Standard
26266
26267 \series bold
26268 Note:
26269 \series default
26270  Text in colorboxes cannot have line breaks.
26271  To color multiple text lines or paragraphs, use a box inside a colorbox
26272  as described in the following.
26273 \end_layout
26274
26275 \end_inset
26276
26277
26278 \end_layout
26279
26280 \begin_layout Subsection
26281 Color for Paragraphs
26282 \begin_inset LatexCommand label
26283 name "sub:Color-for-Paragraphs"
26284
26285 \end_inset
26286
26287
26288 \begin_inset LatexCommand index
26289 name "Color ! for Paragraphs"
26290
26291 \end_inset
26292
26293
26294 \end_layout
26295
26296 \begin_layout Standard
26297 To set the background color for more than one text line, put the text into
26298  a minipage.
26299  Before the minipage insert the 
26300 \series bold
26301
26302 \backslash
26303 colorbox
26304 \series default
26305  command
26306 \end_layout
26307
26308 \begin_layout Standard
26309
26310 \series bold
26311
26312 \backslash
26313 colorbox{color}{
26314 \end_layout
26315
26316 \begin_layout Standard
26317 in ERT.
26318  Behind the minipage insert a closing brace 
26319 \begin_inset Quotes eld
26320 \end_inset
26321
26322
26323 \series bold
26324 }
26325 \series default
26326
26327 \begin_inset Quotes erd
26328 \end_inset
26329
26330  in ERT.
26331 \end_layout
26332
26333 \begin_layout Standard
26334 \begin_inset ERT
26335 status collapsed
26336
26337 \begin_layout Standard
26338
26339
26340 \backslash
26341 colorbox{lightgrey}{
26342 \end_layout
26343
26344 \end_inset
26345
26346
26347 \begin_inset Box Frameless
26348 position "t"
26349 hor_pos "c"
26350 has_inner_box 1
26351 inner_pos "t"
26352 use_parbox 0
26353 width "100col%"
26354 special "none"
26355 height "1in"
26356 height_special "totalheight"
26357 status collapsed
26358
26359 \begin_layout Standard
26360 This is text with background color.
26361  This is text with background color.
26362 \end_layout
26363
26364 \begin_layout Standard
26365 \begin_inset VSpace defskip
26366 \end_inset
26367
26368 The text can have footnotes
26369 \begin_inset Foot
26370 status collapsed
26371
26372 \begin_layout Standard
26373 Another example footnote
26374 \end_layout
26375
26376 \end_inset
26377
26378  and can include tables and figures.
26379 \end_layout
26380
26381 \begin_layout Standard
26382 \align center
26383 \begin_inset Tabular
26384 <lyxtabular version="3" rows="3" columns="3">
26385 <features>
26386 <column alignment="center" valignment="top" leftline="true" width="0">
26387 <column alignment="center" valignment="top" leftline="true" width="0">
26388 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
26389 <row topline="true">
26390 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26391 \begin_inset Text
26392
26393 \begin_layout Standard
26394 a
26395 \end_layout
26396
26397 \end_inset
26398 </cell>
26399 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26400 \begin_inset Text
26401
26402 \begin_layout Standard
26403 !
26404 \end_layout
26405
26406 \end_inset
26407 </cell>
26408 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26409 \begin_inset Text
26410
26411 \begin_layout Standard
26412 3
26413 \end_layout
26414
26415 \end_inset
26416 </cell>
26417 </row>
26418 <row topline="true">
26419 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26420 \begin_inset Text
26421
26422 \begin_layout Standard
26423 <
26424 \end_layout
26425
26426 \end_inset
26427 </cell>
26428 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26429 \begin_inset Text
26430
26431 \begin_layout Standard
26432 b2
26433 \begin_inset Quotes erd
26434 \end_inset
26435
26436 |
26437 \end_layout
26438
26439 \end_inset
26440 </cell>
26441 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26442 \begin_inset Text
26443
26444 \begin_layout Standard
26445 >
26446 \end_layout
26447
26448 \end_inset
26449 </cell>
26450 </row>
26451 <row topline="true" bottomline="true">
26452 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26453 \begin_inset Text
26454
26455 \begin_layout Standard
26456 1
26457 \end_layout
26458
26459 \end_inset
26460 </cell>
26461 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26462 \begin_inset Text
26463
26464 \begin_layout Standard
26465 §
26466 \end_layout
26467
26468 \end_inset
26469 </cell>
26470 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26471 \begin_inset Text
26472
26473 \begin_layout Standard
26474 c
26475 \end_layout
26476
26477 \end_inset
26478 </cell>
26479 </row>
26480 </lyxtabular>
26481
26482 \end_inset
26483
26484
26485 \end_layout
26486
26487 \end_inset
26488
26489
26490 \begin_inset ERT
26491 status collapsed
26492
26493 \begin_layout Standard
26494
26495 }
26496 \end_layout
26497
26498 \end_inset
26499
26500
26501 \end_layout
26502
26503 \begin_layout Section
26504 URLs (Uniform Resource Locators)
26505 \begin_inset LatexCommand index
26506 name "URLs"
26507
26508 \end_inset
26509
26510
26511 \end_layout
26512
26513 \begin_layout Standard
26514 Links to web pages or email addresses can be inserted via the menu 
26515 \family sans
26516 Insert\SpecialChar \menuseparator
26517 URL
26518 \family default
26519 .
26520  The appearing URL dialog has two fields; the 
26521 \family sans
26522 URL
26523 \family default
26524  field and the 
26525 \family sans
26526 Name
26527 \family default
26528  field for the URL description, which will be typeset as plain text immediately
26529  before the URL.
26530 \end_layout
26531
26532 \begin_layout Standard
26533 Here is an example URL: 
26534 \begin_inset LatexCommand url
26535 name "LyX's homepage"
26536 target "http://www.lyx.org"
26537
26538 \end_inset
26539
26540
26541 \end_layout
26542
26543 \begin_layout Standard
26544 The option 
26545 \family sans
26546 Generate\InsetSpace ~
26547 hyperlink
26548 \family default
26549  in the URL dialog has only an affect when you export your document to the
26550  format 
26551 \begin_inset Quotes eld
26552 \end_inset
26553
26554
26555 \family sans
26556 LinuxDoc
26557 \family default
26558
26559 \begin_inset Quotes erd
26560 \end_inset
26561
26562 .
26563 \end_layout
26564
26565 \begin_layout Standard
26566 You cannot change the style of the link text.
26567  The text of the 
26568 \family sans
26569 Name
26570 \family default
26571  field will have the default text style of the document while the text of
26572  the 
26573 \family sans
26574 URL
26575 \family default
26576  field will have the style 
26577 \begin_inset Quotes eld
26578 \end_inset
26579
26580
26581 \family sans
26582 Typewriter
26583 \family default
26584
26585 \begin_inset Quotes erd
26586 \end_inset
26587
26588 .
26589 \end_layout
26590
26591 \begin_layout Standard
26592 When you use the LaTeX-package 
26593 \series bold
26594 hyperref
26595 \series default
26596
26597 \begin_inset LatexCommand index
26598 name "LaTeX-packages ! hyperref"
26599
26600 \end_inset
26601
26602  to link cross-references in the output, URLs will automatically become
26603  clickable hyperlinks in DVI and PDF-output.
26604 \end_layout
26605
26606 \begin_layout Standard
26607 \begin_inset Note Greyedout
26608 status open
26609
26610 \begin_layout Standard
26611
26612 \series bold
26613 Note:
26614 \series default
26615  When you use the following characters: "%", "#", "^", you have to write
26616  them with a preceding backslash, e.\InsetSpace \thinspace{}
26617 g.\InsetSpace ~
26618
26619 \begin_inset Quotes eld
26620 \end_inset
26621
26622
26623 \backslash
26624 #
26625 \begin_inset Quotes erd
26626 \end_inset
26627
26628 .
26629  URLs must not end with a backslash.
26630 \end_layout
26631
26632 \end_inset
26633
26634
26635 \end_layout
26636
26637 \begin_layout Standard
26638 \begin_inset VSpace bigskip
26639 \end_inset
26640
26641 To create real hyperlinks without the force to write the link location to
26642  the text, you can use the command
26643 \end_layout
26644
26645 \begin_layout Standard
26646
26647 \series bold
26648
26649 \backslash
26650 href{link location}{link text}
26651 \end_layout
26652
26653 \begin_layout Standard
26654 in ERT.
26655  To get for example a link to LyX's web page, write the command
26656 \end_layout
26657
26658 \begin_layout Standard
26659
26660 \series bold
26661
26662 \backslash
26663 href{http://www.lyx.org}{
26664 \end_layout
26665
26666 \begin_layout Standard
26667 in ERT.
26668  Insert after the command the link text 
26669 \begin_inset Quotes eld
26670 \end_inset
26671
26672 LyX's homepage
26673 \begin_inset Quotes erd
26674 \end_inset
26675
26676  as normal text followed by a closing brace 
26677 \begin_inset Quotes eld
26678 \end_inset
26679
26680
26681 \series bold
26682 }
26683 \series default
26684
26685 \begin_inset Quotes erd
26686 \end_inset
26687
26688  in ERT.
26689  This is the result: 
26690 \begin_inset ERT
26691 status collapsed
26692
26693 \begin_layout Standard
26694
26695
26696 \backslash
26697 href{http://www.lyx.org}{
26698 \end_layout
26699
26700 \end_inset
26701
26702 LyX's homepage
26703 \begin_inset ERT
26704 status collapsed
26705
26706 \begin_layout Standard
26707
26708 }
26709 \end_layout
26710
26711 \end_inset
26712
26713
26714 \end_layout
26715
26716 \begin_layout Standard
26717 To link to email addresses, add the prefix 
26718 \begin_inset Quotes eld
26719 \end_inset
26720
26721
26722 \family sans
26723 mailto:
26724 \family default
26725
26726 \begin_inset Quotes erd
26727 \end_inset
26728
26729  to the link location:
26730 \newline
26731 Email to 
26732 \begin_inset ERT
26733 status collapsed
26734
26735 \begin_layout Standard
26736
26737
26738 \backslash
26739 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's documentation}{
26740 \end_layout
26741
26742 \end_inset
26743
26744 lyx-docs mailing list
26745 \begin_inset ERT
26746 status collapsed
26747
26748 \begin_layout Standard
26749
26750 }
26751 \end_layout
26752
26753 \end_inset
26754
26755 .
26756 \end_layout
26757
26758 \begin_layout Standard
26759 Using 
26760 \series bold
26761
26762 \backslash
26763 href
26764 \series default
26765  instead of LyX's URL box has the advantage that you can specify the text
26766  style of the link text like for all other text parts.
26767  You can therefore set hyphenation points and forced linebreaks to have
26768  long link text broken at the page margin.
26769  You are furthermore able to change the text style for all URLs in your
26770  document with an option in 
26771 \series bold
26772 hyperref
26773 \series default
26774 's load command and the restrictions mentioned above doesn't apply for 
26775 \series bold
26776
26777 \backslash
26778 href
26779 \series default
26780 .
26781 \end_layout
26782
26783 \begin_layout Chapter
26784 External Stuff
26785 \begin_inset LatexCommand index
26786 name "External Stuff"
26787
26788 \end_inset
26789
26790
26791 \end_layout
26792
26793 \begin_layout Standard
26794 With the menu 
26795 \family sans
26796 Insert\SpecialChar \menuseparator
26797 File
26798 \family default
26799  you can insert external material to your document.
26800  This can be:
26801 \end_layout
26802
26803 \begin_layout Description
26804 LyX\InsetSpace ~
26805 Document Another LyX document; its content is directly inserted to your
26806  document.
26807 \end_layout
26808
26809 \begin_layout Description
26810 Plain\InsetSpace ~
26811 Text A text document; every of its text lines is inserted to your document
26812  as own paragraph.
26813 \end_layout
26814
26815 \begin_layout Description
26816 Plain\InsetSpace ~
26817 Text,\InsetSpace ~
26818 Join\InsetSpace ~
26819 Lines A text document; its text lines are inserted as they
26820  are.
26821  Empty text lines creates a new paragraph in your document.
26822 \end_layout
26823
26824 \begin_layout Description
26825 External\InsetSpace ~
26826 Material Files in various formats.
26827 \end_layout
26828
26829 \begin_layout Description
26830 Child\InsetSpace ~
26831 Document LyX or LaTeX-documents.
26832 \end_layout
26833
26834 \begin_layout Section
26835 External Material
26836 \begin_inset LatexCommand index
26837 name "External Stuff ! External Material"
26838
26839 \end_inset
26840
26841
26842 \end_layout
26843
26844 \begin_layout Standard
26845 The external material feature allows you to insert files to your document
26846  without converting them previously to a format that can be read by the
26847  document output format because LyX takes care of needed conversions.
26848  This is similar to images that can be inserted in various image formats
26849  to LyX documents.
26850 \end_layout
26851
26852 \begin_layout Standard
26853 External material can be inserted via the 
26854 \family sans
26855 External Material
26856 \family default
26857  dialog that is accessible with the menu 
26858 \family sans
26859 Insert\SpecialChar \menuseparator
26860 File\SpecialChar \menuseparator
26861 External\InsetSpace ~
26862 Material
26863 \family default
26864 .
26865  Currently the following file types (
26866 \family sans
26867 Templates
26868 \family default
26869 ) are allowed:
26870 \end_layout
26871
26872 \begin_layout Description
26873 ChessDiagram This template supports chess position diagrams made with the
26874  program 
26875 \begin_inset ERT
26876 status collapsed
26877
26878 \begin_layout Standard
26879
26880
26881 \backslash
26882 href{http://en.wikipedia.org/wiki/XBoard}{
26883 \end_layout
26884
26885 \end_inset
26886
26887
26888 \series bold
26889 XBoard
26890 \series default
26891
26892 \begin_inset ERT
26893 status collapsed
26894
26895 \begin_layout Standard
26896
26897 }
26898 \end_layout
26899
26900 \end_inset
26901
26902 .
26903 \end_layout
26904
26905 \begin_layout Description
26906 Date This inserts the date in the form 
26907 \emph on
26908 Date-Month-Year
26909 \emph default
26910 .
26911  This is a date inserted as external material: 
26912 \begin_inset External
26913         template Date
26914         filename .
26915
26916 \end_inset
26917
26918
26919 \newline
26920 The date is not shown within LyX, only in the output.
26921  There are two other methods of inserting a date, via menu 
26922 \family sans
26923 Insert\SpecialChar \menuseparator
26924 Date
26925 \family default
26926  and with the LaTeX command 
26927 \series bold
26928
26929 \backslash
26930 today
26931 \series default
26932  as ERT.
26933  The different methods are compared in Table\InsetSpace ~
26934
26935 \begin_inset LatexCommand ref
26936 reference "tab:Comparison-of-the"
26937
26938 \end_inset
26939
26940 .
26941 \end_layout
26942
26943 \begin_layout Description
26944 LilyPond This template is used for music notation typeset with the program
26945 \begin_inset ERT
26946 status collapsed
26947
26948 \begin_layout Standard
26949
26950
26951 \backslash
26952 linebreak 
26953 \end_layout
26954
26955 \end_inset
26956
26957
26958 \begin_inset ERT
26959 status collapsed
26960
26961 \begin_layout Standard
26962
26963
26964 \backslash
26965 href{http://en.wikipedia.org/wiki/LilyPond}{
26966 \end_layout
26967
26968 \end_inset
26969
26970
26971 \series bold
26972 LilyPond
26973 \series default
26974
26975 \begin_inset ERT
26976 status collapsed
26977
26978 \begin_layout Standard
26979
26980 }
26981 \end_layout
26982
26983 \end_inset
26984
26985 .
26986 \begin_inset Note Note
26987 status collapsed
26988
26989 \begin_layout Standard
26990 The command 
26991 \series bold
26992
26993 \backslash
26994 linebreak
26995 \series default
26996  breaks the line while the remaining text in the line is stretched to the
26997  page margin.
26998 \end_layout
26999
27000 \end_inset
27001
27002
27003 \end_layout
27004
27005 \begin_layout Description
27006 RasterImage This can be used for bitmap images.
27007  Nearly all popular image formats are supported.
27008  The image can be treated in the 
27009 \family sans
27010 External material
27011 \family default
27012  dialog like the images that are usually included via the 
27013 \family sans
27014 Graphics
27015 \family default
27016  dialog as described in section\InsetSpace ~
27017
27018 \begin_inset LatexCommand ref
27019 reference "sec:Graphics-Dialog"
27020
27021 \end_inset
27022
27023 .
27024  The difference is that only raster images are allowed, that means that
27025  PDF and EPS-images are not supported.
27026 \end_layout
27027
27028 \begin_layout Description
27029 XFig This template supports images created with the program 
27030 \begin_inset ERT
27031 status collapsed
27032
27033 \begin_layout Standard
27034
27035
27036 \backslash
27037 href{http://en.wikipedia.org/wiki/Xfig}{
27038 \end_layout
27039
27040 \end_inset
27041
27042
27043 \series bold
27044 Xfig
27045 \series default
27046
27047 \begin_inset ERT
27048 status collapsed
27049
27050 \begin_layout Standard
27051
27052 }
27053 \end_layout
27054
27055 \end_inset
27056
27057 .
27058 \end_layout
27059
27060 \begin_layout Standard
27061 \begin_inset Float table
27062 placement h
27063 wide false
27064 sideways false
27065 status open
27066
27067 \begin_layout Standard
27068 \begin_inset Caption
27069
27070 \begin_layout Standard
27071 \begin_inset LatexCommand label
27072 name "tab:Comparison-of-the"
27073
27074 \end_inset
27075
27076 Comparison of the date input methods.
27077 \end_layout
27078
27079 \end_inset
27080
27081
27082 \end_layout
27083
27084 \begin_layout Standard
27085 \align center
27086 \begin_inset Tabular
27087 <lyxtabular version="3" rows="4" columns="4">
27088 <features>
27089 <column alignment="center" valignment="top" leftline="true" width="0">
27090 <column alignment="center" valignment="top" leftline="true" width="0">
27091 <column alignment="center" valignment="top" leftline="true" width="0">
27092 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
27093 <row topline="true">
27094 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27095 \begin_inset Text
27096
27097 \begin_layout Standard
27098 Document format
27099 \end_layout
27100
27101 \end_inset
27102 </cell>
27103 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27104 \begin_inset Text
27105
27106 \begin_layout Standard
27107
27108 \family sans
27109 External Material\SpecialChar \menuseparator
27110 Date
27111 \end_layout
27112
27113 \end_inset
27114 </cell>
27115 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27116 \begin_inset Text
27117
27118 \begin_layout Standard
27119
27120 \family sans
27121 Insert\SpecialChar \menuseparator
27122 Date
27123 \end_layout
27124
27125 \end_inset
27126 </cell>
27127 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27128 \begin_inset Text
27129
27130 \begin_layout Standard
27131 command 
27132 \series bold
27133
27134 \backslash
27135 today
27136 \end_layout
27137
27138 \end_inset
27139 </cell>
27140 </row>
27141 <row topline="true">
27142 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27143 \begin_inset Text
27144
27145 \begin_layout Standard
27146 LyX
27147 \end_layout
27148
27149 \end_inset
27150 </cell>
27151 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27152 \begin_inset Text
27153
27154 \begin_layout Standard
27155 as inset box
27156 \end_layout
27157
27158 \end_inset
27159 </cell>
27160 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27161 \begin_inset Text
27162
27163 \begin_layout Standard
27164 as date
27165 \end_layout
27166
27167 \end_inset
27168 </cell>
27169 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27170 \begin_inset Text
27171
27172 \begin_layout Standard
27173 as ERT inset box
27174 \end_layout
27175
27176 \end_inset
27177 </cell>
27178 </row>
27179 <row topline="true">
27180 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27181 \begin_inset Text
27182
27183 \begin_layout Standard
27184 LaTeX
27185 \end_layout
27186
27187 \end_inset
27188 </cell>
27189 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27190 \begin_inset Text
27191
27192 \begin_layout Standard
27193 as date
27194 \end_layout
27195
27196 \end_inset
27197 </cell>
27198 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27199 \begin_inset Text
27200
27201 \begin_layout Standard
27202 as date
27203 \end_layout
27204
27205 \end_inset
27206 </cell>
27207 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27208 \begin_inset Text
27209
27210 \begin_layout Standard
27211 as command
27212 \end_layout
27213
27214 \end_inset
27215 </cell>
27216 </row>
27217 <row topline="true" bottomline="true">
27218 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27219 \begin_inset Text
27220
27221 \begin_layout Standard
27222 DVI, PDF, PS
27223 \end_layout
27224
27225 \end_inset
27226 </cell>
27227 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27228 \begin_inset Text
27229
27230 \begin_layout Standard
27231 as date
27232 \end_layout
27233
27234 \end_inset
27235 </cell>
27236 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27237 \begin_inset Text
27238
27239 \begin_layout Standard
27240 as date
27241 \end_layout
27242
27243 \end_inset
27244 </cell>
27245 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27246 \begin_inset Text
27247
27248 \begin_layout Standard
27249 as date
27250 \end_layout
27251
27252 \end_inset
27253 </cell>
27254 </row>
27255 </lyxtabular>
27256
27257 \end_inset
27258
27259
27260 \end_layout
27261
27262 \end_inset
27263
27264
27265 \end_layout
27266
27267 \begin_layout Standard
27268 When you use the option 
27269 \family sans
27270 Draft
27271 \family default
27272  in the 
27273 \family sans
27274 File
27275 \family default
27276  tab of the 
27277 \family sans
27278 External Material
27279 \family default
27280  dialog, only the path to the inserted file is shown in the output.
27281 \newline
27282 External
27283  material is displayed in LyX either as box like this: 
27284 \begin_inset Graphics
27285         filename clipart/ExternalMaterialQt4.png
27286         scale 85
27287
27288 \end_inset
27289
27290  or as image, depending on the setting in the 
27291 \family sans
27292 LyX\InsetSpace ~
27293 View
27294 \family default
27295  tab of the 
27296 \family sans
27297 External Material
27298 \family default
27299  dialog.
27300 \end_layout
27301
27302 \begin_layout Standard
27303 The 
27304 \family sans
27305 \emph on
27306 Customization
27307 \family default
27308 \emph default
27309  manual explains how you can define your own templates.
27310 \end_layout
27311
27312 \begin_layout Section
27313 Child Documents
27314 \begin_inset LatexCommand index
27315 name "External Stuff ! Child Documents"
27316
27317 \end_inset
27318
27319
27320 \begin_inset LatexCommand index
27321 name "Files ! Include"
27322
27323 \end_inset
27324
27325
27326 \end_layout
27327
27328 \begin_layout Standard
27329 Child documents are used when you have a long document consisting of several
27330  larger parts or sections.
27331  For maintenance it is often useful and sometimes even required to split
27332  the document in several files that can be revised separately.
27333  The different documents are then the so called child documents and a master
27334  document connects them to print the full document or parts of it.
27335 \end_layout
27336
27337 \begin_layout Standard
27338 Included documents are displayed in LyX as a box like this: 
27339 \begin_inset Graphics
27340         filename clipart/ChildDocumentQt4.png
27341         scale 85
27342
27343 \end_inset
27344
27345  To include child documents to a master document use the menu 
27346 \family sans
27347 Insert\SpecialChar \menuseparator
27348 File\SpecialChar \menuseparator
27349 Child\InsetSpace ~
27350 Documents
27351 \family default
27352 .
27353  A dialog pops up where you can choose between three include methods:
27354 \end_layout
27355
27356 \begin_layout Description
27357 Include You can include LyX and LaTeX-documents.
27358  When you press the 
27359 \family sans
27360 Load
27361 \family default
27362  button in the 
27363 \family sans
27364 Child Document
27365 \family default
27366  dialog, the included documents will be opened in LyX in a new file tab
27367  so that you can modify it.
27368 \newline
27369
27370 \end_layout
27371
27372 \begin_layout Standard
27373 Here is a child document inserted using 
27374 \family sans
27375 Include
27376 \family default
27377
27378 \begin_inset Include \include{DummyDocument1.lyx}
27379 preview false
27380
27381 \end_inset
27382
27383
27384 \end_layout
27385
27386 \begin_layout Standard
27387 The section numbering includes the sections of the included files in the
27388  order they are inserted in the master document.
27389  The included example document has for example a subsection that is numbered
27390  as subsection of this section.
27391  Labels of included documents can be referenced: Subsection\InsetSpace ~
27392
27393 \begin_inset LatexCommand ref
27394 reference "sub:External-Subsection-1"
27395
27396 \end_inset
27397
27398
27399 \end_layout
27400
27401 \begin_layout Standard
27402 The preamble of the child document is ignored, only the preamble of the
27403  master document is used.
27404  Included documents are inserted starting on a new page and end with a pagebreak.
27405 \end_layout
27406
27407 \begin_layout Standard
27408 With the LaTeX-command 
27409 \series bold
27410
27411 \backslash
27412 includeonly 
27413 \series default
27414 you can specify which included child documents are processed when the output
27415  is generated.
27416  This is useful when you are perhaps only working on a certain chapter of
27417  your large document as this saves compiling time.
27418  
27419 \series bold
27420
27421 \backslash
27422 includeonly
27423 \series default
27424  is inserted to the master document preamble.
27425  It takes a comma-separated list of the filenames as argument, e.g.
27426 \end_layout
27427
27428 \begin_layout Standard
27429
27430 \series bold
27431
27432 \backslash
27433 includeonly{chapter1,chapter5}
27434 \end_layout
27435
27436 \begin_layout Standard
27437 will only process the included files named 
27438 \begin_inset Quotes eld
27439 \end_inset
27440
27441 chapter1.lyx
27442 \begin_inset Quotes erd
27443 \end_inset
27444
27445  (or 
27446 \begin_inset Quotes eld
27447 \end_inset
27448
27449 chapter1.tex
27450 \begin_inset Quotes erd
27451 \end_inset
27452
27453 ) and 
27454 \begin_inset Quotes eld
27455 \end_inset
27456
27457 chapter5.lyx
27458 \begin_inset Quotes erd
27459 \end_inset
27460
27461  .
27462 \end_layout
27463
27464 \begin_layout Standard
27465 \begin_inset Note Greyedout
27466 status open
27467
27468 \begin_layout Standard
27469
27470 \series bold
27471 Note:
27472 \series default
27473  When you have included a LyX- or LaTeX-file, you are warned when you export/vie
27474 w the document in case that the child document uses another document class
27475  than the master document as this will lead to unexpected outputs.
27476 \end_layout
27477
27478 \end_inset
27479
27480
27481 \end_layout
27482
27483 \begin_layout Description
27484 Input This method is very similar to the Include method.
27485  The differences are:
27486 \end_layout
27487
27488 \begin_deeper
27489 \begin_layout Itemize
27490 Input files don't start with a new page and don't end with a pagebreak.
27491 \end_layout
27492
27493 \begin_layout Itemize
27494 Input files can be previewed in LyX when 
27495 \family sans
27496 Instant\InsetSpace ~
27497 Preview
27498 \family default
27499  is enabled in LyX's preferences under 
27500 \family sans
27501 Look\InsetSpace ~
27502 and\InsetSpace ~
27503 feel\SpecialChar \menuseparator
27504 Graphics
27505 \family default
27506 .
27507 \end_layout
27508
27509 \begin_layout Itemize
27510 The LaTeX-command 
27511 \series bold
27512
27513 \backslash
27514 includeonly
27515 \series default
27516  cannot be used.
27517 \end_layout
27518
27519 \end_deeper
27520 \begin_layout Standard
27521 Here is a child document inserted using 
27522 \family sans
27523 Input
27524 \family default
27525
27526 \begin_inset Include \input{DummyDocument2.lyx}
27527 preview true
27528
27529 \end_inset
27530
27531
27532 \end_layout
27533
27534 \begin_layout Description
27535 Verbatim With this method every text file can be included.
27536  The file is shown in the output with its source code, no command used in
27537  the text is invoked.
27538  You can use the option 
27539 \family sans
27540 Mark spaces in output
27541 \family default
27542  that displays the character 
27543 \begin_inset Quotes eld
27544 \end_inset
27545
27546
27547 \begin_inset ERT
27548 status collapsed
27549
27550 \begin_layout Standard
27551
27552
27553 \backslash
27554 textvisiblespace 
27555 \end_layout
27556
27557 \end_inset
27558
27559
27560 \begin_inset Quotes erd
27561 \end_inset
27562
27563  for every space character in the source code.
27564  The difference to the method via the menu 
27565 \family sans
27566 Insert\SpecialChar \menuseparator
27567 File\SpecialChar \menuseparator
27568 Plain\InsetSpace ~
27569 Text
27570 \family default
27571  is that the document content is not shown in LyX.
27572 \end_layout
27573
27574 \begin_layout Standard
27575 Here is a child document inserted as Verbatim: 
27576 \begin_inset Include \verbatiminput{DummyTextDocument.txt}
27577 preview false
27578
27579 \end_inset
27580
27581
27582 \begin_inset VSpace bigskip
27583 \end_inset
27584
27585 Here is a child document inserted as Verbatim using the 
27586 \family sans
27587 Mark spaces in output
27588 \family default
27589  option: 
27590 \begin_inset Include \verbatiminput*{DummyTextDocument.txt}
27591 preview false
27592
27593 \end_inset
27594
27595
27596 \end_layout
27597
27598 \begin_layout Standard
27599 \begin_inset VSpace bigskip
27600 \end_inset
27601
27602
27603 \end_layout
27604
27605 \begin_layout Standard
27606 \begin_inset Note Greyedout
27607 status open
27608
27609 \begin_layout Standard
27610
27611 \series bold
27612 Note:
27613 \series default
27614  As you can see in the examples above, the text of the documents included
27615  as verbatim is not broken at the end of the document lines.
27616 \end_layout
27617
27618 \end_inset
27619
27620
27621 \end_layout
27622
27623 \begin_layout Standard
27624 \begin_inset Note Greyedout
27625 status open
27626
27627 \begin_layout Standard
27628
27629 \series bold
27630 Note:
27631 \series default
27632  Including the same document twice in a document using different methods
27633  could cause LaTeX-problems.
27634 \end_layout
27635
27636 \end_inset
27637
27638
27639 \end_layout
27640
27641 \begin_layout Standard
27642
27643 \newpage
27644
27645 \end_layout
27646
27647 \begin_layout Chapter
27648 \start_of_appendix
27649 Units available in 
27650 \begin_inset ERT
27651 status collapsed
27652
27653 \begin_layout Standard
27654
27655
27656 \backslash
27657 texorpdfstring{
27658 \end_layout
27659
27660 \end_inset
27661
27662 LyX
27663 \begin_inset ERT
27664 status collapsed
27665
27666 \begin_layout Standard
27667
27668 }{LyX}
27669 \end_layout
27670
27671 \end_inset
27672
27673
27674 \begin_inset LatexCommand index
27675 name "Units"
27676
27677 \end_inset
27678
27679
27680 \begin_inset LatexCommand label
27681 name "cha:Units-available-in"
27682
27683 \end_inset
27684
27685
27686 \begin_inset Note Note
27687 status collapsed
27688
27689 \begin_layout Standard
27690 The command 
27691 \backslash
27692 texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures
27693  are displayed wrongly in PDF-bookmarks.
27694  For more information about this, have a look at 
27695 \begin_inset LatexCommand cite
27696 key "hyperref"
27697
27698 \end_inset
27699
27700 .
27701 \end_layout
27702
27703 \end_inset
27704
27705
27706 \end_layout
27707
27708 \begin_layout Standard
27709 To understand the units described in this documentation, Table\InsetSpace ~
27710
27711 \begin_inset LatexCommand ref
27712 reference "tab:Units"
27713
27714 \end_inset
27715
27716  explains all units available in LyX.
27717 \end_layout
27718
27719 \begin_layout Standard
27720 \begin_inset Float table
27721 placement h
27722 wide false
27723 sideways false
27724 status open
27725
27726 \begin_layout Standard
27727 \begin_inset Caption
27728
27729 \begin_layout Standard
27730 \begin_inset LatexCommand label
27731 name "tab:Units"
27732
27733 \end_inset
27734
27735 Units
27736 \end_layout
27737
27738 \end_inset
27739
27740
27741 \end_layout
27742
27743 \begin_layout Standard
27744 \begin_inset VSpace medskip
27745 \end_inset
27746
27747
27748 \end_layout
27749
27750 \begin_layout Standard
27751 \align center
27752 \begin_inset Tabular
27753 <lyxtabular version="3" rows="20" columns="2">
27754 <features>
27755 <column alignment="center" valignment="top" leftline="true" width="0">
27756 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
27757 <row topline="true" bottomline="true">
27758 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27759 \begin_inset Text
27760
27761 \begin_layout Standard
27762 unit
27763 \end_layout
27764
27765 \end_inset
27766 </cell>
27767 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27768 \begin_inset Text
27769
27770 \begin_layout Standard
27771 name/description
27772 \end_layout
27773
27774 \end_inset
27775 </cell>
27776 </row>
27777 <row topline="true">
27778 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27779 \begin_inset Text
27780
27781 \begin_layout Standard
27782 mm
27783 \end_layout
27784
27785 \end_inset
27786 </cell>
27787 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27788 \begin_inset Text
27789
27790 \begin_layout Standard
27791 millimeter
27792 \end_layout
27793
27794 \end_inset
27795 </cell>
27796 </row>
27797 <row topline="true">
27798 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27799 \begin_inset Text
27800
27801 \begin_layout Standard
27802 cm
27803 \end_layout
27804
27805 \end_inset
27806 </cell>
27807 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27808 \begin_inset Text
27809
27810 \begin_layout Standard
27811 centimeter
27812 \end_layout
27813
27814 \end_inset
27815 </cell>
27816 </row>
27817 <row topline="true">
27818 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27819 \begin_inset Text
27820
27821 \begin_layout Standard
27822 in
27823 \end_layout
27824
27825 \end_inset
27826 </cell>
27827 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27828 \begin_inset Text
27829
27830 \begin_layout Standard
27831 inch
27832 \end_layout
27833
27834 \end_inset
27835 </cell>
27836 </row>
27837 <row topline="true">
27838 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27839 \begin_inset Text
27840
27841 \begin_layout Standard
27842 pt
27843 \end_layout
27844
27845 \end_inset
27846 </cell>
27847 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27848 \begin_inset Text
27849
27850 \begin_layout Standard
27851 point (72.27\InsetSpace \thinspace{}
27852 pt = 1\InsetSpace \thinspace{}
27853 in)
27854 \end_layout
27855
27856 \end_inset
27857 </cell>
27858 </row>
27859 <row topline="true">
27860 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27861 \begin_inset Text
27862
27863 \begin_layout Standard
27864 pc
27865 \end_layout
27866
27867 \end_inset
27868 </cell>
27869 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27870 \begin_inset Text
27871
27872 \begin_layout Standard
27873 pica (1\InsetSpace \thinspace{}
27874 pc = 12\InsetSpace \thinspace{}
27875 pt)
27876 \end_layout
27877
27878 \end_inset
27879 </cell>
27880 </row>
27881 <row topline="true">
27882 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27883 \begin_inset Text
27884
27885 \begin_layout Standard
27886 sp
27887 \end_layout
27888
27889 \end_inset
27890 </cell>
27891 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27892 \begin_inset Text
27893
27894 \begin_layout Standard
27895 scaled point (65536\InsetSpace \thinspace{}
27896 sp = 1\InsetSpace \thinspace{}
27897 pt)
27898 \end_layout
27899
27900 \end_inset
27901 </cell>
27902 </row>
27903 <row topline="true">
27904 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27905 \begin_inset Text
27906
27907 \begin_layout Standard
27908 bp
27909 \end_layout
27910
27911 \end_inset
27912 </cell>
27913 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27914 \begin_inset Text
27915
27916 \begin_layout Standard
27917 big point (72\InsetSpace \thinspace{}
27918 bp = 1\InsetSpace \thinspace{}
27919 in)
27920 \end_layout
27921
27922 \end_inset
27923 </cell>
27924 </row>
27925 <row topline="true">
27926 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27927 \begin_inset Text
27928
27929 \begin_layout Standard
27930 dd
27931 \end_layout
27932
27933 \end_inset
27934 </cell>
27935 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27936 \begin_inset Text
27937
27938 \begin_layout Standard
27939 didot (72\InsetSpace \thinspace{}
27940 dd 
27941 \begin_inset Formula $\approx$
27942 \end_inset
27943
27944  37.6\InsetSpace \thinspace{}
27945 mm)
27946 \end_layout
27947
27948 \end_inset
27949 </cell>
27950 </row>
27951 <row topline="true">
27952 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27953 \begin_inset Text
27954
27955 \begin_layout Standard
27956 cc
27957 \end_layout
27958
27959 \end_inset
27960 </cell>
27961 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27962 \begin_inset Text
27963
27964 \begin_layout Standard
27965 cicero (1\InsetSpace \thinspace{}
27966 cc = 12\InsetSpace \thinspace{}
27967 dd)
27968 \end_layout
27969
27970 \end_inset
27971 </cell>
27972 </row>
27973 <row topline="true">
27974 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27975 \begin_inset Text
27976
27977 \begin_layout Standard
27978 Scale%
27979 \end_layout
27980
27981 \end_inset
27982 </cell>
27983 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27984 \begin_inset Text
27985
27986 \begin_layout Standard
27987 % of original image width
27988 \end_layout
27989
27990 \end_inset
27991 </cell>
27992 </row>
27993 <row topline="true">
27994 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27995 \begin_inset Text
27996
27997 \begin_layout Standard
27998 text%
27999 \end_layout
28000
28001 \end_inset
28002 </cell>
28003 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28004 \begin_inset Text
28005
28006 \begin_layout Standard
28007 % of text width
28008 \end_layout
28009
28010 \end_inset
28011 </cell>
28012 </row>
28013 <row topline="true">
28014 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28015 \begin_inset Text
28016
28017 \begin_layout Standard
28018 col%
28019 \end_layout
28020
28021 \end_inset
28022 </cell>
28023 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28024 \begin_inset Text
28025
28026 \begin_layout Standard
28027 % of column width
28028 \end_layout
28029
28030 \end_inset
28031 </cell>
28032 </row>
28033 <row topline="true">
28034 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28035 \begin_inset Text
28036
28037 \begin_layout Standard
28038 page%
28039 \end_layout
28040
28041 \end_inset
28042 </cell>
28043 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28044 \begin_inset Text
28045
28046 \begin_layout Standard
28047 % of paper width
28048 \end_layout
28049
28050 \end_inset
28051 </cell>
28052 </row>
28053 <row topline="true">
28054 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28055 \begin_inset Text
28056
28057 \begin_layout Standard
28058 line%
28059 \end_layout
28060
28061 \end_inset
28062 </cell>
28063 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28064 \begin_inset Text
28065
28066 \begin_layout Standard
28067 % of line width
28068 \end_layout
28069
28070 \end_inset
28071 </cell>
28072 </row>
28073 <row topline="true">
28074 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28075 \begin_inset Text
28076
28077 \begin_layout Standard
28078 theight%
28079 \end_layout
28080
28081 \end_inset
28082 </cell>
28083 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28084 \begin_inset Text
28085
28086 \begin_layout Standard
28087 % of text height
28088 \end_layout
28089
28090 \end_inset
28091 </cell>
28092 </row>
28093 <row topline="true">
28094 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28095 \begin_inset Text
28096
28097 \begin_layout Standard
28098 pheight%
28099 \end_layout
28100
28101 \end_inset
28102 </cell>
28103 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28104 \begin_inset Text
28105
28106 \begin_layout Standard
28107 % of paper height
28108 \end_layout
28109
28110 \end_inset
28111 </cell>
28112 </row>
28113 <row topline="true">
28114 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28115 \begin_inset Text
28116
28117 \begin_layout Standard
28118 ex
28119 \end_layout
28120
28121 \end_inset
28122 </cell>
28123 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28124 \begin_inset Text
28125
28126 \begin_layout Standard
28127 height of letter 
28128 \emph on
28129 x
28130 \emph default
28131  in current font
28132 \end_layout
28133
28134 \end_inset
28135 </cell>
28136 </row>
28137 <row topline="true">
28138 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28139 \begin_inset Text
28140
28141 \begin_layout Standard
28142 em
28143 \end_layout
28144
28145 \end_inset
28146 </cell>
28147 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28148 \begin_inset Text
28149
28150 \begin_layout Standard
28151 width of letter 
28152 \emph on
28153 M
28154 \emph default
28155  in current font
28156 \end_layout
28157
28158 \end_inset
28159 </cell>
28160 </row>
28161 <row topline="true" bottomline="true">
28162 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28163 \begin_inset Text
28164
28165 \begin_layout Standard
28166 mu
28167 \end_layout
28168
28169 \end_inset
28170 </cell>
28171 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28172 \begin_inset Text
28173
28174 \begin_layout Standard
28175 math unit (1\InsetSpace \thinspace{}
28176 mu = 1/18\InsetSpace \thinspace{}
28177 em)
28178 \end_layout
28179
28180 \end_inset
28181 </cell>
28182 </row>
28183 </lyxtabular>
28184
28185 \end_inset
28186
28187
28188 \end_layout
28189
28190 \end_inset
28191
28192
28193 \end_layout
28194
28195 \begin_layout Chapter
28196 Output File Formats with Graphics
28197 \begin_inset LatexCommand label
28198 name "cha:Output-File-Formats"
28199
28200 \end_inset
28201
28202
28203 \end_layout
28204
28205 \begin_layout Section
28206 DVI
28207 \begin_inset LatexCommand index
28208 name "File Formats ! DVI"
28209
28210 \end_inset
28211
28212
28213 \begin_inset LatexCommand index
28214 name "DVI|see{File Formats}"
28215
28216 \end_inset
28217
28218
28219 \end_layout
28220
28221 \begin_layout Standard
28222 This file type has the extension 
28223 \begin_inset Quotes eld
28224 \end_inset
28225
28226
28227 \family typewriter
28228 .dvi
28229 \family default
28230
28231 \begin_inset Quotes erd
28232 \end_inset
28233
28234 .
28235  It is called 
28236 \begin_inset Quotes eld
28237 \end_inset
28238
28239 device-independent
28240 \begin_inset Quotes erd
28241 \end_inset
28242
28243  (DVI), because it is completely portable; you can move them from one machine
28244  to another without needing to do any sort of conversion.
28245  At the time when this file-format was developed, this was no matter of
28246  course.
28247  DVIs are used for quick previews and as pre-stage for other output formats,
28248  like PostScript.
28249 \end_layout
28250
28251 \begin_layout Standard
28252 \begin_inset Note Greyedout
28253 status open
28254
28255 \begin_layout Standard
28256
28257 \series bold
28258 Note:
28259 \series default
28260  DVI-files doesn't contain images, they will only be a linked.
28261 \end_layout
28262
28263 \end_inset
28264
28265  So don't forget this, if you move your 
28266 \family typewriter
28267 .dvi
28268 \family default
28269  file to another computer.
28270  This property can also slow down your computer when you view the DVI.
28271  Because the DVI-viewer has to convert the image in the background to make
28272  it visible when you scroll in the DVI.
28273  So we recommend to use PDF for files with many images.
28274 \end_layout
28275
28276 \begin_layout Standard
28277 You can export your document to DVI by using the menu 
28278 \family sans
28279 File\SpecialChar \menuseparator
28280 Export\SpecialChar \menuseparator
28281 DVI
28282 \family default
28283 .
28284  You can view your document as DVI via the 
28285 \family sans
28286 View
28287 \family default
28288  menu or by using the toolbar button 
28289 \begin_inset Graphics
28290         filename ../images/buffer-view_dvi.xpm
28291         scale 85
28292
28293 \end_inset
28294
28295 .
28296 \end_layout
28297
28298 \begin_layout Section
28299 PostScript
28300 \begin_inset LatexCommand label
28301 name "sec:PostScript"
28302
28303 \end_inset
28304
28305
28306 \begin_inset LatexCommand index
28307 name "File Formats ! PostScript"
28308
28309 \end_inset
28310
28311
28312 \begin_inset LatexCommand index
28313 name "PostScript|see{File Formats}"
28314
28315 \end_inset
28316
28317
28318 \end_layout
28319
28320 \begin_layout Standard
28321 This file type has the extension 
28322 \begin_inset Quotes eld
28323 \end_inset
28324
28325
28326 \family typewriter
28327 .ps
28328 \family default
28329
28330 \begin_inset Quotes erd
28331 \end_inset
28332
28333 .
28334  PostScript was developed by the company 
28335 \family typewriter
28336 Adobe
28337 \family default
28338  as printer language.
28339  The file contains therefore commands that the printer uses to print the
28340  file.
28341  PostScript can be seen as 
28342 \begin_inset Quotes eld
28343 \end_inset
28344
28345 programming language
28346 \begin_inset Quotes erd
28347 \end_inset
28348
28349 ; you can calculate with it and draw diagrams and images
28350 \begin_inset Foot
28351 status collapsed
28352
28353 \begin_layout Standard
28354 If you are interested to learn more about this, have a look at the LaTeX-package
28355  
28356 \series bold
28357 PSTricks
28358 \series default
28359  
28360 \begin_inset LatexCommand cite
28361 key "pstricks"
28362
28363 \end_inset
28364
28365 .
28366 \end_layout
28367
28368 \end_inset
28369
28370 .
28371  Due to this ability, the files are often bigger than PDFs.
28372 \end_layout
28373
28374 \begin_layout Standard
28375 PostScript can only contain images in the format 
28376 \begin_inset Quotes eld
28377 \end_inset
28378
28379 Encapsulated PostScript
28380 \begin_inset Quotes erd
28381 \end_inset
28382
28383  (EPS, file extension 
28384 \begin_inset Quotes eld
28385 \end_inset
28386
28387
28388 \family typewriter
28389 .eps
28390 \family default
28391
28392 \begin_inset Quotes erd
28393 \end_inset
28394
28395 ).
28396  As LyX allows you to use any known image format in your document, it has
28397  to convert images in the background to EPS.
28398  If you have e.g 50 images in your document, LyX has to do 50 conversions
28399  whenever you view or export your document.
28400  This will slow down your work flow with LyX drastically.
28401  So if you plan to use PostScript, you can insert your images directly as
28402  EPS to avoid this problem.
28403 \end_layout
28404
28405 \begin_layout Standard
28406 You can export your document to PostScript using the menu 
28407 \family sans
28408 File\SpecialChar \menuseparator
28409 Export\SpecialChar \menuseparator
28410 Postscript
28411 \family default
28412 .
28413  You can view your document as PostScript via the 
28414 \family sans
28415 View
28416 \family default
28417  menu or by using the toolbar button 
28418 \begin_inset Graphics
28419         filename ../images/buffer-view_ps.xpm
28420         scale 85
28421
28422 \end_inset
28423
28424 .
28425 \end_layout
28426
28427 \begin_layout Section
28428 PDF
28429 \begin_inset LatexCommand label
28430 name "sec:PDF"
28431
28432 \end_inset
28433
28434
28435 \begin_inset LatexCommand index
28436 name "File Formats ! PDF"
28437
28438 \end_inset
28439
28440
28441 \begin_inset LatexCommand index
28442 name "PDF"
28443
28444 \end_inset
28445
28446
28447 \end_layout
28448
28449 \begin_layout Standard
28450 This file type has the extension 
28451 \begin_inset Quotes eld
28452 \end_inset
28453
28454
28455 \family typewriter
28456 .pdf
28457 \family default
28458
28459 \begin_inset Quotes erd
28460 \end_inset
28461
28462 .
28463  The 
28464 \begin_inset Quotes eld
28465 \end_inset
28466
28467 Portable Document Format
28468 \begin_inset Quotes erd
28469 \end_inset
28470
28471  (PDF) is developed by 
28472 \family typewriter
28473 Adobe
28474 \family default
28475  as derivative from PostScript.
28476  It is more compressed and it uses much less commands than PostScript.
28477  As the name 
28478 \begin_inset Quotes eld
28479 \end_inset
28480
28481 portable
28482 \begin_inset Quotes erd
28483 \end_inset
28484
28485  implies, it can be processed at any computer system and the printed output
28486  looks exactly the same.
28487 \end_layout
28488
28489 \begin_layout Standard
28490 PDF can contain images in its own PDF format, in the format 
28491 \begin_inset Quotes eld
28492 \end_inset
28493
28494 Joint Photographic Experts Group
28495 \begin_inset Quotes erd
28496 \end_inset
28497
28498  (JPG, file extension 
28499 \begin_inset Quotes eld
28500 \end_inset
28501
28502
28503 \family typewriter
28504 .jpg
28505 \family default
28506
28507 \begin_inset Quotes erd
28508 \end_inset
28509
28510  or 
28511 \begin_inset Quotes eld
28512 \end_inset
28513
28514
28515 \family typewriter
28516 .jpeg
28517 \family default
28518
28519 \begin_inset Quotes erd
28520 \end_inset
28521
28522 ), and in the format 
28523 \begin_inset Quotes eld
28524 \end_inset
28525
28526 Portable Network Graphics
28527 \begin_inset Quotes erd
28528 \end_inset
28529
28530  (PNG, file extension 
28531 \begin_inset Quotes eld
28532 \end_inset
28533
28534
28535 \family typewriter
28536 .png
28537 \family default
28538
28539 \begin_inset Quotes erd
28540 \end_inset
28541
28542 ).
28543  You can although use any other image format, because LyX converts them
28544  in the background to one of these formats.
28545  But as described in the section about PostScript, the image conversion
28546  will slow down your work flow.
28547  So it is recommended to use images in one of the three mentioned formats.
28548 \end_layout
28549
28550 \begin_layout Standard
28551 You can export your document to PDF via the menu 
28552 \family sans
28553 File\SpecialChar \menuseparator
28554 Export
28555 \family default
28556  in three different ways:
28557 \end_layout
28558
28559 \begin_layout Description
28560 PDF This uses the program 
28561 \family typewriter
28562 ps2pdf
28563 \family default
28564  that creates a PDF from a PostScript-version of your file.
28565  The PostScript-version is produced by the program 
28566 \family typewriter
28567 dvips
28568 \family default
28569  which uses a DVI-version as intermediate step.
28570  So this export variant consist of three conversions.
28571 \end_layout
28572
28573 \begin_layout Description
28574 PDF\InsetSpace ~
28575 (dvipdfm) This uses the program 
28576 \family typewriter
28577 dvipdfm
28578 \family default
28579  that converts your file in the background to DVI and in a second step to
28580  PDF.
28581 \end_layout
28582
28583 \begin_layout Description
28584 PDF\InsetSpace ~
28585 (pdflatex) This uses the program 
28586 \family typewriter
28587 pdftex
28588 \family default
28589  that converts your file directly to PDF.
28590 \end_layout
28591
28592 \begin_layout Standard
28593 It is recommended to use 
28594 \family sans
28595 PDF\InsetSpace ~
28596 (pdflatex)
28597 \family default
28598  because 
28599 \family typewriter
28600 pdftex
28601 \family default
28602  supports all features of actual PDF-versions, is quick and works stable
28603  without problems.
28604  The program 
28605 \family typewriter
28606 dvipdfm
28607 \family default
28608  is not under development and therefore a bit outdated.
28609 \end_layout
28610
28611 \begin_layout Standard
28612 You can view your document as PDF via the 
28613 \family sans
28614 View
28615 \family default
28616  menu or by using the toolbar button 
28617 \begin_inset Graphics
28618         filename ../images/buffer-view_pdf2.xpm
28619         scale 85
28620
28621 \end_inset
28622
28623  
28624 \family sans
28625 (
28626 \family default
28627 that uses 
28628 \family sans
28629 PDF\InsetSpace ~
28630 (pdflatex)
28631 \family default
28632 ).
28633 \end_layout
28634
28635 \begin_layout Chapter
28636 Explanation of Equation\InsetSpace ~
28637
28638 \begin_inset LatexCommand eqref
28639 reference "eq:Wgn"
28640
28641 \end_inset
28642
28643
28644 \begin_inset LatexCommand label
28645 name "cha:Explanation-of-Equation"
28646
28647 \end_inset
28648
28649
28650 \end_layout
28651
28652 \begin_layout Standard
28653 The total width of 
28654 \emph on
28655 n
28656 \emph default
28657  table cells 
28658 \begin_inset Formula $W_{\mathrm{tot\, n}}$
28659 \end_inset
28660
28661  can be calculated to
28662 \end_layout
28663
28664 \begin_layout Standard
28665 \begin_inset Formula \begin{equation}
28666 W_{\mathrm{tot}\, n}=n·(W_{g\, n}+2·\backslash\mbox{tabcolsep})+(n+1)·\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}\end{equation}
28667
28668 \end_inset
28669
28670
28671 \end_layout
28672
28673 \begin_layout Standard
28674 Where 
28675 \begin_inset Formula $W_{g\, n}$
28676 \end_inset
28677
28678  is the given width of all cells.
28679  
28680 \series bold
28681
28682 \backslash
28683 tabcolsep
28684 \series default
28685  is the LaTeX-length between the cell text and the cell border, its default
28686  value is 6\InsetSpace \thinspace{}
28687 pt.
28688  
28689 \series bold
28690
28691 \backslash
28692 arrayrulewidth
28693 \series default
28694  is the thickness of the cell border line, the default is 0.4\InsetSpace \thinspace{}
28695 pt.
28696 \end_layout
28697
28698 \begin_layout Standard
28699 Following equation\InsetSpace ~
28700
28701 \begin_inset LatexCommand eqref
28702 reference "eq:Wtot_n"
28703
28704 \end_inset
28705
28706 , the total width of a multicolumn 
28707 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
28708 \end_inset
28709
28710  is
28711 \end_layout
28712
28713 \begin_layout Standard
28714 \begin_inset Formula \begin{equation}
28715 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2·\backslash\mbox{tabcolsep}+2·\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}\end{equation}
28716
28717 \end_inset
28718
28719
28720 \end_layout
28721
28722 \begin_layout Standard
28723 By setting equation\InsetSpace ~
28724
28725 \begin_inset LatexCommand eqref
28726 reference "eq:Wtot_n"
28727
28728 \end_inset
28729
28730  and 
28731 \begin_inset LatexCommand eqref
28732 reference "eq:Wtot_mult"
28733
28734 \end_inset
28735
28736  equal we can calculate the needed given width 
28737 \begin_inset Formula $W_{g\, n}$
28738 \end_inset
28739
28740  when 
28741 \emph on
28742 n
28743 \emph default
28744  columns are spanned, so that each column has a total width of 
28745 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
28746 \end_inset
28747
28748 :
28749 \end_layout
28750
28751 \begin_layout Standard
28752 \begin_inset Formula \begin{equation}
28753 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)·(2·\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n\end{equation}
28754
28755 \end_inset
28756
28757
28758 \end_layout
28759
28760 \begin_layout Bibliography
28761 \begin_inset LatexCommand bibitem
28762 key "latexcompanion"
28763
28764 \end_inset
28765
28766 Frank Mittelbach and Michel Goossens: 
28767 \emph on
28768 The LaTeX Companion Second Edition.
28769
28770 \emph default
28771  Addison-Wesley, 2004
28772 \end_layout
28773
28774 \begin_layout Bibliography
28775 \begin_inset LatexCommand bibitem
28776 key "latexguide"
28777
28778 \end_inset
28779
28780 Helmut Kopka and Patrick W.
28781  Daly: 
28782 \emph on
28783 A Guide to LaTeX Fourth Edition.
28784
28785 \emph default
28786  Addison-Wesley, 2003
28787 \end_layout
28788
28789 \begin_layout Bibliography
28790 \begin_inset LatexCommand bibitem
28791 key "latexbook"
28792
28793 \end_inset
28794
28795 Leslie Lamport: 
28796 \emph on
28797 LaTeX: A Document Preparation System.
28798
28799 \emph default
28800  Addison-Wesley, second edition, 1994
28801 \end_layout
28802
28803 \begin_layout Bibliography
28804 \begin_inset LatexCommand bibitem
28805 key "booktabs"
28806
28807 \end_inset
28808
28809
28810 \begin_inset ERT
28811 status collapsed
28812
28813 \begin_layout Standard
28814
28815
28816 \backslash
28817 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf}
28818 {
28819 \end_layout
28820
28821 \end_inset
28822
28823 Documentation
28824 \begin_inset ERT
28825 status collapsed
28826
28827 \begin_layout Standard
28828
28829 }
28830 \end_layout
28831
28832 \end_inset
28833
28834  of the LaTeX-package 
28835 \series bold
28836 booktabs
28837 \series default
28838
28839 \begin_inset LatexCommand index
28840 name "LaTeX-packages ! booktabs"
28841
28842 \end_inset
28843
28844
28845 \end_layout
28846
28847 \begin_layout Bibliography
28848 \begin_inset LatexCommand bibitem
28849 key "caption"
28850
28851 \end_inset
28852
28853
28854 \begin_inset ERT
28855 status collapsed
28856
28857 \begin_layout Standard
28858
28859
28860 \backslash
28861 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf}{
28862 \end_layout
28863
28864 \end_inset
28865
28866 Documentation
28867 \begin_inset ERT
28868 status collapsed
28869
28870 \begin_layout Standard
28871
28872 }
28873 \end_layout
28874
28875 \end_inset
28876
28877  of the LaTeX-package 
28878 \series bold
28879 caption
28880 \series default
28881
28882 \begin_inset LatexCommand index
28883 name "LaTeX-packages ! caption"
28884
28885 \end_inset
28886
28887
28888 \end_layout
28889
28890 \begin_layout Bibliography
28891 \begin_inset LatexCommand bibitem
28892 key "caption-de"
28893
28894 \end_inset
28895
28896 German 
28897 \begin_inset ERT
28898 status collapsed
28899
28900 \begin_layout Standard
28901
28902
28903 \backslash
28904 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/anleitung.pdf}
28905 {
28906 \end_layout
28907
28908 \end_inset
28909
28910 documentation
28911 \begin_inset ERT
28912 status collapsed
28913
28914 \begin_layout Standard
28915
28916 }
28917 \end_layout
28918
28919 \end_inset
28920
28921  of the LaTeX-package 
28922 \series bold
28923 caption
28924 \end_layout
28925
28926 \begin_layout Bibliography
28927 \begin_inset LatexCommand bibitem
28928 key "endfloat"
28929
28930 \end_inset
28931
28932
28933 \begin_inset ERT
28934 status collapsed
28935
28936 \begin_layout Standard
28937
28938
28939 \backslash
28940 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf}
28941 {
28942 \end_layout
28943
28944 \end_inset
28945
28946 Documentation
28947 \begin_inset ERT
28948 status collapsed
28949
28950 \begin_layout Standard
28951
28952 }
28953 \end_layout
28954
28955 \end_inset
28956
28957  of the LaTeX-package 
28958 \series bold
28959 endf\SpecialChar \textcompwordmark{}
28960 loat
28961 \series default
28962
28963 \begin_inset LatexCommand index
28964 name "LaTeX-packages ! endfloat"
28965
28966 \end_inset
28967
28968
28969 \end_layout
28970
28971 \begin_layout Bibliography
28972 \begin_inset LatexCommand bibitem
28973 key "floatflt"
28974
28975 \end_inset
28976
28977
28978 \begin_inset ERT
28979 status collapsed
28980
28981 \begin_layout Standard
28982
28983
28984 \backslash
28985 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/floatflt/floatflt.pdf}
28986 {
28987 \end_layout
28988
28989 \end_inset
28990
28991 Documentation
28992 \begin_inset ERT
28993 status collapsed
28994
28995 \begin_layout Standard
28996
28997 }
28998 \end_layout
28999
29000 \end_inset
29001
29002  of the LaTeX-package 
29003 \series bold
29004 floatf\SpecialChar \textcompwordmark{}
29005 lt
29006 \series default
29007
29008 \begin_inset LatexCommand index
29009 name "LaTeX-packages ! floatflt"
29010
29011 \end_inset
29012
29013
29014 \end_layout
29015
29016 \begin_layout Bibliography
29017 \begin_inset LatexCommand bibitem
29018 key "footmisc"
29019
29020 \end_inset
29021
29022
29023 \begin_inset ERT
29024 status collapsed
29025
29026 \begin_layout Standard
29027
29028
29029 \backslash
29030 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf}
29031 {
29032 \end_layout
29033
29034 \end_inset
29035
29036 Documentation
29037 \begin_inset ERT
29038 status collapsed
29039
29040 \begin_layout Standard
29041
29042 }
29043 \end_layout
29044
29045 \end_inset
29046
29047  of the LaTeX-package 
29048 \series bold
29049 footmisc
29050 \series default
29051
29052 \begin_inset LatexCommand index
29053 name "LaTeX-packages ! footmisc"
29054
29055 \end_inset
29056
29057
29058 \end_layout
29059
29060 \begin_layout Bibliography
29061 \begin_inset LatexCommand bibitem
29062 key "hypcap"
29063
29064 \end_inset
29065
29066
29067 \begin_inset ERT
29068 status collapsed
29069
29070 \begin_layout Standard
29071
29072
29073 \backslash
29074 href{http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf}{
29075 \end_layout
29076
29077 \end_inset
29078
29079 Documentation
29080 \begin_inset ERT
29081 status collapsed
29082
29083 \begin_layout Standard
29084
29085 }
29086 \end_layout
29087
29088 \end_inset
29089
29090  of the LaTeX-package 
29091 \series bold
29092 hypcap
29093 \series default
29094
29095 \begin_inset LatexCommand index
29096 name "LaTeX-packages ! hyperref"
29097
29098 \end_inset
29099
29100
29101 \end_layout
29102
29103 \begin_layout Bibliography
29104 \begin_inset LatexCommand bibitem
29105 key "hyperref"
29106
29107 \end_inset
29108
29109
29110 \begin_inset ERT
29111 status collapsed
29112
29113 \begin_layout Standard
29114
29115
29116 \backslash
29117 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf}
29118 {
29119 \end_layout
29120
29121 \end_inset
29122
29123 Documentation
29124 \begin_inset ERT
29125 status collapsed
29126
29127 \begin_layout Standard
29128
29129 }
29130 \end_layout
29131
29132 \end_inset
29133
29134  of the LaTeX-package 
29135 \series bold
29136 hyperref
29137 \series default
29138
29139 \begin_inset LatexCommand index
29140 name "LaTeX-packages ! hyperref"
29141
29142 \end_inset
29143
29144
29145 \end_layout
29146
29147 \begin_layout Bibliography
29148 \begin_inset LatexCommand bibitem
29149 key "koma-script"
29150
29151 \end_inset
29152
29153
29154 \begin_inset ERT
29155 status collapsed
29156
29157 \begin_layout Standard
29158
29159
29160 \backslash
29161 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.p
29162 df}{
29163 \end_layout
29164
29165 \end_inset
29166
29167 Documentation
29168 \begin_inset ERT
29169 status collapsed
29170
29171 \begin_layout Standard
29172
29173 }
29174 \end_layout
29175
29176 \end_inset
29177
29178  of the LaTeX-package 
29179 \series bold
29180 koma-script
29181 \series default
29182
29183 \begin_inset LatexCommand index
29184 name "LaTeX-packages ! koma-script"
29185
29186 \end_inset
29187
29188
29189 \end_layout
29190
29191 \begin_layout Bibliography
29192 \begin_inset LatexCommand bibitem
29193 key "koma-script-de"
29194
29195 \end_inset
29196
29197 German 
29198 \begin_inset ERT
29199 status collapsed
29200
29201 \begin_layout Standard
29202
29203
29204 \backslash
29205 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguide.p
29206 df}{
29207 \end_layout
29208
29209 \end_inset
29210
29211 documentation
29212 \begin_inset ERT
29213 status collapsed
29214
29215 \begin_layout Standard
29216
29217 }
29218 \end_layout
29219
29220 \end_inset
29221
29222  of the LaTeX-package 
29223 \series bold
29224 koma-script
29225 \series default
29226
29227 \begin_inset LatexCommand index
29228 name "LaTeX-packages ! koma-script"
29229
29230 \end_inset
29231
29232
29233 \end_layout
29234
29235 \begin_layout Bibliography
29236 \begin_inset LatexCommand bibitem
29237 key "marginnote"
29238
29239 \end_inset
29240
29241
29242 \begin_inset ERT
29243 status collapsed
29244
29245 \begin_layout Standard
29246
29247
29248 \backslash
29249 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.
29250 pdf}{
29251 \end_layout
29252
29253 \end_inset
29254
29255 Documentation
29256 \begin_inset ERT
29257 status collapsed
29258
29259 \begin_layout Standard
29260
29261 }
29262 \end_layout
29263
29264 \end_inset
29265
29266  of the LaTeX-package 
29267 \series bold
29268 marginnote
29269 \series default
29270
29271 \begin_inset LatexCommand index
29272 name "LaTeX-packages ! marginnote"
29273
29274 \end_inset
29275
29276
29277 \end_layout
29278
29279 \begin_layout Bibliography
29280 \begin_inset LatexCommand bibitem
29281 key "pstricks"
29282
29283 \end_inset
29284
29285
29286 \begin_inset ERT
29287 status collapsed
29288
29289 \begin_layout Standard
29290
29291
29292 \backslash
29293 href{http://tug.org/PSTricks/main.cgi/}{
29294 \end_layout
29295
29296 \end_inset
29297
29298 Web page
29299 \begin_inset ERT
29300 status collapsed
29301
29302 \begin_layout Standard
29303
29304 }
29305 \end_layout
29306
29307 \end_inset
29308
29309  of the LaTeX-package 
29310 \series bold
29311 PSTricks
29312 \series default
29313
29314 \begin_inset LatexCommand index
29315 name "LaTeX-packages ! PSTricks"
29316
29317 \end_inset
29318
29319
29320 \end_layout
29321
29322 \begin_layout Bibliography
29323 \begin_inset LatexCommand bibitem
29324 key "sidecap"
29325
29326 \end_inset
29327
29328
29329 \begin_inset ERT
29330 status collapsed
29331
29332 \begin_layout Standard
29333
29334
29335 \backslash
29336 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf}{
29337 \end_layout
29338
29339 \end_inset
29340
29341 Documentation
29342 \begin_inset ERT
29343 status collapsed
29344
29345 \begin_layout Standard
29346
29347 }
29348 \end_layout
29349
29350 \end_inset
29351
29352  of the LaTeX-package 
29353 \series bold
29354 sidecap
29355 \series default
29356
29357 \begin_inset LatexCommand index
29358 name "LaTeX-packages ! sidecap"
29359
29360 \end_inset
29361
29362
29363 \end_layout
29364
29365 \begin_layout Bibliography
29366 \begin_inset LatexCommand bibitem
29367 key "NewInLyX15"
29368
29369 \end_inset
29370
29371
29372 \begin_inset ERT
29373 status collapsed
29374
29375 \begin_layout Standard
29376
29377
29378 \backslash
29379 href{http://wiki.lyx.org/LyX/NewInLyX15}{
29380 \end_layout
29381
29382 \end_inset
29383
29384 Wiki page
29385 \begin_inset ERT
29386 status collapsed
29387
29388 \begin_layout Standard
29389
29390 }
29391 \end_layout
29392
29393 \end_inset
29394
29395  about new LyX-features planned for the release 
29396 \family sans
29397 LyX 1.5
29398 \family default
29399 .
29400 \end_layout
29401
29402 \begin_layout Standard
29403 \begin_inset LatexCommand printindex
29404
29405 \end_inset
29406
29407
29408 \end_layout
29409
29410 \begin_layout Standard
29411 \begin_inset FloatList figure
29412
29413 \end_inset
29414
29415
29416 \end_layout
29417
29418 \begin_layout Standard
29419 \begin_inset FloatList table
29420
29421 \end_inset
29422
29423
29424 \end_layout
29425
29426 \end_body
29427 \end_document